Template Function ouster::sdk::core::dewarp(const FrameSet&, double, double)¶
Defined in File pose_util.h
Function Documentation¶
-
template<typename T>
std::vector<Eigen::Vector3<T>> ouster::sdk::core::dewarp(const FrameSet &frame_set, double min_range, double max_range)¶ Dewarp each frame in a FrameSet using its pose(s).
Each frame is projected with the XYZLut cached on its own sensor_info() (see SensorInfo::xyzlut()), so points land in the body frame before the frame’s pose(s) are applied. LidarFrame frames are dewarped using their per-column poses; single-pose frames such as CameraFrame are transformed rigidly using their single pose. Frames without a RANGE field or without sensor info produce no points. Filters out points with zero range and points outside the specified range limits.
- Template Parameters:
T – The numeric type for the output 3D points (e.g., float or double).
- Parameters:
frame_set[in] The set of frames to dewarp.
min_range[in] Minimum range (meters); points closer than this are excluded.
max_range[in] Maximum range (meters); points farther than this are excluded.
- Returns:
A vector of Eigen::Vector3<T> containing the dewarped 3D points.