LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::robustEstimator::parameters Class Reference

The parameters for the class robustEstimator. More...

#include <ltiRobustEstimator.h>

Inheritance diagram for lti::robustEstimator::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::robustEstimator::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
parametersoperator= (const parameters &other)
virtual functor::parametersclone () 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 pointSetNormalizationgetNormalization () const

Public Attributes

int numIterations

Protected Attributes

pointSetNormalizationnormalization

Detailed Description

The parameters for the class robustEstimator.


Constructor & Destructor Documentation

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.

Parameters:
other the parameters object to be copied

Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.

lti::robustEstimator::parameters::~parameters (  )  [virtual]

Member Function Documentation

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.

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object

Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.

bool lti::robustEstimator::parameters::existsNormalization (  )  const

Is a normalization method allocated ?

Returns:
true is a normalization method is allocated and false otherwise.
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.

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object

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.

Parameters:
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.
Returns:
true if write was successful

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").

Parameters:
method the normalization method to be used.
void lti::robustEstimator::parameters::setNormalization ( ePointSetNormalizationType  name  ) 

Sets a new normalization method.

Parameters:
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.

Parameters:
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.
Returns:
true if write was successful

Reimplemented from lti::functor::parameters.

Reimplemented in lti::monteCarloEstimator::parameters, and lti::ransacEstimator::parameters.


Member Data Documentation

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.


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

Generated on Sat Apr 10 15:27:47 2010 for LTI-Lib by Doxygen 1.6.1