MATLAB: Using canny edge detection i find the edges and some of the edges are not connected how i connect the edges

how i connect the edges?Image Processing Toolbox

Using canny edge detection i find the edges and some of the edges are not connected how i connect the edges?

Best Answer

You need to do edge linking, that is, if edge detection is even what you want to do, which it's not in at least half of the images beginners try to segment. I'd have to see your image to be sure. Anyway, you can try my edge-linking demo, attached.
Related Question