基于分割掩码的背光源工业图像去毛刺方法OA
Backlight industrial image deburring method based on segmentation mask
针对工业环境中工件表面附着尘屑,导致尺寸测量精度下降的问题,提出一种基于分割掩码的背光源工业图像去毛刺方法.为了提升图像细节信息的捕捉与整体结构的还原能力,避免传统形态学方法导致的过度平滑现象,文中首先设计了全局-局部特征提取模块(GLFEM)作为特征融合模块(FFM)的核心;其次,为了降低模型计算复杂度,增强特征表达能力,采用选择注意力部分卷积(SAPC)和综合统计注意力(ISA)机制对关键特征信息进行捕捉;最后,引入了Mask掩码自适应增强模块与改进损失函数,进一步提高了轮廓边缘毛刺的去除效果.实验结果表明,在针对螺纹的5个测量指标中,大径、中径、小径、螺距和螺纹角的平均误差分别为0.000 26 mm、0.004 92 mm、0.005 96 mm、0.000 11 mm和0.073°,与现有深度学习方法相比,所提方法在尺寸测量准确性方面具有显著优势.此外,所提方法不仅解决了精确尺寸测量问题,而且在保持测量精度的同时,其参数量和计算量与现有模型相当,实现了实时性和准确度的平衡,适合在资源受限的工业场景中部署.
Dust particles adhere to the workpiece surface in industrial environments,which leads to a decline in dimensional measurement accuracy.In view of this,the paper proposes a backlight industrial image deburring method based on segmentation masks.To enhance the ability to capture image detail information and restore overall structure while avoiding the excessive smoothing caused by traditional morphological methods,a global-local feature extraction module(GLFEM)is designed as the core of the feature fusion module(FFM).Selective attention partial convolution(SAPC)and integrated statistical attention(ISA)mechanisms are used to capture key feature information to reduce model complexity and enhance feature representation.A mask adaptive enhancement module and an improved loss function are introduced to further enhance the removal of burrs at contour edges.Experimental results show that in the five measurement indicators for threads,the average errors for major diameter,medium diameter,minor diameter,pitch,and thread angle are 0.000 26 mm,0.004 92 mm,0.005 96 mm,0.000 11 mm,and 0.073°,respectively.In comparison with the existing deep learning methods,the proposed method demonstrates significant advantages in dimensional measurement accuracy.Moreover,the proposed method achieves not only the precise dimensional measurement,but also a balance between real-time performance and accuracy,with parameter count and computational complexity comparable to existing models,making it suitable for deployment in resource-constrained industrial environments.
陈雨扬;龚津南;汪俊辉
成都信息工程大学 计算机学院,四川 成都 610225成都信息工程大学 计算机学院,四川 成都 610225成都信息工程大学 计算机学院,四川 成都 610225
信息技术与安全科学
工业图像边缘去毛刺图像复原注意力机制部分卷积图像掩码轻量化模型
industrial imageedge deburringimage restorationattention mechanismpartial convolutionimage masklightweight model
《现代电子技术》 2026 (3)
23-30,8
评论