SlideShare a Scribd company logo
Digital Image Processing Global Thresholding Using Otsu’sMethod
Digital Image Processing Global Thresholding Using Otsu’sMethod
Optimum Global Thresholding Using Otsu’s
Method
• Otsu’s method (1979) maximizes between-class variance
• Based entirely on computations performed on histogram (1-D) of
image
• Normalized histogram: pi = ni MN, i = 0, . . . , L − 1, with L − 1 i=0 pi =
1, pi > 0
• Select threshold T ( k ) to segment image −→ Class C 1 (values [0, k])
Class C2 (values [k + 1, L − 1] )
⇒ Prob of pixel assigned to C 1 (ie of C 1 occuring):
Optimum Global Thresholding Using Otsu’s
Method
Digital Image Processing Global Thresholding Using Otsu’sMethod
Basic Global Thresholding
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
Basic Global 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
Basic Global Thresholding Algorithm
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
2
1 
 

T

More Related Content

PPTX
PPTX
Image segmentation
PPTX
Digital Image Processing
PPT
Image formation of how it is segmented process
PPTX
08 cie552 image_segmentation
PPT
Image enhancement ppt nal2
PDF
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
PPT
Im seg04
Image segmentation
Digital Image Processing
Image formation of how it is segmented process
08 cie552 image_segmentation
Image enhancement ppt nal2
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
Im seg04

Similar to Digital Image Processing Global Thresholding Using Otsu’sMethod (20)

PPT
ImSeg04 (2).ppt
PPT
ImSeg04.ppt
PPT
Image segmentation
PPT
Image Segmentation for digital image processing and its allied applications
PPTX
Cell calculation
PPT
Image processing
PDF
A (very brief) Introduction to Image Processing and 3D Printing with ImageJ
PPT
Image Segmentation.ppt
PDF
Lecture 9&10 computer vision segmentation-no_task
PPT
Histogram.ppt Histogram equilization to improve the image quality
PPT
ModuleII.ppt
PPT
ModuleII.ppt
PPT
ModuleII.ppt
PPTX
image enhancement-POINT AND HISTOGRAM PROCESSING.pptx
PDF
Defense_Talk
PPTX
Digital Image Processing Unit 1 NotesPPT
PPTX
Image processing second unit Notes
PPTX
Image Enhancement in Spatial Domain
PDF
PDF
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
ImSeg04 (2).ppt
ImSeg04.ppt
Image segmentation
Image Segmentation for digital image processing and its allied applications
Cell calculation
Image processing
A (very brief) Introduction to Image Processing and 3D Printing with ImageJ
Image Segmentation.ppt
Lecture 9&10 computer vision segmentation-no_task
Histogram.ppt Histogram equilization to improve the image quality
ModuleII.ppt
ModuleII.ppt
ModuleII.ppt
image enhancement-POINT AND HISTOGRAM PROCESSING.pptx
Defense_Talk
Digital Image Processing Unit 1 NotesPPT
Image processing second unit Notes
Image Enhancement in Spatial Domain
Segmentation by Fusion of Self-Adaptive SFCM Cluster in Multi-Color Space Com...
Ad

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPT
Mechanical Engineering MATERIALS Selection
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Geodesy 1.pptx...............................................
PDF
Digital Logic Computer Design lecture notes
PDF
PPT on Performance Review to get promotions
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Artificial Intelligence
PPTX
Construction Project Organization Group 2.pptx
PPTX
OOP with Java - Java Introduction (Basics)
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
additive manufacturing of ss316l using mig welding
PPTX
CH1 Production IntroductoryConcepts.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Mechanical Engineering MATERIALS Selection
bas. eng. economics group 4 presentation 1.pptx
Geodesy 1.pptx...............................................
Digital Logic Computer Design lecture notes
PPT on Performance Review to get promotions
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
Artificial Intelligence
Construction Project Organization Group 2.pptx
OOP with Java - Java Introduction (Basics)
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Foundation to blockchain - A guide to Blockchain Tech
additive manufacturing of ss316l using mig welding
CH1 Production IntroductoryConcepts.pptx
Ad

Digital Image Processing Global Thresholding Using Otsu’sMethod

  • 3. Optimum Global Thresholding Using Otsu’s Method • Otsu’s method (1979) maximizes between-class variance • Based entirely on computations performed on histogram (1-D) of image • Normalized histogram: pi = ni MN, i = 0, . . . , L − 1, with L − 1 i=0 pi = 1, pi > 0 • Select threshold T ( k ) to segment image −→ Class C 1 (values [0, k]) Class C2 (values [k + 1, L − 1] ) ⇒ Prob of pixel assigned to C 1 (ie of C 1 occuring):
  • 4. Optimum Global Thresholding Using Otsu’s Method
  • 6. Basic Global Thresholding 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
  • 7. Basic Global 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
  • 8. Basic Global Thresholding Algorithm 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 2 1     T