コード例 #1
0
def findshift(a, b, rect=None):
    '''Find translation vector from b to a using rectangular ROI rect'''
    return _image.findTranslation2D(a, b, rect)
コード例 #2
0
ファイル: jyimage.py プロジェクト: thiyagavit/passerelle
def findshift(a, b, rect=None):
    """Find translation vector from b to a using rectangular ROI rect"""
    return _image.findTranslation2D(a, b, rect._jroi())