9#ifndef WATERLINKEDSONAR_CONVERSIONS_HPP
10#define WATERLINKEDSONAR_CONVERSIONS_HPP
26 std::vector<float>& out);
52 std::vector<std::uint16_t>& out);
Views of the decoded RIP messages: range images, bitmap images and IMU batches.
bool range_image_to_points(const RangeImageView &img, std::vector< float > &out, bool organized)
Converts a range image to XYZ float32 triples using the pixel-to-angle mapping from the Water Linked ...
bool range_image_to_distances(const RangeImageView &img, std::vector< float > &out)
Converts a range image to per-pixel distances.
bool bitmap_to_strength_linear(const BitmapImageView &img, std::vector< std::uint16_t > &out)
Recovers linear 15-bit signal strength from a SIGNAL_STRENGTH bitmap, inverting the device's logarith...
8-bit greyscale image, displayable without further processing.
Definition messages.hpp:62
Per-pixel distance to the strongest reflection.
Definition messages.hpp:29