Question

Objectives: 1. Practice lowpass smoothing filter on a given image. 2. Practice highpass filter on a given image. 3.Undestand the principle of geometric transformation; 4. Practice geometric transformation using Matlab command. A complete lab report including the following: Summarized learning outcomes. • Finish Exercises as results. MATLAB scripts should be reported properly as appendix. Exercise 1: (1) Research Matlab commands, fspecial, imfilter, filter2. (2) Read the image testpattern 1024.tif. Use box filter of size 3 by 3, 11 by 11, and 21 by 21 on this image. Observe the effects. Try different values, choose a box filter which is large enough to blur the image so that the large letter "a" is barely readable, and the other letters are not. (3) Read the image testpattern1024.tif. Use Gaussian filter of size 21 by 21 with o= 3.5, and size of 43 by 43 with a = 7 on this image. Observe the effects, compare with the results of box filter. Try different values, choose a gaussian filter which is large enough to blur the image so that the large letter "a" is barely readable, and the other letters are not.

Fig: 1