Go to the documentation of this file.
   36 #ifndef __POINTMATCHER_MATCHERS_H 
   37 #define __POINTMATCHER_MATCHERS_H 
   42 #if NABO_VERSION_INT < 10007 
   43         #error "You need libnabo version 1.0.7 or greater" 
   66                         return "Does nothing, returns no match.";
 
   78                         return "This matcher matches a point from the reading to its closest neighbors in the reference.";
 
   83                                 {
"knn", 
"number of nearest neighbors to consider it the reference", 
"1", 
"1", 
"2147483647", &P::Comp<unsigned>},
 
   84                                 {
"epsilon", 
"approximation to use for the nearest-neighbor search", 
"0", 
"0", 
"inf", &P::Comp<T>},
 
   85                                 {
"searchType", 
"Nabo search type. 0: brute force, check distance to every point in the data (very slow), 1: kd-tree with linear heap, good for small knn (~up to 30) and 2: kd-tree with tree heap, good for large knn (~from 30)", 
"1", 
"0", 
"2", &P::Comp<unsigned>},
 
   86                                 {
"maxDist", 
"maximum distance to consider for neighbors", 
"inf", 
"0", 
"inf", &P::Comp<T>}
 
  109                         return "This matcher matches a point from the reading to its closest neighbors in the reference. A maximum search radius per point can be defined.";
 
  114                                 {
"knn", 
"number of nearest neighbors to consider it the reference", 
"1", 
"1", 
"2147483647", &P::Comp<unsigned>},
 
  115                                 {
"epsilon", 
"approximation to use for the nearest-neighbor search", 
"0", 
"0", 
"inf", &P::Comp<T>},
 
  116                                 {
"searchType", 
"Nabo search type. 0: brute force, check distance to every point in the data (very slow), 1: kd-tree with linear heap, good for small knn (~up to 30) and 2: kd-tree with tree heap, good for large knn (~from 30)", 
"1", 
"0", 
"2", &P::Comp<unsigned>},
 
  117                                 {
"maxDistField", 
"descriptor field name used to set a maximum distance to consider for neighbors per point", 
"maxSearchDist"}
 
  138 #endif // __POINTMATCHER_MATCHERS_H 
  
PointMatcher< T >::DataPoints DataPoints
virtual Matches findClosests(const DataPoints &filteredReading)
Find the closest neighbors of filteredReading in filteredReference passed to init()
std::shared_ptr< NNS > featureNNS
Parametrizable::ParameterDoc ParameterDoc
PointMatcher< T >::Matcher Matcher
Parametrizable::Parameters Parameters
Parametrizable::ParametersDoc ParametersDoc
static const std::string description()
virtual void init(const DataPoints &filteredReference)
Init this matcher to find nearest neighbor in filteredReference.
PointMatcherSupport::Parametrizable Parametrizable
virtual void init(const DataPoints &filteredReference)
Init this matcher to find nearest neighbor in filteredReference.
static const std::string description()
A matcher links points in the reading to points in the reference.
PointMatcher< T >::Matches Matches
Nabo::NearestNeighbourSearch< T > NNS
Nearest neighbour search interface, templatized on scalar type.
virtual void init(const DataPoints &filteredReference)
Init this matcher to find nearest neighbor in filteredReference.
const NNSearchType searchType
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
virtual ~KDTreeVarDistMatcher()
KDTreeMatcher(const Parameters ¶ms=Parameters())
Result of the data-association step (Matcher::findClosests), before outlier rejection.
static const ParametersDoc availableParameters()
The superclass of classes that are constructed using generic parameters. This class provides the para...
const NNSearchType searchType
The documentation of a parameter.
static const std::string description()
static const ParametersDoc availableParameters()
virtual Matches findClosests(const DataPoints &filteredReading)
Find the closest neighbors of filteredReading in filteredReference passed to init()
NNS::SearchType NNSearchType
std::shared_ptr< NNS > featureNNS
PointMatcherSupport::Parametrizable P
KDTreeVarDistMatcher(const Parameters ¶ms=Parameters())
virtual Matches findClosests(const DataPoints &filteredReading)
Find the closest neighbors of filteredReading in filteredReference passed to init()
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
const std::string maxDistField
mp2p_icp
Author(s): 
autogenerated on Mon May 26 2025 02:45:49