自适应Canny算子PCBA元器件边缘检测及修复  被引量:19

Edge Detection and Repair of PCBA Components Based on Adaptive Canny Operator

在线阅读下载全文

作  者:闫河 赵其峰 谢敏 李晓玲 Yan He;Zhao Qifeng;Xie Min;Li Xiaoling(Liangjiang Artificial Intelligence Academy,Chongqing University of Technology,Chongqing 401147,China)

机构地区:[1]重庆理工大学两江人工智能学院,重庆401147

出  处:《光学学报》2021年第5期91-98,共8页Acta Optica Sinica

基  金:国家重点研发计划“智能机器人”重点专项项目(2018YFB1308602);国家自然科学基金面上项目(61173184);重庆市自然科学基金(cstc2018jcyjAX0694,cstc2018jcyjA2328)。

摘  要:PCBA(printed circuit board assembly)元器件边缘检测的完整度直接影响装配机器人对元器件尺寸及其间隙的视觉测量精度。针对Canny算子提取密集区域目标边缘存在明显的边缘粘连和断缺现象的问题,提出一种具有高完整度的PCBA元器件边缘检测新方法。首先针对原Canny算子依据像素点灰度值梯度确定的边缘像素点,提出3×3邻域窗自适应阈值非极大值抑制方法,以有效避免密集区相邻边缘粘连;其次依据EPGVF Snake模型参数化后Snake曲线的梯度场,结合边缘保真项,提出边缘是否发生断缺的邻域窗自适应判断方法;最后采用像素置换模板对断缺的边缘像素进行填充,以有效保留细弱边缘、避免断缺发生。实验结果表明,本文方法能有效避免PCBA密集区元器件边缘粘连和细弱边缘断缺,边缘完整度较其他方法提高了约15.5%。The integrity of edge detection of printed circuit board assembly(PCBA)components directly affects the visual measurement accuracy of the size and gap of components obtained by assembly robots.Aiming at the problem that the edges of objects in dense areas extracted by the Canny operator have obvious edge adhesion and missing phenomena,a new method of PCBA component edge detection with high integrity is proposed.First,for the edge pixels determined by the original Canny operator based on the gradient of the pixel gray value,an adaptive threshold non-maximum suppression method with a 3×3 neighborhood window is proposed to effectively avoid the adhesion of adjacent edges in dense areas.Second,based on the gradient field of the Snake curve after parameterization by the EPGVF Snake model,combined with the edge fidelity term,a neighborhood window adaptive judgment method for determining whether the edge is broken is proposed.Finally,a pixel replacement template is used to fill the broken edge pixels to effectively retain the weak edges and avoid breaks.Experimental results show that the proposed method can avoid the adjacent edge adhesion and weak edge missing effectively in the dense area of PCBA,and the integrity of the preserved edge is improved about 15.5%compared to other methods.

关 键 词:机器视觉 边缘检测 CANNY算子 邻域窗自适应阈值 EPGVF Snake模型 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象