Ask Your Question
0

accuracy of *stereoCalibrate()*

asked 2016-03-28 22:32:50 -0600

german_iris gravatar image

updated 2016-03-28 23:41:13 -0600

Hi , I wanna get some advices here to improve the accuracy of stereocalibrate(). I calibrate my cameras very succesfuly , with rms <0.3 , but when I use the same images to do stereocalibrate, I get a very large rms. my result of my experiment is as follow.

image description

so is there someone can give me some tips to improve my stereo calibration's result.

thx ->..<-

Updata: I run stereoCalibrate() using those parameters,

stereoCalibrate(ObjectPoints, imagePointsFirst, imagePointsSec,
    intrMatFirst, distCoeffsFirst, intrMatSec, distCoffesSec,
    imageSize, R, T, E, F, CV_CALIB_FIX_INTRINSIC,
    TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 30, 1e-6));

and calibrate each camera like this,

calibrateCamera(ObjectPoints, imagePoints, imageSize, intrMat, distCoeffs,
    rvecs, tvecs);

and those are parts of my images used for calibrating.

image description image description

update 2:

I grab the images for calibrating the two cameras at the same time. So dose the images used for stereo calibrations.

edit retag flag offensive close merge delete

Comments

Your question is unclear! Add some code & sample images to describe your problem

Balaji R gravatar imageBalaji R ( 2016-03-28 23:11:00 -0600 )edit

I am so sorry I didn't give out some useful informations, now I have updated some codes and images.

german_iris gravatar imagegerman_iris ( 2016-03-28 23:27:41 -0600 )edit
1

According to the documentation, with the flag CV_CALIB_FIX_INTRINSIC only R, T, E , and F matrices are estimated.

What you could try is to test with the flag CV_CALIB_USE_INTRINSIC_GUESS and see if it is better or not.

Check also if you supplied the correct parameters to the function (correct intrinsic matrix for left camera, correct distorsion for left camera, etc.).

Eduardo gravatar imageEduardo ( 2016-03-29 04:19:54 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-29 09:42:12 -0600

Oguzhan gravatar image

try this flag CV_CALIB_CB_ADAPTIVE_THRESH | CV_CALIB_CB_FILTER_QUADS | CV_CALIB_CB_FAST_CHECK

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-28 22:32:50 -0600

Seen: 1,553 times

Last updated: Mar 29 '16