stereoCalibrate for different cameras (rgb and infrared)

做~自己de王妃 提交于 2019-12-03 00:47:22

Can't see your images on Dropbox (why not put your images on stack exchange?), but it seems like the bundle adjustment does not converge. You should try the following:

  1. Calibrate each camera independently using cv::calibrateCamera (link) and get the camera matrix K and distortion coefficients D for each camera.

  2. Estimate the rotation R and the translation T between the two cameras using cv::stereoCalibrate (link) with the estimated K and D and with flags CV_CALIB_USE_INTRINSIC_GUESS and CV_CALIB_FIX_INTRINSIC enabled.

Doing so will decouple the estimation of both camera matrices and distortion coefficients from the estimation of the rotation and translation, which should improve the residual error a lot.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!