Chapter 3
Chapter 3
Spatial Frequency
Enhancement Enhancement
Spatial Domain vs. Frequency Domain
Spatial Domain
- Works directly on pixel values.
- Easier to implement but less control over individual frequency components.
- Useful for operations like blurring, sharpening, and edge detection.
Frequency Domain
- Works on the frequency components of the image.
- Provides finer control over specific frequency ranges.
- Used for more sophisticated filtering, such as removing periodic noise or
enhancing specific details.
Filtering
Filters can be applied in both the spatial domain (directly on pixel values) and
the frequency domain (on frequency components after a Fourier Transform).
Low-Pass Filter: Removes high-frequency components, smooths images.
High-Pass Filter: Removes low-frequency components, sharpens images.
Low-Pass Filter (LPF) in the Spatial Domain, Common LPF in the spatial domain:
Averaging Filter, Gaussian Filter
-Reduces sharp transitions, smoothens the image.
- Blurs the image to reduce noise or unnecessary details.
High-Pass Filter (HPF) in the Spatial Domain, Common HPF in the spatial domain:
Laplacian Filter
- Enhances edges by emphasizing high-frequency details.
- Useful for sharpening images or detecting edges.
Applications
- Low-Pass Filters
- Used for noise reduction, image blurring, smoothing, and creating soft-focus effects.
- Examples: Photography post-processing, medical imaging.
- High-Pass Filters
- Used for edge detection, image sharpening, and enhancing fine details
Averaging filtering
a low-pass filter is a filter that attenuates high frequencies while ``passing'' low
frequencies.
Low frequencies correspond to the slowly varying components of an image (e.g.,
uniform background);
a high-pass filter is a filter that attenuates low frequencies while ``passing'' high
frequencies.
High frequencies correspond to the sharply varying components of an image (e.g.,
edges).
However, filters in the spatial domain have smaller masks than those in the
frequency domain. That is, one can first specify a filter in the frequency domain,
take its inverse Fourier transform, and then use the resulting filter in the spatial
domain as a guide for constructing smaller spatial filter masks!
Low-pass (LP) in frequency domain
Filtering:
Apply a filter to modify the frequency components.
Low-frequency components (illumination) are attenuated.
High-frequency components (reflectance) are amplified.
Inverse Fourier Transform:
Convert back to the spatial domain.
Exponential Transform: Undo the logarithmic transformation
Unsharp Masking
Convolution
Laplacian Gaussian high pass filter
Convolution
theorem
❑Noise: means any unwanted signal
• Impulse noise
It generated from digital image transmission system
• Multiplication noise