How to use threshold in this problem?
Mostra commenti meno recenti
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?

Risposta accettata
Più risposte (1)
Image Analyst
il 23 Gen 2015
0 voti
Like I said in your duplicate post, you can use imclearborder() and bwareaopen(), though there are better ways like background correction.
Categorie
Scopri di più su Red in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

