#include <angle_state.h>
Public Member Functions | |
angle_state (const options &opts, const calibration &_calib, const bool _for_show=true) | |
double | predict (const observation_type &observation, const double variance_scale=1.0) |
angle_state & | operator= (angle_state &new_state) |
bool | load (const std::string filename) |
bool | load (std::ifstream &file) |
Protected Attributes | |
solver_type::vector_type | prev_theta |
const double | pred_noise |
const von_mises | noise |
const bool | extrapolate |
An implementation of the standard Gaussian distributed joint angles prior
where denotes the joint angles, subscript denotes temporal index and is a diagonal covariance. If you use this class we recommend citing
@inproceedings{Sidenbladh00a, Author = {Hedvig Sidenbladh and Michael J. Black and David J. Fleet}, Booktitle = {ECCV}, Pages = {702--718}, Publisher = {Springer}, Series = {LNCS 1843}, Title = {Stochastic tracking of 3D human figures using 2D image motion}, Volume = {II}, Year = {2000}}
angle_state< observation_type >::angle_state | ( | const options & | opts, | |
const calibration & | _calib, | |||
const bool | _for_show = true | |||
) | [inline] |
bool angle_state< observation_type >::load | ( | const std::string | filename | ) | [inline] |
Load pose parameters from a file.
[in] | filename | The name of the file containing the pose paramters. |
Reimplemented from skeleton_state< observation_type >.
Reimplemented in brownian_state< observation_type >, brownian_stick_state< observation_type >, pik_state< observation_type >, pik_stick_state< observation_type >, and tangent_state< observation_type >.
bool angle_state< observation_type >::load | ( | std::ifstream & | file | ) | [inline] |
Load pose parameters from a stream. This is useful for batch loads.
[in] | file | A stream representing the open file. |
Reimplemented from skeleton_state< observation_type >.
Reimplemented in brownian_state< observation_type >, brownian_stick_state< observation_type >, pik_state< observation_type >, pik_stick_state< observation_type >, and tangent_state< observation_type >.
angle_state& angle_state< observation_type >::operator= | ( | angle_state< observation_type > & | new_state | ) | [inline] |
double angle_state< observation_type >::predict | ( | const observation_type & | observation, | |
const double | variance_scale = 1.0 | |||
) | [inline, virtual] |
The importance distribution of the tracker.
[in] | observation | The current observation. |
[in] | variance_scale | A scale factor for the default variance. This is used for annealed filters. |
Implements state< observation_type >.
Reimplemented in brownian_state< observation_type >, brownian_stick_state< observation_type >, KBK_stick_state< observation_type >, pik_state< observation_type >, pik_stick_state< observation_type >, tangent_state< observation_type >, and KBK_stick_state< point_cloud_and_stick >.
const bool angle_state< observation_type >::extrapolate [protected] |
const von_mises angle_state< observation_type >::noise [protected] |
const double angle_state< observation_type >::pred_noise [protected] |
solver_type::vector_type angle_state< observation_type >::prev_theta [protected] |