To digital grade the staining color fastness of fabrics after rubbing, an automatic grading method based on spectral reconstruction technology and BP neural network was proposed. Firstly, the modeling samples are prepared by rubbing the fabrics according to the ISO standard of 105-X12. Then, to comply with visual rating standards for color fastness, the modeling samples are professionally graded to obtain the visual rating result. After that, a digital camera is used to capture digital images of the modeling samples inside a closed and uniform lighting box, and the color data values of the modeling samples are obtained through spectral reconstruction technology. Finally, the color fastness prediction model for rubbing was constructed using the modeling samples data and BP neural network. The color fastness level of the testing samples was predicted using the prediction model, and the prediction results were compared with the existing color difference conversion method and gray scale difference method based on the five-fold cross-validation strategy. Experiments show that the prediction model of fabric color fastness can be better constructed using the BP neural network. The overall performance of the method is better than the color difference conversion method and the gray scale difference method. It can be seen that the digital rating method of fabric staining color fastness to rubbing based on spectral reconstruction and BP neural network has high consistency with the visual evaluation, which will help for the automatic color fastness grading.
When taking photos, the illuminant of a scene can bring undesirable color casts to an image and ordinary users mainly rely on automatic white-balance to discount the effect of the illuminant. Since automatic white-balance is a nontrivial problem,many images can be wrongly white-balanced and rendered into standard RGB (sRGB) color space. In this paper, we propose to construct a residual image to correct wrongly white-balanced sRGB images by applying a linear transform matrix on a polynomially expanded image, in which the coefficients are inferred from wrongly white-balanced images by a deep convolutional neural network. The proposed method has been comprehensively investigated and evaluated, and experimental results have shown the superiority of the proposed method.
To overcome the complexity of yarn color measurement using spectrophotometry with yarn winding techniques and to enhance consistency with human visual perception, a yarn color measurement method based on digital photography is proposed. This study employs a photographic colorimetry system to capture digital images of single yarns. The yarn and background are segmented using the K-means clustering algorithm, and the centerline of the yarn is extracted using a skeletonization algorithm. Spectral reconstruction and colorimetric principles are then applied to calculate the color values of pixels along the centerline. Considering the nonlinear characteristics of human brightness perception, the final yarn color is obtained through a nonlinear texture-adaptive weighted computation. The method is validated through psychophysical experiments using six yarns of different colors and compared with spectrophotometry and five other photographic measurement methods. Results indicate that among the seven yarn color measurement methods, including spectrophotometry, the proposed method—based on centerline extraction and nonlinear texture-adaptive weighting—yields results that more closely align with actual visual perception. Furthermore, among the six photographic measurement methods, the proposed method produces most similar to those obtained using spectrophotometry. This study demonstrates the inconsistency between spectrophotometric measurements and human visual perception of yarn color and provides methodological support for developing visually consistent color measurement methods for textured textiles.
<!-- *** Custom HTML *** --> Color constancy algorithms can provide us with illuminant invariant descriptions for a scene, and it is often accomplished by illuminant estimation. Most statistics-based methods estimate the illuminant color from the information provided by all pixels of an image. However, this research reveals that, for most images, the color of many pixels is quite different from the illuminant, and these pixels may severely trim the performance of statistics-based methods. Based on this fact, we propose a color constancy algorithm that finds a subset of image pixels with r, g components similar to those of the illuminant through a shallow neural network, and this subset of pixels is called illuminant close pixels (ICPs). Then the illuminant color is estimated from these pixels by some statistics-based methods. The proposed method has been evaluated and investigated on two benchmark datasets. Compared to using all pixels in an image, these statistics-based methods have been efficiently improved using ICPs.