Filtering, noise, and frequency analysis
- •
Spatial filters and edges
- •
Convolution -> combines a pixel neighborhood using kernel weights.
- •
- •
Mean / Gaussian filters -> smooth noise; may blur edges.
- •
Median filter -> useful for salt-and-pepper noise.
- •
Sharpening -> emphasizes local differences.
- •
Sobel -> estimates directional gradients.
- •
Canny -> smooths -> detects gradients -> suppresses non-maxima -> links thresholded edges.
- •
an edge response is not automatically an object boundary.
- •
- •
convolution illustration: slide a small kernel over a pixel neighborhood and show the weighted-sum output; include Sobel edge response if space permits.
- •
- •
Frequency domain
- •
DFT -> represents an image as spatial frequencies.
- •
Low frequencies -> slowly changing image structure.
- •
High frequencies -> fine detail and rapid changes.
- •
Centered magnitude spectrum -> shows frequency strength.
- •
Frequency masks -> apply a mask, then invert the transform.
- •
- •
- •
- •
false color terjadi pada hiseq saja. filtering tiddak harus intensitas saja kaya hiseq
- •
Notch filter -> targets selected frequency peaks.
- •
Periodic interference -> often appears as paired off-center peaks.
- •
Sharp frequency cutoff -> can cause ringing.
- •
centered spectrum illustration: label low/high frequencies, paired periodic-noise peaks, and low-pass/high-pass/notch masks.
- •
