How to divide classes in optimum global thresholding using Otsu's method

I am implementing optimum global thresholding using otsu's method by referring Gonzalez and Woods book, I am finding difficulty in dividing classes and calculating of cumulative sums, please provide me an matlab code for this algorithm.

 채택된 답변

Matt J
Matt J 2016년 12월 16일

0 개 추천

See multithresh() or graythresh()

댓글 수: 2

Thanku...I checked with graythresh, but for the same image I am computing, I need to change the threshold values how can I do means I need to check with different threshold values like t=6,t=64,t=128. Please help me with this with a matlab code
You can do that with imquantize.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

질문:

2016년 12월 16일

댓글:

2016년 12월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by