From 6b9f1065b3912c0d92a5b3f32d3907180201303c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 4 Aug 2016 15:07:04 +0200 Subject: tracker/pt: lower max dynamic pose distance --- tracker-pt/point_tracker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-pt') 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]; -- cgit v1.2.3