Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::RefineConfig Struct Reference

Configuration for refining an already tracked motion, eg. More...

#include <marker_tracker.h>

Inheritance diagram for momentum::RefineConfig:

Public Attributes

float regularizer = 0.0
 Minimize changes to calibration parameters when in calibration mode, by regularizing towards the input value with this regularizer weight.
bool calibId = false
 Calibrate identity parameters when refining the motion.
bool calibLocators = false
 Calibrate locators when refining the motion.
Public Attributes inherited from momentum::TrackingConfig
float smoothing = 0
 The weight for the smoothness error function.
float collisionErrorWeight = 0.0
 The weight for the collision error function.
float markerWeight = 1.0f
 Multiplier for the marker position constraint weight.
Eigen::VectorXf smoothingWeights {}
 Smoothing weights per model parameter.
std::optional< ParameterSet > activeParams
 Optional mask to restrict which parameters are optimized during tracking.
float meshConstraintWeight = 1.0f
 Multiplier for the mesh surface constraint weight on skinned locators.
float projectionWeight = 0.0f
 Base weight for 2D keypoint projection constraints. Default 0 (disabled).
GapFillConfig gapFillConfig
 Configuration for pre-processing marker gaps before constraint creation.
Public Attributes inherited from momentum::BaseConfig
float minVisPercent = 0.f
 Minimum percentage of visible markers in a frame to consider for tracking.
float lossAlpha = 2.0
 Parameter to control what loss function to use.
size_t maxIter = 30
 Max number of solver iterations to run.
float regularization = 0.05f
 Regularization parameter (lambda) for Levenberg-Marquardt solver.
bool debug = false
 True to print and save debug information.

Detailed Description

Configuration for refining an already tracked motion, eg.

add smoothing and/or collision handling; improve residuals with extra dofs etc.

Definition at line 124 of file marker_tracker.h.

Member Data Documentation

◆ calibId

bool momentum::RefineConfig::calibId = false

Calibrate identity parameters when refining the motion.

Definition at line 129 of file marker_tracker.h.

Referenced by momentum::refineMotion().

◆ calibLocators

bool momentum::RefineConfig::calibLocators = false

Calibrate locators when refining the motion.

Definition at line 131 of file marker_tracker.h.

Referenced by momentum::refineMotion().

◆ regularizer

float momentum::RefineConfig::regularizer = 0.0

Minimize changes to calibration parameters when in calibration mode, by regularizing towards the input value with this regularizer weight.

Definition at line 127 of file marker_tracker.h.

Referenced by momentum::refineMotion().


The documentation for this struct was generated from the following file: