SlideShare a Scribd company logo
Digital Image
Processing
10. Image Segmentation
- 2
 Segmentation attempts to partition the
pixels of an image into groups that strongly
correlate with the objects in an image
 Typically the first step in any
automated computer vision
application
Image Segmentation
Image Segmentation
• Segmentation algorithms generally are
based on one of two basis properties of
intensity values
• Discontinuity: to partition an image
based on abrupt changes in intensity
(such as edges)
• Similarity: to partition an image into
regions that are similar according to a
set of predefined criteria.
10. Image Segmentation
- 3
Image Segmentation
 Image
Segmentation
10. Image Segmentation
- 4
Image Segmentation
 Image
Segmentation
10. Image Segmentation
- 5
Image Segmentation
 Detection of discontinuities:
 There are three basic types of gray-
level discontinuities:
 points , lines , edges
 the common way is to run a mask
through the image
10. Image Segmentation
- 6
Point Detection:
• The only differences that are considered of
interest are those large enough (as
determined by T) to be considered isolated
points.
|R| >T
10. Image Segmentation
- 7
Point Detection:
10. Image Segmentation
- 8
Line Detection
• Horizontal mask will result with max response when a
line passed through the middle row of the mask with a
constant background.
• 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.
R1 R2 R3 R4
10. Image Segmentation
- 9
Line Detection
• Apply every masks on the image
• let R1, R2, R3, R4 denotes the response of
the horizontal, +45 degree, vertical and -
45 degree masks, respectively.
• if, at a certain point in the image
|Ri| > |Rj|, for all j≠i,
• that point is said to be more likely
associated with a line in the direction
of mask i.
10. Image Segmentation -
10
Line Detection
• Alternatively, if we are interested in detecting
all lines in an image in the direction defined
by a given mask, we simply run the mask
through the image and threshold the
absolute value of the result.
• The points that are left are the strongest
responses, which, for lines one pixel thick,
correspond closest to the direction defined
by the mask.
10. Image Segmentation -
11
Line Detection
10. Image Segmentation -
12
Edge Detection Approach
 Segmentation by finding pixels on a
region boundary.
 Edges found by looking at neighboring
pixels.
 Region boundary formed by measuring
gray value differences between
neighboring pixels
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.
10. Image Segmentation -
14
Edge Detection
10. Image Segmentation -
15
Edge Detection
10. Image Segmentation -
16
Edge Detection
10. Image Segmentation -
17
Edge Detection
 Detection of discontinuities: Image
Derivatives
10. Image Segmentation -
18
Edge Detection
• First column: images and
gray- level profiles of a ramp
edge corrupted by random
Gaussian noise of mean 0
and = 0.0, 0.1, 1.0 and
10.0, respectively.
• Second column: first-
derivative
images and gray-level
profiles.
• Third column : second-
derivative images and
gray- level profiles.
10. Image Segmentation -
19
Edge Detection
1/ 2
2 2
x y
for 3 3 mask
Gx  (z7  z8  z9 )  (z1  z2  z3 )
Gy  (z3  z6  z9 )  (z1  z4  z7 )
f  G  G




y

f

 Gradient
Operator
f 
y 
G


f 
Gx 

 x 
10. Image Segmentation -
20
Edge Detection
 Prewitt and Sobel
Operators
10. Image Segmentation -
21
Edge Detection
10. Image Segmentation -
22
Edge Detection
10. Image Segmentation -
23
Edge Detection
10. Image Segmentation -
24
Edge Detection
10. Image Segmentation -
25
Edge Detection
 The
Laplacian
10. Image Segmentation -
26
Edge Detection
10. Image Segmentation -
27
Dr. Mostafa GadalHaqq. CS482:Introduction to Digital Image
Processing
Edge Detection
 The Laplacian of Gaussian
(LoG)
10. Image Segmentation -
28
Dr. Mostafa GadalHaqq. CS482:Introduction to Digital Image
Processing
Edge Detection
 The Laplacian of Gaussian
(LoG)
10. Image Segmentation -
29
Dr. Mostafa GadalHaqq. CS482:Introduction to Digital Image
Processing

More Related Content

