how to get an edge from the unconnected points?

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

Jiangnan Cai gravatar image

updated 2019-12-16 11:25:16 -0500

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 -0500 )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 -0500 )edit