summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-04 15:07:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-04 15:20:45 +0200
commit6b9f1065b3912c0d92a5b3f32d3907180201303c (patch)
treebbf1fe689e3c502a4d88c3b51f4f05a95c0fb831 /tracker-pt
parent9e80c1b2a51b7f6067d476cfcfd21e2213216a2c (diff)
tracker/pt: lower max dynamic pose distance
Diffstat (limited to 'tracker-pt')
-rw-r--r--tracker-pt/point_tracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-pt/point_tracker.cpp b/tracker-pt/point_tracker.cpp
index d5948c63..a2511118 100644
--- a/tracker-pt/point_tracker.cpp
+++ b/tracker-pt/point_tracker.cpp
@@ -104,8 +104,8 @@ PointTracker::PointOrder PointTracker::find_correspondences_previous(const std::
p.points[2] = project(model.M02, focal_length);
const int diagonal = int(std::sqrt(w*w + h*h));
- constexpr int div = 50;
- const int max_dist = diagonal / div; // 16 pixels for 640x480
+ static constexpr int div = 100;
+ const int max_dist = diagonal / div; // 8 pixels for 640x480
// set correspondences by minimum distance to projected model point
bool point_taken[PointModel::N_POINTS];