How to use threshold in this problem?
Mostrar comentarios más antiguos
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?

Respuesta aceptada
Más respuestas (1)
Image Analyst
el 23 de En. de 2015
0 votos
Like I said in your duplicate post, you can use imclearborder() and bwareaopen(), though there are better ways like background correction.
Categorías
Más información sobre Color and Styling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

