コード例 #1
0
ファイル: logical.py プロジェクト: DDMAL/Gamera
 def __call__(self, other, in_place=False):
     return _logical.or_image(self, other, in_place)
コード例 #2
0
 def __call__(self, other, in_place=False):
   return _logical.or_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.or_image(self, other, in_place)
     return _arithmetic.add_images(self, other, in_place)
コード例 #4
0
 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)