Matlab code for image binarization by Otsu's thresholding

5 views (last 30 days)
binarize image

Accepted Answer

Image Analyst
Image Analyst on 31 Dec 2014
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.

More Answers (1)

Sean de Wolski
Sean de Wolski on 30 Dec 2014
doc graythresh
doc imquantize
  2 Comments
Image Analyst
Image Analyst on 30 Dec 2014
Or, for a deeper dive (peek at source code):
edit graythresh
edit imquantize
Rinku
Rinku on 31 Dec 2014
Thank you..For help but can anyone give me whole matlab code for image binarization by Otsu's thresholding method..please help me..

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!