darfix.core.imageRegistration#

Functions

apply_shift(img, shift[, shift_approach])

Function to apply the shift to an image.

compute_com(data)

Compute the center of mass of a stack of images.

diff_com(img1, img2)

Finds the difference between the center of mass of two images.

find_shift(img1, img2[, upsample_factor])

Uses the function register_translation from skimage to find the shift between two images.

improve_linear_shift(data, v, h, epsilon, steps)

Function to find the best shift between the images.

normalize(x)

Normalizes a vector or matrix.

random_search(data, optimal_shift, iterations)

Function that performs random search to a set of images to find an improved vector of shifts (one for each image).

shift_correction(data, n_shift[, ...])

Function to apply shift correction technique to stack of images.

shift_detection(data, steps[, shift_approach])

Finds the linear shift from a set of images.

sum_images(image1[, image2])

Classes

ShiftApproach(value)

Different shifts approaches that can be used for the shift detection and correction.