How can I implement auto threshold into my code rather than defining the threshold for each image?
8 次查看(过去 30 天)
显示 更早的评论
Hi everyone. I would like to implement auto-thresholding into my Matlab code as I don't want to define manually for each image. For example, I define my threshold like; binaryImage = myinput <0.7; Is there any way to find the best threshold automatically and use that threshold for images I have.
2 个评论
Ameer Hamza
2018-5-22
编辑:Ameer Hamza
2018-5-22
It will be possible most probably. But first, you need to define best threshold. How do you measure whether a specific threshold is best or not?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!