首页|期刊导航|成都大学学报(自然科学版)|基于双线性插值和归一化相似度匹配的冲压件缺陷检测方法研究

基于双线性插值和归一化相似度匹配的冲压件缺陷检测方法研究OA

Research on Defect Detection Method for Stamped Parts Based on Bilinear Interpolation and Normalized Similarity Matching

中文摘要英文摘要

针对传统冲压件质量检测算法存在的检测精度不稳定与耗时较长等问题,以某汽车冲压件为研究对象,提出了一种基于双线性插值和归一化相似度匹配的冲压件表面缺陷检测方法.首先,根据汽车冲压件的结构特征,对采集的原始图像进行滤波预处理,并采用双线性插值算法对图像进行缩放处理,以优化图像尺寸参数;其次,通过图像边缘检测和仿射变换技术,实现汽车冲压件图像的倾斜校正;最后,运用去均值归一化相似度匹配算法对采集的汽车冲压件图像进行匹配计算.为验证所提算法的有效性和实用性,基于MATLAB软件构建仿真实验环境,设计了图像倾斜校正实验和抗灰度差异匹配实验.实验结果表明,本方法与传统基于灰度值的归一化相似度匹配算法的良品与非良品的检测精度、良品匹配率和非良品匹配率均高于94%;同时,单个样件匹配时间降低至3.53 s,检测时间仅为传统基于灰度值的归一化相似度匹配算法的30%,显著提升了缺陷检测效率.

In response to the problems of unstable detection accuracy and high time consumption in tradi-tional quality inspection methods for stamped parts,this study proposed a surface defect detection method for automotive stamped parts based on bilinear interpolation and normalized similarity matching.Firstly,according to the structural characteristics of automotive stamped parts,the collected original images were pre-processed through filtering,and the bilinear interpolation algorithm was employed to resize the ima-ges,optimizing their size parameters.Secondly,image edge detection and affine transformation techniques were applied to correct the tilt of the images of the stamped parts.Finally,the mean-removed normalized similarity matching algorithm was utilized to perform matching calculations on the collected the images of stamped parts.To validate the effectiveness and practicality of the proposed algorithm,a simulation envi-ronment was constructed by using MATLAB software.And experiments including image tilt correction and grayscale-difference-resistant matching were designed.The experimental results demonstrated that,the proposed method and the traditional normalized correlation matching algorithm based on grayscale values both achieved a rate of over 94%in detection accuracy,acceptable product matching rate,and defective product matching rate.Additionally,the matching time for a single sample was reduced to 3.53 seconds,and the detection time was reduced to only 30%of that of traditional normalized correlation matching al-gorithm based on grayscale values,significantly improving the defect detection efficiency.

滕浩;吴昊荣;吕秋荣;孙付春;罗瑶;刘唯

成都大学 电子信息与电气工程学院,四川成都 610106成都大学 电子信息与电气工程学院,四川成都 610106成都大学机械工程学院,四川成都 610106成都大学机械工程学院,四川成都 610106成都大学 电子信息与电气工程学院,四川成都 610106成都大学 电子信息与电气工程学院,四川成都 610106

交通工程

汽车冲压件双线性插值归一化相似度缺陷检测

automotive stamped partsbilinear interpolationnormalized similaritydefect detection

《成都大学学报(自然科学版)》 2026 (1)

66-74,9

四川省大学生创新训练计划项目(S202411079012X)

10.3969/j.issn.1004-5422.2026.01.010

评论