Container for a single frame of image data with metadata. More...
#include <data_frame.hpp>
Public Member Functions | |
| int | width () const |
| int | height () const |
| common::DataType | dataType () const |
| int64_t | frameId () const |
| size_t | pixelCount () const |
| size_t | bytesPerPixel () const |
Static Public Member Functions | |
| static size_t | bytesPerPixel (common::DataType dt) |
| Bytes per pixel element for the current data type. | |
Public Attributes | |
| std::vector< uint8_t > | data |
| common::FrameInfo | frame_info |
Container for a single frame of image data with metadata.
Carries raw pixel data together with frame geometry, timing, and data type information through the acquisition -> publisher pipeline. The actual pixel type is described by frame_info.data_type; the data vector stores the raw bytes regardless of the underlying element type.
|
inline |
|
inlinestatic |
Bytes per pixel element for the current data type.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::vector<uint8_t> camcom::server::DataFrame::data |
| common::FrameInfo camcom::server::DataFrame::frame_info |