Professional Documents
Culture Documents
Domain
Basics of Filtering in the Frequency Domain
Filters in the Frequency Domain
(
8
)
Filters in the Frequency Domain
Filters in the Frequency Domain
Filtering in Spatial and Frequency Domains
Similarly,
Relation between Filtering in Spatial and Frequency
Domains
• One similarity between the two filters is that all the values are
positive in both domains. Thus we arrive at the conclusion that
we can implement low-pass filtering in the spatial domain by
using a mask with all positive coefficients (as we did in Chapter
3).
• Another important characteristic is the reciprocal relationship.
The narrower the frequency domain filter, the more it will
attenuate the low frequencies resulting in increased blurring. In
the spatial domain this means a wider filter which in turn implies
a larger mask.
Smoothing Frequency Domain Filters
• As discussed previously that edges and other sharp transitions
(such as noise) in the gray levels of an image contribute
significantly to the high-frequency content of its Fourier
transform.
• Hence smoothing (blurring) is achieved in the frequency domain by
attenuating a specified range of high-frequency components in
the transform of a given image.
• Our basic model for filtering in the frequency domain is :
• G(u,v)=H(u,v)F(u,v)
• Where F(u,v) is the Fourier transform of the image to be
smoothed. The objective is to select a filter function H(u,v) that
yields G(u,v) by attenuating the high-frequency components of
F(u,v).
Smoothing Frequency Domain Filters
• So, the distance from any point (u,v) to the center (origin) of
the Fourier transform is given by:
• Here the summation is taken over the values of (u,v) that lie
inside the circle or on its boundary.
Ideal Low-pass Filters (ILPF)
Ideal Low-pass Filters (ILPF)
• The circles shown in the figure have radii of 5,15,30,80 and 230
pixels (the circle of 5 pixels is not easily visible). These circles
enclose ‘alpha’ percent of the image power, for
‘alpha’=92,94.6,96.4,98 and 99.5%, respectively.
• Unlike ILPF, the BLPF transfer function does not have discontinuity
that establishes a clear cutoff between passed and filtered
frequencies.