由于手机曲面玻璃在生产过程中会产生一些外观缺陷,针对曲面玻璃上缺陷成像难、提取难等问题,提出了一种手机曲面玻璃缺陷检测方法。首先,对曲面玻璃平面部分图像进行形状匹配,并对匹配后的图像进行差分和形态学处理,提取缺陷特征;其次,对曲面玻璃曲边部分图像,使用基于连通域分析和面积阈值分割的缺陷提取算法;再次,对曲面玻璃R角部分图像,采用图像频域增强和对数变换的缺陷提取算法;最后,提取各部分缺陷后,计算得到各类缺陷的特征,通过特征进行缺陷分类,并将得到的缺陷数据与影像测量仪得到的数据进行对比实验。结果表明,该算法能准确提取手机曲面玻璃表面常见的划痕、污点、擦伤和气泡缺陷,并且缺陷尺寸精度测量能达到20μm。
Abstract
Due to some appearance defects in the production process of curved glass of mobile phone, a defect detection method of curved glass of mobile phone was proposed to solve the problems of difficult imaging and extraction of defects on curved glass. Firstly, shape matching was carried out on the curved glass plane images, and the matched images were processed by difference and morphology to extract the defect features. Secondly, a defect extraction algorithm based on connected domain analysis and area threshold segmentation was used for curved glass images. Thirdly, the image frequency domain enhancement and logarithmic transformation defect extraction algorithm were used for the R-angle image of curved glass. Finally, after extracting the defects of each part, the characteristics of all kinds of defects were calculated, and the defects were classified according to the characteristics, and the obtained defect data was compared with the data obtained by the image measurement instrument. The results showed that the algorithm can accurately extract the common scratches, stains, abrasions and bubbles on the curved glass surface of mobile phones, and the size accuracy of the defects can reach 20μm.
关键词
计量学 /
曲面玻璃 /
缺陷提取 /
图像匹配 /
连通域分析 /
图像增强
Key words
metrology /
curved glass /
defect extraction /
image matching /
connected domain analysis /
image enhancement
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1]Martínez S S, Ortega J G, García A S, et al. A sensor planning system for automated headlamp lens inspection [J]. Expert Systems with Applications, 2009, 36(5): 8768-8777.
[2]Martínez S S, Ortega J G, García A S, et al. An expert knowledge based sensor planning system for car headlight lens inspection[C]//Computational Intelligence in Decision and Control-8th International FLINS Conference. 2008.
[3]Martínez S S, Ortega J G, García A S, et al. An automatic procedure to identify the areas of interest for the automated inspection of headlamp lenses[C]//IEEE. Emerging Technologies & Factory Automation, 2010.
[4]Chang Y C, Chang K H, Meng H M, et al. A Novel Multicategory Defect Detection Method Based on the Convolutional Neural Network Method for TFT-LCD Panels [J]. Mathematical Problems in Engineering, 2022, 23(10): 828-833.
[5]Ngo C, Park Y J, Jung J, et al. A new algorithm on the automatic TFT-LCD mura defects inspection based on an effective background reconstruction [J]. Journal of the Society for Information Display, 2017, 25(12): 737-752.
[6]Lou W M, Cao P, Wang F Y, et al. Error analysis and measurement methods of curved optical element surface defects dark-field imaging inspection system based on multi-axis kinematics [J]. Optics Communications, 2022, 52(1): 124-134.
[7]王昌书, 黄沿江, 张宪. 一种基于机器视觉的曲面玻璃划痕缺陷检测方法 [J]. 仪器仪表与检测技术, 2019, 39(1): 134-139.
Wang C S, Huang Y J, Zhang X A, A machine vision based method for detecting scratches and defects in curved glass [J]. Instrumentation and Testing Technology, 2019, 39 (1): 134-139.
[8]国家市场监督管理总局. GB/T 36259-2018触摸屏盖板用高铝硅玻璃 [S].
[9]李颖. 基于机器视觉的手机屏幕缺陷检测研究 [D]. 上海:上海应用技术大学, 2020.
[10]胡万, 张玉金, 张涛, 等. 基于多残差学习与注意力融合的中值滤波检测 [J]. 光电子激光, 2023, 34(1): 81-89.
Hu W, Zhang Y J, Zhang T, et al. Median filtering detection based on multi residual learning and attention fusion [J]. Optoelectron Laser, 2023, 34 (1): 81-89.
[11]曹亮. 基于Otsu理论的图像分割算法研究 [D]. 武汉:武汉理工大学, 2008.
[12]简川霞, 高健. 手机玻璃屏表面缺陷视觉检测方法研究 [J]. 包装工程, 2018, 39(5): 16-21.
Jian C X, Gao J. Research on Visual Inspection Method for Surface Defects of Mobile Phone Glass Screen [J]. Packaging Engineering, 2018, 39 (5): 16-21.
[13]叶琴, 宋东, 曹玉举, 等. 基于模糊差影法的图像信息缺失检测研究 [J]. 计算机仿真, 2023, 40(1): 85-88.
Ye Q, Song D, Cao Y J, et al. Research on Image Information Missing Detection Based on Fuzzy Difference Method [J]. Computer Simulation, 2023, 40 (1): 85-88.
[14]Guerra-Hernández J, Tomé M, González-Ferreiro E. Using low density LiDAR data to map Mediterranean forest characteristics by means of an area-based approach and height threshold analysis [J]. Revista de Teledetección, 2016(46): 12-33.
[15]姚林杰, 王耀斌, 蒋伟. 巴特沃斯高通滤波器的优化设计与仿真实现 [J]. 机电工程技术, 2023, 52(2): 292-296.
Yao L J, Wang Y B, Jiang W, Optimization Design and Simulation Implementation of Butterworth High Pass Filter [J]. Mechanical and Electrical Engineering Technology, 2023, 52 (2): 292-296.
[16]Liu B, Zhou B, Kong J Z, et al. The Cut-Off Frequency of High-Pass Filtering of Strong-Motion Records Based on Transfer Learning [J]. Applied Sciences, 2023, 13(3):1500.
基金
国家市场监督管理总局科技计划项目(2020MK042、2020MK043);浙江省市场监督管理局重大科研项目(20210107);浙江省市场监督管理局雏鹰计划项目(CY2022337)