how can use otsu's method as a local thresholding?

조회 수: 2 (최근 30일)
jack nn
jack nn 2015년 10월 30일
댓글: Image Analyst 2018년 9월 26일
hi all
how can use otsu's method as a local thresholding?
and which differences between these codes?
I=graythresh(Img)
and
I=multithresh(Img)
when I use each of this code, the result is same. I can not understand the diffrences between graythresh and multithresh:(.
thanks

답변 (2개)

Image Analyst
Image Analyst 2015년 10월 30일
I use a local Otsu in this locally adaptive document background correction demo, attached.
  댓글 수: 6
Shel
Shel 2018년 9월 26일
Thanks, but can you please tell me what is the function fun = @(x) LocalOtsu(x)? as it is not recognized by the program.Thank you
Image Analyst
Image Analyst 2018년 9월 26일
That function is included in the file I attached. How could it not be recognized? It's right in there. Did you only copy part of it? Or delete it by accident? Click on document_threshold.m above and scroll to the bottom and you'll see it.

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


Shel
Shel 2018년 9월 17일
Hello, Did you find the answer to your question? if so, can you please share it with me?

태그

Community Treasure Hunt

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

Start Hunting!

Translated by