Professional Documents
Culture Documents
Student Name Id: Dereje Addise Gpcosc/0008/13
Student Name Id: Dereje Addise Gpcosc/0008/13
Student Name Id: Dereje Addise Gpcosc/0008/13
Background
Frequency domain refers to the plane of the two dimensional discrete Fourier transform of an
image.
Fourier series: Any function that periodically repeats itself can be expressed as the sum of
sines/cosines of different frequencies, each multiplied with a different coefficient.
Fourier Transform: Functions that are not periodic, whose area under the curve is finite, can be
expressed as the integral of sine’s and/cosines multiplied by a weighting function. It is like a
glass prism that separates light into various color components.
where j=√-1
Inverse Fourier transform:
The two-dimensional Fourier transform and its inverse
Fourier transform (Continuous case)
Note: F(u), which is the Fourier transform of f(x) contains discrete complex quantities
and it has the same number of components as f(x).
The Fourier Transform generates complex quantities. The magnitude or the spectrum of
the Fourier transform is given by:
The power spectrum can be used, for example to separate a portion of a specified
frequency (i.e. low frequency) power from the power spectrum and monitor the
effect.
Typically used to define the cut off frequencies used in lowpass and highpass
filtering.
We primarily use the Fourier Spectrum for image enhancement applications.
The left side figure (a) shows M x N Fourier spectrum (shaded), showing four back-to-
back quarter periods contained in the spectrum data.
Right side figure (b) Spectrum obtained by multiplying f(x, y) by (-1)x+y prior to
computing the Fourier transform. Only one period is shown shaded because this is data
that would be obtained by an implementation of the equation for F(u,v).
Consider the following 2 left images which are pure vertical cosine of 4 cycles and a pure
vertical cosine of 32 cycles.
The center value (at the origin) of the Frequency Spectrum corresponds to the ZERO
frequency component which also referred to as the DC component in an image: Substituting
0,0 to the origin, the Fourier transform function yields to the average/DC component value as
follows:
Filtering in the Frequency Domain
Frequency Domain Filters are used for smoothing and sharpening of image by
removal of high or low frequency components.
Sometimes it is possible of removal of very high and very low frequency.
Frequency domain filters are different from spatial domain filters as it basically focuses
on the frequency of the images.
(a) SEM image of a damaged integrated circuit (b) Fourier Spectrum of (a)
6. Apply IDFT:
Given the filter H(u,v) (filter transfer function) in the frequency domain, the Fourier
transform of the output image (filtered image) is given by:
G(u,v)= H(u,v)F(u,v) (step 5)
The filtered image g(x,y) is simply the inverse Fourier transform of G(u,v).
(Step 6)
3. Laplacian filter
M, N: Padded sizes
(a) (b) (c)
(a) Shows a 3-D perspective plot of an ideal low pass filter transfer function
(b) Filter displayed as an image => H(u,v)
(c) Filter radial cross section
This figure shows effect of different cutoff frequencies
(a) (b)
(a) An image of size 500 X 500 pixels and
(b) Fourier Spectrum of (a). The super imposed circles have radii values of 5,15,30,80
and 230, which enclose 92.0, 94.6, 98.0 and 99.5% of the image power respectively.
As cutoff frequency decreases
M, N: Padded sizes
(a) (b) (c)
(a) Perspective plot of an ideal low pass filter transfer function
(b) Filter displayed as an image
(c) Filter radial cross sections of orders 1 through 4
Smooth transition in
blurring
No ringing visible
a,b n=2
The parameter σ measures the spread or dispersion of the Gaussian curve. Larger
the value of σ, larger the cutoff frequency and more severe the filtering.
but by letting sigma(σ)= D0;
where D(u,v) : the distance from point (u,v)
to the center of their frequency rectangle.
M, N: Padded sizes
(a) Perspective plot of a GLPFs transfer function
(b) Filter displayed as an image
(c) Filter radial cross sections for various values of D0
Result changing
D0:Smooth transition in
blurring
No ringing
Gaussian in frequency
domain remains a Gaussian
a,b
in Spatial domain.
n=2
Origin: (M/2,N/2)
(a) (b) (c)
From this figure, consider Top Row:
(a) Perspective plot of an ideal high pass filter transfer function
(b) Filter displayed as an image Middle row: BHPF
(c) Cross section of a typical IHPF
\ Bottom row: GHPF
High pass Filters Spatial Representations
Original Image
Example 1
Laplacian: Example 2