标定工具:---improvedOcamCalib的使用及标定结果

下载toolbox:

这个标定工具也是基于Scaramuzza的鱼眼相机标定模型,并在这个基础上做出了修改,主要时作者在用S的方法进行标定的时候没有得到收敛的效果,我个人在运行MCPTAM中也发现有这种情况,Mean square error一直在减少,并没有converged;

这个toolbox的使用,我个人觉得文件中的readme文件没有讲解的很清楚,看了一下源码和执行过程之后,将readme重新整理如下:

1. 相关论文:Improved wide-angle, fisheye and omnidirectional camera calibration, 阅读了S的原文和这篇论文,个人觉得这篇论文描述的更加详细清楚;
2. 安装:
   Download and extract the original toolbox Scaramuzza_OCamCalib_v3.0 from
   Davide Scaramuzzas Homepage [Link](https://sites.google.com/site/scarabotix/ocamcalib-toolbox/ocamcalib-toolbox-download-page)

   Download this repository and copy the content of the src folder to the main directory of ocam_calib.
   
   You should be asked to replace C_calib_data.m and optimizefunction.m -> click yes.
   The first file contains additional varibles for statistics.
   The second file contains additional code lines to save statistics but is actually not used by the improved toolbox.
3. calibration and test:
   在执行完成第二步后就会发现improvedOcamCalib文件其实作用已经不大了,接下来就在matlab中运行文件夹Scaramuzza_OCamCalib_v3.0_win中的文件,在matlab张将该文件添加到路径,最好不要添加improvedOcamCalib进入路径,在后面查看函数定义的时候会有一点乱;
    
    1. Run ocam_calibUrban.m  !!! (instead of ocam_calib)
    2. press (in that order)
    * read names
    * extract grid corners
    * calibration 
    * non-linear refinement (LM least squares) 
      or robust non-linear refinement (LM least squares with Huber) 
按照这个步骤运行,这中间会遇到交互的问题,主要时参数的设定,如:
EXTRACTION OF THE GRID CORNERS
Do you want to use the automatic image selection
or do you want to process the images individually ( [] = automatic, other = individual )? 
这里虽然提示 [] 代表 automatic, 但是直接输入[] 并不会进入自动部分,检查代码时该变量也并不为空,因此,如果想要完全automatic,直接回车即可;

同时也会遇到标定板参数的设定:
Number of squares along the X direction:
Number of squares along the Y direction:
这里需要输入的内环棋盘格方块的个数,即如果我的棋盘格内角点数位6x8, 那么square number 就是5x7 就是不计算最外层方块的个数;因此这里X输入5,Y输入7;

X coordinate (along height) of the omnidirectional image center:x方向的大小,虽然这里提示along height,但是,最主要的要跟上面填入的标定板的方向一致,即6x8对应图像的640x480, 所以这里填入320x240;
### How to calibrate all test images/cameras at once  ###
1. If not done already, 
   copy the images from FisheyeDataSets to the ocam_calib folder 
2. Download SampleImages.zip from Davide Scaramuzzas Homepage [Link](https://sites.google.com/site/scarabotix/ocamcalib-toolbox/ocamcalib-toolbox-download-page)
3. Run Step1_perform_test_calibrations.m  (this takes quite a while)
   (If you want to run it fully automatic with polynomial order 4, go to
    calibration.m and comment out line 31)
4. Compare results with Step2_compare_results.m

 

1 2/3维图像分割工具箱 2 PSORT粒子群优化工具箱 3 matlab计量工具箱Lesage 4 MatCont7p1 5 matlab模糊逻辑工具箱函数 6 医学图像处理工具箱 7 人工蜂群工具箱 8 MPT3安装包 9 drEEM toolbox 10 DOMFluor Toolbox v1.7 11 Matlab数学建模工具箱 12 马尔可夫决策过程(MDP)工具箱MDPtoolbox 13 国立SVM工具箱 14 模式识别与机器学习工具箱 15 ttsbox1.1语音合成工具箱 16 分数阶傅里叶变换的程序FRFT 17 魔方模拟器与规划求解 18 隐马尔可夫模型工具箱 HMM 19 图理论工具箱GrTheory 20 自由曲线拟合工具箱ezyfit 21 分形维数计算工具箱FracLab 2.2 22 For-Each 23 PlotPub 24 Sheffield大学最新遗传算法工具箱 25 Camera Calibration 像机标定工具箱 26 Qhull(二维三维三角分解、泰森图)凸包工具箱 2019版 27 jplv7 28 MatlabFns 29 张量工具箱Tensor Toolbox 30 海洋要素计算工具箱seawater 31 地图工具箱m_map 32 othercolor配色工具包 33 Matlab数学建模工具箱 34 元胞自动机 35 量子波函数演示工具箱 36 图像局域特征匹配工具箱 37 图像分割graphcut工具箱 38 NSGA-II工具箱 39 chinamap中国地图数据工具箱(大陆地区) 40 2D GaussFit高斯拟合工具箱 41 dijkstra最小成本路径算法 42 多维数据快速矩阵乘法 43 约束粒子群优化算法 44 脑MRI肿瘤的检测与分类 45 Matlab数值分析算法程序 46 matlab车牌识别完整程序 47 机器人工具箱robot-10.3.1 48 cvx凸优化处理工具箱 49 hctsa时间序列分析工具箱 50 神经科学工具箱Psychtoolbox-3-PTB 51 地震数据处理工具CREWES1990版 52 经济最优化工具箱CompEcon 53 基于约束的重构分析工具箱Cobratoolbox 54 Schwarz-Christoffel Toolbox 55 Gibbs-SeaWater (GSW)海洋学工具箱 56 光声仿真工具箱K-Wave-toolbox-1.2.1 57 语音处理工具箱Sap-Voicebox 58 贝叶斯网工具箱Bayes Net Toolbox(BNT) 59 计算机视觉工具箱VFfeat-0.9.21 60 全向相机校准工具箱OCamCalib_v3.0 61 心理物理学数据分析工具箱Palamedes1_10_3 62 生理学研究工具箱EEGLAB 63 磁共振成像处理工具箱CONN 18b 64 matlab 复杂网络工具箱 65 聚类分析工具箱FuzzyClusteringToolbox 66 遗传规划matlab工具箱 67 粒子群优化工具箱 68 数字图像处理工具箱DIPUM Toolbax V1.1.3 69 遗传算法工具箱 70 鱼群算法工具箱OptimizedAFSAr 71 蚁群算法工具箱 72 matlab优化工具箱 73 数据包络分析工具箱 74 图像分割质量评估工具包 75 相关向量机工具箱 76 音频处理工具箱 77 nurbs工具箱 78 Nurbs-surface工具箱 79 grabit数据提取工具箱 80 量子信息工具箱QLib 81 DYNAMO工具箱 82 NEDC循环的整车油耗量 83 PlotHub工具箱 84 MvCAT_Ver02.01 85 Regularization Tools Version 4.1 86 MatrixVB 4.5(含注册) 87 空间几何工具箱 matGeom-1.2.2 88 大数计算工具箱 VariablePrecisionIntegers 89 晶体织构分析工具包 mtex-5.7.0 90 Minimal Paths 2工具箱 91 Matlab数学建模工具
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值