How to connect two objects based on least distance between them?
Mostrar comentarios más antiguos
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?

Respuesta aceptada
Más respuestas (1)
Image Analyst
el 3 de Jul. de 2015
0 votos
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 comentario
peyush
el 4 de Jul. de 2015
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!