aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp.test/inc/autostitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'meowpp.test/inc/autostitch.h')
-rw-r--r--meowpp.test/inc/autostitch.h8
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;
};