SlideShare una empresa de Scribd logo
1 de 22
1
INTRODUCTION
 Segmentation divides an image into its constituent regions or
objects.
 Segmentation allows to extract objects in images.
 Segmentation Should Stop when the objects of interest in an
application has been solved.
EX: Automated inspection of electronic such as missing component
or broken path
 Image Segmentation algorithm based on property of intensity
values :Discontinuity and Similarity
Discontinuity: partition based on abrupt change in intensity
Similarity: Partition of image based on predefined criteria
2
3
Applications of image segmentation include
 Identifying objects in a scene for object-
based measurements such as size and
shape
-Identifying objects in a moving scene for
object-based video compression (MPEG4)
-Identifying objects which are at different
distances from a sensor using depth
measurements from a laser range finder
enabling path planning for a mobile robots
4
 Segmentation Based on Grey Scale
-Very simple ‘model’ of grey scale leads to inaccuracies
in object labelling
Grey Scale Image
Segmented Image
5
-Enables object surfaces with varying patterns of grey to
be segmented
 Segmentation Based on texture
6
-The main difficulty of motion segmentation is that an
intermediate step is required to (either implicitly or
explicitly) estimate an optical flow field
-The segmentation must be based on this estimate and
not, in general, the true flow
Segmentation based on motion
7
-This example shows a range image, obtained with
a laser range finder
-A segmentation based on the range (the object
distance from the sensor) is useful in guiding
mobile robots
Segmentation based on depth
Original
image
Segmented
Image
8
-TWO VERY SIMPLE IMAGE SEGMENTATION TECHNIQUES THAT
ARE BASED ON THE GREYLEVEL HISTOGRAM OF AN IMAGE IS
-THRESHOLDING
-CLUSTERING
WE CAN CONSIDER THE HISTOGRAMS OF OUR IMAGES
FOR THE NOISE FREE IMAGE, ITS SIMPLY TWO SPIKES AT
I=100, I=150
FOR THE LOW NOISE IMAGE, THERE ARE TWO CLEAR PEAKS
CENTRED ON I=100, I=150
FOR THE HIGH NOISE IMAGE, THERE IS A SINGLE PEAK –
Grey Level Histogram based Segmentation
0.00
500.00
1000.00
1500.00
2000.00
2500.00
0.00 50.00 100.00 150.00 200.00 250.00
i
h(i)
Noise free
Low noise
Highnoise
9
THERE ARE THREE BASIC TYPES OF GRAY-LEVEL
DISCONTINUITIES IN A DIGITAL IMAGE: POINTS, LINES, AND
EDGES
THE MOST COMMON WAY TO LOOK FOR DISCONTINUITIES
IS TO RUN A MASK THROUGH THE IMAGE.
WE SAY THAT A POINT, LINE, AND EDGE HAS BEEN
DETECTED AT THE LOCATION ON WHICH THE MASK IS
CENTERED IF R>T
Edge-based segmentation
10
Point Detection
 Point detection can be
achieved simply using the
mask below:
 Points are detected at
those pixels in the
subsequent filtered image
that are above a set
threshold
11
Line Detection
 The next level of complexity is to try to detect lines
 The masks below will extract lines that are one pixel thick
and running in a particular direction
12
EDGE DETECTION
 An edge is a set of connected pixels that lie on the
boundary between two regions
13
EDGE DETECTION
Edge detection: Gradient operation
x
y
f
G x
G f
y
f




 
      
  
1
2 2 2
( ) x yf mag f G G      
1
( , ) tan ( )y
x
G
x y
G
 

1st derivative tells us
where an edge is
2nd derivative can
be used to show
edge direction
14
REGION-BASED SEGMENTATION
Region growing: Groups pixels or sub-region into
larger regions.
step1:
Start with a set of “seed” points and from these grow regions by
appending to each seed those neighboring pixels that have properties
similar to the seed.
step2:
Region splitting and merging
Advantage Disadvantage
 With good connectivity  Initial seed-points:
 different sets of initial seed-point
cause different segmented result
 Time-consuming problem
