opticam.utils.transforms
Functions
|
Find the translation that maps reference_coords onto coords. An advantage of this over |
Module Contents
- opticam.utils.transforms.find_translation(reference_coords, coords)
Find the translation that maps reference_coords onto coords. An advantage of this over astroalign.find_transform() is that it requires fewer sources, however it is therefore more prone to errors. In general, astroalign.find_transform() should be used, but find_translation() is available if there are too few sources for astroalign.find_transform().
Parameters
- reference_coordsNDArray
The reference source coordinates.
- coordsNDArray
The source coordinates.
Returns
- SimilarityTransform
The transformation matrix that maps coords onto reference_coords.
- Parameters:
reference_coords (numpy.typing.NDArray)
coords (numpy.typing.NDArray)
- Return type:
skimage.transform.SimilarityTransform