PPT
Dip Image Segmentation
PDF
Module-V 096.pdf
PPT
Chapter10_Segmentation.ppt
PPT
Final ppt
PPTX
IMAGE SEGMENTATION.
PPTX
Lecture 06 - image processingcourse1.pptx
PPT
digital imagesegmentation-191212120951.ppt
PPT
MODULE_4_part1_Intro_image-segzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
Dip Image Segmentation
Module-V 096.pdf
Chapter10_Segmentation.ppt
Final ppt
IMAGE SEGMENTATION.
Lecture 06 - image processingcourse1.pptx
digital imagesegmentation-191212120951.ppt
MODULE_4_part1_Intro_image-segzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

Similar to segmentation in image processing .pptx (20)

PPT
MODULE_4_part1_Intro_image-segmentation.ppt AAAAAAAAAAAAAAAAAAAAAAA
PDF
csc447dipch10-160628144302.pdf
PPT
Image segmentation
PPT
Image segmentation
PPTX
Digital Image Processing -Unit-3 - L1.pptx
PDF
Module-5-1_230523_171754 (1).pdf
PPTX
image segmentation image segmentation.pptx
PDF
J017426467
PDF
Fpga implementation of image segmentation by using edge detection based on so...
PDF
Fpga implementation of image segmentation by using edge detection based on so...
PPTX
Image segmentation
PPT
Segmentation
PDF
PPT s06-machine vision-s2
PDF
UNIT-4.pdf image processing btech aktu notes
PPT
IVP_segmentation ppt for image segmentation used in computer graphics
PPTX
Image Segmentation by Professor Vipin Tyagi
PDF
Image segmentation
PPT
image-processing-husseina-ozigi-otaru.ppt
PDF
Biomedical engineering 20231023-segmentation-1.pdf
MODULE_4_part1_Intro_image-segmentation.ppt AAAAAAAAAAAAAAAAAAAAAAA
csc447dipch10-160628144302.pdf
Image segmentation
Image segmentation
Digital Image Processing -Unit-3 - L1.pptx
Module-5-1_230523_171754 (1).pdf
image segmentation image segmentation.pptx
J017426467
Fpga implementation of image segmentation by using edge detection based on so...
Fpga implementation of image segmentation by using edge detection based on so...
Image segmentation
Segmentation
PPT s06-machine vision-s2
UNIT-4.pdf image processing btech aktu notes
IVP_segmentation ppt for image segmentation used in computer graphics
Image Segmentation by Professor Vipin Tyagi
Image segmentation
image-processing-husseina-ozigi-otaru.ppt
Biomedical engineering 20231023-segmentation-1.pdf
Ad

More from satyanarayana242612 (10)

PPTX
introduction to Microwave engineering
PPTX
direction coupler in microwave engineering
PPTX
ch-2.2 histogram image processing .pptx
PPTX
Principal component analysis in machine L
PPTX
ch-1.2 elements of visualperception.pptx
PPTX
ch-1.1 image processing fundamentals.pptx
PDF
DFT,DCT TRANSFORMS.pdf
PDF
imagesegmentationppt-120409061123-phpapp01 (2).pdf
PDF
imagesegmentationppt-120409061123-phpapp01 (2).pdf
PPTX
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
introduction to Microwave engineering
direction coupler in microwave engineering
ch-2.2 histogram image processing .pptx
Principal component analysis in machine L
ch-1.2 elements of visualperception.pptx
ch-1.1 image processing fundamentals.pptx
DFT,DCT TRANSFORMS.pdf
imagesegmentationppt-120409061123-phpapp01 (2).pdf
imagesegmentationppt-120409061123-phpapp01 (2).pdf
ch-2.5 Image Enhancement in FREQUENCY Domain.pptx
Ad

Recently uploaded (20)

PPTX
Construction Project Organization Group 2.pptx
PDF
PPT on Performance Review to get promotions
PPTX
additive manufacturing of ss316l using mig welding
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Sustainable Sites - Green Building Construction
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
introduction to datamining and warehousing
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Construction Project Organization Group 2.pptx
PPT on Performance Review to get promotions
additive manufacturing of ss316l using mig welding
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Sustainable Sites - Green Building Construction
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Automation-in-Manufacturing-Chapter-Introduction.pdf
introduction to datamining and warehousing
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
III.4.1.2_The_Space_Environment.p pdffdf
CYBER-CRIMES AND SECURITY A guide to understanding
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Categorization of Factors Affecting Classification Algorithms Selection
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx

