现代纺织技术 ›› 2024, Vol. 32 ›› Issue (6): 89-96.

• • 上一篇    下一篇

基于改进3E-LDA的织物图像分类算法

  

  1. 1. 浙江理工大学浙江省智能织物与柔性互联重点实验室,杭州 310018;2.浙江省技术创新服务中心,杭州 310007;3. 中国移动通信集团设计院有限公司浙江分公司,杭州310012
  • 出版日期:2024-06-10 网络出版日期:2024-06-17

Fabric image classification algorithm based on improved 3E-LDA

  1. 1. Key Laboratory of Intelligent Textile and Flexible Interconnection of Zhejiang Province, Zhejiang Sci-Tech University, Hangzhou 310018, China;2. Zhejiang Technical Innovation Service Center, Hangzhou 310007, China;3. China Mobile Group Design Institute Co., Ltd. Zhejiang Branch, Hangzhou 310012, China
  • Published:2024-06-10 Online:2024-06-17

摘要: 针对训练样本数太少(训练样本数量小于数据维数)导致的模型分辨能力下降问题,提出了一种基于正则化改进3E-LDA的织物图像分类算法,称为I3E-LDA算法。首先利用类加权中值代替样本均值计算类内散点矩阵,削弱了离群值和噪声的影响。以此作为非参数加权特征提取法对类内散点矩阵进行正则化。然后利用目标组合的方法,通过引入平衡参数对目标函数进行正则化,来保留更具判别性的特征数据。通过不同织物图像间更具判别性的特征数据可以更好地对其区分。结合改进的零空间法解决类内散点矩阵奇异性和小样本问题,从而提高分类准确率。在阿里天池织物数据集和花色织物图像上进行训练和测试,将图像按照正常图像和非正常图形(瑕疵图像)进行区分。实验结果表明,I3E-LDA算法有效实现了织物图像分类,且对于较少的训练样本(20%~40%的样本用于训练)提升了分类精度。

关键词: 线性判别分析, 织物, 图像分类, 正则化, 小样本

Abstract: Textiles are one of the three physical elements of clothing. In recent years, with the development of computer technology, the classification and recognition of fabric images and intelligent manufacturing have played a very important role in the textile field. In the process of production, traditional manual detection methods are still widely used for fabric defect detection, which is time-consuming and laborious, and the efficiency is very low. It is easy to cause false detection and missed detection due to fatigue, and it will also affect the quality and price of textiles. Therefore, the use of digital image processing technology to complete the recognition and classification of fabric images has become a hot issue in recent years.
Relying on machine vision, spots, pits, scratches, color differences and defects on the fabric surface can be detected. Linear discriminant analysis (LDA) is a supervised dimensionality reduction and classification algorithm that can effectively classify fabric images. LDA classifies by calculating the optimal discriminant matrix to minimize the intra-class distance and maximize the inter-class distance. However, LDA is sensitive to outliers, ignores local geometric information and small sample size (SSS), which affects the classification accuracy. The 3E-LDA (three enhancements to linear discriminant analysis) algorithm improves the above three problems on the basis of LDA and improves the classification accuracy. However, when the number of training samples is smaller than the data dimension, it will reduce the model's resolution ability and ultimately affect the classification accuracy.
A fabric image classification algorithm based on improved 3E-LDA, called I3E-LDA algorithm (Improved 3E-LDA), was proposed to address the problem of reduced model resolution caused by training samples being smaller than the data dimension. Firstly, the nonparametric weighted feature extraction (NWFE) method was used to regularize the intra-class scatter matrix, and then the goal combination method was used to introduce equilibrium parameters to regularize the objective function, so as to weaken the influence of outliers and noise, retain more discriminative feature data, and rely on these feature data to better classify fabric images. It is necessary to combine the improved null space learning method to solve the singularity and small sample problems of intra-class scatter matrices and improve classification efficiency, and to train and test on the Alibaba Tianchi fabric dataset and pattern fabric images to distinguish between normal and abnormal patterns (defect images). The experimental results show that the I3E-LDA algorithm effectively achieves fabric image classification, and improves classification accuracy for a small number of training samples (20%-40% of the samples are used for training).

Key words:  , linear discriminant analysis, fabric, image classification, regularization, small sample size

中图分类号: