Professional Documents
Culture Documents
3-Spatial Frequency and Transform
3-Spatial Frequency and Transform
in Computer Vision
ECE 4078- MGCV
Concept of Frequency
• Frequency is measured in Hertz, cycles or periods per
second
– Higher frequency means more cycle per second
– Higher frequency means shorter period
– Zero frequency means infinite period, which means constant
signal
• Fourier transform of a function of time has units, cycles
per second
– FT of a function of pixels (eg an image) will have units cycles per
pixel
– Rapid changes in a signal corresponds to higher frequencies,
slow changes are represented by lower frequencies
– Rapid changes in the intensity in an image are high frequency
Concept of Frequency
• Slowest varying frequency corresponds to the average gray level of
an image
• Low frequency corresponds to the slowly varying component of an
image
– Located near the origin of FT of image, F (0,0)
– Eg: Smooth gray level variation of wall, floor, sky, etc.
• High frequency corresponds to faster and faster gray level changes
– Located farther away from origin
– Eg: Edges of objects, noise
Fourier Transform
• Hence,
– A local change in the function (e.g: set to zero a block of point) is
going to modify every point in Fourier domain
• Difficult to use as a representation : Cannot tell whether a pattern is
present just by looking at FT
(a) Original image of size 688 × 688 pixels. (b)–(c) Results of filtering using
ILPFs with cutoff frequencies set at radii values 10 and 30 respectively
Lowpass Filter
• Gaussian lowpass filter:
Highpass Filter
• Subtracting a LPF transfer function from 1 yields the
corresponding HPF filter transfer function
• Ideal HPF
• Gaussian HPF
Highpass Filter
Highpass Filter
• (a) Smudged thumbprint. (b) Result of highpass filtering (a). (c) Result of
thresholding
Bandreject Filter
– FT(sample2D(f(x,y)) = σ∞ ∞
𝑖=−∞ σ𝑗=−∞ 𝐹(𝑢 − 𝑖, 𝑣 − 𝑗)
• Where FT(f(x,y)) = F(u,v)
Aliasing
G 1/8
G 1/4
Gaussian 1/2
Subsampling with Gaussian prefiltering
F0 F1 F2
blur
G2 (G1 * gaussian) 2
G1 (G0 * gaussian) 2
blur
G0 Image
blur
High resolution