image_shift
- image_shift(images)[source]
Compute the shift of all images in a stack.
The shift of the n+1st image relative to the n-th is computed. The commutative sum of these shifts is the shift relative to the 0th image in the stack.
All input images must have the same width and height! :param images: :type images: ImageStack, list
- Returns
- out: list
[(0,0), (y1, x1), …(yn, xn)] The shift in x and y direction relative to the first image in the stack.