diff --git a/applications/calibration/src/stereo.cpp b/applications/calibration/src/stereo.cpp index 30db347eff3cff769f8062475d157cf18c8bab7f..f6ecb594ec5a6597ee6434ba0fe1f1045b8c3135 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--; }