MAKE A MEME View Large Image BicubicInterpolationExample.png Illustration of en Bicubic interpolation on a dataset Compare with Image Nearest2DInterpolExample png and Image BilinearInterpolExample png they share the dataset self-made in en Matlab date Berland Matlab ...
View Original:BicubicInterpolationExample.png (1976x1540)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: BicubicInterpolationExample.png Illustration of en Bicubic interpolation on a dataset Compare with Image Nearest2DInterpolExample png and Image BilinearInterpolExample png they share the dataset self-made in en Matlab date 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 Numerical analysis Color interpolations
Terms of Use   Search of the Day