#include <PointToPoint.h>
Public Types | |
typedef PointMatcher< T > ::DataPoints | DataPoints |
typedef PointMatcher< T > ::ErrorMinimizer::ErrorElements | ErrorElements |
typedef PointMatcher< T > ::ErrorMinimizer | ErrorMinimizer |
typedef PointMatcher< T >::Matches | Matches |
typedef PointMatcher< T >::Matrix | Matrix |
typedef PointMatcher< T > ::OutlierWeights | OutlierWeights |
typedef Parametrizable::Parameters | Parameters |
Parameters stored as a map of string->string. | |
typedef Parametrizable::ParametersDoc | ParametersDoc |
The documentation of all parameters. | |
typedef PointMatcherSupport::Parametrizable | Parametrizable |
typedef PointMatcher< T > ::TransformationParameters | TransformationParameters |
typedef PointMatcher< T >::Vector | Vector |
Public Member Functions | |
virtual TransformationParameters | compute (const ErrorElements &mPts) |
Find the transformation that minimizes the error given matched pair of points. This function most be defined for all new instances of ErrorMinimizer. | |
TransformationParameters | compute_in_place (ErrorElements &mPts) |
virtual T | getOverlap () const |
If not redefined by child class, return the ratio of how many points were used (with weight) for error minimization. | |
virtual T | getResidualError (const DataPoints &filteredReading, const DataPoints &filteredReference, const OutlierWeights &outlierWeights, const Matches &matches) const |
If not redefined by child class, return max value for T. | |
PointToPointErrorMinimizer () | |
PointToPointErrorMinimizer (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Static Public Member Functions | |
static T | computeResidualError (const ErrorElements &mPts) |
static const std::string | description () |
Definition at line 42 of file PointToPoint.h.
typedef PointMatcher<T>::DataPoints PointToPointErrorMinimizer< T >::DataPoints |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 50 of file PointToPoint.h.
typedef PointMatcher<T>::ErrorMinimizer::ErrorElements PointToPointErrorMinimizer< T >::ErrorElements |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 49 of file PointToPoint.h.
typedef PointMatcher<T>::ErrorMinimizer PointToPointErrorMinimizer< T >::ErrorMinimizer |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 55 of file PointToPoint.h.
typedef PointMatcher<T>::Matches PointToPointErrorMinimizer< T >::Matches |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 52 of file PointToPoint.h.
typedef PointMatcher<T>::Matrix PointToPointErrorMinimizer< T >::Matrix |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 54 of file PointToPoint.h.
typedef PointMatcher<T>::OutlierWeights PointToPointErrorMinimizer< T >::OutlierWeights |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 51 of file PointToPoint.h.
typedef Parametrizable::Parameters PointToPointErrorMinimizer< T >::Parameters |
Parameters stored as a map of string->string.
Reimplemented from PointMatcherSupport::Parametrizable.
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 45 of file PointToPoint.h.
typedef Parametrizable::ParametersDoc PointToPointErrorMinimizer< T >::ParametersDoc |
The documentation of all parameters.
Reimplemented from PointMatcherSupport::Parametrizable.
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 46 of file PointToPoint.h.
typedef PointMatcherSupport::Parametrizable PointToPointErrorMinimizer< T >::Parametrizable |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 44 of file PointToPoint.h.
typedef PointMatcher<T>::TransformationParameters PointToPointErrorMinimizer< T >::TransformationParameters |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 48 of file PointToPoint.h.
typedef PointMatcher<T>::Vector PointToPointErrorMinimizer< T >::Vector |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 53 of file PointToPoint.h.
PointToPointErrorMinimizer< T >::PointToPointErrorMinimizer | ( | ) |
Definition at line 43 of file PointToPoint.cpp.
PointToPointErrorMinimizer< T >::PointToPointErrorMinimizer | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Definition at line 49 of file PointToPoint.cpp.
PointMatcher< T >::TransformationParameters PointToPointErrorMinimizer< T >::compute | ( | const ErrorElements & | matchedPoints | ) | [virtual] |
Find the transformation that minimizes the error given matched pair of points. This function most be defined for all new instances of ErrorMinimizer.
Implements PointMatcher< T >::ErrorMinimizer.
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 55 of file PointToPoint.cpp.
PointMatcher< T >::TransformationParameters PointToPointErrorMinimizer< T >::compute_in_place | ( | ErrorElements & | mPts | ) |
Definition at line 62 of file PointToPoint.cpp.
T PointToPointErrorMinimizer< T >::computeResidualError | ( | const ErrorElements & | mPts | ) | [static] |
Definition at line 155 of file PointToPoint.cpp.
static const std::string PointToPointErrorMinimizer< T >::description | ( | ) | [inline, static] |
Reimplemented in PointToPointWithCovErrorMinimizer< T >.
Definition at line 57 of file PointToPoint.h.
T PointToPointErrorMinimizer< T >::getOverlap | ( | ) | const [virtual] |
If not redefined by child class, return the ratio of how many points were used (with weight) for error minimization.
Reimplemented from PointMatcher< T >::ErrorMinimizer.
Definition at line 119 of file PointToPoint.cpp.
T PointToPointErrorMinimizer< T >::getResidualError | ( | const DataPoints & | filteredReading, |
const DataPoints & | filteredReference, | ||
const OutlierWeights & | outlierWeights, | ||
const Matches & | matches | ||
) | const [virtual] |
If not redefined by child class, return max value for T.
Reimplemented from PointMatcher< T >::ErrorMinimizer.
Definition at line 104 of file PointToPoint.cpp.