diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-12 19:50:00 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-01-12 19:50:00 +0100 |
commit | 488198a4b440936a7fb7fc90c5527a32a0f0b249 (patch) | |
tree | df6447de75e1e4cae0c4a61d8377294791215704 /FTNoIR_Tracker_PT/point_tracker.cpp | |
parent | b83a47cb32443981ce9998b2015f7d310fb72821 (diff) |
Revert "FINALLY fix d_order -> image pos"
This reverts commit 4bfda0171465193476cebb03373ae165ab9e67ab.
Diffstat (limited to 'FTNoIR_Tracker_PT/point_tracker.cpp')
-rw-r--r-- | FTNoIR_Tracker_PT/point_tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_PT/point_tracker.cpp b/FTNoIR_Tracker_PT/point_tracker.cpp index 96d9d972..faac9963 100644 --- a/FTNoIR_Tracker_PT/point_tracker.cpp +++ b/FTNoIR_Tracker_PT/point_tracker.cpp @@ -244,7 +244,7 @@ void PointTracker::POSIT(float fov, int w, int h) for (int i = 0; i < 3; i++)
{
- auto p2 = cv::Point(p[i][0] * w + w/2, -p[i][1] * w + h/2);
+ auto p2 = cv::Point(p[i][0] * w + w/2, -p[i][1] * h + w/2);
img_points.push_back(p2);
}
|