summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-28 23:01:39 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-28 23:01:39 +0100
commitd2f1591bf4e1999d5a9f5b0a5f179037e57c429b (patch)
tree663b1c16dbbcae435c3929bf899b31f5aeb98300 /ftnoir_tracker_pt
parentc14c9d42a164d158c495f1064220b22982d5a6ae (diff)
pt: remove dead code
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r--ftnoir_tracker_pt/point_tracker.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ftnoir_tracker_pt/point_tracker.h b/ftnoir_tracker_pt/point_tracker.h
index f9e2d9b9..ec852286 100644
--- a/ftnoir_tracker_pt/point_tracker.h
+++ b/ftnoir_tracker_pt/point_tracker.h
@@ -93,12 +93,6 @@ private:
typedef struct { cv::Vec2f points[PointModel::N_POINTS]; } PointOrder;
static constexpr float focal_length = 1.0f;
- inline cv::Vec2f project(const cv::Vec3f& v_M)
- {
- cv::Vec3f v_C = X_CM * v_M;
- return cv::Vec2f(focal_length*v_C[0]/v_C[2], focal_length*v_C[1]/v_C[2]);
- }
-
PointOrder find_correspondences(const std::vector<cv::Vec2f>& projected_points, const PointModel &model);
int POSIT(const PointModel& point_model, const PointOrder& order); // The POSIT algorithm, returns the number of iterations