title: Convert Contours into Set of Points
body: <p>I have a contour of a shape(flower boundary) that i got using contour function in Octave (have attached it below).</p>
  <p><strong>I want to convert it into set of points that represents the shape</strong> and fit a function such to unwrap the shape, to a linear function of the angle in the polar form. I'm trying it in MATLAB but answer in python will also work.</p>
  <p>Main concern is how to convert that contour into set of points.</p>
  <p>Have attached the contour image below,</p>
  <p><a href="https://i.stack.imgur.com/Pk1rY.png" rel="nofollow noreferrer">Contour image</a></p>
  <p>Please help me out!</p>