standard Otsu's method
显示 更早的评论
I am not able to write the code for Standard Otsu's method. Can anyone provide the code.
1 个评论
Ahmed Elazab
2016-2-1
Standard Otsu thresholding method is already built in in Matlab image processing toolbox using graythresh function. You can check its documentation as well. Here is an example of how to use:
if true
im=imread('cameraman.tif');
thresh= graythresh(im);
BW_im= im2bw(im,thresh);
imshow(BW_im)
end
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Thresholding 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!