Digital Image Processing

Homework 4, Due 5/18

Problem 1

Blurring prior to resizing

Write a program to blur and then resize the image. (Figure 4.17, Page 231)

(a) Blur the image with a 3*3 averaging filter using the Averaging Filter in Lab 3.

(b) Resize the blurred image using the resizing method in Exercise 1 of Lab 4.

Fig0417(a).bmp

 

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 247)

(a) Rotate the rectangle using the result of Problem 1 in Homework 1.

(b) Show the spectrum and phase.

Fig0424(a).bmp

 

 

ftp your homework to

ftp://imagestud@140.127.208.168/ (New FTP site)

in the directory 影像處理\HW4

by the following format:

檔案名稱:hw#_學號.zip

例如:資工同學,作業4

    檔案名稱:hw4_a09355xx.zip

The password is given in class.