summaryrefslogtreecommitdiffhomepage
path: root/tracker-points/pt-api.hpp
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-03-31 09:40:37 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-12 21:04:36 +0200
commit014044c8b1c563add79e96b174c29933b17bdc95 (patch)
treea6e347e1cb46d4cbdd2ed35eaee7d6d2fd05aa7b /tracker-points/pt-api.hpp
parent8fb094f6a4ab862208fb7289312b0dd47e6f9a47 (diff)
First solveP3P results that are looking consistent.
Translation vector in meters seems to be spot on. Rotation angles still need to be computed. Radial distortion still need to be taken into account.
Diffstat (limited to 'tracker-points/pt-api.hpp')
-rw-r--r--tracker-points/pt-api.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-points/pt-api.hpp b/tracker-points/pt-api.hpp
index a27c7e38..69f74498 100644
--- a/tracker-points/pt-api.hpp
+++ b/tracker-points/pt-api.hpp
@@ -99,7 +99,7 @@ struct pt_point_extractor : pt_pixel_pos_mixin
pt_point_extractor();
virtual ~pt_point_extractor();
- virtual void extract_points(const pt_frame& image, pt_preview& preview_frame, std::vector<vec2>& points) = 0;
+ virtual void extract_points(const pt_frame& image, pt_preview& preview_frame, std::vector<vec2>& points, std::vector<vec2>& imagePoints) = 0;
static f threshold_radius_value(int w, int h, int threshold);
};