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