How to make disconnected contours connected by adding a shortest path using MATLAB?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-04-16T14:08:26Z Indexed on 2010/04/16 15:53 UTC
Read the original article Hit count: 160

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 of these objects) connected by adding a shortest path where necessary.

How do I approach this?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about image-processing