Research Article  Open Access
Prediction of Color Properties of CellulaseTreated 100% Cotton Denim Fabric
Abstract
Artificial neural network (ANN) model was used for predicting colour properties of 100% cotton denim fabrics, including colour yield (in terms of K/S value) and CIE L*, a*, b*, C*, and h° values, under the influence of cellulase treatment with various combinations of cellulase processing parameters. Variables examined in the ANN model included treatment temperature, treatment time, pH, mechanical agitation, and fabric yarn twist level. The ANN model was compared with a linear regression model where the ANN model produced superior results in the prediction of colour properties of cellulasetreated 100% cotton denim fabrics. The relative importance of the examined factors influencing colour properties was also investigated. The analysis revealed that cellulase treatment processing parameters played an important role in affecting the colour properties of the treated 100% denim cotton fabrics.
1. Introduction
Denim jeans provide durability and vintage look for fashionable appearance which is the reason why they are welcomed by most people over the world. Conventional technologies involve creating designs by fading the colour of fabric by making the use of enzymatic treatment and bleach washing. Among these technologies, enzymatic treatment using cellulase is a commonly used method to achieve good colour fading effect with good fabric softness for 100% cotton denim fabrics. Although this technology could produce the desirable colour effects, there are a number side effects such as (i) difficulty in application, (ii) time consuming in processing, (iii) difficulty in creating standard and reproducible designs, (iv) effect cannot be applied to all textile surfaces, and (v) loss of quality if the process is not carefully controlled [1, 2]. The literature review shows that artificial neural network (ANN) model has been used in many engineering fields [3–5]. In the case of the textile industry, ANN model is mainly used in yarn and fabric technologies [6–10]; no comprehensive ANN model has been used for predicting colour properties of 100% cotton denim material after cellulase treatment. Therefore, in this paper, we use artificial neural network (ANN) model for prediction of colour properties, including colour yield (in terms of K/S value) and CIE L*, a*, b*, C*, and h° values of 100% cotton denim fabrics under the influence of cellulase treatment with the consideration of variables such as treatment temperature, treatment time, pH, mechanical agitation, and fabric yarn twist level.
2. Experimental
2.1. Material
In this study, 100% desized 3/1 right hand twill cotton denim fabrics were used, and their specifications were shown in Table 1.

2.2. Cellulase Treatment
A neutral cellulase enzyme (Lava Cell NNM, supplier: DyStar) in powder form was used for treating the denim fabric. Denim fabric samples (size of 22 cm × 22 cm) were treated with 0.1% cellulase with a liquor ratio of 50 : 1. Different cellulase treatments were conducted according to the different combination of treatment temperature (50°C, 55°C, and 60°C), treatment time (30 minutes, 45 minutes, 60 minutes, 75 minutes, and 90 minutes), mechanical agitation (simulated by 0, 50, and 100 steel balls for no mechanical agitation, mild mechanical agitation and severe mechanical agitation, resp.), and pH value (6, 7, and 8). After cellulase treatment, the denim fabrics were rinsed with deionised water to lower the temperature quickly and to wash away abraded substances attached on fabrics. The denim fabrics were then treated with deionised water at 80°C to deactivate the enzyme action. After that, the denim fabrics were squeezed to remove excessive water and were dried in an oven at a temperature of 70°C for two hours. Then, the denim fabrics were placed for conditioning under standard atmospheric pressure at % relative humidity and temperature of °C for at least 24 hours before further tests.
2.3. Colour Measurement
Colour properties were measured by a spectrophotometer of GretagMacbeth ColorEye 7000A with D65 daylight and 10° standard observer. Four measurements were taken for each fabric sample with 10 mm aperture and specularexcluded mode. The fabric samples were conditioned at °C and relative humidity of % before taking the measurements. K/S sum in terms of summation of individual K/S value over the wavelength from 400 nm to 700 nm was calculated, and K/S sum value can help to determine the colour yield of the fabric samples. In addition, the CIE L*, a*, b*, C*, and h° values were also obtained which represents lightness/darkness, redness/greenness, yellowness/blueness, chroma, and hue, respectively.
2.4. Artificial Neural Network (ANN) Model
After cellulase treatment, six colorrelated data, that is, K/S sum value (colorks), CIE L* value (colorl), CIE a* value (colora), CIE b* value (colorb), CIE C* value (colorc), and CIE h° (colorh) value, were obtained. In order to find the optimal neural network, ANN models having different topologies were formulated. The basic topology of the network is shown in Figure 1. In the ANN model, cellulase treatment processing factors, including treatment temperature (temperature), treatment time (time), pH (pH), and mechanical agitation (MA) were put in the input layer. Besides, fabric yarn twist level (twist) was also an important input node in case of cellulasetreated samples. For the output layer, the six nodes were corresponding to colorks, colorl, colora, colorb, colorc and colorh.
In order to train the ANN model, a typical threelayer network with Bayesian regulation backpropagation was used. It is considered as the most popular learning algorithm for the learning of a multilayered feed forward neural network [11]. For activation function, the sigmoid function is typically used [12], and in this case, was given by
This function can range between 0 and 1 and is differentiable. Figure 2 illustrates the function. Other parameters of the network were set as shown in Table 2.

