|
Monado OpenXR Runtime
|
RANSAC PnP pose refinement. More...
#include "xrt/xrt_defines.h"#include "tracking/t_constellation.h"#include "constellation/camera_model.h"
Go to the source code of this file.
Enumerations | |
| enum class | PoseStateIndex : int { PosX = 0 , PosY = 1 , PosZ = 2 , RotX = 3 , RotY = 4 , RotZ = 5 , RotW = 6 , NumIndices } |
Functions | |
| bool | xrt::tracking::constellation::optimizer::optimizePose (u_logging_level log_level, bool deterministic, const camera_model ¶ms, xrt_pose init_pose, t_blob *blobs, uint32_t num_blobs, t_constellation_tracker_led_model *leds_model, t_constellation_device_id_t device_id, xrt_pose &out_pose) |
| Does a pose optimization and RANSAC refinement on the given blobs and LED model, returning the optimized pose. | |
RANSAC PnP pose refinement.
| bool xrt::tracking::constellation::optimizer::optimizePose | ( | u_logging_level | log_level, |
| bool | deterministic, | ||
| const camera_model & | params, | ||
| xrt_pose | init_pose, | ||
| t_blob * | blobs, | ||
| uint32_t | num_blobs, | ||
| t_constellation_tracker_led_model * | leds_model, | ||
| t_constellation_device_id_t | device_id, | ||
| xrt_pose & | out_pose | ||
| ) |
Does a pose optimization and RANSAC refinement on the given blobs and LED model, returning the optimized pose.
| log_level | The logging level to use for debug output. | |
| params | The camera model parameters. | |
| init_pose | The initial pose estimate to start the optimization from. | |
| blobs | The array of blobs to use for the optimization, will write to here to unmark outliers. | |
| num_blobs | The number of blobs in the array. | |
| leds_model | The LED model to use for the optimization. | |
| device_id | The device ID to optimize the pose for. | |
| [out] | out_pose | The optimized pose will be written to this variable. |
References xrt::tracking::constellation::optimizer::optimizePose(), xrt::tracking::constellation::optimizer::ransacPose(), U_LOG_IFL_D, and U_LOG_IFL_E.
Referenced by xrt::tracking::constellation::optimizer::optimizePose().