OpenCV calibrateCamera function question

asked 2013-07-31 03:04:13 -0500

tenta4 gravatar image

image description

I want to use simple artoolkit marker to calibrate my device. Whan i found marker, i have 4 image points and 4 object points (corners of a square). I use calibrateCamera function for my 4 points to try to get intrinsic parameters. But received focals have too big amplitude (if my real fx = 960, it can calculates as 500 and 3000)

Okay, maybe marker too small (hence the large error of calculation) or four points is too few.

I try to use CV_CALIB_USE_INTRINSIC_GUESS flag, and give the initial approximation of intrinsic parameters. But output matrix is absolutely dependent of initial approximation. It means, that if i give it fx = 500, it's returns fx = 500 +/- 20, if i give it 2000, it returns 2000 +/- 20 Here my questions

  1. How i can improve my calibration results.
  2. Why CV_CALIB_USE_INTRINSIC_GUESS flag set so large dependence from initial value of intrinsic parameters?
edit retag flag offensive close merge delete