예제 #1
0
파일: logical.py 프로젝트: DDMAL/Gamera
 def __call__(self, other, in_place=False):
     return _logical.and_image(self, other, in_place)
예제 #2
0
 def __call__(self, other, in_place=False):
   return _logical.and_image(self, other, in_place)
예제 #3
0
파일: arithmetic.py 프로젝트: DDMAL/Gamera
 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)
예제 #4
0
 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)