MATLAB Answers

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

29 views (last 30 days)
jack nn
jack nn on 30 Oct 2015
Commented: Image Analyst on 26 Sep 2018
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

  0 Comments

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 30 Oct 2015
I use a local Otsu in this locally adaptive document background correction demo, attached.

  6 Comments

Show 3 older comments
Shel
Shel on 26 Sep 2018
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 on 26 Sep 2018
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.

Sign in to comment.


Shel
Shel on 17 Sep 2018
Hello, Did you find the answer to your question? if so, can you please share it with me?

  0 Comments

Sign in to comment.

Sign in to answer this question.