__xor__#

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

Compute the symmetric difference of two RLEMasks.

Parameters:

other (RLEMask) – another RLEMask

Returns:

A new RLEMask object representing the symmetric difference of the two masks.

Return type:

RLEMask

Examples

^ ==