In addition, determining the number of hidden layers and the number of nodes in each layer is not straightforward and still has not been solved perfectly. There are a number of theoretical results concerning the number of hidden layers in a network. Specifically, HetchtNielsen has shown that a network with two hidden layers can approximate any arbitrary nonlinear function and generate any complex decision region for classification problems [12]. Later, it was shown by Cybenko that a single layer is enough to form an arbitrarily close approximation to any nonlinear decision boundary [13]. Hornik and Stinchombe have come up with a more general theoretical result. They have shown that a single hidden layer feed forward network with arbitrary sigmoid hidden layer activation functions can well approximate an arbitrary mapping from one finite dimensional space to another [11].
Generally speaking, with more nodes in hidden layer, the network’s ability of approximation is increased while the generalization ability is decreased. Therefore, the structure of the ANN is usually decided by experience together with trials [14]. On top of that, the size of the training set and the number of input/output nodes also affect the topology of the optimal neural network [15].
In this study, nine different topologies of the neural network were constructed and tested. According to the experience and practice, considering the fact that the data size and the number of input/output nodes are small, ANN with more than 30 nodes in the hidden layer is not necessary in this case. This is because more nodes cannot get better performance and a lot of training time will be spent, which may be computationally wasteful. Smaller networks require less memory to store the connection weights and can be implemented in hardware easier and more economically. Training a smaller network usually requires less computation because each iteration is computationally less expensive. Smaller networks have also very short propagation delays from their inputs to their outputs. This is very important during the testing phase of the network, where fast responses are usually required. The details of the ANN topology are shown in Table 3.

In the experiment, there were totally 810 datasets for each group. These data were randomly divided into three sets: training (60%), crossvalidation (20%), and test (20%) in order to meet the requirements of both accuracy and generalization.
3. Results and Discussion
3.1. ANN Model
In order to evaluate the effect of ANN model, the MAE (mean absolute error), MSE (mean square error), and RMSE (rooted mean square error) are calculated. These three functions are widely used in evaluating the effect of fitting. Their definitions are as follows: In the function, and are the target output and the ANN predicted output, respectively.
As mentioned before, the whole dataset were divided into training, validation, and test set. After training the networks, the models are expected to be used in large scale prediction works. They were validated by an unseen testing data set to predict the color values. Therefore, besides MAE and MSE, the test error, which is usually a symbol for the robustness and generalization of the model, is also an important factor in judging the quality of neural network.
Besides, some other statistical information was also collected. Detailed results for colour properties, that is, K/S Sum value (colorks), CIE L* (colorl), CIE a* (colora), CIE b* (colorb), CIE C* (colorc) and CIE h° (colorh) values were shown in the Tables 4, 5, 6, 7, 8, and 9, respectively. Here, for simplicity, only the network with the smallest MSE is highlighted as best network model.
 
Network number 7 gives the best performance in the ANN models related to colorks prediction with the smallest MSE of 0.0015. 
 
Network number 6 gives the best performance in the ANN models related to colorl prediction with the smallest MSE of . 
 
Network number 8 gives the best performance in the ANN models related to colora prediction with the smallest MSE of . 
 
Network number 7 gives the best performance in the ANN models related to colorb prediction with the smallest MSE of . 
 
Network number 7 gives the best performance in the ANN models related to colorc prediction with the smallest MSE of . 
 
Network number 6 gives the best performance in the ANN models related to colorh prediction with the smallest MSE of . 
It can be seen from Tables 4 to 9 that for two hidden layer neural networks, the train errors are normally smaller than one hidden layer network. However, it does not matter for the test error. On the other hand, the one layer network can also perform well in test error, which means it is more robust in most cases. From the Tables 4 to 9, it can also note that in ANN model, the relative error distributes mostly in 0–5%, which is an acceptable range.
3.2. The Relative Importance of the Input Variables
In order to find out the relative importance of these five input variables, an additional experiment was performed. In this experiment, all the input variables were remained except one designated. Then, the MAE, MSE, and other statistical information of the new ANN model were calculated and further compared with the optimized one. Here, for simplicity, the increase in the MSE value was treated as the indicator of the importance of the excluded input. The results are shown in Table 10.

