Matlab code for image binarization by Otsu's thresholding

 采纳的回答

Java code for the Otsu thresholding algorithm is given here: http://en.wikipedia.org/wiki/Otsu%27s_method You should have no trouble at all converting that to MATLAB code - it's very easy.

更多回答(1 个)

doc graythresh
doc imquantize

2 个评论

Or, for a deeper dive (peek at source code):
edit graythresh
edit imquantize
Thank you..For help but can anyone give me whole matlab code for image binarization by Otsu's thresholding method..please help me..

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by