Go to the documentation of this file.
90 const int pointsCount(filteredReading.
features.cols());
137 const int pointsCount(filteredReading.
features.cols());
virtual Matches findClosests(const DataPoints &filteredReading)
Find the closest neighbors of filteredReading in filteredReference passed to init()
Matrix Dists
Squared distances to closest points, dense matrix of ScalarType.
#define LOG_INFO_STREAM(args)
virtual void init(const DataPoints &filteredReference)
Init this matcher to find nearest neighbor in filteredReference.
virtual void init(const DataPoints &filteredReference)
Init this matcher to find nearest neighbor in filteredReference.
A matcher links points in the reading to points in the reference.
PointMatcher< T >::Matches Matches
virtual void init(const DataPoints &filteredReference)
Init this matcher to find nearest neighbor in filteredReference.
const NNSearchType searchType
static NearestNeighbourSearch * create(const CloudType &cloud, const Index dim=std::numeric_limits< Index >::max(), const SearchType preferedType=KDTREE_LINEAR_HEAP, const unsigned creationOptionFlags=0, const Parameters &additionalParameters=Parameters())
static constexpr Index InvalidIndex
virtual ~KDTreeVarDistMatcher()
KDTreeMatcher(const Parameters ¶ms=Parameters())
IntMatrix Ids
Identifiers of closest points, dense matrix of integers.
Matrix features
features of points in the cloud
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...
const M::mapped_type & get(const M &m, const typename M::key_type &k)
static constexpr int InvalidId
const NNSearchType searchType
virtual Matches findClosests(const DataPoints &filteredReading)
Find the closest neighbors of filteredReading in filteredReference passed to init()
ConstView getDescriptorViewByName(const std::string &name) const
Get a const view on a descriptor by name, throw an exception if it does not exist.
KDTreeVarDistMatcher(const Parameters ¶ms=Parameters())
static constexpr T InvalidValue
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.
static constexpr T InvalidDist
In case of too few matches the ids are filled with InvalidId.
const std::string maxDistField