Skip to main content

CircleAnnotation

A circle annotation on a 2D image

Parent schema

CircleAnnotation appears in the ImageAnnotations message schema.

Schema

fieldtypedescription
timestamptimeTimestamp of circle
positionPoint2Center of the circle in 2D image coordinates (pixels).
diameterfloat64Circle diameter in pixels
thicknessfloat64Line thickness in pixels
fill_colorColorFill color
outline_colorColorOutline color

position

The coordinate uses the top-left corner of the top-left pixel of the image as the origin.

Reference implementations

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

encodingschema
ROS 1foxglove_msgs/CircleAnnotation
ROS 2foxglove_msgs/msg/CircleAnnotation
JSONfoxglove.CircleAnnotation
Protobuffoxglove.CircleAnnotation
FlatBuffersfoxglove.CircleAnnotation
OMG IDLfoxglove::CircleAnnotation

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