nicetoolbox.utils.triangulation.triangulate_stereo¶
- nicetoolbox.utils.triangulation.triangulate_stereo(projection_matrix1, projection_matrix2, undistorted_points1, undistorted_points2)[source]¶
Triangulates the 3D position of points in Euclidean coordinates from two camera views.
- Parameters:
projection_matrix1 (np.array) – Projection matrix of the first camera.
projection_matrix2 (np.array) – Projection matrix of the second camera.
undistorted_points1 (np.array) – Coordinates of undistorted points from camera 1.
undistorted_points2 (np.array) – Coordinates of undistorted points from camera 2.
- Returns:
The 3D position of points in Euclidean coordinates.
- Return type:
np.array