Template Function ouster::sdk::core::cartesianT(PointCloudXYZ<T>&, const Eigen::Ref<const img_t<uint32_t>>&, const ArrayX3R<T>&, const ArrayX3R<T>&)

Function Documentation

template<typename T>
void ouster::sdk::core::cartesianT(PointCloudXYZ<T> &points, const Eigen::Ref<const img_t<uint32_t>> &range, const ArrayX3R<T> &direction, const ArrayX3R<T> &offset)

Converts a staggered range image to Cartesian points.

Parameters:
  • points[inout] – The resulting point cloud, should be pre-allocated and have the same dimensions as the direction array.

  • range[in] – a range image in the same format as the RANGE field of a LidarScan.

  • direction[in] – the direction of an xyz lut.

  • offset[in] – the offset of an xyz lut.