summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/point_tracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_pt/point_tracker.h')
-rw-r--r--ftnoir_tracker_pt/point_tracker.h5
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;
};
// ----------------------------------------------------------------------------