How can I find threshold value for an image ?
3 views (last 30 days)
Show older comments
Hi,I want to find threshold of an gray image so please provide some codings regarding it.
Answers (2)
Image Analyst
on 31 Mar 2018
There are a variety of ways. You can use the Otsu method, like in graythresh() or imbinarize(). I tend to like the triangle threshold method, like my attached code.
You can also use the interactive visual thresholding application in my File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!