It can be seen that the five input variables are all of great importance. Among them, fabric yarn twist level is the most significant one. This is because if all the process parameters are kept constant, the twist level in the yarn would affect the penetration of cellulase into the fabric to function the colour fading effect. A high level of twist in a yarn holds the fibres together and hence restricts the access of water to the yarn interior. Therefore, such a high yarn twist level would affect the cellulase absorption during the treatment. For other four variables in the process, treatment temperature plays a key role followed by treatment time, mechanical agitation, and pH. Treatment temperature is the most important factor on cellulase (enzyme) treatment because enzyme reaction increases with temperature but it is only activated within a temperature range in which the enzyme structure maintains stable and unchanged. Beyond this optimum range, the enzyme activity will decrease sharply as the protein structure of enzyme is tangled through thermal agitation. Longer enzyme treatment time will prolong enzymatic degradation of cellulose and the time for further abrasion. With a longer treatment time, cellulase effectively hydrolyses fragments of cotton fibrils [16], and thus the fabric would be less fuzzy than the original [17]. Therefore, shorter treatment time with enzyme can preserve desired colour depth in denim fabrics. The level of mechanical action is altered by a varying number of steel balls applied in enzyme treatment. By increasing the number of steel balls applied, the abrasion of the fabric surface will increase which creates more accessible sites for enzyme attack. Denim fabric treated under no agitation has lighter shade than that treated with mild and vigorous agitation. It is because the cellulose fibres are weakened after treating with enzyme alone and are not well removed by mechanical agitation, [17]. The surface of fabric becomes more hairy and forming a layer of fuzz on surface [18]. For specimen treated under vigorous agitation, a biopolishing effect is obtained. The weaken fibres are well removed by strong mechanical agitation, and thus a cleaner and smoother surface is resulted which produce a lighter shade of fabric as dye particles are also removed with cellulose fibres. For specimen treated with mild agitation (50 steel balls), the situation is between zero agitation and vigorous agitation. Mild agitation is not strong enough to remove as many weaken surface fibres as vigorous agitation can, thus, rather, an uneven surface is produced under mild agitation. The uneven surface causes higher light diffusion on surface, and thus darker shade of specimen is resulted as they achieve lower reflectance on surface. Enzyme performs its maximal activity at a particular range of pH values. Deviation of the optimum pH range will alter the internal structure of enzyme due to the electrostatic interactions within the enzyme. Thus, the enzyme will no longer perform its normal function. As observed from Table 10, there is an increase in MSE when compared with the values in the optimized ANN model as shown in Tables 4 to 9. This means, if comparing them with normal models, removing some input variables may enhance the quality of ANN model. This is possible and reasonable because our experiment data is not sufficient enough. More variables in the input layer may cause the ANN to be overfitting.
3.3. Linear Regression (LR) Model
In this study, a traditional linear regression (LR) model was also established for the sake of comparison with ANN model. In general, response variable y may be related to k regressor variables. The function is shown in as follows:
The parameters are called the regression coefficients. This model describes a hyperplane in kdimensional space of the regressor variables. The method of least square is typically used to estimate the regression coefficients in a multiple linear regression model. Here, the linear regression model is applied in aforementioned experiment data [19, 20]. The results are shown in Table 11.

