文件名称:SFTW351-Assignment1-D-A6-2776-4
- 所属分类:
- 多媒体编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4.18mb
- 下载次数:
- 0次
- 提 供 者:
- k
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
* 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.
-(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.
相关搜索: nearest
neighbour
interpolation
nearest
neighbour
interpolation
zoom
zooming
and
shrinking
Write
a
computer
program
capable
of
zooming
and
sh
bilinear
interpolation
shrink
Nearest
Neighbour
neighbour
interpolation
nearest
neighbour
interpolation
zoom
zooming
and
shrinking
Write
a
computer
program
capable
of
zooming
and
sh
bilinear
interpolation
shrink
Nearest
Neighbour
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SFTW351-Assignment1-D-A6-2776-4
...............................\main.cpp
...............................\CImg.h
...............................\DIP_Assignment1.dev
...............................\Makefile.win
...............................\lenna.gif
...............................\lenna.jpg
...............................\tutorial.ncb
...............................\tutorial.sln
...............................\tutorial.vcproj
...............................\test.cpp
...............................\DIP_Assignment1.layout
...............................\Fig2.19_a_.jpg
...............................\test.o
...............................\Image_1.jpg
...............................\Image_2.jpg
...............................\Image_3.jpg
...............................\Image_4.jpg
...............................\Image_5.jpg
...............................\Image_6.jpg
...............................\Image_7.jpg
...............................\Image_8.jpg
...............................\Image_9.jpg
...............................\Image_10.jpg
...............................\Image_11.jpg
...............................\~WRL0001.tmp
...............................\Image_12.jpg
...............................\main.o
...............................\DIP_Assignment1.exe
...............................\~WRL3439.tmp
...............................\main.cpp
...............................\CImg.h
...............................\DIP_Assignment1.dev
...............................\Makefile.win
...............................\lenna.gif
...............................\lenna.jpg
...............................\tutorial.ncb
...............................\tutorial.sln
...............................\tutorial.vcproj
...............................\test.cpp
...............................\DIP_Assignment1.layout
...............................\Fig2.19_a_.jpg
...............................\test.o
...............................\Image_1.jpg
...............................\Image_2.jpg
...............................\Image_3.jpg
...............................\Image_4.jpg
...............................\Image_5.jpg
...............................\Image_6.jpg
...............................\Image_7.jpg
...............................\Image_8.jpg
...............................\Image_9.jpg
...............................\Image_10.jpg
...............................\Image_11.jpg
...............................\~WRL0001.tmp
...............................\Image_12.jpg
...............................\main.o
...............................\DIP_Assignment1.exe
...............................\~WRL3439.tmp