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!

