count_nonzero#

rlemasklib.RLEMask.count_nonzero()[source]#

The number of nonzero pixels in the mask, equivalent to area().

Return type:

int