mask-to-polygon
turn noisy raster segmentation masks into clean polygons with a minimal number of segments