Template Function ouster::sdk::core::dewarp(Eigen::Ref<PointCloudXYZ<T>>, const Eigen::Ref<const PointCloudXYZ<T>>, const Eigen::Ref<const PosesT<T>>)

Function Documentation

template<typename T>
void ouster::sdk::core::dewarp(Eigen::Ref<PointCloudXYZ<T>> dewarped, const Eigen::Ref<const PointCloudXYZ<T>> points, const Eigen::Ref<const PosesT<T>> poses)

This function takes in a set of 3D points and a set of 4x4 pose matrices.

Parameters:
  • dewarped[out] – An eigen matrix of shape (N, 3) to hold the dewarped 3D points, where the same number of points are transformed by each corresponding pose matrix.

  • points[in] – A Eigen matrix of shape (N, 3) representing the 3D points. Each row corresponds to a point in 3D space.

  • poses[in] – A Eigen matrix of shape (W, 16) representing W 4x4 transformation matrices. Each row is a flattened 4x4 pose matrix