EEE415 Digital Image Processing: Frequency Domain Filtering
EEE415 Digital Image Processing: Frequency Domain Filtering
EEE415 Digital Image Processing: Frequency Domain Filtering
Aliasing in images
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Aliasing in images
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Under-sampling
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Image half-sizing
This image is too big to
fit on the screen. How
can we reduce it?
S. Seitz
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Image sub-sampling
1/8
1/4
Image sub-sampling
G 1/8
G 1/4
Gaussian 1/2
Solution: filter the image, then subsample
S. Seitz
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
S. Seitz
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Compare with...
S. Seitz
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Re-sampling
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Re-sampling
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
IDFT:
Examples
This is the
magnitude
of cheetah
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
This is the
phase of
cheetah
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
This is the
magnitude
of zebra
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
This is the
phase of
zebra
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Reconstruct
with zebra
phase,
cheetah
magnitude
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Reconstruct
with
cheetah
phase, zebra
magnitude
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
An Example of Convolution
Mirroring h
about the origin
Translating the
mirrored
function by x
Computing the
sum for each x
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
An Example of Convolution
It causes the
wraparound
error
It can be
solved by
appending
zeros
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Zero Padding
P ≥A+B-1
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Zero Padding
► Let f(x,y) and h(x,y) be two image arrays of sizes A×B and C×D
pixels, respectively. Wraparound error in their convolution can
be avoided by padding these functions with zeros
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Summary
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Summary
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Summary
CS 4495 Computer Vision – A. Bobick Frequency and Fourier Transform
Summary