光学技术, 2019, 45 (6): 756, 网络出版: 2020-01-08   

基于大津法分割和局部最大梯度的自动聚焦算法

Automatic focusing algorithm based on Otsu segmentation and local maximum gradient
作者单位
山东大学 信息科学与工程学院, 山东 青岛 266200
摘要
针对传统的聚焦评价函数在应用时出现的一些诸如稳定性和精度不足、易受噪声干扰等问题, 提出一种基于大津法分割和局部最大梯度的自动聚焦算法。算法对前背景分割后的图像进行局部梯度计算, 并统计非零系数和计算局部方差, 利用二者变化特性设计一个新的清晰度评价指标以实现数字图像的自动聚焦。实验结果表明, 算法具有高灵敏度、较好的稳定性和较强的抗噪能力。
Abstract
In order to solve the problems of traditional focus evaluation functions such as lack of stability and precision, and vulnerability to noise interference, an automatic focus algorithm based on Otsu method and local maximum gradient is proposed. The algorithm calculates the local gradient of the image after the former background segmentation, and counts the non-zero coefficients and calculates the local variance. Then a new definition value is designed to achieve the automatic focus of the digital image. The experimental results show that the algorithm has high sensitivity, good stability and strong noise resistance.
参考文献

[1] 毕天华, 杜文华. 一种改进的Brenner清晰度评价函数[J]. 电子测量技术,2019,42(09):80-84.

    Bi Tianhuai, Du Wenhua. Improved Brenner definition evaluation function[J]. Electornic Measurement Technology,2019,42(09):80-84.

[2] Mu Nan, Xu Xin, Zhang Xiaolong. Finding autofocus region in low contrast surveillance images using CNN-based saliency algorithm[J]. Pattern Recognition Letters,2019,125:124-132.

[3] Liang Jinbo, Cai Jiefan, Xie Junpeng, et al. Depth-resolved and auto-focus imaging through scattering layer with wavelength compensation[J]. Journal of the Optical Society of America,2019,36(6):944-949.

[4] 徐贵力, 刘小霞, 田裕鹏, 等. 一种图像清晰度评价方法[J]. 红外与激光工程,2009,38(01):180-184.

    Xu Guili, Liu Xiaoxia, Tian Yupeng, et al. Image clarity-evaluation-function method[J]. Infrared and Laser Engineering,2009,38(01):180-184.

[5] 项魁, 高健. 自动对焦过程中图像清晰度评价算法研究[J]. 组合机床与自动化加工技术,2019,(01):52-55.

    Xiang Kui, Gao Jian. Research on the image definition evaluation algorithm in autofocus process[J]. Modular Machine Tool & Automatic Manufacturing Technique,2019,(01):52-55.

[6] Li Hui, Fu Chengyu. An improved focusing algorithm based on image definition evaluation[C]∥Proceedings of Artificial Intelligence, Management Science and Electronic Commerce (AIMSEC).Deng Leng, China: IEEE,2011:3743-3746.

[7] 朱琼瑶. 数字图像处理自动图像聚焦算法的分析和比较[J]. 电子技术与软件工程,2017,(04):91.

    Zhu Qiongyao. Analysis and comparison of automatic image focusing algorithms for digital image processing[J]. Image & Multimedia Technology,2017,(04):91.

[8] 吕美妮, 玉振明. 基于DCT零系数和局部标准差的自动聚焦算法[J]. 激光技术,2018,42(01):66-71.

    Lü Meini, Yu Zhenming. Automatic focusing algorithm based on DCT coefficient of zero and local standard deviation[J]. Laser Technology,2018,42(01):66-71.

[9] 焦萍, 姜威, 贲晛烨, 等. 基于灰度共生矩阵的自动聚焦算法[J]. 光学技术,2018,44(03):273-277.

    Jiao Ping, Jiang Wei, Ben Xianye, et al. Auto-focusing algorithm based on gray level co-occurrence matrix[J]. Optical Technique,2018,44(03):273-277.

