Image Segmentation-Upload1
Image Segmentation-Upload1
R T
where T : a nonnegative threshold
Detection of Discontinuities
Line Detection
• First-order derivatives:
– The gradient of an image f(x,y) at location (x,y) is defined
as the vector:
x
G f
x
f = = f
y y
G
– The magnitude of this vector: f = mag (f ) = G + G 2
x
2
y
1
2
Gx
– The direction of this vector: ( x, y ) = tan
−1
Gy
Detection of Discontinuities
Gradient Operators
Prewitt operators
Sobel operators
Detection of Discontinuities
Gradient Operators
f G x + G y
Detection of Discontinuities
Gradient Operators: Example
Detection of Discontinuities
Gradient Operators: Example
Detection of Discontinuities
Gradient Operators
x y
– Two forms in practice:
Detection of Discontinuities
Gradient Operators
Sobel gradient
In this example,
we can find the
license plate
candidate after
edge linking
process.
Edge Linking and Boundary Detection
Global Processing via the Hough Transform
r ( x, y ) (a) (c) i ( x, y )
(d) (e)
f ( x, y ) = i ( x, y ) r ( x, y )
Thresholding
Basic Global Thresholding
Thresholding
Basic Global Thresholding
Thresholding
Basic Adaptive Thresholding
Thresholding
Basic Adaptive Thresholding
Answer: subdivision
Thresholding
Optimal Global and Adaptive Thresholding
Color image
Region-Based Segmentation