[1]杨舒,曾寿金,刘震,等.基于Canny和双线性插值的镍片边缘提取算法[J].福建工程学院学报,2022,20(06):567-572.[doi:10.3969/j.issn.1672-4348.2022.06.010]
 YANG Shu,ZENG Shoujin,LIU Zhen,et al.Edge extraction algorithm of nickel sheet based on Canny operator and bilinear interpolation[J].Journal of FuJian University of Technology,2022,20(06):567-572.[doi:10.3969/j.issn.1672-4348.2022.06.010]
点击复制

基于Canny和双线性插值的镍片边缘提取算法()
分享到:

《福建工程学院学报》[ISSN:2097-3853/CN:35-1351/Z]

卷:
第20卷
期数:
2022年06期
页码:
567-572
栏目:
出版日期:
2022-12-25

文章信息/Info

Title:
Edge extraction algorithm of nickel sheet based on Canny operator and bilinear interpolation
作者:
杨舒曾寿金刘震唐辉方宇轩
福建工程学院机械与汽车工程学院
Author(s):
YANG Shu ZENG Shoujin LIU Zhen TANG Hui FANG Yuxuan
School of Mechanical and Automotive Engineering, Fujian University of Technology
关键词:
边缘提取锂电池保护板镍片Canny算子亚像素
Keywords:
edge extraction lithium battery protection plate nickel sheet Canny operator sub-pixel
分类号:
TP16
DOI:
10.3969/j.issn.1672-4348.2022.06.010
文献标志码:
A
摘要:
手机锂电池保护板在生产过程中需要利用视觉检测镍片角度偏差、折叠等各类缺陷,但由于镍片尺寸小且这些缺陷在灯光下会产生不同程度的反光,导致获得的镍片图像边缘不清晰。为此,本研究提出了一种基于Canny算子和双线性插值的高亮镍片边缘提取算法。首先对原始图像分割出感兴趣区域并进行灰度处理,再利用Canny算子提取其像素级边缘,最后用双线性插值法提取其亚像素级边缘。为验证该算法的有效性,将其与工程中常用的Sobel 边缘提取算法进行实验对比,计算边缘内部包含面积的像素数量、等级及边缘提取的时间,判断两类算法在精度和效率上的优劣。实验结果表明,基于Canny 算子和双线性插值的高亮镍片边缘提取算法能精准提取镍片的亚像素边缘,提取的像素精度达到了0.1 pixel,平均边缘提取时间为0.835 s,比Sobel 节省了20.57%的时间,能够满足工业生产的精度需求与效率要求。
Abstract:
In the production process of the lithium battery protection plates of the mobile phone, visual detection has to be used for various defects such as angle deviation, folding and so on. However, due to the small size of the nickel plate and the fact that these defects will produce different degrees of reflection under the light, the edge of the obtained nickel plate image is not clear. Therefore, an algorithm based on Canny operator and bilinear interpolation is proposed to extract the edge of the highlighted nickel sheet. Firstly, the original image was divided into regions of interest (ROI), which would then receive gray-scale processing, and then the pixel-level edges were extracted by Canny operator, and sub-pixel-level edges were extracted by bilinear interpolation. In order to verify the effectiveness of the algorithm, it was compared with Sobel edge extraction algorithm, which is commonly used in engineering, and the number and grade of pixels in the area inside the edge and the time of edge extraction were calculated. The advantages and disadvantages of the two algorithms in accuracy and efficiency were judged. Experimental results show that the edge extraction algorithm based on Canny operator and bilinear interpolation can accurately extract the sub-pixel edge of nickel sheet. The pixel accuracy is up to 0.1pixel, and the average edge extraction time is 0.835 s, which saves 20.57% of time compared with Sobel. The proposed method can meet the precision and efficiency requirements of industrial production.

参考文献/References:

[1] 邓绍刚, 汪艳, 李秀清, 等. 锂电池保护电路的设计[J]. 电子科技, 2006, 19(10):68-72.[2] 陈炜明. 锂电池组充放控制电路保护措施[J]. 中国新技术新产品, 2020(17):56-57.[3] KUMAR M, SINGH N K, KUMAR M, et al. A novel approach of standard data base generation for defect detection in bare PCB[C]∥International Conference on Computing, Communication & Automation. Greater Noida, India: IEEE, 2015: 11-15.[4] 刘浩, 陈再良, 张良. 基于机器学习的刀具表面缺陷检测及分类方法[J]. 计算机测量与控制, 2021, 29(6):64-68.[5] 乔闹生, 邓磊, 曾友兵, 等. 含噪声且较模糊的印刷电路板光电图像边缘检测研究[J]. 光电子 激光, 2013, 24(4):740-745. [6] LIN B, WANG J, YANG X, et al. Defect contour detection of complex structural chips[J]. Mathematical Problems in Engineering, 2021 (3):1-11. [7] HUANG Y, PAN Q, LIU Q, et al. Application of improved canny algorithm on the IC chip pin inspection[J]. Advanced Materials Research, 2011, 317-319:854-858.[8] LIU T H, LI G Q, NIE X N, et al. Enhancement of contour smoothness by substitution of interpolated sub-pixel points for edge pixels[J]. IEEE Access, 2021, 9:44236-44246.[9] 王奉涛, 薛宇航, 王洪涛, 等. GLT-CNN方法及其在航空发动机中介轴承故障诊断中的应用[J]. 振动工程学报, 2019, 32(6):1077-1083. [10] 张文影, 李礼夫. 针对车辆与行人检测的感兴趣区域自适应分割算法[J]. 科学技术与工程, 2020, 20(5):1967-1972. [11] 郑金驹, 李文龙, 王瑜辉, 等. QFP芯片外观视觉检测系统及检测方法[J]. 中国机械工程, 2013, 24(3):290-294, 301.

相似文献/References:

[1]张伟、周利君、夏坚.基于改进Canny算子的建筑裂缝边缘提取方法[J].福建工程学院学报,2021,19(04):330.[doi:10.3969/j.issn.1672-4348.2021.04.004]
 ZHANG Wei,ZHOU Lijun,XIA Jian.Building crack edge extraction method based on improved Canny operator[J].Journal of FuJian University of Technology,2021,19(06):330.[doi:10.3969/j.issn.1672-4348.2021.04.004]

更新日期/Last Update: 2022-12-25