utils.findcenter

Functions:

usecorrelation(im1, im2) Assess the offset (to be used for e.g.
stp_core.utils.findcenter.usecorrelation(im1, im2)[source]
Assess the offset (to be used for e.g. the assessment of the center of rotation or the
ovarlap) by computation the peak of the correlation between the two input images.
Parameters:

im1 (array_like) – Image data as numpy array.

im2 : array_like

Image data as numpy array.

returns:An integer value of the location of the maximum peak correlation.