Intrinsic Matrix From Calibration Not Matching Documentation

asked 2015-04-30 10:34:54 -0500

jpistorino gravatar image

updated 2015-04-30 20:53:35 -0500

I am trying to calibrate a Logitech c930 HD (1920 x 1080) camera and am getting an intrinsic matrix that does not appear to match what the documentation says I should have.

As I understand and the intrinsic matrix should look like this:

image description

However, the matrix I am getting out of the calibration functions looks like this:

3397.61      0             0

0                3160.85   0

961.02       612.61     1

That matrix appears to be the transpose of the matrix from the documentation. Is it me or the docs that are wrong?

Also, I am getting an RMS and totalAvgErr of 0.1864 and am wondering if all of these numbers are sounding right.

Here is a short code segment where I print out the matrix in a WinForms app.

if((tintrinsic.rows == CALIBRATE_INTRINSIC_ROWS) && (tintrinsic.cols == CALIBRATE_INTRINSIC_COLS))

Any help appreciated. Thanks

edit retag flag offensive close merge delete


How do you calibrate the camera a print the matrix? It looks transposed, so maybe your output is wrong. A function that is as basic as this one is most probably correctly documented.

FooBar gravatar imageFooBar ( 2015-04-30 12:41:57 -0500 )edit

I just edited the question to show a code segment. It seems pretty clear that the code is correct, even though you cannot see the screen layout. If you consider the row that has 2,0; 2,1; 2,2 that row has a 1 in it where it should be but also has two other values that should not be there according to the docs.

jpistorino gravatar imagejpistorino ( 2015-04-30 22:43:03 -0500 )edit