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