RawImage

A raw image.

Panel support

RawImage can be used in the following panels: 3D and Image.

Schema

FieldTypeDescription
timestamptimeTimestamp indicating when the image was captured.
frame_idstringFrame of reference for the image. The origin of the frame is the optical center of the camera. +x points to the right, +y points down, and +z points into the plane of the image.
widthuint32Width of the image.
heightuint32Height of the image.
encodingstringEncoding of the raw image data.
stepuint32Length in bytes of a single row of the image.
databytesRaw image data buffer. The content depends on the encoding and includes all pixel data row-wise.

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 or yuv422, yuyv or yuv422_yuy2

Reference implementations

Foxglove schemas are independent of any specific framework and can be used with any supported message encoding. The schema names should be specified as seen below: