Computer Vision & Digital Image Processing
Computer Vision & Digital Image Processing
Image Segmentation
Image segmentation
R = w1 z1 + w2 z 2 + ... + w9 z9
9
= ∑ wi zi
i =1
-1 -1 -1
-1 8 -1
-1 -1 -1
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-5
-1 -1 -1 -1 2 -1 -1 -1 2 2 -1 -1
2 2 2 -1 2 -1 -1 2 -1 -1 2 -1
-1 -1 -1 -1 2 -1 2 -1 -1 -1 -1 2
Derivative operators
≈ Gx + G y
• The direction of the gradient vector is the angle α(x,y) given
by
⎛ Gy ⎞
α ( x, y ) = tan −1 ⎜⎜ ⎟⎟
⎝ Gx ⎠
-1 -2 -1 -1 0 1
0 0 0 -2 0 2
1 2 1 -1 0 1
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-12
The Laplacian
∇ 2 f = 4 z 5 − ( z 2 + z 4 + z 6 + z8 )
• σ = standard deviation.
• If r2=x2+y2, then the Laplacian is then
⎛ r2 −σ 2 ⎞ ⎛ r2 ⎞
∇ 2 h = ⎜⎜ ⎟
⎟ exp⎜⎜ − ⎟
2 ⎟
⎝ σ ⎝ 2σ ⎠
4
⎠
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 16-15