File:BicubicInterpolationExample.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Simple English Wikipedia, the free encyclopedia

Original file(1,976 × 1,540 pixels, file size: 65 KB, MIME type: image/png)

File:Interpolation-bicubic.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.

File:BicubicInterpolationExample.png → File:Interpolation-bicubic.svg

For more information, see Help:SVG.

In other languages
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
New SVG image

Summary

Description Illustration of en:Bicubic interpolation on a dataset. Compare with Image:Nearest2DInterpolExample.png and Image:BilinearInterpolExample.png, they share the dataset.
Date Unknown date
Unknown date
Source self-made in en:Matlab
Author Berland

Matlab code

[Xcoarse, Ycoarse] = meshgrid([0 1 2 3], [0 1 2 3]);
[Xfine, Yfine] = meshgrid(linspace(0,3,3000), linspace(0,3,3000));
DataCoarse = [ 1 2 4 1; ...
               6 3 5 2; ...
               4 2 1 5; ...
               5 4 2 3];
DataBicubicFine  = interp2(Xcoarse, Ycoarse, DataCoarse, Xfine, Yfine, 'bicubic');
figure
surf(Xfine, Yfine, DataBicubicFine); shading flat; colormap(jet); view(0, 90)
hold on; plot3(Xcoarse, Ycoarse, 10*ones(size(Xcoarse)), 'k.', 'MarkerSize', 20)
colorbar
print -dpng -r300 BicubicInterpolationExample.png 

The files have been cropped in gimp to remove the empty Matlab border.

NOTE: Bicubic interpolation has the feature that it does not necessarily respect the initial data-interval. In this example:

>> max(max(DataBicubicFine))
ans =
    6.0701
>> min(min(DataBicubicFine)) 
ans =
    0.6882

whereas the input data has minimum 1 and maximum 6.

Licensing

Public domain This work has been released into the public domain by its author, I, Berland. This applies worldwide.
In some countries this may not be legally possible; if so:
I, Berland grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/png

526919bf5dd5b46bd16c4dfc964923e5655d3d6b

67,053 byte

1,540 pixel

1,976 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:46, 3 June 2010Thumbnail for version as of 17:46, 3 June 20101,976 × 1,540 (65 KB)AiyizoLoslessly converted to 98 color mode.
08:30, 17 June 2008Thumbnail for version as of 08:30, 17 June 20081,976 × 1,540 (119 KB)Berlandsame picture with finer details
09:34, 16 June 2008Thumbnail for version as of 09:34, 16 June 20081,322 × 1,042 (33 KB)Berland
10:56, 9 June 2008Thumbnail for version as of 10:56, 9 June 20081,308 × 1,042 (33 KB)BerlandReverted to version as of 10:47, 21 June 2007. Mismatch between text and image
08:09, 9 June 2008Thumbnail for version as of 08:09, 9 June 20081,024 × 1,024 (211 KB)Ti chrisBicubic image stretch of a 4x4 pixel grid Category:Image processing Category:Image processing
10:47, 21 June 2007Thumbnail for version as of 10:47, 21 June 20071,308 × 1,042 (33 KB)Berland== Summary == {{Information |Description=Illustration of en:Bicubic interpolation on a dataset. Compare with Image:Nearest2DInterpolExample.png and Image:BilinearInterpolExample.png, they share the dataset. |Source=self-made in [[:en:Matlab
21:27, 19 June 2007Thumbnail for version as of 21:27, 19 June 20071,032 × 889 (19 KB)Berland == Summary == {{Information |Description=Illustration of en:Bicubic interpolation on a dataset. Compare with Nearest2DInterpolExample.png and BicubicInterpolationExample.png, they share the dataset.. |Source=self-made in en:Matlab |Date

There are no pages that use this file.

Global file usage

The following other wikis use this file: