Professional Documents
Culture Documents
01CE0507
Chap 8
Image Segmentation
Edge Detection
Threshold Based
Segmentation / Histogram
Based Segmentation
Region-Based
Similarity Approach:
Segmentation
Clustering Based
Segmentation
Discontinuities Point Detection /
Isolated Point Detection
• A point is the most basic type of discontinuity
in a digital image.
• The most common approach to finding
discontinuities is to run an (n*n) mask over
each point in the image (Laplacian Mask)
-1 -1 -1
-1 8 -1
-1 -1 -1
Discontinuities Point Detection /
Isolated Point Detection (Cont.)
Discontinuities Point Detection /
Isolated Point Detection (Cont.)
• The idea is that the gray level of an isolated
point will be quite different from the gray level
of its neighbors
Discontinuities Point Detection /
Isolated Point Detection (Cont.)
Original Gray
RGB Image
Image
Global Local
Thresholding Thresholding
(1 Thresold) (3 Thresold)
Threshold Based Segmentation (Cont.)
Region Growing
Method
Region-Based
techniques Region Splitting
And Merging
Method
Region Growing Technique
• Region growing is a procedure that groups
pixels or subregions into larger regions
• We grow regions by recursively including the
neighbouring pixels that are similar and
connected to the seed pixel.
Region Growing Technique (Cont.)
• Consider a seed pixel of 2 in the given image and a
threshold value of 3,
• if a pixel has a value greater than 3 then it will be
considered inside the seed pixel region.
• Otherwise, it will be considered in another region. Hence 2
regions are formed in the following image based on a
threshold value of 3.
Region Growing Technique (Cont.)
Region Growing Technique (Cont.)
Region Growing Technique (Cont.)
Region Growing Technique (Cont.)
– In the case of the Region growing method, we
start with some pixel as the seed pixel and then
check the adjacent pixels.
– If the adjacent pixels abide by the predefined
rules, then that pixel is added to the region of the
seed pixel and the following process continues till
there is no similarity left.
– This method follows the bottom-up approach.
– In case of a region growing, the preferred rule can
be set as a threshold.
Region Splitting and Merging Technique
• In Region Splitting, Consider First Region as
Whole Image
Splitting into
Select Region Multiple Parts
(Normally 4)
Process
continues till
Checking for
there is no
predefined
further division
rules
of regions
required
• If Rule Satisfy consider as
region
• If rule not Satisfy then again
divide into sub region
Region Splitting and Merging Technique
(Cont.)
Region Splitting and Merging Technique
(Cont.)
• In Region merging
technique, we
Select Region
consider every pixel
as an individual • If Rule Satisfy
consider we
region. Checking for
predefined
merge them into a
single region
rules • If rule not Satisfy
then consider as
final region
Process
continues till
there is no
further Merger
of regions
required
Region Splitting and Merging
Technique (Cont.)
Clustering Based Segmentation
• Clustering is a type of unsupervised machine
learning algorithm.
• It is highly used for the segmentation of
images.
• One of the most dominant clustering-based
algorithms used for segmentation is KMeans
Clustering.
• This type of clustering can be used to make
segments in a colored image.
Clustering Based Segmentation (Cont.)
• They augment human vision by isolating
clusters, shadings, and structures.
• The algorithm divides images into clusters of
pixels with similar characteristics, separating
data elements and grouping similar elements
into clusters.
Clustering Based Segmentation (Cont.)
1. Computation time
is too large and
expensive.
Works really well on
Divides the pixels of the 2. k-means is a
Segmentation based on small datasets and
image into distance-based
Clustering generates excellent
homogeneous clusters. algorithm. It is not
clusters.
suitable for
clustering non-
convex clusters.
Let’s Summarize
• Describe various thresholding-based segmentation.
• Explain Image segmentation using Global Thresholding.
• What is Image segmentation? What is discontinuity
based segmentation?
• What is image segmentation? Write applications of
image segmentation.
• Explain multi level thresholding and local thresholding
for image segmentation.
• How is a line detected? Give the mask to detect
horizontal, vertical, + 45o slope and -45o slope line.