Image processing
Image processing
Lowpass filters are used for bluring in frequency domain. Three types of lowpass
Iters are given importance. They are,
Ideal Lowpass Filters (LPF)
Butterworth Lowpass Filters (BLPF)
Gaussian Lowpass Filters (GLPF)
hese filters cover the entire range of filter functions from very sharp to very smooth.
15.1 Ideal Lowpass Filter (LP)
ldeal lowpass filter is the simplest lowpass filter. It "cuts off" all the high frequency
Tmponents of the Fourier transform which are located at a distance greater than a specified
istance Do from the origin of the centered transform.
ransfer Function
The transfer function of two-dinensional ILPF is given by,
if D(u, v)sD,
--- (3.93)
0 if D(u, v)> D,
Where, Do -Specified positive quantity
D(u,v)- Distance between the. point (u, v) and the origin
of the frequency rectangle.
Vistance, D(u, y):
The distance from any point (u,v) to the center of the frequency rectangle is given by
D(u,v) = Vu' +y? ---- 3.94)
the image size is M x N,
Center of the frequency rectangular is at (u,v) - (M,. N,).
fow the distance from any point (u,v) to the center or origin of the Fourier transfom is,
Digitai Image Processing 3.61
Du,)=(-4-94 ---3.95)
Cutoff Frequency
The cutoff frcquency of ILPF is defined as the point at which the transition between
the filter function H(4, v) =land H(u, v=0 takes place.
Image Power
In three dimensional view, the function of the filter is to pass all the frequencies
which are inside acircle of radius Do and attenuate all the frequencies outside the circle.
Here, to set up standard cutoff frequencies, circles with specified amount of total
image power, Pr should be computed. The total image power is found by,
M-IN-!
P,-Pu, v) -.-(3.96)
Transfer Function:
The transfer function of a BLPF with cutoff freqúency t a distance Do from the origin
is given by,
H(u, v) = (3.99)
D(u,v)
Do
Where, n- Filter order
3.31.
!.
D(u, v) Distance from any point (u,v) to the center of the frequency
rectangle.
Do, )- -)+(
This transfer function forces all the frequencies inside a circle with radius Do to zero
and it passes allthe frequencies outside the circle without attenuation.
Representation of IHPE:
in
The cross section and spatial representation of an ideal highpass filter is shown
fig.3.32.
H(u,v)
1.0
A
D(u,v)
Representation of BHPF:
The cros[ section and spatial representation of BHPF are shown in fig. 3.33
H(u,v)
1.0
D(u,v)
lepresentation of GHPF: :
The cross section and spatial representatin of GHPF are shown in fig. 3.34.
Hu,v)
1.0
D(u,v)
(a) Cross Section (b) Spatial Gray-level representation
Fig, 3.34 Gaussian Highpass Filters
hus, smaller objects and thin b¡rs look cleaner in the result of GHPF than other filter results.
16.4 The Laplacian in the Freqçency Domain
The use of Laplacian operator in the spatial domain is explained in section 3.11.J. This
ection deals with its use in the frequency domain.
aplacian Operator:
The Fourier transform of the Laplacian operator in two
dimension is expressed as,
--3.106)
=-(u+w)F(u, v)
F[V(»y)]=-u +w)F(u,v) --3.107)
ilter Transfer Function:
Thus, the filter used to implement this Laplacian operator in frequency domain is,
H(u,v) =-(u'+) --- (3.108)
Before taking the transfom, the origin of F(u, v) should be centered by performing the
peration
Digital Image Processing 3.69
Laplacian-Filtered Image:
The filtering in frequency domain is performed by the operation,
Ha,v). F(u, ) -|(-M) +{v-Y) (0,)
"esentation
Now, the Laplacian-filtered image in the spatial domain, v'f(x,y) is obtained by
computing the inverse Fourier transform of H(u, v). F(u, v).
Iter results.
ain is, In this case, an inverse transform opèration is performed to get the enhanced
image as,
-(3.108)
-(3.113)
orming the.
3.70 Image Enhancement
When b>l » High frequencies are given importance as the name states
When a = (A-1) and b=l ’ it is reduced to high-boost filtering
pical ranges of 'a' and 'bare: a s 0.25 to 0.5,
ba15 to 2.0