How to find the threshold value for this image?
3 ビュー (過去 30 日間)
古いコメントを表示
I want to find the threshold value for this image..... but i don not know how..

0 件のコメント
回答 (2 件)
Salaheddin Hosseinzadeh
2015 年 5 月 7 日
編集済み: Salaheddin Hosseinzadeh
2015 年 5 月 7 日
Hey Nurul,
I am not sure what exactly you want to threshold, so here is a general solution.
Step1 : Convert this to grayscale image, either using rgb2gray() or other appropriate functions.
Step2 : Examine the histogram of the image using imhist(), and identify the threshold value.
Step3 : Just threshold it!
I hope it helps ;)
0 件のコメント
Image Analyst
2015 年 5 月 7 日
Why not use my interactive thresholding app. I just uploaded an updated version today: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!