Ask Your Question
0

How do I join edge in the middle which is broken in this image?

asked 2017-09-14 23:57:56 -0600

Santhosh1 gravatar image

image description

This is a broken edge in the middle of the image. How do I complete the edge?

I am using python in OpenCV, not C++.

edit retag flag offensive close merge delete

Comments

This is an interesting paper about snakelets. And here is some Matlab code about edge linking. Perhaps this is useful for you.

matman gravatar imagematman ( 2017-09-16 05:56:28 -0600 )edit

@matman First link you sent seems to be really good! Will try it out and let you know how the result came out to be.

Santhosh1 gravatar imageSanthosh1 ( 2017-09-18 02:40:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-15 06:24:48 -0600

Ziri gravatar image

It would be better if you post more cases.

for this case you can apply Image Segmentation with Distance Transform and Watershed Algorithm

image description

edit flag offensive delete link more

Comments

@Ziri Thank you, @matman 's first link seems to be more direct towards joining the broken edges

Santhosh1 gravatar imageSanthosh1 ( 2017-09-18 02:42:06 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-09-14 23:57:56 -0600

Seen: 1,218 times

Last updated: Sep 15 '17