Function ouster::sdk::core::destagger(const SensorInfo&, const FieldView&, bool)

Function Documentation

Field ouster::sdk::core::destagger(const SensorInfo &info, const FieldView &field, bool inverse = false)

Destagger or restagger a field according to the provided sensor info.

Throws:

std::invalid_argument – if the pixel_shift_by_row height does not match the field

Parameters:
  • info[in] sensor info to use to stagger/destagger

  • field[in] field to stagger/destagger

  • inverse[in] if true, stagger the data rather than destagger

Returns:

the staggered/destaggered field