The Inspection of Fabric Defects by Using Wavelet Transform

In this study, wavelet transform and an artificial neural network (ANN) are used to inspect four kinds of fabric defect. Multiresolution representation of an image by using wavelet transform is a new and effective approach to the analysis of image information content. The transform can be computed efficiently by a pyramidal algorithm. The result is a set of sub-band images that consist of a lower-resolution version of the original image and a sequence of detail sub-images containing higher-spectral information. Since the transform generates localized spatial and frequency information simultaneously, the location and the kind of fabric defect can be inspected. In this study, we calculate the average and standard deviation for each sub-image as feature parameters for ANN. We explore three basic considerations on the classification rate of fabric-defect inspection consisting of wavelets with various maximum vanishing moments, different numbers of resolution levels, and different scaled-fabric images. The results show that the total classification rate for a wavelet function with a maximum vanishing moment of 4 and resolution levels of 3 can reach 100%, and the different-scaled fabric image does not obviously affect the classification rate.