UNIT-4 image segmentation
UNIT-4 image segmentation
Image Segmentation
What is image segmentation?
Image segmentation is the process of dividing an image into different
segments to identify the objects and boundaries within it.
Image segmentation is used to locate objects and boundaries in images.
Detection of Discontinuities
This approach is applicable, where there arise a abrupt changes in the intensity level in
an image.
1. Point Detection
2. Line Detection
3. Edges Detection
1. Point Detection:
It is done using sharpening filter
Threshold is used
Pixel are detected as points that are above a set threshold
1
2. Line Detection
A special mask is needed to detect special types of line
Example:
2
3. Edge detection:
Edge detection: Edge detection is an image processing technique for finding the
boundaries of objects within images. It works by detecting discontinuities in
brightness. Edge detection is used for image segmentation and data extraction in
areas such as image processing, computer vision, and machine vision.
3
Image Segmentation Techniques:
Region-based techniques are further classified into two types based on the
approaches they follow:
1. Region growing
2. Region splitting and merging
1. Region growing:
Region growing approach is the opposite of the split and merges approach:
With the region growing method, we start with a pixel as the seed pixel, and
then check the adjacent pixels. If the adjacent pixels abide by the
4
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.
5
Solution
In region splitting, the whole image is first taken as a single region. If the region does
not follow the predefined rules, then it is divided into multiple regions (usually four
6
quadrants), and then the pre-defined rules are carried out on those regions in order to
decide whether to further subdivide or to classify that as a region. The following
process continues until every region follows the pre-defined rules.
Example:
7
Example:
Example:
Solution
Max value = 7
Min value = 0
8
Furthermore we will check all the sub-regions. Since all of them <=3, no further
splitting is required.
9
Merging
Check adjacent regions, if they are falling within the threshold, then merge
Max value =7
Min value = 4
10
Important Questions of Unit-4
11
1. Define image segmentation.
2. Explain Image Segmentation and related fundamental conditions.
3. What is segmentation? Explain point, line and edge detection in brief.
Also explain how to improve fast scanning algorithm by using
morphological?
4. Discuss the technique with example used for the following:
(i) Line Detection
(ii) Edge Detection
5. How will you detect isolated points (Point Detection) in an image?
6. What do you mean by image segmentation? What are various image
segmentation techniques? Describe due image segmentation technique.
7. Identify the problems in region based segmentation.
8. Describe the technique of thresholding for image segmentation.
9. Explain Region Splitting and merging.
10. Explain the process of image segmentation using region growing.
11. What do you mean by image segmentation? What are various image
12. Segmentation techniques? Describe due image segmentation technique.
13. Explain watershed segmentation algorithm in detail.
12
13