Video Lecture PPT Format
Video Lecture PPT Format
Department of
Computer Science & Engineering
3
Computer Science & Engineering
Image Segmentation
Detection of Discontinuities:
There are three basic types of gray-level discontinuities:
1. Points
2. Lines
3. Edges
The common way is to run a mask through the image
4
Computer Science & Engineering
Image Segmentation
Detection of Discontinuities:
The common way is to run a mask through the image
This procedure involves computing the sum of products of the
coefficients with gray levels contained in the region
encompassed by the mask.
The response of the mask at any point in
w1 w2 w3
w4 w5 w6
the image is given by:
w7 w8 w9
Where, is the gray level of the pixel
associated with the mask coefficient
5
Computer Science & Engineering
Image Segmentation
Point Detection
The only differences that are considered of interest are those large enough
(as determined by T) to be considered isolated points.
Non negative
threshold
6
Computer Science & Engineering
Image Segmentation
Line Detection
Horizontal mask will result with max response when a line passed through the
middle row of the mask with a constant background.
background. R1 background.
R1 R2 R3
R4
The similar idea is used with other masks.
note: the preferred direction of each mask is weighted with a larger coefficient
(i.e.,2) than other possible directions.
9
Computer Science & Engineering
Image Segmentation
Edge Detection
An edge is a set of connected pixels 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.
Segmentation by finding pixels on a region boundary.
11