__and__#

rlemasklib.RLEMask.__and__(other)[source]#

Compute the intersection of two RLEMasks.

Parameters:

other (RLEMask) – another RLEMask

Returns:

A new RLEMask object representing the intersection of the two masks.

Return type:

RLEMask

Examples

& ==

See also

intersection()