nicetoolbox.utils.triangulation.undistort_points_pinhole

nicetoolbox.utils.triangulation.undistort_points_pinhole(point_coords, intrinsics, distortions)[source]

Undistorts the given points based on intrinsics and distortions parameters.

Parameters:
  • point_coords (np.array) – The x and y values of the points.

  • intrinsics (np.array) – The intrinsics matrix.

  • distortions (np.array) – The distortions.

Returns:

The undistorted 2D point coordinates.

Return type:

np.array