Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

stereoCalibrate problem

I'm dealing with two cameras and I played CalibrateCamera, it returned me correct distCoeffs, CameraMatrix, tvecs and rvecs values for each camera. The results seemed to be correct

image description

Then I realised that for dealing with 3D triangulation of points I would need stereoCalibrate instead, so I tried it and it doesn't work, it returns zero values for each Output parameter. I verified previously that ImagePoints for each camera were correct but see the results:

image description Why? Because I see the stereoCalibrate returned 0 values for each Output parameter. How can I solve that? Should I use an alternative of using stereoCalibrate?

PD: I'm using the default extra flags or criteria parameters. I'm using version 2.4.6 with mingw with the following documentation http://docs.opencv.org/2.4.6/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#stereocalibrate

stereoCalibrate problemproblem (solved)

SOLUTION: adjust de flags parameter

I'm dealing with two cameras and I played CalibrateCamera, it returned me correct distCoeffs, CameraMatrix, tvecs and rvecs values for each camera. The results seemed to be correct

image description

Then I realised that for dealing with 3D triangulation of points I would need stereoCalibrate instead, so I tried it and it doesn't work, it returns zero values for each Output parameter. I verified previously that ImagePoints for each camera were correct but see the results:

image description Why? Because I see the stereoCalibrate returned 0 values for each Output parameter. How can I solve that? Should I use an alternative of using stereoCalibrate?

PD: I'm using the default extra flags or criteria parameters. I'm using version 2.4.6 with mingw with the following documentation http://docs.opencv.org/2.4.6/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#stereocalibrate