Digital Image Processing
Homework 2, Due 2011/4/5
Problem 1
Difference of Two Images
(Page 99) Write a computer program to set to zero the least significant bit of every pixel in an image, subtract this image from the original image, and then scale the difference image to the range [0, 255].
Fig0227(a)(washington_infrared).bmp
Problem 1
Rotate an image
Write a computer program to obtain an image rotated 21 degrees using nearest neighbor interpolation
to assign intensity values to the spatially transformed pixels. (Page 111)
ftp your homework to
in the directory \HW2
by the following format:
檔案名稱:hw#_學號.zip
例如:資工同學,作業4
檔案名稱:hw4_a09755xx.zip. (注意:檔案名稱不能有中文)
The password is given in class.