When comparing the ANN model and the LR model, it is evident that the predictive power of the ANN model is better than the LR model. From Table 11, all the evaluation numbers are obviously much greater than those of Tables 4 to 9, which mean that applying LR model for prediction in the recent case is worse than ANN model. Figures 3, 4, 5, 6, 7 and 8 depict the comparison graphically.
(a)
(b)
(a)
(b)
(a)
(b)
(a)
(b)
(a)
(b)
(a)
(b)
4. Conclusion
In the paper, colour properties of 100% cotton denim fabrics, including colour yield (in terms of K/S value), CIE L*, a*, b*, C*, and h° values, after cellulase enzyme treatment were predicted by using both ANN and LR models. Several statistical tests were conducted to examine the performance of these experiments and models. Experimental results revealed that changes in the number of nodes of the neural network model affected the performance of the model. Results also reflected that the colour properties could be predicted accurately with the help of the ANN model. These prediction results demonstrated the usefulness of cellulase treatment before coloring and might find good applications for future use by the textile industry. When a comparison was made between ANN and LR models, the LR model did not perform well in the experiment due to limitations of the model itself.
Acknowledgment
The Authors would like to acknowledge the financial support from The Hong Kong Polytechnic University for this work.
References
 Z. Gao, L. Zhang, and J. Zhao, “Application of laser technology in textile industry,” Journal of Textile Research, vol. 27, no. 8, pp. 117–120, 2006. View at: Google Scholar
 Z. Ondogan, O. Pamuk, E. N. Ondogan, and A. Ozguney, “Improving the appearance of all textile products from clothing to home textile using laser technology,” Optics and Laser Technology, vol. 37, no. 8, pp. 631–637, 2005. View at: Publisher Site  Google Scholar
 L. C. Chang, F. J. Chang, and H. C. Hsu, “Realtime reservoir operation for flood control using artificial intelligent techniques,” International Journal of Nonlinear Sciences and Numerical Simulation, vol. 11, no. 11, pp. 887–902, 2010. View at: Google Scholar
 T. W. Lau, P. C. L. Hui, F. S. F. Ng, and K. C. C. Chan, “A new fuzzy approach to improve fashion product development,” Computers in Industry, vol. 57, no. 1, pp. 82–92, 2006. View at: Publisher Site  Google Scholar
 L. Wu, K. L. Yick, S. P. Ng, J. Yip, and K. H. Kong, “Parametric design and process parameter optimization for bra cup molding via response surface methodology,” Expert Systems With Applications, vol. 39, pp. 162–171, 2012. View at: Google Scholar
 R. Beltran, L. Wang, and X. Wang, “Measuring the influence of fibretofabric properties on the pilling of wool fabrics,” Journal of the Textile Institute, vol. 97, no. 3, pp. 197–204, 2006. View at: Publisher Site  Google Scholar
 J. Fan and L. Hunter, “A worsted fabric expert system. II. An artificial neural network model for predicting the properties of worsted fabrics,” Textile Research Journal, vol. 68, no. 10, pp. 763–771, 1998. View at: Google Scholar
 P. K. Majumdar and A. Majumdar, “Predicting the breaking elongation of ring spun cotton yarns using mathematical, statistical, and artificial neural network models,” Textile Research Journal, vol. 74, no. 7, pp. 652–655, 2004. View at: Google Scholar
 C. M. Murrells, X. M. Tao, B. G. Xu, and K. P. S. Cheng, “An artificial neural network model for the prediction of spirality of fully relaxed single jersey fabrics,” Textile Research Journal, vol. 79, no. 3, pp. 227–234, 2009. View at: Publisher Site  Google Scholar
 F. Pynckels, P. Kiekens, S. Sette, L. van Langenhove, and K. Impe, “Use of neural nets for determining the spinnability of fibres,” Journal of the Textile Institute, vol. 86, no. 3, pp. 425–437, 1995. View at: Google Scholar
 K. Hornik and M. Stinchombe, Multilayer FeedForward Networks Are Universal Approximators in Artificial Neural Networks: Approximation and Learning Theory, Blackwell Press, Oxford, UK, 1992.
 R. HetchtNielsen, “Theory of the backpropagation neural networks,” in Proceedings of International Joint Conference on Neural Networks (IJCNN '89), vol. 1, pp. 593–611, 1989. View at: Google Scholar
 G. Cybenko, “Approximation by superpositions of a sigmoidal function,” Mathematics of Control, Signals, and Systems, vol. 2, no. 4, pp. 303–314, 1989. View at: Publisher Site  Google Scholar
 S. C. Huang and Y. F. Huang, “Bounds on the number of hidden neurons in multilayer perceptrons,” IEEE Transactions on Neural Networks, vol. 2, no. 1, pp. 47–55, 1991. View at: Publisher Site  Google Scholar
 M. A. Sartori and P. J. Antsaklis, “A simple method to derive bounds on the size and to train multilayer neural networks,” IEEE Transactions on Neural Networks, vol. 2, no. 4, pp. 467–471, 1991. View at: Publisher Site  Google Scholar
 A. S. Aly, A. B. Moustafa, and A. Hebeish, “Biotechnological treatment of cellulosic textiles,” Journal of Cleaner Production, vol. 12, no. 7, pp. 697–705, 2004. View at: Publisher Site  Google Scholar
 C. W. Kan, C. W. M. Yuen, and S. Q. Jiang, “The effect of cellulase treatment on hydrolysis of linen,” Fibers and Polymers, vol. 7, no. 3, pp. 241–244, 2006. View at: Publisher Site  Google Scholar
 A. CavacoPaulo, “Mechanism of cellulase action in textile processes,” Carbohydrate Polymers, vol. 37, no. 3, pp. 273–277, 1998. View at: Google Scholar
 O. N. Hung, L. J. Song, C. K. Chan, C. W. Kan, and C. W. M. Yuen, “Using artificial neural network to predict color properties of lasertreated 100% cotton fabric,” Fibers and Polymers, vol. 12, pp. 1069–1076, 2011. View at: Google Scholar
 O. N. Hung, L. J. Song, C. K. Chan, C. W. Kan, and C. W. M. Yuen, “Predicting the laserengraved color properties on cottonspandex fabric by artificial neural network,” AATCC Review, vol. 12, no. 3, pp. 57–63, 2012. View at: Google Scholar
Copyright
Copyright © 2013 C. W. Kan et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.