Detect and remove T/Y joints in a binary image
Afficher commentaires plus anciens
I have a binary image and I want to detect and remove all pixels with >2 pixels connected to them (e.g. Y and T joints). The image is produced by thinning of the image and all lines have a thickness of 1 pixel. Below is a sample image. My first guess was to check connectivity for all pixels but since I have hundreds of these objects in each image, this approach would be too expensive. Thanks,

2 commentaires
Walter Roberson
le 1 Oct 2015
Should the result be to break the Y/T into three line segments?
Ramin Dastanpour
le 1 Oct 2015
Modifié(e) : Ramin Dastanpour
le 1 Oct 2015
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Region and Image Properties 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!