How to remove small spurs (branches) from a 'thinned' image?
Afficher commentaires plus anciens
I've binarized and thinned an image using
bwmorph(image, 'thin', Inf)
However, I'm left with a small spur at the end. The spur forms an intersection (of three branches) which has to be avoided in my case. How to remove it?
Below is the binarized image.

And this is the thinned image. The spur to be removed is mentioned with red mark.

Réponses (1)
Tarun Mudgal
le 13 Mai 2017
Modifié(e) : Tarun Mudgal
le 13 Mai 2017
1 vote
Catégories
En savoir plus sur Image Processing Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!