The Fast Fourier Transform (FFT) plays a very important role in image processing and pattern recognition. Since a woven fabric consists of regular repeating units, the FFT is particularly useful for analyzing periodicity, directionality, and spacing of re peating units in the fabric. This paper describes procedures for applying FFT techniques in image processing to identify weave pattern, fabric count, yarn skewness, and other structural characteristics of woven fabrics. A color scanner is used to digitize fabric images (two-dimensional functions in a spatial domain), and a customized software package is used to apply the FFT to the images. A power spectrum image is derived from the FFT of an image, and considered a two-dimensional function in a frequency domain. Peaks in the power spectrum image stand for frequency terms of periodic elements, from which basic weave patterns (e.g., plain, twill, satin, etc.) can be rec ognized. A radial function and an angular function, derived from the power spectrum, are used to measure the coarseness and directionality of the periodic elements. By selecting power peaks in a certain direction to reconstruct the image, warp or weft elements can be extracted to facilitate fabric count and skewness measurements. Fourier filtering, that is, image filtering in the frequency domain, is used to suppress noise and to select features that have a certain range of frequencies. Fabrics with various weave patterns and yarn counts are tested using the FFT techniques.
We present an image processing algorithm customized for high-speed, real-time inspection of pavement cracking. In the algorithm, a pavement image is divided into grid cells of pixels, and each cell is classified as a noncrack or crack cell using the grayscale information of the border pixels. Whether a crack cell can be regarded as a basic element (or seed) depends on its contrast to the neighboring cells. A number of crack seeds can be called a crack cluster if they fall on a linear string. A crack cluster corresponds to a dark strip in the original image that may or may not be a section of a real crack. Additional conditions to verify a crack cluster include the requirements in the contrast, width, and length of the strip. If verified crack clusters are oriented in similar directions, they will be joined to become one crack. Because many operations are performed on crack seeds rather than on the original image, crack detection can be executed simultaneously when the frame grabber is forming a new image, permitting real-time, online pavement surveys. The trial test results show a good repeatability and accuracy when multiple surveys were conducted at different driving conditions.
Loom malfunctions are the main cause of faulty fabric production. A fabric inspection system is a specialized computer vision system used to detect fabric defects for quality assurance. In this research, the proposed fabric defect detection algorithm was developed for an on-loom fabric inspection system by combining techniques image pre-processing, fabric motif determination, candidate defect map generation, and deep leaning. A novel pairwise-potential activation layer was introduced to a convolutional neural network, leading to high accuracies of defect segmentation on fabrics with intricate features and imbalanced dataset. The average precision and recall of detecting defects in the existing images reached, respectively, above 90% and 80% at the pixel level and the accuracy on counting the number of defects from the evaluated dataset exceeded 98%.
With the rapid growth of fashion e-commerce, fashion recommendation has become a main digital marketing tool that is built on customer reviews and ratings. Online review is a powerful source for understanding users’ shopping experiences, preferences and feedbacks on product/item performances, and thus is useful for enhancing personalized recommendations for future purchases. However, most extant fashion recommendation methods lack effective frameworks to integrate local and global aspect representations extracted from customers’ ratings and reviews. In this paper, we proposed an aspect-based fashion recommendation model with attention mechanism (AFRAM) to predict customer ratings based on online reviews of fashion products. This model can extract latent aspect features about users and items separately through two parallel paths of convolutional neural networks (CNN), long short-term memory networks (LSTM), and attention mechanisms. One path processes user reviews and the other copes with item reviews. On each path, CNN and LSTM are both coupled with an attention mechanism to capture local aspect features and global aspect features respectively, which are combined through a mutual operation module. The mutual operations on both paths can enhance the generalization of the AFRAM model. The extracted features from the two paths are further merged to predict users’ ratings. Real-world customer reviews and ratings collected from two renowned business websites were used to train and test AFRAM. The experiment results demonstrate that AFRAM is more effective in customer rating predictions, as compared to several state-of-the-art fashion recommenders.