diff options
Diffstat (limited to 'meowpp.test/src/autostitch_K_Match.cpp')
-rw-r--r-- | meowpp.test/src/autostitch_K_Match.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meowpp.test/src/autostitch_K_Match.cpp b/meowpp.test/src/autostitch_K_Match.cpp deleted file mode 100644 index d2fe8c6..0000000 --- a/meowpp.test/src/autostitch_K_Match.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include "autostitch.h" - -#include "meowpp/utility.h" - -#include "meowpp/gra/FeaturePointsMatch_K_Match.h" - -#include "meowpp/Usage.h" - -using namespace meow; - -MyK_Match::MyK_Match(){ -} - - -MyK_Match::~MyK_Match(){ -} - - -Usage MyK_Match::usage() const{ - Usage usg; - usg.optionAdd('k', - "k nearest neighbors", - "<number>", stringPrintf("%d", 5), - false); - return usg; -} - -bool MyK_Match::usage(meow::Usage const& usg){ - _body.paramK(atoi(usg.optionValue('k', 0).c_str())); - return true; -} - -FeaturePointIndexPairs MyK_Match::match( - std::vector<std::vector<FeaturePoint<double, double> > > const& fp) { - return _body.match(fp[0][0].description().dimension(), fp); -} |