RawImage

A raw image

Panel support

Schema

fieldtypedescription
timestamptimeTimestamp of image
frame_idstringFrame 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.
widthuint32Image width
heightuint32Image height
encodingstringEncoding of the raw image data
stepuint32Byte length of a single row
databytesRaw image data

Reference implementations

Foxglove schemas are framework-agnostic, and can be implemented using any supported message encoding:

encodingschema name
ROS 1foxglove_msgs/RawImage
ROS 2foxglove_msgs/msg/RawImage
JSONfoxglove.RawImage
Protobuffoxglove.RawImage

You must use the schema names specified above for Foxglove Studio to recognize the schema.