ImageAnnotations
An array of annotations for 2D images
Panel Support
ImageAnnotations is used in the Image Panel.
Data Structure
| Field | Type | Description |
|---|---|---|
| circles | CircleAnnotation\[\] | Circle annotations |
| points | PointsAnnotation\[\] | Point annotations |
| texts | TextAnnotation\[\] | Text annotations |
Reference Implementation
The visualization data structure is framework-independent and can be implemented using any supported message encoding:
| Encoding | Data Structure |
|---|---|
| ROS 1 | foxglove_msgs/ImageAnnotations |
| ROS 2 | foxglove_msgs/msg/ImageAnnotations |
| JSON | foxglove.ImageAnnotations |
| Protobuf | foxglove.ImageAnnotations |
| FlatBuffers | foxglove.ImageAnnotations |
| OMG IDL | foxglove::ImageAnnotations |
You must use the data structure names specified above for the visualization to recognize the data structure.