concatenate#
- static rlemasklib.RLEMask.concatenate(masks, axis=0)[source]#
Concatenate masks along an axis.
- Parameters:
- Returns:
A new RLEMask object representing the concatenated masks.
- Raises:
ValueError – if the masks have different shapes along the axis
ValueError – if the iterable is empty
ValueError – if the axis is not 0 or 1
- Return type: