半导体光电, 2017, 38 (4): 592, 网络出版: 2017-08-30   

采用加权最小二乘准则的影像仪自动对焦方法

Auto-focusing Method of Imaging Instrument by Using Weighted Least Squares Criterion
作者单位
1 中国民航大学 1. 航空地面特种设备科研基地
2 中国民航大学 2. 航空工程学院
3 中国民航大学 3. 电子信息与自动化学院, 天津 300300
摘要
针对影像测量领域中自动对焦方法存在的对焦准确性不高、对焦过程复杂等问题, 提出了一种采用加权最小二乘准则的自动对焦方法。首先, 根据不同种类图像清晰度评价函数的评价特性, 选定对焦过程中所用的图像清晰度评价函数。其次, 在图像清晰度评价函数的基础上进行两阶段对焦, 即粗对焦阶段与精对焦阶段。然后, 分析了加权最小二乘准则中加权系数的确定原则并给出了其具体确定方法。最后, 对精对焦阶段所得清晰度评价值进行归一化处理, 采用加权最小二乘准则进行高斯曲线拟合求取极值, 极值位置即最终正焦平面。实验结果表明: 在步距为0.1mm的条件下, 该方法与现有的洛伦兹(Lorent)、Gauss拟合方法相比, 对焦误差由0.05mm降低到0.02mm, 有效地提高了现有曲线拟合法的对焦准确性。
Abstract
For the poor accuracy and complicated process of auto-focusing method in vision measuring, an auto-focusing method by using weighted least squares criterion is proposed in this paper. First, according to the evaluation characteristics of different types of image-clarity evaluation function, the image-clarity evaluation function used in the process of auto-focusing is selected. Secondly, on the basis of the selected image-clarity evaluation function, there are two stage of auto-focusing, namely rough and fine auto-focusing; then, the principle of determining the weighted coefficient in the weighted least square criterion is analyzed, and the specific method of the weighting coefficient is given. Finally, the value of image-clarity evaluation function of fine auto-focusing stage is normalized. and the weighted least squares is used to obtain the extreme point of Gaussian curve fitting, and the position of extreme point is regard as the ultimately positive focal plane. Experimental result shows that under the condition of step distance of 0.1mm, compared with the existing curve fitting method such as Lorentz curve fitting and Gaussian curve fitting, the proposed method can reduce the focus error from 0.05mm to 0.02mm, and effectively improve the focusing accuracy of existing curve fitting method.
参考文献

[1] 王欣, 安志勇, 杨瑞宁. 基于图像清晰度评价函数的CCD摄像机自动调焦技术研究[J]. 长春理工大学学报, 2008, 31(1): 11-14.

    Wang Xin, An Zhiyong, Yang Ruining. The research of CCD camera auto-focusing technology based on image definition criterion[J]. J. of Changchun University of Science and Technol., 2008, 31(1): 11-14.

[2] 张艳超, 孙强, 赵建. 对数功率谱离焦深度法在多光谱成像仪的应用[J]. 光学精密工程, 2013, 21(3): 767-773.

    Zhang Yanchao, Sun Qiang, Zhao Jian. Application of depth from defocusing based on logarithmic power spectrum to multispectral imager[J]. Opt. Precision Eng., 2013, 21(3): 767-773.

[3] 陈德军. 影像测量仪自动对焦技术的研究与系统开发[D]. 武汉: 华中科技大学, 2007.

    Chen Dejun. Research on auto-focusing of video measuring system and its system developing[D]. Wuhan: Huazhong University of Science and Technol., 2012.

[4] 刘兴宝. 基于数字图像处理的自动对焦技术研究[D]. 绵阳: 中国工程物理研究院, 2007.

    Liu Xingbao. Research on the auto-focusing based on image processing[D]. Mianyang: China Academy of Eng. Phys., 2007.

[5] 韩瑞雨. 基于微零件测量的自动对焦技术研究[D]. 天津: 天津大学, 2012.

    Han Ruiyu. The autofocusing technique based on measuring micro-parts[D]. Tianjin: Tianjin University, 2012.

[6] 付琰. 三维影像测量仪中测量关键技术研究[D]. 合肥: 合肥工业大学, 2012.

    Fu Yan. Key technologies of image measurement in 3D vision measuring system[D]. Hefei: Hefei University of Technol., 2012.

[7] Nasser D, Kehtarnavaz, Hyuk-Joon O. Development and real-time implementation of a rule-based auto-focus algorithm[J]. Real-Time Imaging, 2003, 9(3): 197-203.

[8] Kuo C F J, Chiu C H. Improved auto-focus search algorithms for CMOS image-sensing module[J]. J. of Information Science & Eng., 2011, 27(4): 1377-1393.

[9] 杨波. 加权最小二乘估计中加权系数的确定[J]. 计算机应用, 2002, 12(4): 45-48.

    Yang Bo.Addition coefficient solution of addition least two multiply estimation[J]. J. of Computer Appl., 2002, 12(4): 45-48

[10] 王勇, 谭毅华, 田金文. 一种新的图像清晰度评价函数[J]. 武汉理工大学学报, 2007, 29(3): 124-126.

    Wang Yong, Tan Yihua, Tian Jinwen. A new kind of sharpness-evaluation-function of image[J]. J. of Wuhan University of Technol., 2007, 29(3): 124-126.

[11] 聂凯, 刘文耀, 王晋疆. 基于图像矩函数的图像清晰度评价方法[J]. 传感技术学报, 2013, 26(10): 1401-1403.

    Nie Kai, Liu Wenyao, Wang Jinjiang. Image definition evaluation method based on image moments function[J]. Chinese J. of Sensors and Actuators, 2013, 26(10): 1401-1403.

[12] 于之靖, 王炼, 王威, 等. 一种基于非参数模型的相机内参校准方法[J]. 半导体光电, 2017, 38(2): 288-292.

    Yu Zhijing, Wang Lian, Wang Wei, et al. A method of camera internet calibration based on nonparametric model[J]. Semiconductor Optoelectronics, 2017, 38(2): 288-292.

于之靖, 马凯, 王志军, 吴军, 诸葛晶昌. 采用加权最小二乘准则的影像仪自动对焦方法[J]. 半导体光电, 2017, 38(4): 592. YU Zhijing, MA Kai, WANG Zhijun, WU Jun, ZHUGE Jingchang. Auto-focusing Method of Imaging Instrument by Using Weighted Least Squares Criterion[J]. Semiconductor Optoelectronics, 2017, 38(4): 592.

本文已被 1 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!