loki.align.find_homography_translation_rotation

loki.align.find_homography_translation_rotation(src_points, dst_points)

Find the homography between two sets of coordinates with only translation and rotation.

Parameters:
  • src_points – A numpy array of shape (n, 2) containing source coordinates.

  • dst_points – A numpy array of shape (n, 2) containing destination coordinates.

Returns:

A 3x3 homography matrix.