计算机与现代化 ›› 2023, Vol. 0 ›› Issue (05): 86-92.

• 图像处理 • 上一篇    下一篇

融合带权非局部模块的铝型材表面缺陷分类

  

  1. (1.贵州民族大学数据科学与信息工程学院,贵州 贵阳 550025; 2.贵州省模式识别与智能系统重点实验室,贵州 贵阳 550025)
  • 出版日期:2023-06-06 发布日期:2023-06-06
  • 作者简介:王杰(1998—),男,贵州遵义人,硕士研究生,研究方向:统计建模与模式识别,E-mail: 939284639@qq.com;潘凤(1996—),女,贵州习水人,硕士研究生,研究方向:统计建模与模式识,E-mail: 172408874@qq.com; 张艳莎(1997-),女,贵州习水人,硕士研究生,研究方向:统计建模与模式识别,E-mail: 1638292011@qq.com; 谭棉(1984—),女,广西人,高级实验师,硕士,研究方向:统计建模与模式识别、智能计算;E-mail: tanmian@gzmu.edu.cn; 严晓波(1987—),男,贵州安顺人,实验师,硕士,研究方向:统计建模与模式识别,E-mail: xbYan@gzmu.edu.cn; 通信作者:王林(1965—),男,贵州贵阳人,教授,博士,研究方向:计算机数字图像处理,模式识别,E-mail: wanglin@gzmu.edu.cn。
  • 基金资助:
    贵州省科技计划项目(黔科合基础-ZK[2022]一般195); 贵州民族大学自然科学基金资助项目(GZMUZK[2021]YB24); 贵州省青年科技人才成长项目(黔教合KY字[2021]104,黔教合KY字[2022]177)

Surface Defect Classification of Aluminum Profiles with Weighted Non-local Modules

  1. (1. College of Data Science and Information Engineering, Guizhou Minzu University, Guiyang 550025, China;
    2. Key Laboratory of Pattern Recognition and Intelligent System of Guizhou Province, Guiyang 550025, China)
  • Online:2023-06-06 Published:2023-06-06

摘要: 针对铝型材表面缺陷分类任务中存在的极端长宽比、小面积缺陷分类困难问题,提出基于融合带权非局部模块和辅助分类器的表面缺陷分类方法(Fusion of Weighted Non-local Modules and Auxiliary Classifier Networks, FWACNet)。该方法通过提出带权非局部模块,利用点积相似度计算特征图空间上不同位置的相似性,以提升模型捕捉长距离依赖关系及上下文信息的能力;同时考虑到浅层特征中的纹理、边缘等细节信息会影响表面缺陷分类效果,设计深层和浅层特征融合的辅助分类器,以提升模型对浅层特征中细节信息的挖掘能力。为验证所提FWACNet方法的有效性,在公开的铝型材表面缺陷数据集上进行仿真实验,实验结果表明FWACNet较主流分类网络在极端长宽比、小面积的缺陷分类困难的问题上具有一定优势,分类准确率达95.7%。

关键词: 铝型材表面缺陷分类, 带权非局部模块, 特征融合, 辅助分类器

Abstract: To address the issues of extreme aspect ratio and difficult classification of small area defects in the task of aluminum profile surface defect classification, we propose a surface defect classification method named Fusion of Weighted non-local Modules and Auxiliary classifier network (FWACNet). This method proposes a weighted non-local module and uses the dot product similarity to calculate the similarity of different positions in the feature map space to improve the model’s ability to capture long-distance dependencies and contextual information. Meanwhile, we designed an auxiliary classifier to strengthen the mining ability of details in shallow features by integrating deep and shallow features, taking into account the effect of texture, edge, and other details in shallow features on surface defect classification. Finally, we implement simulation experiments on an open data set of aluminum profile surface defects to validate the efficacy of the proposed FWACNet method. The results show that FWACNet outperforms mainstream classification methods in the task of extreme aspect ratio and difficult classification of small area defects, with a classification accuracy of 95.7%.

Key words: classification of surface defects of aluminum profiles, weighted non-local module, feature fusion, auxiliary classifiers