Calibration problems - reposted with better formatting (hopefully)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Calibration problems - reposted with better formatting (hopefully)

mgfleming53202
I am trying to calibrate a single camera using a series of 10
chessboard images. When I did this with OpenCV and then used the
distortion coefficients to undistort images taken with the same
camera, I got gibberish. So, I took a closer look at the distortion
coefficients.

Here are my results from OpenCV:
Intrinsics:
1.14660566e+04               0.                           2.04579358e+03
0.                                       1.14588232e+04   1.51486438e+03
0.                                       0.                           1

Distortion:
0.41165924 -
31.90976524
3.71374376e-03
-3.90885351e-03
744.66418457

Here is what I get with Bouguet's Matlab toolbox:
11578.1                             0.                            
2014.5
0.                                       11570.6                  
1416.6
0.                                       0.                            
1

Distortion:
0.11679
-2.76960
-0.00072
-0.00582
0.00000

I find it alarming that there is so little agreement between the two,
especially with respect to the distortion coefficients. OpenCV's
distortion coefficients look plain wrong. Any assistance would be much
appreciated. I'm new to OpenCV and am rapidly losing faith -- would
really appreciate some help in sorting this out.

Matthew Fleming