Chapter 10 Dip Me.ec 4
Chapter 10 Dip Me.ec 4
Presented by
Ma Khin Ni Ni Htet
ME.EC-4
Outline of Presentation
Background
Line Detection
Edge Models
Thresholding
Region-Based Segmentation
The first category, the approach is to partition an image based on abrupt changes in intensity, such as edges.
Thresholding, region growing, and region splitting and merging are examples of methods in this category.
Discontinuity-based segmentation: This category assumes that boundaries between regions and background are
Similarity-based segmentation: This category involves partitioning an image into regions where the regions are
Discontinuities Similarity
Region Region
Gradient based Gaussian based Global Local Growing Splitting
Rober Laplacian of
Gaussian
Prewitt
Point Detection:
Examples:
-Horizontal mask has high response when a line is passed through the middle row of the mask.
Edge detection:
Edge detection is the approach for segmenting images based on abrupt changes in intensity. It is used to
detect the boundaries or to find size or location of an object in an image.
What is an edges?
- An edge is a set of connected pixel that lie on the boundary between two regions.
- An edge is a ‘local’ concept whereas a region boundary, owing to the way, it is defined, is a more global
idea.
Detect the three basic types of grey-level discontinuities
Point,
Line,
Edges
Image Sharping Techniques
Gradient based (First Order)-Produce thicker edge
Gaussian based (Second Order)-Have a strong response of fine detail, such as thin line and isolated point, and
noise.
R = + + ........+
=
Two kinds of approaches to segmentation: discontinuity and similarity.
Discontinuity
-Point detection
-Line detection
-Edge detection
Similarity
The strategy is to partition an image into regions that are similar according to a set of predefined criteria.
Edge models:
- Step edge (Ideal edge), ramp edge (thick edge), and roof edge
(a)(b)(c)
Figure (10.8) Form left to right, models (ideal representations) of a step, a ramp, and their corresponding
intensity profiles
• An image may all the three types of edges
Figure 10.9 A image showing (zoomed) actual ramp (bottom, left), step
(top, right), and roof edge profiles. The profiles are from dark to light, in the areas
indicated by the short line segments shown in the small circles. The ramp and “step”
profiles span 9 pixels and 2 pixels, respectively. The base of the roof edge is 3 pixels.
(Original image courtesy of Dr. David R. Pickens,Vanderbilt University.)
First and Second order derivatives response at the edge:
FIGURE 10.10
(a) Two regions of
constant intensity
separated by an
ideal vertical
ramp edge.
(b) Detail near
the edge, showing
a horizontal
intensity profile,
together with its
first and second
derivatives.
1. The magnitude of the first derivative can be used to detect the presence of an edge at a point.
2. Sign of second derivative indicates which side of the edge the pixel is on.
3. Zero crossings of the second derivative can be used to locate the centers of thick edges.
First Second
Edge Models derivative order
All images have 8 bits of intensity resolution, with 0 and 255 representing black and white.
There are three fundamental steps performed in edge detection:
(1) Image smoothing for noise reduction.
(2) Detection of edge points.
(3) Edge localization.
Figure 10.12 Using the gradient to determine edge strength and direction at a point.
Note that the edge is perpendicular to the direction of the gradient vector at the point
where the gradient is computed. Each square in the figure represents one pixel.
This expression is called the Laplacian of a Gaussian (LoG).
FIGURE 10.21
(a) Three dimensional plot
of the negative of
the LoG. (b) Negative of the
LoG displayed as
an image. (c) Cross section of
(a) showing zero
crossings.
(d) Mask approximation to
the shape in (a).The negative
of
this mask would be used in
practice.
More Advanced Techniques for Edge Detection
(1)The Marr-Hildreth edge detector (Can find method of matrix)
(2) The Canny edge detector (differential method first derivative of a Gaussian: )
(i) Low error rate
(ii) Edge points should be well localized
(iii) Single edge point response
Figure:
(a) Original image.
(b) Topographic
view. (c)–(d) Two
stages of flooding.
Figure:
(a) Image of blobs.
(b) Image gradient.
(c) Watershed lines.
(d) Watershed lines
superimposed on
original image.
(Courtesy of Dr.
S. Beucher,
CMM/Ecole des
Mines de Paris.)
Figure: ADIs of a rectangular object moving in a southeasterly direction. (a) Absolute
ADI. (b) Positive ADI. (c) Negative ADI.
Where to use the image segmentation?
Image segmentation is a key building block of computer vision technologies and algorithms.
It is used for many practical applications including medical image analysis,
computer vision for autonomous vehicles,
face recognition and detection,
video surveillance, and satellite image analysis.
Advantages of image segmentation include easy data storing, faster processing, and a multiple copy
system.
Disadvantages include the need for extreme precision and error-prone results..
Thank you for your attention