segmentation in image processing .pptx

  • 2. 10. Image Segmentation - 2  Segmentation attempts to partition the pixels of an image into groups that strongly correlate with the objects in an image  Typically the first step in any automated computer vision application Image Segmentation
  • 3. Image Segmentation • Segmentation algorithms generally are based on one of two basis properties of intensity values • Discontinuity: to partition an image based on abrupt changes in intensity (such as edges) • Similarity: to partition an image into regions that are similar according to a set of predefined criteria. 10. Image Segmentation - 3
  • 6. Image Segmentation  Detection of discontinuities:  There are three basic types of gray- level discontinuities:  points , lines , edges  the common way is to run a mask through the image 10. Image Segmentation - 6
  • 7. Point Detection: • The only differences that are considered of interest are those large enough (as determined by T) to be considered isolated points. |R| >T 10. Image Segmentation - 7
  • 8. Point Detection: 10. Image Segmentation - 8
  • 9. Line Detection • Horizontal mask will result with max response when a line passed through the middle row of the mask with a constant background. • 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. R1 R2 R3 R4 10. Image Segmentation - 9
  • 10. Line Detection • Apply every masks on the image • let R1, R2, R3, R4 denotes the response of the horizontal, +45 degree, vertical and - 45 degree masks, respectively. • if, at a certain point in the image |Ri| > |Rj|, for all j≠i, • that point is said to be more likely associated with a line in the direction of mask i. 10. Image Segmentation - 10
  • 11. Line Detection • Alternatively, if we are interested in detecting all lines in an image in the direction defined by a given mask, we simply run the mask through the image and threshold the absolute value of the result. • The points that are left are the strongest responses, which, for lines one pixel thick, correspond closest to the direction defined by the mask. 10. Image Segmentation - 11
  • 12. Line Detection 10. Image Segmentation - 12
  • 13. Edge Detection Approach  Segmentation by finding pixels on a region boundary.  Edges found by looking at neighboring pixels.  Region boundary formed by measuring gray value differences between neighboring pixels
  • 14. 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. 10. Image Segmentation - 14
  • 15. Edge Detection 10. Image Segmentation - 15
  • 16. Edge Detection 10. Image Segmentation - 16
  • 17. Edge Detection 10. Image Segmentation - 17
  • 18. Edge Detection  Detection of discontinuities: Image Derivatives 10. Image Segmentation - 18
  • 19. Edge Detection • First column: images and gray- level profiles of a ramp edge corrupted by random Gaussian noise of mean 0 and = 0.0, 0.1, 1.0 and 10.0, respectively. • Second column: first- derivative images and gray-level profiles. • Third column : second- derivative images and gray- level profiles. 10. Image Segmentation - 19
  • 20. Edge Detection 1/ 2 2 2 x y for 3 3 mask Gx  (z7  z8  z9 )  (z1  z2  z3 ) Gy  (z3  z6  z9 )  (z1  z4  z7 ) f  G  G     y  f   Gradient Operator f  y  G   f  Gx    x  10. Image Segmentation - 20
  • 21. Edge Detection  Prewitt and Sobel Operators 10. Image Segmentation - 21
  • 22. Edge Detection 10. Image Segmentation - 22
  • 23. Edge Detection 10. Image Segmentation - 23
  • 24. Edge Detection 10. Image Segmentation - 24
  • 25. Edge Detection 10. Image Segmentation - 25
  • 26. Edge Detection  The Laplacian 10. Image Segmentation - 26
  • 27. Edge Detection 10. Image Segmentation - 27 Dr. Mostafa GadalHaqq. CS482:Introduction to Digital Image Processing
  • 28. Edge Detection  The Laplacian of Gaussian (LoG) 10. Image Segmentation - 28 Dr. Mostafa GadalHaqq. CS482:Introduction to Digital Image Processing
  • 29. Edge Detection  The Laplacian of Gaussian (LoG) 10. Image Segmentation - 29 Dr. Mostafa GadalHaqq. CS482:Introduction to Digital Image Processing