Description: Zooming and Shrinking Images by Bilinear Interpolation
(a) Write a computer program capable of zooming and shrinking an image by bilinear interpolation. The input to your program is the desired size of the resulting image in the horizontal and vertical direction. You may ignore aliasing effects.
(b) Download Fig. 2.19(a) and use your program to shrink this image 1024 x 1024 to 256 x 256 pixels.
(c) Use your program to zoom the image in (b) back to 1024 x 1024. Explain the reasons for their differences.
To Search:
File list (Check if you may need any files):
Zooming and Shrinking Images by Bilinear Interpolation\Fig2.19(a).jpg
......................................................\shrinking.m
......................................................\zooming.m
Zooming and Shrinking Images by Bilinear Interpolation