SlideShare a Scribd company logo
1 of 14
Under the guidance of:
Dr. Subrajeet. Mohapatra
Presented by
Vani A. Hiremani
PhD|CSE|10003|2018
1
 Image Segmentation
 Image Segmentation classification
 Thresholding
 Automatic thresholding algorithm
 Example of Thresholding
 Conclusion
2
 Image Segmentation is a procedure that describes the process of
dividing an image into non overlapping, connected image areas,
called regions, on the basis of criteria governing similarity and
homogeneity.
3
Segmented
 Discontinuity based
o Detection of Isolated Points
o Detection of Lines
o Edge Detection
 Similarity based
o Thresholding
o Region growing
o Region Splitting and Merging
o Clustering
4
 Thresholding is a technique of segmenting the a binary image based
upon a threshold value.
 Image thresholding is very useful for object extraction and
background rejection.
 Belongingness of each pixel to object or background is decided on the
basis of a particular threshold.
5
 Image histogram describes the frequency of the intensity values that
occur in an image. Histogram can be very efficiently used for
determining the threshold for image segmentation.
6
 Ideal bimodal histogram consists of peaks corresponding to the object and
background regions and a valley in between.
 The object and background of images with bimodal histogram form two
different groups with distinct gray levels.
 Bi–level thresholding is employed for such images. So a threshold T has to be
selected from the valley region for segmenting the image.
7
Peak 1
background
Peak 2
object
<T<
 A single threshold is enough for segmenting an image with
bimodal histogram and is called bi–level thresholding.
 For an image f ( x , y ) with an bright object and dark background,
the binary segmented image can be mathematically represented as
 g ( x ,y )= 1 if f ( x ,y ) ≥ T ⇒Object
0 if f ( x ,y ) < T ⇒ Background
 Every pixel intensity value has to be compared with the threshold
T to classify each pixel as a background or an object pixel.
8
 Selection of proper threshold is essential for every threshold based
segmentation technique. This threshold value of the thresholding
operation can be considered as an operation that invokes testing
against a function T where this function T is of the form
T = T[(x, y), p(x, y), f(x, y)]
 where, (x, y) ⇒Pixel Location p(x, y) ⇒Local property in a
neighbourhood cantered at ( x , y ). f(x, y) ⇒ Pixel intensity at ( x , y
).
9
 So in general this threshold T can be a function of pixel Location,
local property within the neighbourhood and pixel intensity value.
 Threshold T can be a function of any combination of the above three
terms. Depending on this combination the threshold T can be
classified as
◦ Global Threshold
◦ Local Threshold
◦ Adaptive Threshold
10
 If the threshold T is only a function of pixel intensity value f ( x ,y ).
Then T is termed as global threshold.
T [f(x,y)] ⇒ Global Threshold
 Threshold T is termed as local threshold if T is a function of pixel
intensity value and local property.
T[f(x,y),p(x,y)] ⇒ Local Threshold
 If the threshold is a function of all the three properties then T is
termed as adaptive threshold.
T[(x,y),f(x,y),p(x,y)] ⇒ Adaptive Threshold
11
 Using this threshold T we want to get a Thresholded binary image g (
x , y ) defined as
 g ( x ,y )= 1 if f ( x ,y ) ≥ T ⇒ Object
0 if f ( x ,y ) < T ⇒ Background
 This threshold T can be global, local or adaptive.
12
Step 1: Select an initial value of threshold T .
Step 2: Use T to segment the image into two groups G 1& G 2
Step 3: Compute the mean µ1 and µ2 for each group of pixels.
Step 4: Compute the new updated threshold T using the relation
T = µ1 + µ2
Step 5: Repeat step 2-4 until the mean values µ1 and µ2 in successive
iterations do not change.
13
 Image segmentation is an essential preliminary step in image analysis
and interpretation.
 There is no universal algorithm or segmentation technique for all
kind of images.
 Specific methods have to be developed for segmenting particular
kind of images.
 None of the segmentation evaluation measure are perfect.
14

More Related Content

What's hot

Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquesSaideep
 
Image segmentation
Image segmentationImage segmentation
Image segmentationDeepak Kumar
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementVarun Ojha
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)asodariyabhavesh
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniquesBulbul Agrawal
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainMalik obeisat
 
