I am using the KITTI stereo dataset 2012 and 2015 in a research.
But I need some values that I didn't find:
- focal lengths for x and y direction.
- the principal point.
There are some files inside the "calib" folder in dataset. A content example is here (calib/000000.txt):
P0: 7.070912e+02 0.000000e+00 6.018873e+02 0.000000e+00 0.000000e+00 7.070912e+02 1.831104e+02 0.000000e+00 0.000000e+00 0.000000e+00 1.000000e+00 0.000000e+00
P1: 7.070912e+02 0.000000e+00 6.018873e+02 -3.798145e+02 0.000000e+00 7.070912e+02 1.831104e+02 0.000000e+00 0.000000e+00 0.000000e+00 1.000000e+00 0.000000e+00
P2: 7.070912e+02 0.000000e+00 6.018873e+02 4.688783e+01 0.000000e+00 7.070912e+02 1.831104e+02 1.178601e-01 0.000000e+00 0.000000e+00 1.000000e+00 6.203223e-03
P3: 7.070912e+02 0.000000e+00 6.018873e+02 -3.334597e+02 0.000000e+00 7.070912e+02 1.831104e+02 1.930130e+00 0.000000e+00 0.000000e+00 1.000000e+00 3.318498e-03
Following this paper (specifically in section IV, B): http://www.mrt.kit.edu/z/publ/download/2013/GeigerAl2013IJRR.pdf
I got that P is the projection matrix after retification. And i ∈ {0, 1, 2, 3} is the camera index, where 0 represents the left grayscale, 1 the right grayscale, 2 the left color and 3 the right color camera.
But my problem is that I don't know how to find the focal length and the principal point that I need.
Can someone help me?
Thank you all!