diff options
author | cathook <b01902109@csie.ntu.edu.tw> | 2014-06-23 18:32:38 +0800 |
---|---|---|
committer | cathook <b01902109@csie.ntu.edu.tw> | 2014-06-23 18:32:38 +0800 |
commit | 68b7b48845f0648a80feb8e5edef87ee335cfd95 (patch) | |
tree | c46c34c50e3111bf7d4acfe6606afd5c00c8d6fe /meowpp.test/inc/autostitch.h | |
parent | bafcb16a9048268c78210c65577ce7ec7b2577d0 (diff) | |
download | meow-68b7b48845f0648a80feb8e5edef87ee335cfd95.tar meow-68b7b48845f0648a80feb8e5edef87ee335cfd95.tar.gz meow-68b7b48845f0648a80feb8e5edef87ee335cfd95.tar.bz2 meow-68b7b48845f0648a80feb8e5edef87ee335cfd95.tar.lz meow-68b7b48845f0648a80feb8e5edef87ee335cfd95.tar.xz meow-68b7b48845f0648a80feb8e5edef87ee335cfd95.tar.zst meow-68b7b48845f0648a80feb8e5edef87ee335cfd95.zip |
clean space
Diffstat (limited to 'meowpp.test/inc/autostitch.h')
-rw-r--r-- | meowpp.test/inc/autostitch.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meowpp.test/inc/autostitch.h b/meowpp.test/inc/autostitch.h index 469889f..68df9c9 100644 --- a/meowpp.test/inc/autostitch.h +++ b/meowpp.test/inc/autostitch.h @@ -51,20 +51,24 @@ private: std::vector<meow::Vector<double> > const* _from; std::vector<meow::Vector<double> > const* _to ; double a_, b_, c_, d_, e_, f_, A_, B_; + double _w, _h; + double r_, ang; public: static meow::Usage usage(); static bool usage(meow::Usage const& usg); MyRansacCheck(); MyRansacCheck(MyRansacCheck const& __rc); MyRansacCheck(std::vector<meow::Vector<double> > const* __from, - std::vector<meow::Vector<double> > const* __to); + std::vector<meow::Vector<double> > const* __to, + double, double, double, double); ~MyRansacCheck(); meow::Vector<double> vCalc(std::vector<meow::FeaturePointIndexPair> const& __sample) const; void rememberVCalc(std::vector<meow::FeaturePointIndexPair> const& __sample); bool ok(meow::FeaturePointIndexPair const& __m) const; double operator()(std::vector<meow::FeaturePointIndexPair> const& __sample, std::vector<meow::FeaturePointIndexPair> const& __data) const; - bool check(double, double); + bool check(); + void print() const; meow::Vector2D<double> to(meow::Vector2D<double> const& __v) const; }; |