Skip to content
Snippets Groups Projects
Commit 7743fe4f authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Correct incorrect calibration reload

parent feb60b3d
No related branches found
No related tags found
No related merge requests found
Pipeline #10929 passed
...@@ -264,8 +264,8 @@ bool Calibrate::_loadCalibration() { ...@@ -264,8 +264,8 @@ bool Calibrate::_loadCalibration() {
fs["P2"] >> P2; fs["P2"] >> P2;
fs["Q"] >> Q_; fs["Q"] >> Q_;
stereoRectify(M1, D1, M2, D2, img_size, R, T, R1, R2, P1, P2, Q_, /*stereoRectify(M1, D1, M2, D2, img_size, R, T, R1, R2, P1, P2, Q_,
CALIB_ZERO_DISPARITY, -1, img_size, &roi1, &roi2); CALIB_ZERO_DISPARITY, -1, img_size, &roi1, &roi2);*/
Mat map11, map12, map21, map22; Mat map11, map12, map21, map22;
initUndistortRectifyMap(M1, D1, R1, P1, img_size, CV_16SC2, initUndistortRectifyMap(M1, D1, R1, P1, img_size, CV_16SC2,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment