def findshift(a, b, rect=None):
    '''Find translation vector from b to a using rectangular ROI rect'''
    return _image.findTranslation2D(a, b, rect)
Beispiel #2
0
def findshift(a, b, rect=None):
    """Find translation vector from b to a using rectangular ROI rect"""
    return _image.findTranslation2D(a, b, rect._jroi())