Content based image retrieval(cbir)
Content based image retrieval(cbir)Content based image retrieval(cbir)
Content based image retrieval(cbir)paddu123
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processingasodariyabhavesh
 
Image enhancement
Image enhancementImage enhancement
Image enhancementKuppusamy P
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domainAshish Kumar
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processingasodariyabhavesh
 

What's hot (20)

Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
image enhancement
 image enhancement image enhancement
image enhancement
 
EDGE DETECTION
EDGE DETECTIONEDGE DETECTION
EDGE DETECTION
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Chapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image EnhancementChapter 6 Image Processing: Image Enhancement
Chapter 6 Image Processing: Image Enhancement
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
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 enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Mathematical tools in dip
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Content based image retrieval(cbir)
Content based image retrieval(cbir)Content based image retrieval(cbir)
Content based image retrieval(cbir)
 
Image compression .
Image compression .Image compression .
Image compression .
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Morphological operations
Morphological operationsMorphological operations
Morphological operations
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
 
Chapter 9 morphological image processing
Chapter 9 morphological image processingChapter 9 morphological image processing
Chapter 9 morphological image processing
 

Similar to Image seg using_thresholding

AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGES
AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGESAUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGES
AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGESsipij
 
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...IJSRD
 
International Journal of Engineering Research and Development (IJERD)
 International Journal of Engineering Research and Development (IJERD) International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringShajun Nisha
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slidesBHAGYAPRASADBUGGE
 
Chapter10_Segmentation.ppt
Chapter10_Segmentation.pptChapter10_Segmentation.ppt
Chapter10_Segmentation.pptMrsSDivyaBME
 
08 cie552 image_segmentation
08 cie552 image_segmentation08 cie552 image_segmentation
08 cie552 image_segmentationElsayed Hemayed
 
2024-master dityv5y65v56u4b6u64u46p 0318-25.pdf
2024-master dityv5y65v56u4b6u64u46p 0318-25.pdf2024-master dityv5y65v56u4b6u64u46p 0318-25.pdf
2024-master dityv5y65v56u4b6u64u46p 0318-25.pdfnatnaeltamirat6212
 
Lecture 9&10 computer vision segmentation-no_task
Lecture 9&10 computer vision segmentation-no_taskLecture 9&10 computer vision segmentation-no_task
Lecture 9&10 computer vision segmentation-no_taskcairo university
 
Digital image processing short quesstion answers
Digital image processing short quesstion answersDigital image processing short quesstion answers
Digital image processing short quesstion answersAteeq Zada
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of ImageSatheesh K
 
Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Varun Ojha
 
Image segmentation
Image segmentationImage segmentation
Image segmentationkhyati gupta
 

Similar to Image seg using_thresholding (20)

Image segmentation
Image segmentation Image segmentation
Image segmentation
 
IR.pptx
IR.pptxIR.pptx
IR.pptx
 
AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGES
AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGESAUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGES
AUTOMATIC THRESHOLDING TECHNIQUES FOR OPTICAL IMAGES
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 
W33123127
W33123127W33123127
W33123127
 
regions
regionsregions
regions
 
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...
 
International Journal of Engineering Research and Development (IJERD)
 International Journal of Engineering Research and Development (IJERD) International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
 
Chapter10_Segmentation.ppt
Chapter10_Segmentation.pptChapter10_Segmentation.ppt
Chapter10_Segmentation.ppt
 
3rd unit.pptx
3rd unit.pptx3rd unit.pptx
3rd unit.pptx
 
08 cie552 image_segmentation
08 cie552 image_segmentation08 cie552 image_segmentation
08 cie552 image_segmentation
 
Final Review
Final ReviewFinal Review
Final Review
 
2024-master dityv5y65v56u4b6u64u46p 0318-25.pdf
2024-master dityv5y65v56u4b6u64u46p 0318-25.pdf2024-master dityv5y65v56u4b6u64u46p 0318-25.pdf
2024-master dityv5y65v56u4b6u64u46p 0318-25.pdf
 
Lecture 9&10 computer vision segmentation-no_task
Lecture 9&10 computer vision segmentation-no_taskLecture 9&10 computer vision segmentation-no_task
Lecture 9&10 computer vision segmentation-no_task
 
Digital image processing short quesstion answers
Digital image processing short quesstion answersDigital image processing short quesstion answers
Digital image processing short quesstion answers
 
