diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-28 23:03:04 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-28 23:03:04 +0100 |
commit | 2ba54cd3841d41fb3838a3910941c763586414af (patch) | |
tree | ccc28bbbd74754d9d6ed025d1f1f9e2d0e966f4b /ftnoir_tracker_pt/point_tracker.h | |
parent | d2f1591bf4e1999d5a9f5b0a5f179037e57c429b (diff) |
pt: use 3D coordinates for distinguishing points
Issue: #98
Diffstat (limited to 'ftnoir_tracker_pt/point_tracker.h')
-rw-r--r-- | ftnoir_tracker_pt/point_tracker.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/point_tracker.h b/ftnoir_tracker_pt/point_tracker.h index ec852286..c6e73f71 100644 --- a/ftnoir_tracker_pt/point_tracker.h +++ b/ftnoir_tracker_pt/point_tracker.h @@ -72,7 +72,10 @@ private: cv::Vec3f u; // unit vector perpendicular to M01,M02-plane cv::Matx22f P; - void get_d_order(const std::vector<cv::Vec2f>& points, int* d_order) const; + cv::Vec3f d; + + template<typename vec> + void get_d_order(const std::vector<vec>& points, int* d_order, vec d) const; }; // ---------------------------------------------------------------------------- |