How to make disconnected closed curves connected by adding a shortest path using MATLAB?
- by user198729
bwlabel can be used to get disconnected objects in an image:
[L Ne] = bwlabel(image);
I want to make the objects(But my target is only the contours(closed curve) of these objects) connected by adding a shortest path where necessary.
How do I approach this?
UPDATE
Or how to dilate the closed curves so that they get connected?
How to calculate the shortest path between two disconnected closed curves?