phase_cross_correlation_coalign#
- sunkit_image.coalignment.phase_cross_correlation.phase_cross_correlation_coalign(target_array, reference_array, **kwargs)[source]#
Perform coalignment by phase cross correlation input array to the target array.
Note
This requires both the input and target arrays to be the same size.
Coalign
target_arraytoreference_arrayusing phase cross-correlation viaskimage.registration.phase_cross_correlation. For more details on this approach, please check the documentation of that function including the available keyword arguments and the details of the algorithm.Warning
This method only returns a translation. The scale and rotation parameters are unity.
- Parameters:
target_array (
numpy.ndarray) – The input 2D array to be coaligned.reference_array (
numpy.ndarray) – The template 2D array to align to.kwargs (dict) – Passed to
skimage.registration.phase_cross_correlation.
- Returns:
sunkit_image.coalignment.interface.AffineParams– This method only returns a translation. The scale and rotation parameters are unity.