Image Processing Exercises
Image Processing Exercises
(Digitaalinen kuvankäsittely)
Exercise 2
2009.10.08
1. Filter the given 4 × 4 gray level image with:
Second,
Value of the processed pixel=
[window matrix] dot product [convolution mask ]
The resulting filtered image:
3 × 3 median filter:
The output image is obtained by selecting the
median (the middle one when the values are
in increasing order) of the values under the mask.
Median filter:
1. Reduces effectively impulsive noise, but the
local contrast remains better.
2. Thin lines are however lost.
(d) Laplacian filter with the
given mask and reflecting the
border pixels.
(Matlab)
2. Compute the 2-D discrete Fourier transform of the following image:
DFT
input image
F (u,v)
f (x,y)
output image
G(u,v) = F (u,v) H(u,v) g (x,y)
4. High frequency emphasis filtering in frequency space can be expressed as:
Hints: (Matlab)
1. The high frequency emphasis filter could not only remain low
frequency information (parameter k1) but also emphasize high frequency
information (parameter k2). (Refer to page 189-191.)