Serializes image buffers generated by camera sensors. More...
#include <ImageSerializer.h>
Classes | |
struct | ImageHeader |
Static Public Member Functions | |
static SharedPtr< SensorData > | Deserialize (RawData &&data) |
static const ImageHeader & | DeserializeHeader (const RawData &data) |
template<typename Sensor > | |
static Buffer | Serialize (const Sensor &sensor, Buffer &&bitmap) |
Static Public Attributes | |
static constexpr auto | header_offset = sizeof(ImageHeader) |
Serializes image buffers generated by camera sensors.
Definition at line 23 of file ImageSerializer.h.
|
static |
Definition at line 15 of file ImageSerializer.cpp.
Referenced by DeserializeHeader().
|
inlinestatic |
Definition at line 36 of file ImageSerializer.h.
References carla::sensor::RawData::begin(), Deserialize(), and Serialize().
Referenced by carla::sensor::data::ImageTmpl< PixelT >::GetHeader().
|
inlinestatic |
Definition at line 47 of file ImageSerializer.h.
References DEBUG_ASSERT.
Referenced by DeserializeHeader().
|
static |
Definition at line 34 of file ImageSerializer.h.
Referenced by carla::ros2::ROS2::ProcessDataFromCamera(), and carla::ros2::ROS2::ProcessDataFromDVS().