Abstract:Many types and styles of screen printing samples are used in screen printing plate and there are also many targets to be tested on each sample plate, which make the gradient threshold parameter to locate the edge to perform measurement unsuitable. In addition, the method of using the positioning rectangular frame to establish the measurement coordinate system in the traditional visual inspection can cause measurement error. A method for measuring the size of a screen printing template based on machine vision was proposed. A coarse-to-fine measurement strategy was adopted to analyze the information of each type of target to be measured, and the threshold parameters were set in a targeted manner to improve the measurement accuracy. During the measurement process, a hierarchical matching algorithm based on image pyramid and normalized cross-correlation function was used to achieve rough positioning of multiple targets to be measured, and then the threshold parameters obtained by template information statistics were used to perform fine edge positioning to establish local coordinates to complete the measurement. The experimental results showed that the proposed method can effectively improve the measurement accuracy under the same experimental conditions. The average relative error of the improved algorithm is reduced from 4.02% to 1.47%, and the measurement parameters need not be adjusted by users. It is suitable for flexible measurement of different types of screen printing templates.
[1]Malamas E N, Petrakis E G M, Zervakis M, et al. A survey on industrial vision systems applications and tools[J]. Image and Vision Computing, 2003, 21(2): 171-188.
[2]段振云, 王宁, 赵文辉, 等. 基于高斯积分曲线拟合的亚像素边缘提取算法[J]. 计量学报, 2016, 37(4): 371-374.
Duan Z Y, Wang N, Zhao W H, et al. Algorithm of Sub-pixel Edge Detection Based on Gauss Integral Curve Fitting.[J]. Acta Metrologica Sinica, 2016, 37(4): 371-374.
[3]徐平, 薛凌云, 常英杰. 汽车发动机进气歧管高精度亚像素边缘检测[J]. 计量学报, 2018, 39(3): 321-325.
Xu P, Xue L Y, Chang Y J. Subpixel Edge Detection with High Precision for Vehicle Engine Intake Manifolds[J]. Acta Metrologica Sinica, 2018, 39(3): 321-325.
[4]Li B. Research on geometric dimension measurement system of shaft parts based on machine vision[J]. EURASIP Journal on Image and Video Processing, 2018, (1): 101-109.
[5]Zhang W Y, Liu X J, Zhang M. Research on the size measurement of porous parts based on machine vision[C]//2017 12th IEEE Conference on Industrial Electronics and Applications(ICIEA). Siem Reap, Cambodia, 2017.
[6]Song L M, Wang P Q, Chang Y L, et al. A non-contact real-time measurement of lamp dimension based on machine vision[J]. Optoelectronics Letters, 2015, 11(2): 145-148.
[7]刘晓荣, 刘庆民, 李国发. 链板参数的精密视觉测量[J]. 计量学报, 2008, 29(4A): 107-110.
Liu X R, Liu Q M, Li G F. Precision Visual Measurement on Parameters of Chain Board[J]. Acta Metrologica Sinica, 2008, 29(4A): 107-110.
[8]卢蓉, 范勇, 陈念年, 等. 一种提取目标图像最小外接矩形的快速算法[J]. 计算机工程, 2010, 36(21): 178-180.
Lu R, Fan Y, Chen N N, et al. Fast Algorithm for Extracting Minimum Enclosing Rectangle of Target Image[J]. Computer Engineering, 2010, 36(21): 178-180.
[9]李钊宝, 汪新新, 贾茜媛. 基于机器视觉的工件尺寸高精度测量方法[J]. 计算机测量与控制, 2015, 23(6): 1866-1870.
Li Z B, Wang X X, Jia X Y. A Method of High-precision Machine Vision Measurement of Size of Workpiece.[J]. Computer Measurement & Control, 2015,23(6): 1866-1870.
[10]耿欣, 张福民. 计算机图像技术在高温锻件尺寸测量中的应用[J]. 计量学报, 2014,35(1): 13-17.
Geng X, Zhang F M. Application of Computer Image Technology on Size Measurement of High Temperature Forging Workpiece.[J]. Acta Metrologica Sinica, 2014,35(1): 13-17.
[11]王颖, 张玉存. 基于绿激光图像识别的热态大型锻件长度尺寸测量[J]. 计量学报, 2018, 39(3): 30-34.
Wang Y, Zhang Y C. The Length Dimension Measurement for Large Hot Forgings Based on the Recognition of Green Laser.[J]. Acta Metrologica Sinica, 2018, 39(3): 30-34.
[12]Singh A K, Dey V, Rai R N, et al. Weld Bead Geometry Dimensions Measurement based on Pixel Intensity by Image Analysis Techniques[J]. Journal of The Institution of Engineers (India): Series C, 2017:379-384.
[13]林娣, 曾志强, 王俊元, 等. 弹体导带槽宽度两次视觉精确测量方法研究[J]. 计量学报, 2017, 38(2): 149-152.
Lin D, Zeng Z Q, Wang J Y, et al. Research of Two Vision Accurate Measuring Method of Elastomers Conduction Band Groove Width.[J]. Acta Metrologica Sinica, 2017, 38(2): 149-152.
[14]李江昀, 王宇浩, 童朝南. 一种Zernike矩的高精度板材尺寸测量方法[J]. 电子学报, 2015, 43(7): 1432-1436.
Li J Y, Wang Y H, Tong C N. An Accurate Zernike Moment-Oriented Method for Measuring Flat Strip Dimmension.[J]. Acta Metrologica Sinica, 2015, 43(7): 1432-1436.
[15]Wang Y, Yu L, Xie H, et al. Line detection algorithm based on adaptive gradient threshold and weighted mean shift[J]. Multimedia Tools and Applications, 2016, 75(23): 16665-16682.
[16]邢雪亮,甘文波,蒋朝根. 基于机器视觉的航空铆钉尺寸检测技术[J]. 计量学报, 2020, 41(5): 518-523.
Xing X L,Gan W B,Jiang C G. Technology of Size Detection of Air Rivets Based on Machine Vision[J]. Acta Metrologica Sinica, 2020, 41(5): 518-523.
[17]毕超,郝雪,刘孟晨,等. 气膜孔视觉测量系统的设计与搭建[J]. 计量学报, 2020, 41(7): 775-780.
Bi C,Hao X,Liu M C,et al. Design and Establishment of the Machine VisionMeasuring System for Film Cooling Holes[J]. Acta Metrologica Sinica, 2020, 41(7): 775-780.