counts_view#

property rlemasklib.RLEMask.counts_view: ndarray[source]#

The run-length counts of the mask, as a direct view of the underlying memory.

Modifications to the returned array will affect the mask.

Returns:

An array view of the run-length counts.

Return type:

ndarray