How to connect two objects based on least distance between them?
古いコメントを表示
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?

採用された回答
その他の回答 (1 件)
Image Analyst
2015 年 7 月 3 日
0 投票
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.

カテゴリ
ヘルプ センター および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!