36 #ifndef LIBPOINTMATCHER_POINTTOPOINT_H 37 #define LIBPOINTMATCHER_POINTTOPOINT_H 59 return "Point-to-point error. Based on SVD decomposition. Per \\cite{Besl1992Point2Point}.";
65 virtual TransformationParameters
compute(
const ErrorElements& mPts);
67 virtual T getResidualError(
const DataPoints& filteredReading,
const DataPoints& filteredReference,
const OutlierWeights& outlierWeights,
const Matches&
matches)
const;
73 #endif //LIBPOINTMATCHER_POINTTOPOINT_H Matrix OutlierWeights
Weights of the associations between the points in Matches and the points in the reference.
PointMatcher< T >::Matches Matches
A structure holding data ready for minimization. The data are "normalized", for instance there are no...
PointMatcher< T >::OutlierWeights OutlierWeights
TransformationParameters compute_in_place(ErrorElements &mPts)
static const std::string description()
PointToPointErrorMinimizer()
PointMatcher< T >::ErrorMinimizer::ErrorElements ErrorElements
PointMatcher< T >::ErrorMinimizer ErrorMinimizer
An error minimizer will compute a transformation matrix such as to minimize the error between the rea...
PointMatcherSupport::Parametrizable Parametrizable
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > Matrix
A dense matrix over ScalarType.
PointMatcher< T >::Matrix Matrix
PointMatcher< T >::DataPoints DataPoints
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
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.
Functions and classes that are dependant on scalar type are defined in this templatized class...
Parametrizable::ParametersDoc ParametersDoc
virtual TransformationParameters compute(const ErrorElements &mPts)
Find the transformation that minimizes the error given matched pair of points. This function most be ...
Result of the data-association step (Matcher::findClosests), before outlier rejection.
static T computeResidualError(const ErrorElements &mPts)
The superclass of classes that are constructed using generic parameters. This class provides the para...
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
const std::string className
name of the class
PointMatcher< T >::Vector Vector
Eigen::Matrix< T, Eigen::Dynamic, 1 > Vector
A vector over ScalarType.
PointMatcher< T >::TransformationParameters TransformationParameters
Parametrizable::Parameters Parameters
Matrix TransformationParameters
A matrix holding the parameters a transformation.
virtual T getOverlap() const
If not redefined by child class, return the ratio of how many points were used (with weight) for erro...