Difference between graythresh and multithresh for one value of threshold.
显示 更早的评论
graythresh(I) and multithresh(I,1) gives me different values even if both are based on otsu's method of thresholding Why?
回答(1 个)
Amir Xz
2018-8-31
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 个评论
D_coder
2018-9-4
Amir Xz
2018-9-4
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?
Amir Xz
2018-9-4
It's a complex image. For more information: https://www.imageeprocessing.com/2015/03/how-to-read-image-file-or-complex-image.html
I don't know about this kind of images.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!