latest version v1.9 - last update 10 Apr 2010 |
The parameters for the class robustEstimator. More...
#include <ltiRobustEstimator.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 | setNormalization (ePointSetNormalizationType name) |
void | setNormalization (const pointSetNormalization &method) |
bool | existsNormalization () const |
const pointSetNormalization & | getNormalization () const |
Public Attributes | |
int | numIterations |
Protected Attributes | |
pointSetNormalization * | normalization |
The parameters for the class robustEstimator.
lti::robustEstimator::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from lti::functor::parameters.
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
lti::robustEstimator::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
lti::robustEstimator::parameters::~parameters | ( | ) | [virtual] |
Destructor.
Reimplemented from lti::functor::parameters.
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
virtual functor::parameters* lti::robustEstimator::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Implements lti::functor::parameters.
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
parameters& lti::robustEstimator::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
bool lti::robustEstimator::parameters::existsNormalization | ( | ) | const |
Is a normalization method allocated ?
const pointSetNormalization& lti::robustEstimator::parameters::getNormalization | ( | ) | const |
Gets the normalization method.
If no method is allocated an exception is thrown.
const char* lti::robustEstimator::parameters::getTypeName | ( | ) | const [virtual] |
Returns name of this type.
Reimplemented from lti::functor::parameters.
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
parameters& lti::robustEstimator::parameters::operator= | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
virtual bool lti::robustEstimator::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::functor::parameters.
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
void lti::robustEstimator::parameters::setNormalization | ( | const pointSetNormalization & | method | ) |
Sets a new normalization method.
A copy of the functor will be done (so it is useless to change the parameters of the given functor instance, because the internal functor will never notice the changes done to its "parent").
method | the normalization method to be used. |
void lti::robustEstimator::parameters::setNormalization | ( | ePointSetNormalizationType | name | ) |
Sets a new normalization method.
name | the normalization method to be used. |
virtual bool lti::robustEstimator::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::functor::parameters.
Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.
The method used to normalize the data.
Default: homography8Dof. Caution: May change in the near future.
The number of iterations that are performed.
Default: 50.