Digital Image Processing

Homework 4, Due 6/10

Problem 1

Periodic Noise Reduction Using a Notch Filter

(a) Write a program that implements sinusoidal noise of the form given in Problem

5.14. The inputs to the program must be the amplitude, A, and the two frequency

components u0 and v0 shown in the problem equation.

(b) Download image 5.26(a) and add sinusoidal noise to it, with u0 = M/2 (the

image is square) and v0 = 0. The value of A must be high enough for the noise to

be quite visible in the image.

(c) Compute and display the spectrum of the image. If the FFT program you

developed in Project 4.01 can only handle images of size equal to an integer power

of 2, reduce the size of the image to 512 x 512 or 256 x 256 using the program

from Project 02-04. Resize the image before adding noise to it.

(d) Notch-filter the image using a notch filter of the form shown in Fig. 5.19(c).

Fig5.26(a).bmp

 

ftp your homework to

ftp://csc551@140.127.208.211

in the directory 影像處理\HW4

by the following format:

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

例如:資工同學,作業2

    檔案名稱:hw3_a09355xx.zip

The password is given in class.