I have some contours for example the three colored shapes in this image.
I would like to approximate the boundary of each with a polygon WITH