diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-06-15 10:25:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-06-18 18:48:42 +0200 |
commit | d6cec93ae0c277cde38232945079a380980fa163 (patch) | |
tree | 40651d84272a2288642770505ae56fe1e2d50c25 | |
parent | 7d84db6caa0f56f785b9abf7920ca4c58c70a2fd (diff) |
tracker/pt: fix broken commit
Already pushed, damn
-rw-r--r-- | tracker-pt/point_tracker.h | 5 |
1 files changed, 4 insertions, 1 deletions
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<vec2, 3>; + 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 |