Title: Image Segmentation
1Chapter 10
2Preview
- Segmentation subdivides an image into its
constituent regions or objects. - Level of division depends on the problem being
solved. - Image segmentation algorithms generally are based
on one of two basic properties of intensity
values discontinuity (e.g. edges) and similarity
(e.g., thresholding, region growing, region
splitting and merging)
3Chapter Outline
- Detection of discontinuities
- Edge linking and boundary detection
- Thresholding
- Region-based segmentation
- Morphological watersheds
- Motion in segmentation
4Detection of Discontinuities
- Define the response of the mask
- Point detection
5Point Detection Example
6Line Detection
- Masks that extract lines of different directions.
7Illustration
8Edge Detection
- An ideal edge has the properties of the model
shown to the right - A set of connected pixels, each of which is
located at an orthogonal step transition ingray
level. - Edge local concept
- Region Boundary global idea
9Ramp Digital Edge
- In practice, optics, sampling and other image
acquisition imperfections yield edges that area
blurred. - Slope of the ramp determined by the degree of
blurring.
10Zero-Crossings of 2nd Derivative
11Noisy Edges Illustration
12Edge Point
- We define a point in an image as being an edge
point if its 2-D 1st order derivative is greater
than a specified threshold. - A set of such points that are connected according
to a predefined criterion of connectedness is by
definition an edge.
13Gradient Operators
- Gradient
- Magnitude
- Direction
14Gradient Masks
15Diagonal Edge Masks
16Illustration
17Illustration (contd)
18Illustration (contd)
19The Laplacian
- Definition
- Generally not used in its original form due to
sensitivity to noise. - Role of Laplacian in segmentation
- Zero-crossings
- Tell whether a pixel is on the dark or light side
of an edge.
20Laplacian of Gaussian
21Illustration
22Edge Linking Local Processing
- Link edges points with similar gradient magnitude
and direction.
23Global Processing Hough Transform
- Representation of lines in parametric space
Cartesian coordinate
24Hough Transform
- Representation in parametric space polar
coordinate
25Illustration
26Illustration (contd)
27Graphic-Theoretic Techniques
28Illustration
29Example
30Thresholding
- Foundation background point vs. object point
- The role of illumination f(x,y)i(x,y)r(x,y)
- Basic global thresholding
- Adaptive thresholding
- Optimal global and adaptive thresholding
- Use of boundary characteristics for histogram
improvement and local thresholding - Thresholds based on several variables
31Foundation
32The Role of Illumination
33Basic Global Thresholding
34Another Example
35Basic Adaptive Thresholding
36Basic Adaptive Thresholding (contd)
37Optimal Global and Adaptive Thresholding
- Refer to Chapter 2 of the Pattern
Classification textbook by Duda, Hart and Stork.
38Thresholds Based on Several Variables
39Region-Based Segmentation
- Let R represent the entire image region. We may
view segmentation as a process that partitions R
into n sub-regions R1, R2, , Rn such that - (a)
- (b) Ri is a connected region
- (c)
- (d) P(Ri) TRUE for i1,2,n
- (e) P(Ri U Rj) FALSE for i ! j
40Region Growing
41Region-Splitting and Merging
42Morphological Watersheds (I)
43Morphological Watersheds (II)
44Motion-based Segmentation (I)
45Motion-based Segmentation (II)