summaryrefslogtreecommitdiffhomepage
path: root/tracker-points/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-03-31 21:39:04 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-12 21:04:37 +0200
commitee9a14cd11763bd8fc9be2ebf86deb86d31606e7 (patch)
treea0da1b47d949193fa796cb69688f74eea3896cc4 /tracker-points/ftnoir_tracker_pt.h
parent91e2d96cef04c9d351ff59df4f9243245051f8f7 (diff)
Tracker now providing OpenCV data.
Diffstat (limited to 'tracker-points/ftnoir_tracker_pt.h')
-rw-r--r--tracker-points/ftnoir_tracker_pt.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tracker-points/ftnoir_tracker_pt.h b/tracker-points/ftnoir_tracker_pt.h
index 9b8da4ae..9388bd03 100644
--- a/tracker-points/ftnoir_tracker_pt.h
+++ b/tracker-points/ftnoir_tracker_pt.h
@@ -75,6 +75,19 @@ private:
std::atomic<unsigned> point_count { 0 };
std::atomic<bool> ever_success = false;
mutable QMutex center_lock, data_lock;
+
+ // Translation solutions
+ std::vector<cv::Mat> iTranslations;
+ // Rotation solutions
+ std::vector<cv::Mat> iRotations;
+ // Angle solutions, pitch, yaw, roll, in this order
+ std::vector<cv::Vec3d> iAngles;
+ // The index of our best solution
+ int iBestSolutionIndex = -1;
+ // Best translation
+ cv::Vec3d iBestTranslation;
+ // Best angles
+ cv::Vec3d iBestAngles;
};
} // ns pt_impl