Professional Documents
Culture Documents
components (such as
I expect to see a human face edges, lines etc.)
Person A:
I see an old man with a fancy
earring and a strange hand
Person B:
You are strongly encouraged to try the interactive demo out yourself
http://vasc.ri.cmu.edu/demos/faceindex/
0 1 1 0
1 0 0 1
g1 g2
1 1 1 1 2 1
horizontal 0 0 0 0 0 0
1 1 1 1 2 1
x y
(Laplacian operator)
2 f
0 local extreme in f
x 2
f f f
Linear filtering
Use a Gaussian filter to smooth out noise
component Laplacian of Gaussian
Spatially-adaptive (Nonlinear) processing
Apply different detection strategies to smooth
areas (low-variance) and non-smooth areas (high-
variance) Robust Laplacian edge detector
Return single response to edges (not multiple
edge pixels)
Hysteresis thresholding Cannys edge detector
EE465: Introduction to Digital Image
Processing Copyright Xin Li 27
Laplacian of Gaussian
Generalized Laplacian operator
(m 2 n 2 ) m2 n2
h(m, n) c[1 ] exp( )
2 2 2
Better than Laplacian alone but still sensitive due to zero crossing
Non-maximum suppression
finds peaks in the image gradient
Edge map
EE465: Introduction to Digital Image
Processing Copyright Xin Li 33
Canny Edge Detector Example
f ( x , y ; s ) f ( x , y ;0 ) g ( x , y ; s )
coarse-scale fine-scale Gaussian kernel
image image with width of s
1 x2 y2
g ( x, y; s) exp( )
2s 2s
EE465: Introduction to Digital Image
Processing Copyright Xin Li 35
Importance of Scale
fine coarse
http://sporkforge.com/imaging/sketch.php