Difference between graythresh and multithresh for one value of threshold.

Respuestas (1)

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 comentarios

i dont think it is right cause for the data that i use t1 is something 1e+09 while t2 is something in single digit
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?
I don't know about this kind of images.

Iniciar sesión para comentar.

Preguntada:

el 30 de Ag. de 2018

Comentada:

el 4 de Sept. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by