Summary of Lecture #2: Gaussian Filters For
Summary of Lecture #2: Gaussian Filters For
scale
Non-linear scale
spaces:
● non-linear diffusion
● closings or openings
● wavelet transforms
y
x
Scale Pyramid
scale
Because the filter
reduces the
information content
of the image, it can
be downsampled
with increasing
scale to reduce
memory usage y
x
Gaussian Scale Space
scale space
inflection points
Gabor Filter
● We want to show where in the image are grid patterns
with a chosen period and orientation
– Select an area in the Fourier Domain
● We want the resulting spatial filter to be small
– Use a Gaussian region in the FD
● We want the filter to be insensitive to phase
– Use an even and an odd filter
Gabor Filter
spatial domain frequency domain
Gaussian
cosine
sine
Gabor filter
Gabor Filter
spatial domain frequency domain
Gaussian
Gaussian,
shifted in the FD
real
component
imaginary
component
Gabor Filter Example
Gabor Filter Example
Gabor Filter
Non-maxima suppression
Non-Maxima Suppression
a1 & a2 computed by
linear interpolation
∇f a1
f(p)
a2 For each point p check:
f(p) > a1 ∧ f(p) ≥ a2
f(p) ≥ a1 ∧ f(p) > a2
If condition not met, set
pixel to 0.
Canny's Edge Detector
low threshold
σ=4 σ=8
Hough Transform
● Detecting parametrized shapes in an image
● Originally for straight lines in 2-D (2 parameters: p, φ)
● Later generalized to any shape:
– 3-D sphere (4 parameters: x, y, z, r)
– 2-D square (4 parameters: x, y, a, φ)
– 2-D smiley (3 parameters: x, y, r)
– …
● Creates a “parameter space”
● Converts the shape detection into maxima detection
2D Hough Transform for Lines
● Each point in the parameter shape represents one
instance of the shape in the image
p
φ
φ
p
φ
φ
p
y
r = 25
r = 30
The Radon Transform
● Because I’m using convolution to create the parameter
space, I can use a grey-value convolution mask!
● Define the circle with a Gaussian profile:
– Yields a band-limited parameter space
– The parameter space can be sampled without aliasing
● It is possible to detect peaks with sub-pixel accuracy
Radon Transform Example
x y r
55.10 51.52 24.94
109.00 88.28 24.90
235.10 181.78 24.92
264.83 107.11 24.86
147.59 35.42 29.06
215.97 73.66 29.21
36.06 111.39 29.93
95.17 152.87 30.06
119.33 218.96 30.42
173.80 125.39 29.62
Hough vs Radon
● The resulting parameter space is identical
– Scale spaces
– Hough Transform
– Radon Transform