32 PM::get().MatcherRegistrar.create(name, params);
33 icp.matcher = testedMatcher;
40 vector<unsigned>
knn = {1, 2, 3};
41 vector<double> epsilon = {0.0, 0.2};
42 vector<double> maxDist = {1.0, 0.5};
44 for(
unsigned i=0; i < knn.size(); i++)
46 for(
unsigned j=0; j < epsilon.size(); j++)
48 for(
unsigned k=0; k < maxDist.size(); k++)
53 params[
"searchType"] =
"1";
57 addFilter(
"KDTreeMatcher",
params);
58 validate2dTransformation();
59 validate3dTransformation();
std::string toParam(const S &value)
Return the a string value using lexical_cast.
void addFilter(string name, PM::Parameters params)
Parametrizable::Parameters Parameters
alias
Functions and classes that are not dependant on scalar type are defined in this namespace.
static const PointMatcher & get()
Return instances.
std::shared_ptr< PM::Matcher > testedMatcher
TEST_F(MatcherTest, KDTreeMatcher)