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