Struct RawImage¶
Defined in File schemas.hpp
Struct Documentation¶
-
struct RawImage¶
A raw image.
Public Members
-
std::string frame_id¶
Frame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right in the image, +y points down, and +z points into the plane of the image.
-
uint32_t width = 0¶
Image width.
-
uint32_t height = 0¶
Image height.
-
std::string encoding¶
Encoding of the raw image data.
Supported values:
8UC1
,8UC3
,16UC1
(little endian),32FC1
(little endian),bayer_bggr8
,bayer_gbrg8
,bayer_grbg8
,bayer_rggb8
,bgr8
,bgra8
,mono8
,mono16
,rgb8
,rgba8
,uyvy
oryuv422
,yuyv
oryuv422_yuy2
-
uint32_t step = 0¶
Byte length of a single row.
-
std::vector<std::byte> data¶
Raw image data.
-
std::string frame_id¶