Professional Documents
Culture Documents
com
Detection of Discontinuities
Edge Detection
Definition of edges
- Edges are significant local changes of intensity in an image.
- Edges typically occur on the boundary between two different
regions in an image.
Detection of Discontinuities
Edge Detection
Goal of edge detection
- Produce a line drawing of a scene from an image of that scene.
- Important features can be extracted from the edges of an image
(e.g., corners, lines, curves).
- These features are used by higher-level computer vision algorithms
(e.g., recognition).
Detection of Discontinuities
Edge Detection
Detection of Discontinuities
Edge Detection
Detection of Discontinuities
Edge Detection
Detection of Discontinuities
Edge Detection
Conclusions :
•The magnitude of the first derivative can be used to detect
the presence of an edge at a point in an image.
•Sign of the second derivative can be used to determine
whether an edge pixel lies on the dark or light side of an
edge.
•Second derivative produces two values for every edge in an
image.
•Its zero crossings can be used for locating the centers of thick
edges.
Detection of Discontinuities
Gradient Operators
• First-order derivatives:
– The gradient of an image f(x,y) at location (x,y) is defined
as the vector:
g x fx
f grad ( f ) f
g y y
f M ( x , y ) g x g y
gy
© 2002 R. C. Gonzalez & R. E. Woods
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
Detection of Discontinuities
Gradient Operators
• :
Detection of Discontinuities
Gradient Operators
Detection of Discontinuities
Gradient Operators
Detection of Discontinuities
Gradient Operators
Prewitt operators
Sobel operators
Prewitt operators
Sobel operators
Detection of Discontinuities
Gradient Operators
Detection of Discontinuities
Gradient Operators: Example
f G x G y
Detection of Discontinuities
Gradient Operators: Example
Detection of Discontinuities
Gradient Operators: Example