Remove unconnected lines from Canny Edge Detection
Mostrar comentarios más antiguos
Hi Guys,
I have run a canny edge detection on an image and it has worked fairly well. After some processing I have been able to use the canny edge detector to find the edges. I then connect the edges using image dilate, and take the skeleton of the dilated lines. The problem is I am left with this unconnected lines. I have been searching for a while and cant seem to find a way to remove them.
I feel as though this should be quite simple but I am struggling to figure it out.
I have tried selecting each individual segment and dilating and eroding it, but I cant seem to get this to work.
Thanks in advance,

1 comentario
Samuel Leeney
el 2 de Dic. de 2020
Respuestas (0)
Categorías
Más información sobre Object Analysis 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!