Ejemplo n.º 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)
Ejemplo n.º 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())