#include <brownian_state.h>
Public Types | |
typedef boost::numeric::ublas::diagonal_matrix < double > | diagonal_matrix_type |
Public Member Functions | |
brownian_state (const options &opts, const calibration &_calib, const bool _for_show=true) | |
double | predict (const observation_type &observation, const double variance_scale=1.0) |
brownian_state & | operator= (brownian_state &new_state) |
bool | load (const std::string filename) |
bool | load (std::ifstream &file) |
An implementation of the spatial Brownian motion prior. If you use this class we recommend citing
@article{hauberg:imavis11,
title = {{Natural Metrics and Least-Committed Priors for Articulated Tracking}},
author = {S{\o}ren Hauberg and Stefan Sommer and Kim Steenstrup Pedersen},
journal = {Image and Vision Computing},
publisher = {Elsevier},
year = {2011},
}
typedef boost::numeric::ublas::diagonal_matrix<double> brownian_state< observation_type >::diagonal_matrix_type |
brownian_state< observation_type >::brownian_state | ( | const options & | opts, | |
const calibration & | _calib, | |||
const bool | _for_show = true | |||
) | [inline] |
bool brownian_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 angle_state< observation_type >.
bool brownian_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 angle_state< observation_type >.
brownian_state& brownian_state< observation_type >::operator= | ( | brownian_state< observation_type > & | new_state | ) | [inline] |
double brownian_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. |
Reimplemented from angle_state< observation_type >.