__ior__# rlemasklib.RLEMask.__ior__(other)[source]# Compute the union with another RLEMask in place. Parameters: other (RLEMask) – the other RLEMask Returns: Self Return type: RLEMask Examples >>> rle1 = RLEMask(np.eye(3)) >>> rle2 = RLEMask(np.eye(3, k=-1)) >>> rle1 |= rle2 >>> np.array(rle1) array([[1, 0, 0], [1, 1, 0], [0, 1, 1]], dtype=uint8)