What's the difference between GrayThresh and OtsuThresh?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
nadav potasman
am 3 Mai 2017
Kommentiert: nadav potasman
am 3 Mai 2017
Its seems that both of them find the optimum threshold with Otsu algorithm. So what's the difference between them? Thank you.
0 Kommentare
Akzeptierte Antwort
Guillaume
am 3 Mai 2017
The only significant difference is that graythresh wants the image as input, whereas otsuthresh wants the image histogram instead. You can look at the actual code of both
edit graythresh
edit otsuthresh
and you'll see that all graythresh does is to compute the image histogram with 256 bins before calling otsuthresh.
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!