transform_points#

deltacamera.transform_points(points, old_camera, new_camera)[source]#

Transform 3D points from one camera’s coordinate frame to another’s.

Parameters:
  • points – 3D points in old_camera’s coordinate frame, shape (…, 3).

  • old_camera – The camera whose coordinate frame the points are currently in.

  • new_camera – The camera whose coordinate frame the points should be transformed to.

Returns:

The points in new_camera’s coordinate frame, shape (…, 3).