File:Nearest2DInterpolExample.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 760 × 599 pixels. Other resolutions: 304 × 240 pixels | 609 × 480 pixels | 974 × 768 pixels | 1,280 × 1,010 pixels | 1,316 × 1,038 pixels.
Original file (1,316 × 1,038 pixels, file size: 9 KB, MIME type: image/png)
File information
Structured data
Captions
Contents
Summary
[edit]Matlab code
[edit][Xcoarse, Ycoarse] = meshgrid([0 1 2 3], [0 1 2 3]); [Xfine, Yfine] = meshgrid(linspace(0,3,300), linspace(0,3,300)); DataCoarse = [ 1 2 4 1; ... 6 3 5 2; ... 4 2 1 5; ... 5 4 2 3]; DataNearestFine = interp2(Xcoarse, Ycoarse, DataCoarse, Xfine, Yfine, 'nearest'); figure surf(Xfine, Yfine, DataNearestFine); shading flat; colormap(jet); view(0, 90) hold on; plot3(Xcoarse, Ycoarse, 10*ones(size(Xcoarse)), 'k.', 'MarkerSize', 20) colorbar print -dpng -r200 Nearest2DInterpolExample.png
PNG file have also been cropped before uploading
Licensing
[edit]Public domainPublic domainfalsefalse |
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. |
Format
[edit]File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:53, 3 June 2010 | 1,316 × 1,038 (9 KB) | Aiyizo (talk | contribs) | losslessly converted to 66 color mode. | |
09:35, 16 June 2008 | 1,316 × 1,038 (11 KB) | Berland (talk | contribs) | add colorbar to the image | ||
10:55, 9 June 2008 | 1,308 × 1,042 (9 KB) | Berland (talk | contribs) | Reverted to version as of 10:38, 21 June 2007. Uploaded new image does not match with text. | ||
08:06, 9 June 2008 | 1,024 × 1,024 (5 KB) | Ti chris (talk | contribs) | Nearest neighbor image stretch of a 4x4 pixel grid Category:Image processing Category:Image processing | ||
10:38, 21 June 2007 | 1,308 × 1,042 (9 KB) | Berland (talk | contribs) | == Summary == {{Information |Description=Illustration of en:Nearest neighbor interpolation on a dataset. Compare with Image:BilinearInterpolExample.png and Image:BicubicInterpolationExample.png, they share the dataset. |Source=self-made in | ||
10:34, 21 June 2007 | 1,308 × 1,042 (9 KB) | Berland (talk | contribs) | == Summary == {{Information |Description=Illustration of en:Nearest neighbor interpolation on a dataset. Compare with Image:BilinearInterpolExample.png and Image:BicubicInterpolationExample.png, they share the dataset. |Source=self-made in | ||
21:24, 19 June 2007 | 1,032 × 889 (4 KB) | Berland (talk | contribs) | == Summary == {{Information |Description=Illustration of en:Nearest neighbor interpolation on a dataset. Compare with BilinearInterpolExample.png and BicubicInterpolationExample.png, they share the dataset.. |Source=self-made in [[:en:Matlab] | ||
21:17, 19 June 2007 | 1,240 × 979 (6 KB) | Berland (talk | contribs) | {{Information |Description=Illustration of en:Nearest neighbor interpolation on a dataset. Compare with BilinearInterpolExample.png and BicubicInterpolationExample.png, they share the dataset.. |Source=self-made in en:Matlab |Date= |Auth |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on fi.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on fr.wikibooks.org
- Usage on ru.wikipedia.org
- Usage on simple.wikipedia.org
- Usage on sq.wikipedia.org