Error during stereocalibration

asked 2016-04-27 03:22:22 -0600

User gravatar image

updated 2016-04-30 13:49:27 -0600

I streoCalibrate Minoru 3d camera with OpenCV 3.1 and libcamm and I get the following error:

OpenCV Error: One of arguments' values is out of range (The specified aspect ratio (= cameraMatrix[0][0] / cameraMatrix[1][1]) is incorrect) in cvCalibrateCamera2, file /media/DATA1/libs/opencv 3.1/opencv/sources/modules/calib3d/src/calibration.cpp, line 1450 terminate called after throwing an instance of 'cv::Exception' what(): /media/DATA1/libs/opencv 3.1/opencv/sources/modules/calib3d/src/calibration.cpp:1450: error: (-211) The specified aspect ratio (= cameraMatrix[0][0] / cameraMatrix[1][1]) is incorrect in function cvCalibrateCamera2

Though the same code works fine when I do calibration in windows with OpenCV 2.3 with already captured images or standart VideoCapture

edit retag flag offensive close merge delete