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

lti::robustEstimator Class Reference

A parent class for estimating a transform from sets of points in a robust manner. More...

#include <ltiRobustEstimator.h>

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

List of all members.

Classes

class  parameters
 The parameters for the class robustEstimator. More...

Public Member Functions

 robustEstimator ()
 robustEstimator (const parameters &par)
 robustEstimator (const robustEstimator &other)
virtual ~robustEstimator ()
virtual const char * getTypeName () const
virtual bool apply (const matrix< fpoint > &src, fvector &dest) const =0
virtual bool apply (const matrix< fpoint > &src, fvector &dest, fvector &error) const =0
virtual bool apply (const matrix< dpoint > &src, dvector &dest) const =0
virtual bool apply (const matrix< dpoint > &src, dvector &dest, dvector &error) const =0
robustEstimatorcopy (const robustEstimator &other)
robustEstimatoroperator= (const robustEstimator &other)
virtual functorclone () const =0
const parametersgetParameters () const
virtual bool setParameters (const pointSetNormalization::parameters &theParams)
bool setParameters (const parameters &theParams)

Protected Member Functions

parametersgetWritableParameters ()

Detailed Description

A parent class for estimating a transform from sets of points in a robust manner.

This is archived be a Monte Carlo estimator for outlier removal or iterative refinement of the transform to reduce the effects of noisy input data (comming up soon).

The Monte Carlo estimators work for any transformation estimation algorithms whereas iterative refinenment will be defined for least squares estimators only.

See also:
lti::monteCarloEstimator, lti::ransacEstimator, lti::transformEstimator

Constructor & Destructor Documentation

lti::robustEstimator::robustEstimator (  ) 

Default constructor.

lti::robustEstimator::robustEstimator ( const parameters par  ) 

Construct a functor using the given parameters.

lti::robustEstimator::robustEstimator ( const robustEstimator other  ) 

Copy constructor.

Parameters:
other the object to be copied
virtual lti::robustEstimator::~robustEstimator (  )  [virtual]

Destructor.


Member Function Documentation

virtual bool lti::robustEstimator::apply ( const matrix< dpoint > &  src,
dvector dest,
dvector error 
) const [pure virtual]

Estimates a transform from the supplied point sets.

All points of one point set give a matrix row, whereas all elements of a specifec correspondence stand in a matrix column.

Parameters:
src matrix<dpoint> with the point sets.
dest dvector the estimated transform.
error fvector containing the deviation of each point from the estimated transform. Usually this is the residual, also a if a squared residual is computed inside the transform estimator.
Returns:
true if apply successful or false otherwise.

Implemented in lti::monteCarloEstimator, and lti::ransacEstimator.

virtual bool lti::robustEstimator::apply ( const matrix< dpoint > &  src,
dvector dest 
) const [pure virtual]

Estimates a transform from the supplied point sets.

All points of one point set give a matrix row, whereas all elements of a specifec correspondence stand in a matrix column.

Parameters:
src matrix<dpoint> with the point sets.
dest dvector the estimated transform.
Returns:
true if apply successful or false otherwise.

Implemented in lti::monteCarloEstimator, and lti::ransacEstimator.

virtual bool lti::robustEstimator::apply ( const matrix< fpoint > &  src,
fvector dest,
fvector error 
) const [pure virtual]

Estimates a transform from the supplied point sets.

All points of one point set give a matrix row, whereas all elements of a specifec correspondence stand in a matrix column.

Parameters:
src matrix<fpoint> with the point sets.
dest fvector the estimated transform.
error fvector containing the deviation of each point from the estimated transform. Usually this is the residual, also a if a squared residual is computed inside the transform estimator.
Returns:
true if apply successful or false otherwise.

Implemented in lti::monteCarloEstimator, and lti::ransacEstimator.

virtual bool lti::robustEstimator::apply ( const matrix< fpoint > &  src,
fvector dest 
) const [pure virtual]

Estimates a transform from the supplied point sets.

All points of one point set give a matrix row, whereas all elements of a specifec correspondence stand in a matrix column.

Parameters:
src matrix<fpoint> with the point sets.
dest fector the estimated transform.
Returns:
true if apply successful or false otherwise.

Implemented in lti::monteCarloEstimator, and lti::ransacEstimator.

virtual functor* lti::robustEstimator::clone (  )  const [pure virtual]

Returns a pointer to a clone of this functor.

Implements lti::functor.

Implemented in lti::monteCarloEstimator, and lti::ransacEstimator.

robustEstimator& lti::robustEstimator::copy ( const robustEstimator other  ) 

Copy data of "other" functor.

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

Reimplemented from lti::functor.

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

const parameters& lti::robustEstimator::getParameters (  )  const

Returns used parameters.

Reimplemented from lti::functor.

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

virtual const char* lti::robustEstimator::getTypeName (  )  const [virtual]

Returns the name of this type ("robustEstimator").

Reimplemented from lti::functor.

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

parameters& lti::robustEstimator::getWritableParameters (  )  [protected]

Returns used parameters.

Reimplemented in lti::monteCarloEstimator.

robustEstimator& lti::robustEstimator::operator= ( const robustEstimator other  ) 

Alias for copy member.

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

Reimplemented from lti::functor.

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

bool lti::robustEstimator::setParameters ( const parameters theParams  )  [virtual]

Set the paramters of the robust estimator.

Parameters:
theParams the new parameters, which will be copied.
Returns:
true on success and false otherwise.

Reimplemented from lti::functor.

Reimplemented in lti::monteCarloEstimator.

virtual bool lti::robustEstimator::setParameters ( const pointSetNormalization::parameters theParams  )  [virtual]

Set the paramters of the transform estimator used internally.

Parameters:
theParams the new normalization parameters, which will be copied.
Returns:
true on success and false otherwise, e.g. if the internal normalization method and the given parameters do not match.

Reimplemented in lti::monteCarloEstimator.


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