How to use threshold in this problem?
Ältere Kommentare anzeigen
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?

Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 23 Jan. 2015
0 Stimmen
Like I said in your duplicate post, you can use imclearborder() and bwareaopen(), though there are better ways like background correction.
Kategorien
Mehr zu Red finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

