title: How to smooth contour/boundary in binary image?
body: <p>I have a binary image that has a non-smoothing contour. As prior information, the contour has to be smooth. Could you suggest to me the solution to smooth the contour as the below image in python? Thanks all </p>
  
  <p><a href="https://i.stack.imgur.com/RP36P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RP36P.png" alt="enter image description here"></a></p>