image_coalignment¶
Functions
|
|
|
scale_x, scale_y, shear_x, shear_y, disp_x, disp_y, rot_angle = transform |
|
Apply a chosen transform to Image 1 and cross-correlate with Image 2 to check coalignment Designed as a merit function for scipy.optimize routines |
|
|
|
scale_x, scale_y, shear_x, shear_y, disp_x, disp_y, rot_angle = transform |
|
Since scipy.ndimage.affine_transform goes straight to an image transform instead of through map_coordinates this will convert the transform parameters used in modified affine for use with quadratic transform |
|
|
|
Apply a quadratic coordinate transformation of the form: x' = transform[0] + transform[1]*x + transform[2]*y + transform[3]*x*y + transform[4]*x^2 + transform[5]*y^2 y' = transform[6] + transform[7]*x + transform[8]*y + transform[9]*x*y + transform[10]*x^2 + transform[11]*y^2 about the specified origin = (x = origin[0], y = origin[1]) |
|
Apply a chosen transform to Image 1 and cross-correlate with Image 2 to check coalignment Designed as a merit function for scipy.optimize routines |
Classes
|
Class tracking transformations done to an image during co-alignment for repeating later or for use in a forward model |
|
For a given cube of images this class with contain a similar cube of ImageTransform Objects for transforming an entire cube of images. |