Template Function ouster::sdk::core::cartesianT(const LidarScan&, const ArrayX3R<T>&, const ArrayX3R<T>&)

Function Documentation

template<typename T>
PointCloudXYZ<T> ouster::sdk::core::cartesianT(const LidarScan &scan, const ArrayX3R<T> &direction, const ArrayX3R<T> &offset)

Converts a staggered range image to Cartesian points.

Parameters:
  • scan[in] – a LidarScan constaining a range image

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

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

Returns:

Cartesian points where ith row is a 3D point which corresponds to ith pixel in LidarScan where i = row * w + col.