Image Filtering Notes
Image Filtering Notes
Fall 2014
Arthur Goshtasby
Convolution:
Gaussian filter.
Fall 2014
Arthur Goshtasby
A Gaussian filter
Note that a 2-D Gaussian can be split into two 1-D Gaussians:
so that
Fall 2014
Arthur Goshtasby
An image and its gradients in horizontal direction. Zero values are shown by 128 (gray).
Fall 2014
Arthur Goshtasby
We have,
Fall 2014
Arthur Goshtasby
Vertical
change:
Gradient
magnitude:
Gradient
direction:
Iu and I v can be computed via convolution.
1. Convolve G u(u)G(v) with image I: Iu
2. Convolve G v(v)G(u) with image I: Iv
3. Calculate gradient magnitude and direction pixel-bypixel.
Therefore, we can calculate gradient magnitude and
direction by filtering.
Fall 2014
Arthur Goshtasby
Fall 2014
Arthur Goshtasby