Chapter 04 Frequency Filtering
Chapter 04 Frequency Filtering
Christophoros Nikou
cnikou@cs.uoi.gr
x =0 y =0
Over-sampled Under-sampled
DFT
DFT
⎧1 if D(u , v) ≤ D0
H (u , v) = ⎨
⎩0 if D(u , v) > D0
where D(u,v) is given as:
D (u , v) = [(u − M / 2) + (v − N / 2) ]
2 2 1/ 2
Result of filtering
Original with ideal low
image pass filter of
radius 5
Result of filtering
transition
Original with Butterworth
image filter of order 2 and
cutoff radius 5
Result of filtering
Result of filtering
with Butterworth
with Butterworth
filter of order 2 and
filter of order 2 and
cutoff radius 230
cutoff radius 80
Result of
Result of filtering
filtering with
with ideal low
Butterworth filter
pass filter of
of order 2 and
radius 15
cutoff radius 15
Result of filtering
with Gaussian
filter with cutoff
radius 15
Original Gaussian
image lowpass filter
Spectrum of Processed
original image image
⎧0 if D(u , v) ≤ D0
H (u, v) = ⎨
⎩1 if D(u , v) > D0
where D0 is the cut off distance as before
1
H (u, v) =
1 + [ D0 / D(u , v)]2n
Results of Results of
Butterworth Butterworth
high pass high pass
filtering of filtering of
order 2 with order 2 with
D0 = 15 D0 = 80
− D 2 ( u ,v ) / 2 D0 2
H (u , v) = 1 − e
where D0 is the cut off distance as before
Results of Results of
Gaussian Gaussian
high pass high pass
filtering with filtering with
D0 = 15 D0 = 80
(not centered)
domain
in the frequency
2-D image of Laplacian
to spatial filter
of the image on
Zoomed section
Laplacian In The Frequency Domain
Original Laplacian
image filtered
image
Laplacian
Enhanced
image
image
scaled