how to get an edge from the unconnected points?

asked 2019-12-16 10:56:00 -0600

Jiangnan Cai gravatar image

updated 2020-12-09 08:07:06 -0600

image description

I want to get the edge from this image, but there are some noise and the edge points are separated.

How can I connect them to get a connected edge and contour?

image description

edit retag flag offensive close merge delete

Comments

code ? origonal image ?

berak gravatar imageberak ( 2019-12-16 11:04:29 -0600 )edit

I did a bilateral filter and then thresholding. The original image is attached.

Jiangnan Cai gravatar imageJiangnan Cai ( 2019-12-16 11:25:11 -0600 )edit