perimeter#

rlemasklib.RLEMask.perimeter()[source]#

The number of pixels along the contour of the mask.

See also

contours()

Return type:

int