|
Monado OpenXR Runtime
|
A blob is a 2d position in a camera sensor's view that is being tracked. More...
#include <tracking/t_constellation.h>

Data Fields | |
| uint32_t | blob_id |
| The ID of a blob, which may be used to track it across frames. | |
| t_constellation_device_id_t | matched_device_id |
| The device ID this blob is associated with, if any. | |
| t_constellation_led_id_it | matched_device_led_id |
| The LED ID this blob is associated with, if any. | |
| struct xrt_vec2 | center |
| Centre of blob. | |
| struct xrt_vec2 | motion_vector |
| Estimated motion vector of blob, in pixels per second. Only valid if the tracking system provides it. | |
| struct xrt_rect | bounding_box |
| The bounding box of the blob in pixel coordinates. | |
| struct xrt_vec2 | size |
| The size of the blob, in pixels. May be {0,0}, and may be subpixel accurate. | |
A blob is a 2d position in a camera sensor's view that is being tracked.
Generally used to represent found LEDs in a camera's sensor.
Blobs are given in pixel coordinates, with the origin at the top left of the image, and x going right and y going down. The units are in pixels, but may be subpixel accurate. The tracking system is expected to handle the undistortion of the blob positions.
| uint32_t t_blob::blob_id |
The ID of a blob, which may be used to track it across frames.
The meaning of the ID is up to the tracking system, but it attempts to be consistent across frames for the same blob.
| struct xrt_rect t_blob::bounding_box |
The bounding box of the blob in pixel coordinates.
| struct xrt_vec2 t_blob::center |
Centre of blob.
| t_constellation_device_id_t t_blob::matched_device_id |
The device ID this blob is associated with, if any.
XRT_CONSTELLATION_INVALID_DEVICE_ID for unmatched. The tracker is expected to fill this in.
| t_constellation_led_id_it t_blob::matched_device_led_id |
The LED ID this blob is associated with, if any.
XRT_CONSTELLATION_INVALID_LED_ID for unmatched. The tracker is expected to fill this in.
| struct xrt_vec2 t_blob::motion_vector |
Estimated motion vector of blob, in pixels per second. Only valid if the tracking system provides it.
| struct xrt_vec2 t_blob::size |
The size of the blob, in pixels. May be {0,0}, and may be subpixel accurate.