Digital Image Processing
Homework 2, Due 2015/4/8
Problem 1
Difference of Two Images
(Page 77) 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 2
Rotate an image
Write a computer program to obtain an image rotated 21 degrees using nearest neighbor interpolation
to assign intensity values to the spatiaaly transformed pixels. (Page 89)
Problem 3
Power-Law Transformations
Write a computer program to do power-law transformations on the dress such that it looks (1) brighter and then (2) darker. (Page 110)
Upload your homework to e起來-高大教學平台 .