From 8ea899e2a8df6038f29a75e535714621e2c3edbf Mon Sep 17 00:00:00 2001 From: Sebastian Hahta <joseha@utu.fi> Date: Thu, 20 Jun 2019 08:26:51 +0300 Subject: [PATCH] bug in non-grid mode --- applications/calibration/src/stereo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/calibration/src/stereo.cpp b/applications/calibration/src/stereo.cpp index 30db347ef..f6ecb594e 100644 --- a/applications/calibration/src/stereo.cpp +++ b/applications/calibration/src/stereo.cpp @@ -28,7 +28,7 @@ void ftl::calibration::stereo(map<string, string> &opt) { Size image_size = Size( getOptionInt(opt, "width", 1280), getOptionInt(opt, "height", 720)); // iterations - int iter = getOptionInt(opt, "iter", 4); + int iter = getOptionInt(opt, "iter", 3); // delay between images double delay = getOptionInt(opt, "delay", 250); // max_error for a single image; if error larger image discarded @@ -189,7 +189,7 @@ void ftl::calibration::stereo(map<string, string> &opt) { } } else { - object_points_grid.push_back(points_ref); + object_points.push_back(points_ref); for (size_t i = 0; i < 2; i++) { image_points[i].push_back(new_points[i]); } iter--; } -- GitLab