首页 > 解决方案 > 多相机校准 - 立体相机

问题描述

我正在尝试使用校准多立体相机来获得相机姿势的旋转和平移。例如,两个相机实际位移了多少,旋转了多少。

我尝试使用 OpenCV 多相机校准类,

https://docs.opencv.org/master/d2/d1c/tutorial_multi_camera_main.html

但我没有看到正确的旋转和平移矩阵被检索。

我尝试使用 vicalib 的其他工具在我的相机上遇到了集成问题。

是否有任何参考资料可以让我从多相机校准开始。

标签: opencvcomputer-visioncamera-calibrationrotational-matrices

解决方案


OpenCV中有一种相机校准方法。这是c++方法:

C++:双校准相机(InputArrayOfArrays objectPoints,InputArrayOfArrays imagePoints,Size imageSize,InputOutputArray cameraMatrix,InputOutputArray distCoeffs,OutputArrayOfArrays rvecs,OutputArrayOfArrays tvecs,int flags=0,TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS,30,DBL_EPSILON) )

来源和更多文档: https ://docs.opencv.org/2.4/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html


推荐阅读