latest version v1.9 - last update 10 Apr 2010 |
The parameters for the class monteCarloEstimator. More...
#include <ltiMonteCarloEstimator.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
void | setTransform (eTransformEstimatorType name) |
void | setTransform (const transformEstimator &estimator) |
bool | existsTransform () const |
const transformEstimator & | getTransform () const |
Public Attributes | |
double | maxError |
Protected Attributes | |
transformEstimator * | transform |
The parameters for the class monteCarloEstimator.
lti::monteCarloEstimator::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
lti::monteCarloEstimator::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
lti::monteCarloEstimator::parameters::~parameters | ( | ) | [virtual] |
Destructor.
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
virtual functor::parameters* lti::monteCarloEstimator::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
parameters& lti::monteCarloEstimator::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
bool lti::monteCarloEstimator::parameters::existsTransform | ( | ) | const |
const transformEstimator& lti::monteCarloEstimator::parameters::getTransform | ( | ) | const |
const char* lti::monteCarloEstimator::parameters::getTypeName | ( | ) | const [virtual] |
Returns name of this type.
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
parameters& lti::monteCarloEstimator::parameters::operator= | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
virtual bool lti::monteCarloEstimator::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
Read the parameters from the given ioHandler.
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
void lti::monteCarloEstimator::parameters::setTransform | ( | const transformEstimator & | estimator | ) |
void lti::monteCarloEstimator::parameters::setTransform | ( | eTransformEstimatorType | name | ) |
virtual bool lti::monteCarloEstimator::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
Write the parameters in the given ioHandler.
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::robustEstimator::parameters.
Reimplemented in lti::ransacEstimator::parameters.
The maximum error for a single correspondence or the averaged size of the residual.
Depending on the parameter settings the monteCarloEstimator normalizes the correspondences. This maximum error is not adjusted to the scaled data automatically. Thus supplying a meaningful value is left to the user.
Default: .8.
The transform to be estimated.
Default: homography8Dof. Caution: May change in the near future.