Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop Multimedia Develop
Title: SFTW351-Assignment1-D-A6-2776-4 Download
 Description: (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.
 Downloaders recently: [More information of uploader kkrx782]
File list (Check if you may need any files):
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
    

CodeBus www.codebus.net