def __call__(self, other, in_place=False): return _logical.or_image(self, other, in_place)
def __call__(self, other, in_place=False): if self.data.pixel_type == ONEBIT: return _logical.or_image(self, other, in_place) return _arithmetic.add_images(self, other, in_place)