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

Common configuration for a tracking problem. More...

#include <marker_tracker.h>

Inheritance diagram for momentum::BaseConfig:

Public Attributes

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

Common configuration for a tracking problem.

Definition at line 42 of file marker_tracker.h.

Member Data Documentation

◆ debug

bool momentum::BaseConfig::debug = false

◆ lossAlpha

float momentum::BaseConfig::lossAlpha = 2.0

Parameter to control what loss function to use.

Refer to comments in GeneralizedLoss class for details. Use a smaller alpha when data is noisy; otherwise L2 is good.

Definition at line 48 of file marker_tracker.h.

Referenced by momentum::calibrateLocators(), momentum::calibrateModel(), and momentum::trackPosesForFrames().

◆ maxIter

size_t momentum::BaseConfig::maxIter = 30

◆ minVisPercent

float momentum::BaseConfig::minVisPercent = 0.f

Minimum percentage of visible markers in a frame to consider for tracking.

We will skip frames with too few visible markers as they may be better filled in through a smoothing pass.

Definition at line 45 of file marker_tracker.h.

Referenced by momentum::calibrateLocators(), momentum::calibrateModel(), momentum::trackPosesForFrames(), and momentum::trackSequence().

◆ regularization

float momentum::BaseConfig::regularization = 0.05f

Regularization parameter (lambda) for Levenberg-Marquardt solver.

Definition at line 52 of file marker_tracker.h.

Referenced by momentum::calibrateLocators(), momentum::calibrateModel(), momentum::trackPosesForFrames(), and momentum::trackSequence().


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