浏览全部资源
扫码关注微信
1.重庆理工大学 计算机科学与工程学院, 重庆 401320
2.重庆理工大学 两江人工智能学院, 重庆 401147
Received:29 April 2020,
Revised:01 June 2020,
Accepted:01 June 2020,
Published:25 September 2020
移动端阅览
Yan LI, Qi-feng ZHAO, He YAN, et al. Optimized application of canny operator in PCBA target edge extraction[J]. Optics and precision engineering, 2020, 28(9): 2096-2102.
Yan LI, Qi-feng ZHAO, He YAN, et al. Optimized application of canny operator in PCBA target edge extraction[J]. Optics and precision engineering, 2020, 28(9): 2096-2102. DOI: 10.37188/OPE.20202809.2096.
为了降低智能手机PCBA电路板元件反光特性对图像灰度产生的干扰,提高边缘连接的完整度,减少伪边缘的数量,本文对传统的canny算子进行改进,用于提取智能手机PCBA电路板的边缘信息。首先,兼顾滤波器去噪与梯度保持特性,使用改进的具有“动态”惩罚因子的引导滤波器替代高斯滤波器,减少边缘点的丢失。然后,使用近邻域局部自适应阈值法取代传统双阈值法,用于解决元件稠密区域存在灰度变化频繁背景与目标差异较小而导致阈值分割不准确的问题。实验结果表明,当滑动窗口保持在19大小时,具有最好的阈值分割效果,伪边缘数量降到最低。本文方法处理后的图像,拥有更完整细化的边缘,伪边缘数量大大减少,局部元件稠密区域,边缘细节得到保留,符合像素级手机PCBA电路板的边缘检测精度要求。
To reduce interference to the grayscale of an image due to the reflective characteristics of the PCBA components in a smartphone
improve the integrity of the edge connection
and reduce the number of false edges
this paper proposes an improvement in the traditional Canny operator to extract the PCBA from smartphone edge information. First
considering the characteristics of filter denoising and gradient retention
the use of improved guide filters with "dynamic" penalty factors instead of Gaussian filters reduces the loss of edge points. Thereafter
the traditional double threshold method is replaced with the nearest neighbor local adaptive threshold
which is used to solve the problem of inaccurate threshold segmentation due to frequent grayscale changes in the dense area of the component and the small difference between the background and the target. Experimental results show that a sliding window of 19 has the best threshold segmentation effect
and the number of false edges is minimized. The image processed by this method has more complete and refined edges
the number of false edges is greatly reduced
and the dense local-component area and edge details are retained
which meets the edge detection accuracy requirements of pixel-level mobile phone PCBAs.
LI J D, ARDESHIR G. On the canny edge detector[J]. Pattern Recognition, 34(3): 721-725.
邓 仕超 , 刘 铁根 , 萧 泽新 . 应用Canny算法和灰度等高线的金相组织封闭边缘提取 . 光学 精密工程 , 2010 . 18 ( 10 ): 2314 - 2323 . http://ope.lightpublishing.cn/thesisDetails?columnId=1751218&Fpath=&index=-1&l=zh http://ope.lightpublishing.cn/thesisDetails?columnId=1751218&Fpath=&index=-1&l=zh .
SH C DENG , T G LIU , Z X XIAO . Metallographic closed edge extraction using Canny algorithm and gray contours . Opt. Precision Eng. , 2010 . 18 ( 10 ): 2314 - 2323 . http://ope.lightpublishing.cn/thesisDetails?columnId=1751218&Fpath=&index=-1&l=zh http://ope.lightpublishing.cn/thesisDetails?columnId=1751218&Fpath=&index=-1&l=zh .
段 红燕 , 邵 豪 , 张 淑珍 , 等 . 一种基于Canny算子的图像边缘检测改进算法 . 上海交通大学学报 , 2016 . 50 ( 12 ): 1861 - 1865 . http://d.wanfangdata.com.cn/periodical/shjtdxxb201612009 http://d.wanfangdata.com.cn/periodical/shjtdxxb201612009 .
Y DUANH , H SHAO , SH Z ZHANG , 等 . An improved image edge detection algorithm based on Canny operator . Journal of Shanghai Jiaotong University , 2016 . 50 ( 12 ): 1861 - 1865 . http://d.wanfangdata.com.cn/periodical/shjtdxxb201612009 http://d.wanfangdata.com.cn/periodical/shjtdxxb201612009 .
王 珏 , 黄 苏红 , 蔡 玉芳 . 改进Canny算法的CT图像环形伪影校正 . 光学 精密工程 , 2011 . 19 ( 11 ): 2767 - 2773 . http://ope.lightpublishing.cn/thesisDetails?columnId=1760407&Fpath=&index=-1&l=zh http://ope.lightpublishing.cn/thesisDetails?columnId=1760407&Fpath=&index=-1&l=zh .
J WANG , S H HUANG , Y F CAI . CT image ring artifact correction based on improved Canny algorithm . Opt. Precision Eng. , 2011 . 19 ( 11 ): 2767 - 2773 . http://ope.lightpublishing.cn/thesisDetails?columnId=1760407&Fpath=&index=-1&l=zh http://ope.lightpublishing.cn/thesisDetails?columnId=1760407&Fpath=&index=-1&l=zh .
李 敏花 , 柏 猛 , 吕 英俊 . 自适应阈值图像边缘检测方法 . 模式识别与人工智能 , 2016 . 29 ( 2 ): 177 - 184 . http://d.wanfangdata.com.cn/periodical/mssbyrgzn201602010 http://d.wanfangdata.com.cn/periodical/mssbyrgzn201602010 .
H LIM , M BAI , Y J LU . Adaptive threshold image edge detection method . Pattern Recognition and Artificial Intelligence , 2016 . 29 ( 2 ): 177 - 184 . http://d.wanfangdata.com.cn/periodical/mssbyrgzn201602010 http://d.wanfangdata.com.cn/periodical/mssbyrgzn201602010 .
杨 学志 , 徐 勇 , 方 静 . 结合区域分割和双边滤波的图像去噪新算法 . 中国图象图形学报 , 2012 . ( 1 ): 43 - 51 . http://www.cqvip.com/QK/90287A/201201/40404589.html http://www.cqvip.com/QK/90287A/201201/40404589.html .
X ZH YANG , Y XU , J FANG . A new image denoising algorithm combining region segmentation and bilateral filtering . Journal of Image and Graphics , 2012 . ( 1 ): 43 - 51 . http://www.cqvip.com/QK/90287A/201201/40404589.html http://www.cqvip.com/QK/90287A/201201/40404589.html .
曾 炫杰 , 陈 强 , 谭 海鹏 , 等 . 基于CUDA的加速双边滤波算法 . 计算机科学 , 2015 . 42 ( S1 ): 163 - 167 . http://d.wanfangdata.com.cn/periodical/jsjkx2015z1039 http://d.wanfangdata.com.cn/periodical/jsjkx2015z1039 .
X J ZENG , Q CHEN , H P TAN , 等 . CUDA-based accelerated bilateral filtering algorithm . Computer Science , 2015 . 42 ( S1 ): 163 - 167 . http://d.wanfangdata.com.cn/periodical/jsjkx2015z1039 http://d.wanfangdata.com.cn/periodical/jsjkx2015z1039 .
唐 路路 , 张 启灿 , 胡 松 . 一种自适应阈值的Canny边缘检测算法 . 光电工程 , 2011 . 38 ( 5 ): 127 - 132 . http://www.cqvip.com/QK/90982A/201105/37736766.html http://www.cqvip.com/QK/90982A/201105/37736766.html .
L L TANG , Q C ZHANG , S HU . An adaptive threshold canny edge detection algorithm . Optoelectronic Engineering , 2011 . 38 ( 5 ): 127 - 132 . http://www.cqvip.com/QK/90982A/201105/37736766.html http://www.cqvip.com/QK/90982A/201105/37736766.html .
龙 建武 , 申 铉京 , 臧 慧 , 等 . 高斯尺度空间下估计背景的自适应阈值分割算法 . 自动化学报 , 2014 . 40 ( 8 ): 1773 - 1782 . http://www.cqvip.com/QK/90250X/201408/661969583.html http://www.cqvip.com/QK/90250X/201408/661969583.html .
J W LONG , X J SHEN , H ZANG , 等 . Adaptive threshold segmentation algorithm for estimating background in Gaussian scale space . Acta Automatica Sinica , 2014 . 40 ( 8 ): 1773 - 1782 . http://www.cqvip.com/QK/90250X/201408/661969583.html http://www.cqvip.com/QK/90250X/201408/661969583.html .
K M HE , J SUN , X O TANG . Guided image filtering . IEEE transactions on pattern analysis and machine intelligence , 2013 . 35 ( 6 ): https://www.researchgate.net/profile/Xiaoou_Tang/publication/236228168_Guided_Image_Filtering/links/54e999640cf27a6de1103c64.pdf https://www.researchgate.net/profile/Xiaoou_Tang/publication/236228168_Guided_Image_Filtering/links/54e999640cf27a6de1103c64.pdf .
Z WANG , 等 . Image quality assessment:from error visibility to structural similarity . IEEE transactions on image processing , 2004 . 13 ( 4 ): 600 - 612 . http://cn.bing.com/academic/profile?id=442d897f72df4a90920ea3279d6024e5&encoded=0&v=paper_preview&mkt=zh-cn http://cn.bing.com/academic/profile?id=442d897f72df4a90920ea3279d6024e5&encoded=0&v=paper_preview&mkt=zh-cn .
靳 鑫 , 蒋 刚毅 , 陈 芬 , 等 . 基于结构相似度的自适应图像质量评价 . 光电子·激光 , 2014 . 25 ( 2 ): 378 - 385 . http://d.wanfangdata.com.cn/thesis/Y1895805 http://d.wanfangdata.com.cn/thesis/Y1895805 .
X JIN , G Y JIANG , F CHEN , 等 . Adaptive image quality evaluation based on structural similarity . Optoelectronics·Laser , 2014 . 25 ( 2 ): 378 - 385 . http://d.wanfangdata.com.cn/thesis/Y1895805 http://d.wanfangdata.com.cn/thesis/Y1895805 .
艾 玲梅 , 任 阳红 . 基于双域滤波与引导滤波的快速医学MR图像去噪 . 光电子·激光 , 2018 . 29 ( 7 ): 787 - 796 .
L M AI , Y H REN . Fast medical MR image denoising based on dual-domain filtering and guided filtering . Optoelectronics·Laser , 2018 . 29 ( 7 ): 787 - 796 .
HU D, TIAN X. A multi-directions algorithm for edge detection based on fuzzy mathematical morphology[C]. International Conference on Artificial Reality & Telexistence-workshops. IEEE , 2007.
0
Views
731
下载量
7
CSCD
Publicity Resources
Related Articles
Related Author
Related Institution