Digital Image Processing

Homework 2, Due 4/10

Problem 1

Spatial Filtering

Write program to perform spatial filtering of an image (see Section 3.5 regarding

implementation). You can fix the size of the spatial mask at 3 x 3, but the coefficients

need to be variables that can be input into your program. This project is generic, in the

sense that it will be used in other projects to follow.

Fig3.35(a).bmp

 

Problem 2

Enhancement Using the Laplacian

(a) Use the programs developed in Projects 03-03 and 03-04 to implement the

Laplacian enhancement technique described in connection with Eq. (3.7-5). Use the

mask shown in Fig. 3.39(d).

(b) Duplicate the results in Fig. 3.40. You will need to download Fig. 3.40(a).

Fig3.40(a).bmp

 

ftp your homework to

ftp://csc551@ftp.csie.nuk.edu.tw

in the directory 影像處理\HW2

by the following format:

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

例如:資工同學,作業2

    檔案名稱:hw2_a09355xx.zip

The password is given in class.