How to use threshold in this problem?
Afficher commentaires plus anciens
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?

Réponse acceptée
Plus de réponses (1)
Image Analyst
le 23 Jan 2015
0 votes
Like I said in your duplicate post, you can use imclearborder() and bwareaopen(), though there are better ways like background correction.
Catégories
En savoir plus sur Red dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

