How to use threshold in this problem?
古いコメントを表示
I convert this picture into bw using c=im2bw(b,graythresh(b)); but the problem is the straight line is disconnected as picture below. It supposed to be straight single line. What kind of segmentation technique that I need to use?

採用された回答
その他の回答 (1 件)
Image Analyst
2015 年 1 月 23 日
0 投票
Like I said in your duplicate post, you can use imclearborder() and bwareaopen(), though there are better ways like background correction.
カテゴリ
ヘルプ センター および File Exchange で Color and Styling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

