Lecture7 digital image processing for notes
Lecture7 digital image processing for notes
1
( , )= ( , ) cos 2 +
− sin 2 +
1
( , )= ( , ) cos 2 + is called real part
−1
( , )= ( , ) sin 2 + is called imaginary part
The figure below shows a gray image and its centered Fourier spectrum.
(a)
(b)
Figure 7.1 (a) Gray image. (b) Centered Fourier spectrum of (a)
Phase spectrum
Phase data contains information about where objects are in the image, i.e.
it holds spatial information as shown in the Figure below.
Inverse 2D-DFT
After performing the Fourier transform, if we want to convert the image
from the frequency domain back to the original spatial domain, we apply
the inverse transform. The inverse 2D-DFT is defined as:
( , )= ( , ) cos 2 +
+ sin 2 +
( , )= ( )/
Low-pass filter
( , )= ( )/
(1 − ) High-pass filter
The results of applying these two filters on the image in Figure 6.1(a) are
shown in the figure below.
Figure 7.5 Result of highpass filter modified by adding 0.75 to the filter