浏览全部资源
扫码关注微信
重庆理工大学 两江人工智能学院,重庆 401147
[ "刘宇涵(1997-),男,重庆忠县人,硕士研究生,2020年于南京工业大学获得学士学位,主要从事机器视觉及图像处理的研究。E-mail: zxlyh1997@2020.cqut.edu.cn" ]
[ "闫 河(1972-),男,陕西勉县人,博士,教授,硕士生导师,主要从事图像多尺度几何分析、目标跟踪、模式识别等的研究。E-mail: cqyanhe@163.com" ]
收稿日期:2021-07-01,
修回日期:2021-08-31,
纸质出版日期:2022-02-15
移动端阅览
刘宇涵,闫河,陈早早等.强噪声下自适应Canny算子边缘检测[J].光学精密工程,2022,30(03):350-362.
LIU Yuhan,YAN He,CHEN Zaozao,et al.Adaptive Canny operator edge detection under strong noise[J].Optics and Precision Engineering,2022,30(03):350-362.
刘宇涵,闫河,陈早早等.强噪声下自适应Canny算子边缘检测[J].光学精密工程,2022,30(03):350-362. DOI: 10.37188/OPE.20223003.0350.
LIU Yuhan,YAN He,CHEN Zaozao,et al.Adaptive Canny operator edge detection under strong noise[J].Optics and Precision Engineering,2022,30(03):350-362. DOI: 10.37188/OPE.20223003.0350.
针对传统Canny算子不能有效滤除图像在解码处理和传输过程产生的椒盐噪声、无法保留边缘细节的问题,提出强噪声下Canny算子图像边缘检测算法。依据椒盐噪声的极值性、灰度差值性,将像元点划分为噪声点、疑似噪声点;根据分类之后的像元点自适应地改变滤波器窗口的大小和权值,在降低噪声影响的同时能较好地保留图像细节。引入8个方向模板的 Sobel算子计算梯度幅值以提高滤波后的边缘定位效果。使用迭代自适应阈值算法与Otsu算法选择最佳阈值,实现阈值自适应设定,提高边缘连接效果。实验结果表明:图像去噪后的结构相似度为0.949,峰值信噪比相较于传统算法提升了10.97 dB。边缘评价指标提高27.2%,F1值提高了34.6%。该算法能有效去除椒盐噪声,具有更好的边缘细节保护能力。
The traditional Canny operator cannot effectively filter out the salt and pepper noise generated during the decoding process and transmission of an image, and cannot retain the edge details. To overcome this, an improved Canny operator image edge detection algorithm for operation under strong noise was proposed. According to the extreme value and gray difference of salt and pepper noise, the pixel points were divided into noise points and suspected noise points. The size and weight of the filter window were adaptively changed according to the pixel points after classification, which could reduce the influence of noise while retaining the image details. Then, the Sobel operators for eight directional templates were introduced to calculate the gradient amplitude to improve the edge positioning effect after filtering. Finally, iterative adaptive threshold algorithm and Otsu algorithm were used to select the best threshold to achieve adaptive threshold setting and improve the edge connection effect. The results of the comparative experiment show that after denoising the noisy image, the structural similarity is 0.949, the peak signal-to-noise ratio is increased by 10.97 dB compared with the traditional algorithm, the average edge evaluation is increased by 27.2%, and the F1 value is increased by 34.6%. The proposed algorithm retains the excellent performance of the Canny operator, can effectively remove salt and pepper noise, and has better edge detail protection capabilities.
孙海英 . 图像高斯噪声及椒盐噪声去噪算法研究 [D]. 上海 : 复旦大学 , 2012 .
SUN H Y . Research on Image Denoising Algorithm of Gaussian Noise and Salt and Pepper Noise [D]. Shanghai : Fudan University , 2012 . (in Chinese)
李彦 , 赵其峰 , 闫河 , 等 . Canny算子在PCBA目标边缘提取中的优化应用 [J]. 光学 精密工程 , 2020 , 28 ( 9 ): 2096 - 2102 . doi: 10.37188/OPE.20202809.2096 http://dx.doi.org/10.37188/OPE.20202809.2096
LI Y , ZHAO Q F , YAN H , et al . Optimized application of canny operator in PCBA target edge extraction [J]. Opt. Precision Eng. , 2020 , 28 ( 9 ): 2096 - 2102 . (in Chinese) . doi: 10.37188/OPE.20202809.2096 http://dx.doi.org/10.37188/OPE.20202809.2096
温广瑞 , 徐斌 , 张志芬 , 等 . 基于差商的油液监测铁谱图像自适应分割 [J]. 光学 精密工程 , 2017 , 25 ( 5 ): 1322 - 1330 . doi: 10.3788/OPE.20172505.1322 http://dx.doi.org/10.3788/OPE.20172505.1322
WEN G R , XU B , ZHANG ZH F , et al . Self-adaptive segmentation of oil monitoring ferrographic image based on difference quotient [J]. Opt. Precision Eng. , 2017 , 25 ( 5 ): 1322 - 1330 . (in Chinese) . doi: 10.3788/OPE.20172505.1322 http://dx.doi.org/10.3788/OPE.20172505.1322
闫河 , 赵其峰 , 谢敏 , 等 . 自适应Canny算子PCBA元器件边缘检测及修复 [J]. 光学学报 , 2021 , 41 ( 5 ): 97 - 104 . doi: 10.3788/aos202141.0515003 http://dx.doi.org/10.3788/aos202141.0515003
YAN H , ZHAO Q F , XIE M , et al . Edge detection and repair of PCBA components based on adaptive canny operator [J]. Acta Optica Sinica , 2021 , 41 ( 5 ): 97 - 104 . (in Chinese) . doi: 10.3788/aos202141.0515003 http://dx.doi.org/10.3788/aos202141.0515003
CANNY J . A computational approach to edge detection [J]. IEEE Transactions on Pattern Analysis and Machine Intelligence , 1986 , 8 ( 6 ): 679 - 698 . doi: 10.1109/tpami.1986.4767851 http://dx.doi.org/10.1109/tpami.1986.4767851
SUN T , GAO C Z . An improved canny edge detection algorithm [J]. Applied Mechanics and Materials , 2013 , 291/292/293/294 : 2869 - 2873 . doi: 10.4028/www.scientific.net/amm.291-294.2869 http://dx.doi.org/10.4028/www.scientific.net/amm.291-294.2869
王冬云 , 唐楚 , 鄂世举 , 等 . 基于导向滤波Retinex和自适应Canny的图像边缘检测 [J]. 光学 精密工程 , 2021 , 29 ( 2 ): 443 - 451 . doi: 10.37188/OPE.20212902.0443 http://dx.doi.org/10.37188/OPE.20212902.0443
WANG D Y , TANG CH , E SH J , et al . Image edge detection based on guided filter Retinex and adaptive Canny [J]. Opt. Precision Eng. , 2021 , 29 ( 2 ): 443 - 451 . (in Chinese) . doi: 10.37188/OPE.20212902.0443 http://dx.doi.org/10.37188/OPE.20212902.0443
刘庆民 , 张蕾 , 李雪 . 基于改进Canny的芯片图像边缘检测算法 [J]. 计算机工程与设计 , 2016 , 37 ( 11 ): 3063 - 3067, 3117 . doi: 10.16208/j.issn1000-7024.2016.11.036 http://dx.doi.org/10.16208/j.issn1000-7024.2016.11.036
LIU Q M , ZHANG L , LI X . Chip image edge detection based on improved Canny algorithm [J]. Computer Engineering and Design , 2016 , 37 ( 11 ): 3063 - 3067, 3117 . (in Chinese) . doi: 10.16208/j.issn1000-7024.2016.11.036 http://dx.doi.org/10.16208/j.issn1000-7024.2016.11.036
罗文婷 , 李中轶 , 李林 , 等 . 基于改进Canny算法的道路标线自动识别及定位 [J]. 西南交通大学学报 , 2018 , 53 ( 6 ): 1253 - 1260 . doi: 10.3969/j.issn.0258-2724.2018.06.022 http://dx.doi.org/10.3969/j.issn.0258-2724.2018.06.022
LUO W T , LI ZH Y , LI L , et al . Automated lane marking identification based on improved canny edge detection algorithm [J]. Journal of Southwest Jiaotong University , 2018 , 53 ( 6 ): 1253 - 1260 . (in Chinese) . doi: 10.3969/j.issn.0258-2724.2018.06.022 http://dx.doi.org/10.3969/j.issn.0258-2724.2018.06.022
段红燕 , 邵豪 , 张淑珍 , 等 . 一种基于Canny算子的图像边缘检测改进算法 [J]. 上海交通大学学报 , 2016 , 50 ( 12 ): 1861 - 1865 . doi: 10.16183/j.cnki.jsjtu.2016.12.009 http://dx.doi.org/10.16183/j.cnki.jsjtu.2016.12.009
DUAN H Y , SHAO H , ZHANG SH ZH , et al . An improved algorithm for image edge detection based on canny operator [J]. Journal of Shanghai Jiao Tong University , 2016 , 50 ( 12 ): 1861 - 1865 . (in Chinese) . doi: 10.16183/j.cnki.jsjtu.2016.12.009 http://dx.doi.org/10.16183/j.cnki.jsjtu.2016.12.009
段锁林 , 殷聪聪 , 李大伟 . 改进的自适应Canny边缘检测算法 [J]. 计算机工程与设计 , 2018 , 39 ( 6 ): 1645 - 1652 . doi: 10.16208/j.issn1000-7024.2018.06.026 http://dx.doi.org/10.16208/j.issn1000-7024.2018.06.026
DUAN S L , YIN C C , LI D W . Improved adaptive Canny edge detection algorithm [J]. Computer Engineering and Design , 2018 , 39 ( 6 ): 1645 - 1652 . (in Chinese) . doi: 10.16208/j.issn1000-7024.2018.06.026 http://dx.doi.org/10.16208/j.issn1000-7024.2018.06.026
李长有 , 陈国玺 , 丁云晋 . 改进Canny算子的边缘检测算法 [J]. 小型微型计算机系统 , 2020 , 41 ( 8 ): 1758 - 1762 . doi: 10.3969/j.issn.1000-1220.2020.08.031 http://dx.doi.org/10.3969/j.issn.1000-1220.2020.08.031
LI CH Y , CHEN G X , DING Y J . Improved edge detection algorithm for Canny operator [J]. Journal of Chinese Computer Systems , 2020 , 41 ( 8 ): 1758 - 1762 . (in Chinese) . doi: 10.3969/j.issn.1000-1220.2020.08.031 http://dx.doi.org/10.3969/j.issn.1000-1220.2020.08.031
黄慧 , 董林鹭 , 何建华 , 等 . 强噪声下改进Canny算法的边缘检测 [J]. 计算机技术与发展 , 2021 , 31 ( 1 ): 83 - 87 . doi: 10.3969/j.issn.1673-629X.2021.01.015 http://dx.doi.org/10.3969/j.issn.1673-629X.2021.01.015
HUANG H , DONG L L , HE J H , et al . Edge detection of an improved canny algorithm under strong noise [J]. Computer Technology and Development , 2021 , 31 ( 1 ): 83 - 87 . (in Chinese) . doi: 10.3969/j.issn.1673-629X.2021.01.015 http://dx.doi.org/10.3969/j.issn.1673-629X.2021.01.015
卞桂平 , 秦益霖 . 基于Canny算法的自适应边缘检测方法 [J]. 电子设计工程 , 2017 , 25 ( 10 ): 53 - 56, 60 . doi: 10.3969/j.issn.1674-6236.2017.10.014 http://dx.doi.org/10.3969/j.issn.1674-6236.2017.10.014
BIAN G P , QIN Y L . An adaptive edge-detection method based on Canny algorithm [J]. Electronic Design Engineering , 2017 , 25 ( 10 ): 53 - 56, 60 . (in Chinese) . doi: 10.3969/j.issn.1674-6236.2017.10.014 http://dx.doi.org/10.3969/j.issn.1674-6236.2017.10.014
王芳 , 满益云 . 基于模糊中值滤波的椒盐噪声去除方法 [J]. 模糊系统与数学 , 2012 , 26 ( 1 ): 166 - 174 . doi: 10.3969/j.issn.1001-7402.2012.01.027 http://dx.doi.org/10.3969/j.issn.1001-7402.2012.01.027
WANG F , MAN Y Y . Salt-and-pepper noise removal based on fuzzy Median filtering [J]. Fuzzy Systems and Mathematics , 2012 , 26 ( 1 ): 166 - 174 . (in Chinese) . doi: 10.3969/j.issn.1001-7402.2012.01.027 http://dx.doi.org/10.3969/j.issn.1001-7402.2012.01.027
朱寒 , 林丽 , 陈德全 , 等 . 基于多方向改进Sobel算子的PCB图像定位校正方法 [J]. 电子测量与仪器学报 , 2019 , 33 ( 9 ): 121 - 128 .
ZHU H , LIN L , CHEN D Q , et al . PCB image orientation rectification method based on multi-directional improved Sobel operator [J]. Journal of Electronic Measurement and Instrumentation , 2019 , 33 ( 9 ): 121 - 128 . (in Chinese)
郑英娟 , 张有会 , 王志巍 , 等 . 基于八方向Sobel算子的边缘检测算法 [J]. 计算机科学 , 2013 , 40 ( S2 ): 354 - 356 . doi: 10.3969/j.issn.1002-137X.2013.z2.088 http://dx.doi.org/10.3969/j.issn.1002-137X.2013.z2.088
ZHENG Y J , ZHANG Y H , WANG ZH W , et al . Edge detection algorithm based on the eight directions sobel operator [J]. Computer Science , 2013 , 40 ( S2 ): 354 - 356 . (in Chinese) . doi: 10.3969/j.issn.1002-137X.2013.z2.088 http://dx.doi.org/10.3969/j.issn.1002-137X.2013.z2.088
WANG Z , BOVIK A C , SHEIKH H R , et al . Image quality assessment: from error visibility to structural similarity [J]. IEEE Transactions on Image Processing , 2004 , 13 ( 4 ): 600 - 612 . doi: 10.1016/j.jvcir.2019.102655 http://dx.doi.org/10.1016/j.jvcir.2019.102655
林卉 , 舒宁 , 赵长胜 . 一种新的基于连通成分的边缘评价方法 [J]. 国土资源遥感 , 2003 , 15 ( 3 ): 37 - 40 . doi: 10.6046/gtzyyg.2003.03.09 http://dx.doi.org/10.6046/gtzyyg.2003.03.09
LIN H , SHU N , ZHAO CH SH . A new edge evaluation method based on connection components [J]. Remote Sensing for Land & Resources , 2003 , 15 ( 3 ): 37 - 40 . (in Chinese) . doi: 10.6046/gtzyyg.2003.03.09 http://dx.doi.org/10.6046/gtzyyg.2003.03.09
ARBELÁEZ P , MAIRE M , FOWLKES C , et al . Contour detection and hierarchical image segmentation [J]. IEEE Transactions on Pattern Analysis and Machine Intelligence , 2011 , 33 ( 5 ): 898 - 916 . doi: 10.1109/tpami.2010.161 http://dx.doi.org/10.1109/tpami.2010.161
0
浏览量
362
下载量
5
CSCD
关联资源
相关文章
相关作者
相关机构