Description: * Zooming and Shrinking Images
-(a) Write a computer program capable of zooming and shrinking an image by nearest neighbour and bilinear interpolation. The input to your program is the desired size of the resulting image in the horizontal and vertical direction. Then your program should create and display the resulting image in the desired size. Note: You cannot use the existing functions in the CImg library for zooming and shrinking.
(b) Download the image (Fig2.19(a)) of size 512 x 512 and use your program to shrink this image to sizes 256 x 256 pixels, 100 x 100 pixels, and 30 x 30 pixels, using both nearest neighbour and bilinear interpolation.
(c) Use your program to zoom each of the resulting images in (b) back to 500 x 500 with their respective interpolation methods. Explain the reasons for their differences from the original attached image. Platform: |
Size: 4386816 |
Author:k |
Hits:
Description: 实现双线性插值算法对图像进行2倍和4倍分辨率放大并缩小2倍-2 and 4 times the resolution of the image to enlarge and shrink 2 times bilinear interpolation algorithm Platform: |
Size: 1024 |
Author:赵志凡 |
Hits:
Description: 这个程序是为了实现图片(包括彩色图和灰度图)的放缩功能,能满足任意指定放缩倍数或任意目标尺寸,原理是依据双线性插值。-The code can shrink and zoom arbitray image to appointed multiple or size regardless of intensty image and color image, the key function relay on bilinear interpolation. Platform: |
Size: 1024 |
Author:lizhiming |
Hits:
Description: 运用matlab对图像进行放大:像素复制法和双线性插值法。像素复制方法的图像缩放的原理主要是对原来输入图像的整行或是整列像素进行简单的复制与删除,达到改变图像大小的目的。双线性插值放大算法中,目标图像中新创造的象素值,是由原图像位置在它附近的小区域象素的值通过加权平均计算得出的。-Write MATLAB function to zoom a grayscale image from original size to the given output
size through two different methods: a) pixel repetition and b) bilinear interpolation.
Zoom the images processed in the Task 2 back to the original size using above mentioned
methods.
Calculate MSE and PSNR for the original and zoomed images using MATLAB methods
written for the Task 1. Plot the MSE and PSNR as function of the size reduction ratio
respectively.
Define what combination of shrink/zoom methods provides the minimal MSE and maximal
PSNR for the same size reduction ratio. Platform: |
Size: 5120 |
Author:宁可 |
Hits:
Description: Shrink the image by a factor of two using the bilinear interpolation and zoom this
image to the original size again. Does this image differ from the original one? Platform: |
Size: 18432 |
Author:ghazal |
Hits:
Description: matlab实现用双线性插值法放大和缩小图像-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.
Platform: |
Size: 521216 |
Author:彭筱媛 |
Hits:
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 and use your program to shrink this image from 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.) Platform: |
Size: 566272 |
Author:seayon
|
Hits: