__iand__# rlemasklib.RLEMask.__iand__(other)[source]# Compute the intersection 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)[::-1]) >>> rle1 &= rle2 >>> np.array(rle1) array([[0, 0, 0], [0, 1, 0], [0, 0, 0]], dtype=uint8)