[英]How to compute focal lenght of a camera from KITTI dataset
I work on the Kitti dataset of stereo images.我研究立体图像的 Kitti 数据集。 I have the intrinsic matrix given:
我有给定的内在矩阵:
K_l = np.array([9.597910e+02, 0.000000e+00, 6.960217e+02, 0.000000e+00,
9.569251e+02, 2.241806e+02, 0.000000e+00, 0.000000e+00, 1.000000e+00])
How can I compute the focal length from this matrix?如何从这个矩阵计算焦距?
We know that this matrix has the expression:我们知道这个矩阵有表达式:
cam.K = [ -f/d 0 Cx;
0 -f/d Cy;
0 0 1];
Thanks.谢谢。
In the camera matrix f
is normally expressed in pixels, so you must multiply it by a coefficient to retrieve real world coordinates:在相机矩阵中
f
通常以像素表示,因此您必须将其乘以一个系数来检索真实世界坐标:
Fx = fx * W / w Fx = fx * W / w
with:和:
Those informations are available on the camera specs.这些信息可在相机规格中找到。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.