Professional Documents
Culture Documents
L18 - Frequency Domain Filters
L18 - Frequency Domain Filters
FILTERS
Introduction
Make use of convolution property of fourier
transform.
Where D(u, v) (u M / 2) 2 (v N / 2) 2
Smoothing Frequency Domain
Filters Cont..
D0 is the cut off frequency
One way to the specify cutoff frequency is by
calculating the amount of power enclosed by the
spectrum.
The percentage of power α is calculated by taking the
summation over the values of u and v that lie inside a
circle of radius D0
100 p(u , v) / pT
u v
M 1 N 1
by
H (u , v) 1 exp D (u , v) / 2 D0
2 2
IHPF
IHPF
D0 =
8,16,32
BHPF
BHPF
D0 =
8,16,32
GHPF
GHPF
D0 =
8,16,32
Comparison b/w IHPF, BHPF and GHPF
The Laplacian in Frequency
domain
From the differentiation property of Fourier transform
d n f ( x)
F n ( ju ) n
F (u )
dx
The Laplacian operator in Fourier domain can then be
found as
2 f 2 f
2
F f F 2 2 ( ju ) 2
F (u , v ) ( jv ) 2
F (u, v)
x y
(u 2 v 2 ) F (u , v)
The Laplacian in Frequency
domain Cont..
So we can implement the Laplacian using the filter,
H(u,v) = -(u2+v2)
Homomorphic Filtering
The homomorphic filter is an approach based on an
illumination-reflectance image model, where the image
f(x,y) is taken as the product of illumination and
reflectance components.
f(x,y) = i(x,y) r(x,y)
H (u , v) H L [1 e c ( D 2 ( u ,v ) / D0 2 )
] L
Example
Spatial masks and corresponding
frequency domain filters
1 1 1
s 1 / 9 1 1 1
1 1 1
Spatial masks and corresponding
frequency domain filters
1 / 8 1 / 8 1 / 8
s 1 / 8 1 1 / 8
1 / 8 1 / 8 1 / 8
Spatial masks and corresponding
frequency domain filters
Spatial masks and corresponding
frequency domain filters
0 1 0
s 1 4 1
0 1 0
Spatial masks and corresponding
frequency domain filters
1 2 1
s 2 12 2
1 2 1