Digital Image Processing
Homework 4, Due 2011/5/24
Problem 1
Blurring prior to resizing
Write a program to blur and then resize the image. (Figure 4.17, Page 253)
(a) Resize the image to 50% of its original size using the resizing method in Exercise 1 of Lab 1.
(b) Blur the image with a 3*3 averaging filter using the Averaging Filter in Lab 3, and then resize the image to 50% of its original size using the resizing method in Exercise 1 of Lab 1.
Problem 2
Show the spectrum and phase
Write a program to perform to show the spectrum and phase of a rotated rectangle. (Figure 4.25(c), Page 269)
(a) Rotate the rectangle using the result of Problem 2 in Homework 2.
(b) Show the spectrum and phase.
ftp your homework to
in the directory \HW4
by the following format:
檔案名稱:hw#_學號.zip
例如:資工同學,作業4
檔案名稱:hw4_a09755xx.zip. (注意:檔案名稱不能有中文)
The password is given in class.