Frequency Domain
Frequency Domain
● Definition: The spatial domain refers to the image plane itself, where operations are
performed directly on pixel intensities.
● Representation: An image is represented as a 2D array of pixel intensity values
f(x,y)f(x, y)f(x,y), where xxx and yyy are the spatial coordinates.
● Techniques:
○ Point Operations: Modify individual pixel values, e.g., contrast adjustment,
brightness enhancement.
○ Neighborhood Operations: Use nearby pixel values, e.g., smoothing,
sharpening with convolution filters.
○ Example filters: Gaussian filter, Laplacian filter.
● Applications:
○ Noise reduction.
○ Edge detection.
○ Image enhancement by direct manipulation of pixel values.
● Advantages:
○ Intuitive and straightforward.
○ Effective for tasks requiring local pixel adjustments.
Frequency Domain
Speed Slower for large, global operations Faster for global tasks
Blurring Masks
● Purpose:
To smooth or reduce noise in an image by averaging the intensity values of neighboring
pixels. This results in a blurred or less sharp image.
● Working Principle:
Blurring masks apply a low-pass filtering operation, which reduces high-frequency
components (sharp changes like edges) in the image.
● Common Masks:
Derivative Masks
● Purpose:
To detect edges, gradients, or abrupt changes in intensity in an image by
calculating the rate of intensity change.
● Working Principle:
Derivative masks apply high-pass filtering to emphasize high-frequency
components (sharp changes like edges).
Gaussian Low pass and Gaussian High pass filter:
Gaussian Low-Pass Filter (GLPF):Purpose:
● Purpose:
To preserve low-frequency components (smooth or slow variations) and attenuate
high-frequency components (rapid changes such as noise or edges).
●
Effect on Image:
Applications:
● Noise removal.
● Smoothing or image blurring.
● Preprocessing step for other operations like segmentation.
Purpose:
Applications:
● Edge detection.
● Highlighting high-frequency details.
● Image sharpening.