Super Resolution of Image
Super Resolution of ImageSuper Resolution of Image
Super Resolution of Image
 
Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)Chapter 1 introduction (Image Processing)
Chapter 1 introduction (Image Processing)
 
Image segmentation
Image segmentationImage segmentation
Image segmentation
 

Recently uploaded

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

Image seg using_thresholding

  • 1. Under the guidance of: Dr. Subrajeet. Mohapatra Presented by Vani A. Hiremani PhD|CSE|10003|2018 1
  • 2.  Image Segmentation  Image Segmentation classification  Thresholding  Automatic thresholding algorithm  Example of Thresholding  Conclusion 2
  • 3.  Image Segmentation is a procedure that describes the process of dividing an image into non overlapping, connected image areas, called regions, on the basis of criteria governing similarity and homogeneity. 3 Segmented
  • 4.  Discontinuity based o Detection of Isolated Points o Detection of Lines o Edge Detection  Similarity based o Thresholding o Region growing o Region Splitting and Merging o Clustering 4
  • 5.  Thresholding is a technique of segmenting the a binary image based upon a threshold value.  Image thresholding is very useful for object extraction and background rejection.  Belongingness of each pixel to object or background is decided on the basis of a particular threshold. 5
  • 6.  Image histogram describes the frequency of the intensity values that occur in an image. Histogram can be very efficiently used for determining the threshold for image segmentation. 6
  • 7.  Ideal bimodal histogram consists of peaks corresponding to the object and background regions and a valley in between.  The object and background of images with bimodal histogram form two different groups with distinct gray levels.  Bi–level thresholding is employed for such images. So a threshold T has to be selected from the valley region for segmenting the image. 7 Peak 1 background Peak 2 object <T<
  • 8.  A single threshold is enough for segmenting an image with bimodal histogram and is called bi–level thresholding.  For an image f ( x , y ) with an bright object and dark background, the binary segmented image can be mathematically represented as  g ( x ,y )= 1 if f ( x ,y ) ≥ T ⇒Object 0 if f ( x ,y ) < T ⇒ Background  Every pixel intensity value has to be compared with the threshold T to classify each pixel as a background or an object pixel. 8
  • 9.  Selection of proper threshold is essential for every threshold based segmentation technique. This threshold value of the thresholding operation can be considered as an operation that invokes testing against a function T where this function T is of the form T = T[(x, y), p(x, y), f(x, y)]  where, (x, y) ⇒Pixel Location p(x, y) ⇒Local property in a neighbourhood cantered at ( x , y ). f(x, y) ⇒ Pixel intensity at ( x , y ). 9
  • 10.  So in general this threshold T can be a function of pixel Location, local property within the neighbourhood and pixel intensity value.  Threshold T can be a function of any combination of the above three terms. Depending on this combination the threshold T can be classified as ◦ Global Threshold ◦ Local Threshold ◦ Adaptive Threshold 10
  • 11.  If the threshold T is only a function of pixel intensity value f ( x ,y ). Then T is termed as global threshold. T [f(x,y)] ⇒ Global Threshold  Threshold T is termed as local threshold if T is a function of pixel intensity value and local property. T[f(x,y),p(x,y)] ⇒ Local Threshold  If the threshold is a function of all the three properties then T is termed as adaptive threshold. T[(x,y),f(x,y),p(x,y)] ⇒ Adaptive Threshold 11
  • 12.  Using this threshold T we want to get a Thresholded binary image g ( x , y ) defined as  g ( x ,y )= 1 if f ( x ,y ) ≥ T ⇒ Object 0 if f ( x ,y ) < T ⇒ Background  This threshold T can be global, local or adaptive. 12
  • 13. Step 1: Select an initial value of threshold T . Step 2: Use T to segment the image into two groups G 1& G 2 Step 3: Compute the mean µ1 and µ2 for each group of pixels. Step 4: Compute the new updated threshold T using the relation T = µ1 + µ2 Step 5: Repeat step 2-4 until the mean values µ1 and µ2 in successive iterations do not change. 13
  • 14.  Image segmentation is an essential preliminary step in image analysis and interpretation.  There is no universal algorithm or segmentation technique for all kind of images.  Specific methods have to be developed for segmenting particular kind of images.  None of the segmentation evaluation measure are perfect. 14