Frequency analysis Flashcards
Gaussian filter
Smooths images by averaging pixel values with a weighted gaussian kernel.
Removes high frequency components leading to a smoother less detailed img
Box filter
Smoothens but can introduce edge artifacts
Uniform averaging kernel
can introduce abrupt transitions at edges because it doesnt weight pixel contributions smoothly
Frequency Analysis of gaussian and box filter
Both act as low pass filters in the freq domain, suppressing high freq
Aliasing
Misrepresentation of high frequency signals as lower frequencies due to insufficient sampling
Ensure sampling rate satisfies Nyquist criterion
What is that?
Sampling rate >= 2 x highest frequency
Fourier transform
Decomposes signal into sinusoidal components
Key params: Amplitude, frequency, Phase
1D fourier transform
Mathematical project of the signal onto sinusoidal basis function
Produces amplitudes and phases of sinusoids at different frequencies
2D Fourier transform
Extension of the Fourier transform to analyze images.
Frequency representation:
- Center: low freq (smooth variations, broad patterns)
- Edges of the spectrum: high freq (sharp transitions, details)
eg. trees, and leaves
Low-pass filtering technique
Allows low freq to pass, while attenuating high frequencies
effect: smooths images, removes details and noise
good for reducing noise and blurring
High-pass filtering technique
Retains high frequencies while suppressing low frequencies
effect: emphasizes edges and fine details
good for edge detection in images, highlighting textures
Band-pass filter
Allows only a specific range of frequencies to pass
Effect: isolate patterns at specific scales
Good for detecting periodic patterns such as fabric textures or ripples.
Discrete Fourier Transform
Convert discrete signals to their frequency domain representation (digital images)
Freq spectrum is periodic due to discrete nature of input
Why aliasing happens
Insufficient sampling leads to high frequencies wrapping around into lower frequencies
Visualizing frequency components:
Magnitude
Phase
Magnitude: represents the strength of each frequency component
Dominates overall structure of the freq spectrum
Phase: Encodes positional details and fine structure
Frequency in images
Frequency in an image refers to the rate of change in intesity values across the spatial domain