Monado OpenXR Runtime
Loading...
Searching...
No Matches
t_rift_blobwatch.h
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Header defining the Rift blobwatch parameters and creation function.
6 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
7 * @ingroup xrt_iface
8 */
9
10#pragma once
11
13
14
16{
17 //! Minimum pixel magnitude to be included in a blob at all
19 /*!
20 * Require at least 1 pixel over this threshold in a blob, allows for collecting fainter blobs, as long as they
21 * have a bright point somewhere, and helps to eliminate generally faint background noise
22 */
24 /*!
25 * Maximum distance (in pixels) for matching a blob between frames.
26 * Matches beyond this distance are rejected, preventing newly appeared blobs
27 * from inheriting incorrect velocity from distant unrelated blobs.
28 */
30};
31
32/*!
33 * @public @memberof t_rift_blobwatch
34 */
35int
36t_rift_blobwatch_create(const struct t_rift_blobwatch_params *params,
37 struct xrt_frame_context *xfctx,
38 struct t_blob_sink *blob_sink,
39 struct xrt_frame_sink **out_frame_sink,
40 struct t_blobwatch **out_blobwatch);
A generic interface to allow a tracking system to receive "snapshots" of seen t_blob in a frame.
Definition t_constellation.h:86
Definition t_constellation.h:103
Definition t_rift_blobwatch.h:16
float max_match_dist
Maximum distance (in pixels) for matching a blob between frames.
Definition t_rift_blobwatch.h:29
uint8_t blob_required_threshold
Require at least 1 pixel over this threshold in a blob, allows for collecting fainter blobs,...
Definition t_rift_blobwatch.h:23
uint8_t pixel_threshold
Minimum pixel magnitude to be included in a blob at all.
Definition t_rift_blobwatch.h:18
Object used to track all sinks and frame producers in a graph.
Definition xrt_frame.h:108
A object that is sent frames.
Definition xrt_frame.h:58
Header defining the tracking system integration in Monado.