Q13Digital Image Processing
Question
Describe the properties of the 2D Discrete Fourier Transform (DFT).
Answer
The 2D DFT maps an image to the frequency domain and exhibits separability, translation invariance of magnitude, periodicity, conjugate symmetry, and the convolution theorem.
The 2D DFT of an image is defined as , transforming the image from the spatial domain to the frequency domain where represent spatial frequency.
- Separability: The 2D DFT kernel can be factored into a product of two 1D kernels, so the transform is computed by first applying a 1D DFT to each row and then a 1D DFT to each resulting column, drastically reducing computation compared to a direct 2D sum.
- Translation: Shifting in the spatial domain multiplies by a complex exponential phase factor but leaves unchanged; conversely, multiplying by an exponential shifts the frequency spectrum, which is used to center the spectrum for display.
- Periodicity and Conjugate Symmetry: The DFT and its inverse are periodic with periods and . For real-valued images, , meaning the magnitude spectrum is symmetric about the origin.
- Rotation: Rotating by angle rotates by the same angle.
- Distributivity and Scaling: The DFT is distributive over addition but not multiplication, and scaling the spatial variables inversely scales the frequency variables.
- Convolution Theorem: Spatial-domain convolution corresponds to point-wise multiplication in the frequency domain, , which is the mathematical basis for implementing spatial filters efficiently via FFT.
The convolution theorem property has the greatest practical importance: rather than sliding a spatial mask across every pixel, an equivalent filtering operation can be performed by transforming both the image and the filter kernel to the frequency domain via FFT, multiplying them point-wise, and taking the inverse FFT. For a large mask this frequency-domain approach is computationally cheaper than direct spatial convolution, since the FFT reduces complexity from per pixel to overall, which is why frequency-domain filtering is preferred for large blur kernels or Gaussian smoothing over sizable neighborhoods.