使用Opencv进行广角镜校准 [英] Wide angle lenses calibration with Opencv

查看:271
本文介绍了使用Opencv进行广角镜校准的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用广角镜(178º对角FOV),并且尝试使用Opencv校准模块对其进行正确校准.所有的检测和校准过程都工作正常,但结果非常差.

I'm using a wide-angle lens (178º Diagonal FOV ) and I'm trying to calibrate it properly using Opencv Calibration module. All the detection and calibration process are working fine, but the result is very poor.

我尝试了许多不同的配置:

I have tried many different configurations:

  • 一组不同的图像
  • 不同的径向系数数:2,3,4,5甚至6(CV_CALIB_FIX_K1,...,CV_CALIB_FIX_K6)
  • 将主点和切向变形固定为0(CV_CALIB_FIX_ASPECT_RATIO,CV_CALIB_FIX_PRINCIPAL_POINT)
  • 使用预期的焦距作为初始相机矩阵. (CV_CALIB_USE_INTRINSIC_GUESS)

我能得到的最好的结果是:

The best I can get is something like:

关于如何获得良好校准的任何想法? 您认为同时使用两个校准图案还是将圆形网格用作校准图案会有所帮助?

Any ideas about how could I get a good calibration? Do you think using two calibrattion patterns at the same time, or using a circles grid as calibration pattern would help?

我已经在opencv 3.0中看到添加了薄棱镜系数.我没有尝试过,但我认为不会有所作为,对吧?检查过...没事

I've seen in opencv 3.0 thin prism coeffs are added. I haven't tried it, but I don't think there will make a difference, right? Checked it... Nothing

推荐答案

鱼眼镜头具有不同的失真建模.要校准鱼眼镜头,请使用opencv鱼眼镜头模块.参见 opnecv文档.

fisheye lenses have different distortion modelling. For calibrating a fisheye camera, use opencv fisheye module. See opnecv docs.

这篇关于使用Opencv进行广角镜校准的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