[10] 谷元保, 肖加俊. 一种基于图像处理的二次聚焦算法[J]. 长春理工大学学报:自然科学版,2016,39(01):96-100.

    Gu Yuanbao, Xiao Jiajun. A secondary focusing algorithm based on image processing[J]. Journal of Changchun University of Science and Technology:Natural Science Edition,2016,39(01):96-100.

[11] 刘瑞安, 靳世久, 吴晓荣, 等. 视线跟踪系统中CCD摄像机的自适应调节 [J]. 光学精密工程,2007,(06):966-972.

    Liu Ruian, Jin Shijiu, Wu Xiaorong, et al. Adaptive regulation of CCD camera in eye gaze tracking system[J]. Optics and Precision Engineering,2007,(06):966-972.

[12] 梁隆恺, 赵晶, 何勇军. 一种显微镜自动聚焦算法[J]. 哈尔滨理工大学学报,2018,23(02):46-52.

    Liang Longkai, Zhao Jing, He Yongjun. A focusing algorithm in automatic microscope[J]. Journal of Harbin University of Science and Technology,2018,23(02):46-52.

[13] 翟永平, 周东翔, 刘云辉, 等.聚焦函数性能评价指标设计及最优函数选取[J]. 光学学报,2011,31(4):234-244.

    Zhai Yongping, Zhou Dongxiang, Liu Yunhui, et al. Design of evaluation index for autofocusing function and optimal function selection[J]. Acta Optica Sinica,2011,31(4):234-244.

[14] 郭宪军, 赵海旭, 姚新, 等. 声呐图像分割中的改进Otsu算法[J]. 声学与电子工程,2018,(02):1-4+12.

    Guo Xianjun, Zhao Haixu, Yao Xin, et al. Improved Otsu algorithm in sonic image segmentation[J]. Acoustics And Electronics Engineering,2018,(02):1-4+12.

[15] 易三莉, 张桂芳, 贺建峰, 等. 基于最大类间方差的最大熵图像分割[J]. 计算机工程与科学,2018,40(10):1874-1881.

    Yi Sanli, Zhang Guifang, He Jianfeng, et al. Maximun entropy image segmentation based on maximum interclass variance[J]. Computer Engineering & Science,2018,40(10):1874-1881.

[16] 王昕. 含噪声图像的多聚焦融合算法[J]. 光学精密工程,2011,19(12):2977-2984.

    Wang Xin. Multi-focus fusion algorithm for noisy images[J].Optics and Precision Enginnering,2011,19(12):2977-2984.

[17] Shaik Majeeth S, Nelson Kennedy Babu C. Gaussian noise removal in an image using fast guided filter and its method noise thresholding in medical healthcare application[J]. Journal of Medical Systems,2019,43(08):1-9.

[18] 葛广一, 魏振忠. 图像去雾过程中的噪声抑制方法[J]. 红外与激光工程,2014,43(08):2765-2771.

    Ge Guangyi, Wei Zhenzhong. Noise inhibition method during image dehazing process[J]. Infrared and Laser Engineering,2014,43(08):2765-2771.

[19] 高赞. 自动聚焦评价函数的精确度和稳定性研究[D]. 济南:山东大学,2007:44-46.

    Gao Zan. Research on the accuracy and stability of auto-focusing algorithm[D]. Jinan:Shandong University,2007:44-46.

包丞啸, 姜威, 王玉潇. 基于大津法分割和局部最大梯度的自动聚焦算法[J]. 光学技术, 2019, 45(6): 756. BAO Chengxiao, JIANG Wei, WANG Yuxiao. Automatic focusing algorithm based on Otsu segmentation and local maximum gradient[J]. Optical Technique, 2019, 45(6): 756.

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

相关论文

加载中...

关于本站 Cookie 的使用提示

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