title: How to enclose the irregular figure contour and fill it with with 5px dots in opencv using python?
body: <p>This is my</p>
  <p><img src="https://i.stack.imgur.com/kHMOI.png" alt="Input Image" /></p>
  <p>I want to get this</p>
  <p><img src="https://i.stack.imgur.com/2QbIJ.jpg" alt="Output Image" /></p>
  <p>but the problem is I am not able to enclose the contour and how should I add these dots?
  Does Open cv have any such function to handle this?
  So basically,
  The first problem is how to enclose this image
  Second, how to add Dots.</p>
  <p>Thank you</p>