title: How could I make the discontinuous contour of an image consistant?
body: <p>In the task, I got an discontinuous edge image, how could make it closed? in other word make the curve continuous.
  And the shape could be any kind, cause this the coutour shadow.</p>
  
  <p><a href="https://i.stack.imgur.com/8y0KL.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/8y0KL.jpg" alt="enter image description here"></a></p>