Matlab code for image binarization by Otsu's thresholding

 Accepted Answer

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)

doc graythresh
doc imquantize

2 Comments

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..

Sign in to comment.

Asked:

on 30 Dec 2014

Commented:

on 31 Dec 2014

Community Treasure Hunt

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

Start Hunting!