Function ouster::sdk::core::frame_ops::select_by_index_metadata¶
Defined in File frame_ops.h
Function Documentation¶
-
SensorInfo ouster::sdk::core::frame_ops::select_by_index_metadata(const SensorInfo &metadata, const std::vector<size_t> &indices)¶
Create updated SensorInfo for a subset of beam indices.
Produces a new SensorInfo with beam angles, pixel shifts, and zone boundaries adjusted to match the selected beam indices.
- Parameters:
metadata[in] Original sensor metadata.
indices[in] Beam row indices to select. Must be unique and within [0, metadata height).
- Throws:
std::invalid_argument – If indices are empty, contain duplicates, or are out of range.
- Returns:
New SensorInfo reflecting the selected beams.