Azzera filtri
Azzera filtri

Difference between graythresh and multithresh for one value of threshold.

3 visualizzazioni (ultimi 30 giorni)
graythresh(I) and multithresh(I,1) gives me different values even if both are based on otsu's method of thresholding Why?

Risposte (1)

Amir Xz
Amir Xz il 31 Ago 2018
t1 = multithresh(I,1);
t2 = graythresh(I);
t1 is a LEVEL, which means is a number between 0 to 255.
t2 is same LEVEL that mapped in [0 1].
In other word:
t1 == uint8(256*t2)
  3 Commenti
Amir Xz
Amir Xz il 4 Set 2018
I gave you an example for an 8-bit digital image.
Example: Check it for 'coins.png' image.
What kind of image that you use?

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by