An adjustable coverage range autofocus evaluation function using gradient operator with variable frequency
-
摘要: 针对传统调焦函数对噪声敏感和调焦范围小从而影响自动对焦准确性的问题,提出了一种基于变频梯度的自动对焦评价函数。解决了由于离焦量过大而引起的评价函数调焦范围小的问题,通过改变采样频率实现了评价函数调焦范围的可调性。其中,评价函数采用了带有阈值选取的梯度绝对值算子,提高了评价函数的抗噪性,降低了时间复杂度。分别利用仿真实验和实拍实验对该方法进行验证,实验表明:采用不同采样频率的梯度算子能够兼顾调焦范围广以及灵敏度高的两种特性,并与现有的对焦评价函数进行了比较,通过量化指标说明了该评价函数的运算速度较现有评价函数有较大的提升,证明了所提出方法抗噪性与实时性更好、灵敏度更高、调焦范围可调,同时能够准确评价离焦图像清晰度。Abstract: In the existing automatic focusing systems, the traditional evaluation functions are sensitive to noise and have small focusing range which will affect the accuracy of the auto-focusing results. An autofocus evaluation function based on gradient operator with variable frequency was proposed. It solved the problem that the coverage of the evaluation functions is small when the fuzzy degree is larger by sampling frequency reducing method in the image space. As mentioned above, an absolute value gradient operator with threshold value selection was adopted, which not only improved the noise resistance but also reduced the complexity. Then, the simulation experiments and actual tests were carried out to validate the satisfactory performance of the method. The experimental results indicate that it can meet the characteristics of wide focusing range and high sensitivity at the same time when the gradient operator with different sampling frequencies was used and then compared with the existing traditional methods. The quantitative indicators were used to illustrate that the calculation speed of the evaluation function were improved a lot compared with the existing evaluation function. The autofocus evaluation function proposed was demonstrated has better anti-noise performance and has variable focusing range with high sensitivity and high real-time, which can evaluate the sharpness degree of the images in the process of automatic focus accurately.
-
Key words:
- autofocus /
- gradient operator /
- evaluation function /
- focusing range
-
[1] Feng Huajun, Mao Bangfu, Li qi, et al. An auto-focusing system used for digital imaging[J]. Opto Electronic Engineering, 2004, 31(10):69-72. (in Chinese)冯华君, 毛邦福, 李奇, 等. 一种用于数字成像的自动对焦系统[J]. 光电工程, 2004, 31(10):69-72. [2] Zhu Kongfeng, Jiang Wei, Wang Duanfang, et al. New kind of clarity-evaluation-function of image[J]. Infrared and Laser Engineering, 2005, 34(4):464-468. (in Chinese)朱孔凤, 姜威, 王端芳, 等. 一种新的图像清晰度评价函数[J]. 红外与激光工程, 2005, 34(4):464-468. [3] Groen F C A, Young I T, Ligthart G. A comparison of different focus functions for use in autofocus algorithms[J]. Cytometry, 1985, 6(2):81-91. [4] Mo Chunhong, Liu Bo, Ding Lu, et al. A gradient threshold auto-focus algorithm[J]. Infrared and Laser Engineering, 2014, 43(1):323-327. (in Chinese)莫春红, 刘波, 丁璐, 等. 一种梯度阈值自动调焦算法[J]. 红外与激光工程, 2014, 43(1):323-327. [5] Li Qi. Studies on the theory and implementation method of digital autofocus technology[D]. Hangzhou:Zhejiang University, 2004. (in Chinese)李奇. 数字自动对焦技术的理论及实现方法研究[D]. 杭州:浙江大学, 2004. [6] Xu Guili, Liu Xiaoxia, Tian Yupeng, et al. Image clarity-evaluation-function method[J]. Infrared and Laser Engineering, 2009, 38(1):181-184. (in Chinese)徐贵力, 刘小霞, 田裕鹏, 等. 一种图像清晰度评价方法[J]. 红外与激光工程, 2009, 38(1):181-184. [7] Li Qi, Feng Huajun, Xu Zhihai, et al. Digital image sharpness evaluation function[J]. Acta Photonica Sinica, 2002, 31(6):736-738. (in Chinese)李奇, 冯华君, 徐之海, 等. 数字图像清晰度评价函数研究[J]. 光子学报, 2002, 31(6):736-738. [8] Kang Zongming, Zhang Li, Xie Pan. Implementation of an automation focusing algorithm based on spatial high frequency energy and entropy[J]. Acta Electronica Sinica, 2003, 31(4):552-555. (in Chinese)康宗明, 张利, 谢攀. 一种基于能量和熵的自动聚焦算法[J]. 电子学报, 2003, 31(4):552-555. [9] Zhao Hui, Bao Getang, Tao Wei. Experimental research and analysis of automatic focusing function for imaging measurement[J]. Optics and Precision Engineering, 2004, 12(5):531-536. (in Chinese)赵辉, 鲍歌堂, 陶卫. 图像测量中自动调焦函数的实验研究与分析[J]. 光学精密工程, 2004, 12(5):531-536. [10] Marichal X, Ma W, Zhang H J. Practical issues in pixel-based auto focusing for Machine Vision[C]//IEEE Int Conf Image Processing, 1999, 2:386-390.
计量
- 文章访问数: 358
- HTML全文浏览量: 68
- PDF下载量: 119
- 被引次数: 0