reproject_image_points#

deltacamera.reproject_image_points(points, old_camera, new_camera, precomp_undist_maps=False)[source]#

Reproject 2D image points from old_camera to new_camera.

Parameters:
  • points – The 2D image points in the old_camera image. Shape (…, 2).

  • old_camera (Camera) – The camera that captured the original points.

  • new_camera (Camera) – The camera to which the points should be reprojected.

  • precomp_undist_maps (bool) – Whether to precompute undistortion maps for the cameras

Returns:

The reprojected 2D image points in the new_camera image. Shape (…, 2).

Return type:

ndarray