15
THRESHOLDING
Thresholding is usually the first step in any
segmentation approach
Single value thresholding can be given
mathematically as follows:






Tyxfif
Tyxfif
yxg
),(0
),(1
),(






Tyxfif
Tyxfif
yxg
),(0
),(1
),(
16
 Based on the histogram of an image
 Partition the image histogram using a single global
threshold
 The success of this technique very strongly depends on
how well the histogram can be partitioned
Original Image Thresholded Image
17
THRESHOLD
If you get the threshold wrong the results can be disastrous
Threshold Too Low Threshold Too High
18
THRESHOLDING ALGORITHM
The basic global threshold, T, is calculated
as follows:
1. Select an initial estimate for T (typically the average grey level in the
image)
2. Segment the image using T to produce two groups of pixels: G1
consisting of pixels with grey levels >T and G2 consisting pixels with
grey levels ≤ T
3. Compute the average grey levels of pixels in G1 to give μ1 and G2 to give
μ2
4. Compute a new threshold value:
5. Repeat steps 2 – 4 until the difference in T in successive iterations is
less than a predefined limit T∞
This algorithm works very well for finding thresholds when the histogram is suitable
2
21  
T
19
An approach to handling situations in which
single value thresholding will not work is to
divide an image into sub images and
threshold these individually
since the threshold for each pixel depends on
its location within an image this technique is
said to adaptive
Basic Adaptive Thresholding
20
BASIC ADAPTIVE THRESHOLDING EXAMPLE
The image below shows an example of using adaptive
thresholding with the image shown previously
As can be seen success is mixed
But, we can further subdivide the troublesome sub
images for more success
21
BASIC ADAPTIVE THRESHOLDING EXAMPLE
These images show the
troublesome parts of the
previous problem further
subdivided
After this sub division
successful thresholding
can be
achieved
THANKS
22

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Fourier descriptors & moments
Fourier descriptors & momentsFourier descriptors & moments
Fourier descriptors & moments
 
Digital Image Processing: Image Segmentation
Digital Image Processing: Image SegmentationDigital Image Processing: Image Segmentation
Digital Image Processing: Image Segmentation
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Edge Detection and Segmentation
Edge Detection and SegmentationEdge Detection and Segmentation
Edge Detection and Segmentation
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Digital image processing using matlab
Digital image processing using matlab Digital image processing using matlab
Digital image processing using matlab
 
Noise Models
Noise ModelsNoise Models
Noise Models
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancy
 
Digital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image FundamentalsDigital Image Processing: Digital Image Fundamentals
Digital Image Processing: Digital Image Fundamentals
 
Chapter 4 Image Processing: Image Transformation
Chapter 4 Image Processing: Image TransformationChapter 4 Image Processing: Image Transformation
Chapter 4 Image Processing: Image Transformation
 
SPATIAL FILTER
SPATIAL FILTERSPATIAL FILTER
SPATIAL FILTER
 
digital image processing
digital image processingdigital image processing
digital image processing
 
EDGE DETECTION
EDGE DETECTIONEDGE DETECTION
EDGE DETECTION
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.
 
COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I COM2304: Digital Image Fundamentals - I
COM2304: Digital Image Fundamentals - I
 

Similar a Image segmentation

A Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and AnalysisA Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and Analysis
IOSR Journals
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
Satheesh K
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
Ayaelshiwi
 

Similar a Image segmentation (20)

J017426467
J017426467J017426467
J017426467
 
Final Review
Final ReviewFinal Review
Final Review
 
Image Segmentation.ppt
Image Segmentation.pptImage Segmentation.ppt
Image Segmentation.ppt
 
08 cie552 image_segmentation
08 cie552 image_segmentation08 cie552 image_segmentation
08 cie552 image_segmentation
 
ImSeg04.ppt
ImSeg04.pptImSeg04.ppt
ImSeg04.ppt
 
Im seg04
Im seg04Im seg04
Im seg04
 
ImSeg04 (2).ppt
ImSeg04 (2).pptImSeg04 (2).ppt
ImSeg04 (2).ppt
 
IR.pptx
IR.pptxIR.pptx
IR.pptx
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
 
regions
regionsregions
regions
 
SIRG-BSU_3_used-important.pdf
SIRG-BSU_3_used-important.pdfSIRG-BSU_3_used-important.pdf
SIRG-BSU_3_used-important.pdf
 
A Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and AnalysisA Novel Edge Detection Technique for Image Classification and Analysis
A Novel Edge Detection Technique for Image Classification and Analysis
 
h.pdf
h.pdfh.pdf
h.pdf
 
Segmentation
SegmentationSegmentation
Segmentation
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
 
Detection of hard exudates using simulated annealing based thresholding mecha...
Detection of hard exudates using simulated annealing based thresholding mecha...Detection of hard exudates using simulated annealing based thresholding mecha...
Detection of hard exudates using simulated annealing based thresholding mecha...
 
DETECTION OF HARD EXUDATES USING SIMULATED ANNEALING BASED THRESHOLDING MECHA...
DETECTION OF HARD EXUDATES USING SIMULATED ANNEALING BASED THRESHOLDING MECHA...DETECTION OF HARD EXUDATES USING SIMULATED ANNEALING BASED THRESHOLDING MECHA...
DETECTION OF HARD EXUDATES USING SIMULATED ANNEALING BASED THRESHOLDING MECHA...
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
3 ijaems nov-2015-6-development of an advanced technique for historical docum...
3 ijaems nov-2015-6-development of an advanced technique for historical docum...3 ijaems nov-2015-6-development of an advanced technique for historical docum...
3 ijaems nov-2015-6-development of an advanced technique for historical docum...
 

Más de Deepak Kumar (9)

Colloquium Report
Colloquium ReportColloquium Report
Colloquium Report
 
Colloquium PPT
Colloquium PPTColloquium PPT
Colloquium PPT
 
E-Commerce (Rediff Shopping)
E-Commerce     (Rediff Shopping)E-Commerce     (Rediff Shopping)
E-Commerce (Rediff Shopping)
 
Rediff shopping
Rediff shoppingRediff shopping
Rediff shopping
 
Development of computers
Development of computersDevelopment of computers
Development of computers
 
Retail marketing
Retail marketingRetail marketing
Retail marketing
 
Project on Electronic voting machine
Project on Electronic   voting   machineProject on Electronic   voting   machine
Project on Electronic voting machine
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
 
All About Motherboard
All About MotherboardAll About Motherboard
All About Motherboard
 

Último

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 

Último (20)

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 

Image segmentation

  • 1. 1
  • 2. INTRODUCTION  Segmentation divides an image into its constituent regions or objects.  Segmentation allows to extract objects in images.  Segmentation Should Stop when the objects of interest in an application has been solved. EX: Automated inspection of electronic such as missing component or broken path  Image Segmentation algorithm based on property of intensity values :Discontinuity and Similarity Discontinuity: partition based on abrupt change in intensity Similarity: Partition of image based on predefined criteria 2
  • 3. 3 Applications of image segmentation include  Identifying objects in a scene for object- based measurements such as size and shape -Identifying objects in a moving scene for object-based video compression (MPEG4) -Identifying objects which are at different distances from a sensor using depth measurements from a laser range finder enabling path planning for a mobile robots
  • 4. 4  Segmentation Based on Grey Scale -Very simple ‘model’ of grey scale leads to inaccuracies in object labelling Grey Scale Image Segmented Image
  • 5. 5 -Enables object surfaces with varying patterns of grey to be segmented  Segmentation Based on texture
  • 6. 6 -The main difficulty of motion segmentation is that an intermediate step is required to (either implicitly or explicitly) estimate an optical flow field -The segmentation must be based on this estimate and not, in general, the true flow Segmentation based on motion
  • 7. 7 -This example shows a range image, obtained with a laser range finder -A segmentation based on the range (the object distance from the sensor) is useful in guiding mobile robots Segmentation based on depth Original image Segmented Image
  • 8. 8 -TWO VERY SIMPLE IMAGE SEGMENTATION TECHNIQUES THAT ARE BASED ON THE GREYLEVEL HISTOGRAM OF AN IMAGE IS -THRESHOLDING -CLUSTERING WE CAN CONSIDER THE HISTOGRAMS OF OUR IMAGES FOR THE NOISE FREE IMAGE, ITS SIMPLY TWO SPIKES AT I=100, I=150 FOR THE LOW NOISE IMAGE, THERE ARE TWO CLEAR PEAKS CENTRED ON I=100, I=150 FOR THE HIGH NOISE IMAGE, THERE IS A SINGLE PEAK – Grey Level Histogram based Segmentation 0.00 500.00 1000.00 1500.00 2000.00 2500.00 0.00 50.00 100.00 150.00 200.00 250.00 i h(i) Noise free Low noise Highnoise
  • 9. 9 THERE ARE THREE BASIC TYPES OF GRAY-LEVEL DISCONTINUITIES IN A DIGITAL IMAGE: POINTS, LINES, AND EDGES THE MOST COMMON WAY TO LOOK FOR DISCONTINUITIES IS TO RUN A MASK THROUGH THE IMAGE. WE SAY THAT A POINT, LINE, AND EDGE HAS BEEN DETECTED AT THE LOCATION ON WHICH THE MASK IS CENTERED IF R>T Edge-based segmentation
  • 10. 10 Point Detection  Point detection can be achieved simply using the mask below:  Points are detected at those pixels in the subsequent filtered image that are above a set threshold
  • 11. 11 Line Detection  The next level of complexity is to try to detect lines  The masks below will extract lines that are one pixel thick and running in a particular direction
  • 12. 12 EDGE DETECTION  An edge is a set of connected pixels that lie on the boundary between two regions
  • 13. 13 EDGE DETECTION Edge detection: Gradient operation x y f G x G f y f                 1 2 2 2 ( ) x yf mag f G G       1 ( , ) tan ( )y x G x y G    1st derivative tells us where an edge is 2nd derivative can be used to show edge direction
  • 14. 14 REGION-BASED SEGMENTATION Region growing: Groups pixels or sub-region into larger regions. step1: Start with a set of “seed” points and from these grow regions by appending to each seed those neighboring pixels that have properties similar to the seed. step2: Region splitting and merging Advantage Disadvantage  With good connectivity  Initial seed-points:  different sets of initial seed-point cause different segmented result  Time-consuming problem
  • 15. 15 THRESHOLDING Thresholding is usually the first step in any segmentation approach Single value thresholding can be given mathematically as follows:       Tyxfif Tyxfif yxg ),(0 ),(1 ),(       Tyxfif Tyxfif yxg ),(0 ),(1 ),(
  • 16. 16  Based on the histogram of an image  Partition the image histogram using a single global threshold  The success of this technique very strongly depends on how well the histogram can be partitioned Original Image Thresholded Image
  • 17. 17 THRESHOLD If you get the threshold wrong the results can be disastrous Threshold Too Low Threshold Too High
  • 18. 18 THRESHOLDING ALGORITHM The basic global threshold, T, is calculated as follows: 1. Select an initial estimate for T (typically the average grey level in the image) 2. Segment the image using T to produce two groups of pixels: G1 consisting of pixels with grey levels >T and G2 consisting pixels with grey levels ≤ T 3. Compute the average grey levels of pixels in G1 to give μ1 and G2 to give μ2 4. Compute a new threshold value: 5. Repeat steps 2 – 4 until the difference in T in successive iterations is less than a predefined limit T∞ This algorithm works very well for finding thresholds when the histogram is suitable 2 21   T
  • 19. 19 An approach to handling situations in which single value thresholding will not work is to divide an image into sub images and threshold these individually since the threshold for each pixel depends on its location within an image this technique is said to adaptive Basic Adaptive Thresholding
  • 20. 20 BASIC ADAPTIVE THRESHOLDING EXAMPLE The image below shows an example of using adaptive thresholding with the image shown previously As can be seen success is mixed But, we can further subdivide the troublesome sub images for more success
  • 21. 21 BASIC ADAPTIVE THRESHOLDING EXAMPLE These images show the troublesome parts of the previous problem further subdivided After this sub division successful thresholding can be achieved