How to connect two objects based on least distance between them?
Afficher commentaires plus anciens
I have a binary image containing two separate objects...I want to connect them such that they are connected on basis where the distance between them is the least?

Réponse acceptée
Plus de réponses (1)
Image Analyst
le 3 Juil 2015
0 votes
peyush, your code didn't even seem to attempt to modify my code at all. It looks like I need to do it for you. See the attached demo which makes the connection.

1 commentaire
peyush
le 4 Juil 2015
Catégories
En savoir plus sur Convert Image Type 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!