the height of the image
An array of polygons.
An array of polygons. The inner array defines one polygon, with [x1,y1,x2,y2,...]
Get the height and width
Get the height and width
Convert to a RLE encoded masks
Convert to a RLE encoded masks
the width of the image
A mask of regions defined by one or more polygons. The masked object(s) should have the same label.