From d6cec93ae0c277cde38232945079a380980fa163 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 15 Jun 2017 10:25:12 +0200 Subject: tracker/pt: fix broken commit Already pushed, damn --- tracker-pt/point_tracker.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tracker-pt/point_tracker.h b/tracker-pt/point_tracker.h index 496bcbbe..b867cea4 100644 --- a/tracker-pt/point_tracker.h +++ b/tracker-pt/point_tracker.h @@ -68,6 +68,9 @@ private: // the points in model order using PointOrder = std::array; + bool maybe_use_old_point_order(const PointOrder& order, const CamInfo& info); + PointOrder prev_order, prev_scaled_order; + PointOrder find_correspondences(const vec2* projected_points, const PointModel &model); PointOrder find_correspondences_previous(const vec2* points, const PointModel &model, const CamInfo& info); int POSIT(const PointModel& point_model, const PointOrder& order, f focal_length); // The POSIT algorithm, returns the number of iterations @@ -75,7 +78,7 @@ private: Affine X_CM; // transform from model to camera Timer t; - bool init_phase; + bool init_phase, prev_order_valid; }; } // ns types -- cgit v1.2.3