diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-24 14:13:32 +0000 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-24 14:13:32 +0000 |
commit | 30d1bdf2051834b368eb87af6dc4c5da0d962e67 (patch) | |
tree | 8f8e5a9f1838403942c64c6b21944125a9b73709 /ftnoir_tracker_pt | |
parent | c37f43804ed02a303826b7a6e975e005aa621ca1 (diff) |
Revert "pt: calibration X sign needn't inverting"
This reverts commit 1a407734e2b5215df5548480a70562338f85a85d.
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index 56a2991d..fdd59b6d 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -81,7 +81,7 @@ void Tracker::run() { Affine CM = pose(); - cv::Vec3f MH(s.t_MH_x, s.t_MH_y, s.t_MH_z); + cv::Vec3f MH(-s.t_MH_x, s.t_MH_y, s.t_MH_z); cv::Vec3f p = CM.t - MH; float fx = get_focal_length(); cv::Vec2f p_(p[0] / p[2] * fx, p[1] / p[2] * fx); |