Skip to content

sihyeonlee/multithreshold-otsu-method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-Stage Otsu's Method(TSMO)

Implementation of the method describend in:

Huang, D. Y., Lin, T. W., & Hu, W. C. (2011).
Automatic multilevel thresholding based on two-stage Otsu’s method with cluster determination by valley estimation.
International Journal of Innovative Computing, Information and Control, 7(10), 56315644.

And refer to ps-george/multithreshold that implemented by python.


Environments

  • Visual Studio 2019 (v.16.8.5) - C++17

  • opencv 4.5.1


Sample Data Results

  • 1.jpg

    Threshold[0] - 4 Threshold[1] - 20 Threshold[2] - 39 Threshold[3] - 54 Threshold[4] - 72 Threshold[5] - 87 Threshold[6] - 104 Threshold[7] - 119 Threshold[8] - 144 Threshold[9] - 161 Threshold[10] - 173 Threshold[11] - 194 Threshold[12] - 208 Threshold[13] - 226 Threshold[14] - 240

  • 372047.jpg

    Threshold[0] - 28 Threshold[1] - 50 Threshold[2] - 67 Threshold[3] - 106 Threshold[4] - 139 Threshold[5] - 227

  • sample.png

    Threshold[0] - 96 Threshold[1] - 104