Title: Part I: Image Transforms
1Part I Image Transforms
21-D SIGNAL TRANSFORMGENERAL FORM
31-D SIGNAL TRANSFORM cont.REMEMBER THE 1-D DFT!!!
41-D INVERSE SIGNAL TRANSFORMGENERAL FORM
51-D INVERSE SIGNAL TRANSFORM cont.REMEMBER THE
1-D DFT!!!
61-D UNITARY TRANSFORM
7SIGNAL RECONSTRUCTION
8IMAGE TRANSFORMS
- Many times, image processing tasks are best
performed in a domain other than the spatial
domain. - Key steps
- (1) Transform the image
- (2) Carry the task(s) in the transformed domain.
- (3) Apply inverse transform to return to the
spatial domain.
92-D (IMAGE) TRANSFORMGENERAL FORM
102-D IMAGE TRANSFORMSPECIFIC FORMS
11- Separable and Symmetric
- Separable, Symmetric and Unitary
12ENERGY PRESERVATION
13ENERGY COMPACTION
- Most of the energy of the original data
concentrated in only a few of the significant
transform coefficients remaining coefficients
are near zero.
14Why is Fourier Transform Useful?
- Easier to remove undesirable frequencies.
- Faster to perform certain operations in the
frequency domain than in the spatial domain. - The transform is independent of the signal.
15ExampleRemoving undesirable frequencies
frequencies
noisy signal
remove high frequencies
reconstructed signal
16How do frequencies show up in an image?
- Low frequencies correspond to slowly varying
information (e.g., continuous surface). - High frequencies correspond to quickly varying
information (e.g., edges)
Original Image
Low-passed
172-D DISCRETE FOURIER TRANSFORM
18Visualizing DFT
- Typically, we visualize
- The dynamic range of is typically
very large - Apply stretching
- ( is constant)
original image
before scaling
after scaling
19Amplitude and Log of the Amplitude
20Amplitude and Log of the Amplitude
21Original and Amplitude
22DFT PROPERTIES SEPARABILITY
- Rewrite as follows
- If we set
- Then
23DFT PROPERTIES SEPARABILITY
- How can we compute ?
-
-
- How can we compute ?
24DFT PROPERTIES SEPARABILITY
25DFT PROPERTIES PERIODICITY
- The DFT and its inverse are periodic with period
N
26DFT PROPERTIES SYMMETRY
If is real, then
27DFT PROPERTIES TRANSLATION
- Translation in spatial domain
- Translation in frequency domain
28DFT PROPERTIES TRANSLATION
- Warning to show a full period, we need to
translate the origin of the transform at
29DFT PROPERTIES TRANSLATION
30DFT PROPERTIES TRANSLATION
31DFT PROPERTIES ROTATION
32DFT PROPERTIESADDITION-MULTIPLICATION
33DFT PROPERTIES SCALE
34DFT PROPERTIES AVERAGE
35Original Image Fourier Amplitude Fourier
Phase
36Magnitude and Phase of DFT
- What is more important?
- Hint use inverse DFT to reconstruct the image
using magnitude or phase only information
magnitude
phase
37Magnitude and Phase of DFT
Reconstructed image using magnitude only (i.e.,
magnitude determines the contribution of each
component!)
Reconstructed image using phase only (i.e.,
phase determines which components are present!)
38Magnitude and Phase of DFT
39Original Image-Fourier AmplitudeKeep Part of the
Amplitude Around the Origin and Reconstruct
Original Image (LOW PASS filtering)
40Keep Part of the Amplitude Far from the Origin
and Reconstruct Original Image (HIGH PASS
filtering)
41(No Transcript)
42Reconstruction fromphase of one image and
amplitude of the other
43(No Transcript)
44Reconstruction fromphase of one image and
amplitude of the other