match_template_coalign#
- sunkit_image.coalignment.match_template.match_template_coalign(target_array, reference_array, **kwargs)[source]#
Perform coalignment by matching the input array to the target array.
Coalign
target_arraytoreference_arrayusing normalized correlation viaskimage.feature.match_template. 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.feature.match_template.
- Returns: