add_annulus_to_mask(mask, r1, r2[, x, y, fill])

Add an annular feature on the mask

add_band_to_mask(mask, x, y, theta, width[, ...])

Add a straight band to a mask

add_circle_to_mask(mask, x, y, r[, fill])

Add a single circle to the mask

add_circles_to_mask(mask, coords, r[, fill])

Add a circle on a mask at each (x, y) coordinate with a radius r

add_polygon_to_mask(mask, coords[, fill])

Add a polygon defined by sequential vertex coordinates to the mask.

create_mask(shape[, fill])

Initiate an empty mask


Turn True into False and False into True