Serializes image buffers generated by camera sensors. More...
#include <OpticalFlowImageSerializer.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 21 of file OpticalFlowImageSerializer.h.
|
static |
Definition at line 14 of file OpticalFlowImageSerializer.cpp.
Referenced by DeserializeHeader().
|
inlinestatic |
Definition at line 34 of file OpticalFlowImageSerializer.h.
References carla::sensor::RawData::begin(), Deserialize(), and Serialize().
|
inlinestatic |
Definition at line 45 of file OpticalFlowImageSerializer.h.
References DEBUG_ASSERT.
Referenced by DeserializeHeader().
|
static |
Definition at line 32 of file OpticalFlowImageSerializer.h.
Referenced by carla::ros2::ROS2::ProcessDataFromCamera().