원시데이터 수집 시스템
선정목록으로

Predicting Color Schemes Based on Genetic Algorithm and Deep Feedforward Neural Network Model

간접 관련 패션 · (24) 패션(코오롱FnC) (3) 자동차 인테리어 소재(11) 배리어 필름

기본 정보

저자
  1. Yongchao Wang — College of automation , Chongqing University of Posts and Telecommunications , Chongqing , China , 400065|||College of automation, Chongqing University of Posts and Telecommunications, Chongqing, China, 400065
  2. Xingcheng Wu — College of automation , Chongqing University of Posts and Telecommunications , Chongqing , China , 400065|||College of automation, Chongqing University of Posts and Telecommunications, Chongqing, China, 400065
  3. Jianni Hou — College of automation , Chongqing University of Posts and Telecommunications , Chongqing , China , 400065|||College of automation, Chongqing University of Posts and Telecommunications, Chongqing, China, 400065
  4. Mengda Hu — College of automation , Chongqing University of Posts and Telecommunications , Chongqing , China , 400065|||College of automation, Chongqing University of Posts and Telecommunications, Chongqing, China, 400065
DOI
10.62051/4zkqs575
저널
Transactions on Computer Science and Intelligent Systems Research
발행년도
2024
발행기관
–
피인용수
0
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.62051/4zkqs575
토픽
Color Science and Applications
OpenAlex ID
W4401551180

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(3) 자동차 인테리어 소재, (11) 배리어 필름
R&D 측면
분석·모델링
확신도
0.80
근거 용어
color matching, dyeing technology, opaque products, CIELAB color space, spectral reflectance
판단 근거
본 논문은 불투명 제품(섬유, 인공피혁 등)의 염색 시 색상 매칭을 최적화하기 위해 유전 알고리즘과 심층 신경망을 결합한 예측 모델을 연구하고 있습니다.
R&D 활용 포인트
코오롱인더스트리의 패션(섬유 염색), 자동차 인테리어(인공피혁 색상 구현), 필름(색상 제어) 분야에서 염색 공정 효율화 및 색상 재현성 향상을 위한 디지털 트윈/AI 모델로 활용 가능합니다.
평가 입력
본문 24,286자

초록

To enhance the accuracy and efficiency of color matching for opaque products, a relevant model is employed to predict their color schemes. By extracting the spectral reflectance of dyed panels as input and dyeing ratios as output, it is possible to reduce color matching errors and improve production efficiency, thereby advancing the dyeing technology of opaque products and achieving color matching freedom. This study initially applies a logarithmic transformation to the K/S (absorption coefficient/scattering coefficient) ratio and concentration, converting the resultant equations into linear forms. The least squares method is then employed to solve the linear equations describing the relationship between K/S and concentration. A comparison is made between linear regression fitting and nonlinear regression fitting methods, revealing that the former yields better fitting results and higher correlation coefficients in the range of 400nm-700nm for K/S versus concentration. Thus, linear fitting is chosen. In addressing the issue of predicting color differences with minimal deviation based on target samples, this paper unifies variables using the Beer-Lambert color matching equation, Kubelka-Munk theory, and the Simpson discrete variable integration formula to obtain a training set. Leveraging the CIELAB color space model, a deep feedforward neural network is trained on the L, a, and b values for red, yellow, and blue. Finally, a predictive model combining genetic algorithm and deep feedforward neural network (GA-DFNN) is utilized to forecast color matching schemes for the original samples, resulting in 5 sets of color matching schemes with color differences of no more than 1 unit.

본문 24,286자

본문 펼치기
Warwick Evans Publishing ISSN: 2960-1800, eISSN: 2960-2238 | Volume 5 AIDML 2024 # Predicting Color Schemes Based on Genetic Algorithm and Deep Feedforward Neural Network Model ## Yongchao Wang *, Xingcheng Wu, Jianni Hou, Mengda Hu College of automation, Chongqing University of Posts and Telecommunications, Chongqing, China, 400065 - Corresponding Author Email: wangyongchao1212@petalmail.com Abstract. To enhance the accuracy and efficiency of color matching for opaque products, a relevant model is employed to predict their color schemes. By extracting the spectral reflectance of dyed panels as input and dyeing ratios as output, it is possible to reduce color matching errors and improve production efficiency, thereby advancing the dyeing technology of opaque products and achieving color matching freedom. This study initially applies a logarithmic transformation to the K/S (absorption coefficient/scattering coefficient) ratio and concentration, converting the resultant equations into linear forms. The least squares method is then employed to solve the linear equations describing the relationship between K/S and concentration. A comparison is made between linear regression fitting and nonlinear regression fitting methods, revealing that the former yields better fitting results and higher correlation coefficients in the range of 400nm-700nm for K/S versus concentration. Thus, linear fitting is chosen. In addressing the issue of predicting color differences with minimal deviation based on target samples, this paper unifies variables using the Beer-Lambert color matching equation, Kubelka-Munk theory, and the Simpson discrete variable integration formula to obtain a training set. Leveraging the CIELAB color space model, a deep feedforward neural network is trained on the L, a, and b values for red, yellow, and blue. Finally, a predictive model combining genetic algorithm and deep feedforward neural network (GA-DFNN) is utilized to forecast color matching schemes for the original samples, resulting in 5 sets of color matching schemes with color differences of no more than 1 unit. Keywords: Predicting Color Schemes Using Computational Color Theory Algorithms, Least Squares Method, Genetic Algorithm, Deep Feedforward Neural Network. 1. Introduction Color measurement [1] refers to the measurement of color stimulus values. The human eye itself serves as a colorimeter, capable of discerning minute differences between colors. However, visual inspection has many drawbacks, primarily manifested during the color measurement process, where subjective human judgment often influences the outcome. Additionally, factors such as observation conditions and color adaptation further impact results, leading to variations between individuals and rendering it unsuitable for quantitative analysis and processing of colors [2] With economic development, there is an increasing demand for opaque products in daily life. The coloration of opaque products plays a crucial role in their aesthetic appeal and market competitiveness. However, traditional manual color matching has limitations, characterized by subjectivity and low efficiency. Therefore, researching how to achieve color matching for opaque products through computational methods [3] is of significant importance. Huang Jing et al. [4] proposed an improved LSTM-based method for predicting wood staining formulations. Utilizing a dataset of stained wood, where the surface spectral reflectance of wood serves as the model input and the corresponding wood staining formulation as the output, an LSTM model was employed to predict staining schemes based on spectral reflectance. Deng Xiaogang et al. [5] introduced a study on neural network-based offset ink color matching. They established a neural network model using the PyTorch framework and achieved a highly accurate ink color matching software through model training and optimization. The model trained using an improved particle swarm optimization BP neural network had a mean squared error of 0.0033 and an average color difference of 4.7896. The model trained using a partitioned network had a minimum color difference of 0.0731, a maximum color difference of 7.5883, and an average color difference of 2.4957. The predicted color differences were mainly distributed between 1 and 3, with 92.31% of color differences being less than 5. The rapid development of computer technology and its peripherals has greatly enhanced the industrialization level in our country. The use of computers for color reproduction has become increasingly mature, enabling the rapid representation of the tristimulus values of object colors and color differences in numerical form. This not only avoids errors in measurement results due to personal subjective factors during color measurement but also facilitates quantitative analysis and processing of colors. Therefore, this paper conducts research on the relationship between the wavelength and concentration of the primary colors red, yellow, and blue and the K/S value and color difference based on a predictive model combining genetic algorithms and deep feedforward neural networks. 2. Solving the Relationship between K/S and Concentration 2.1. Preliminary Analysis This question involves a data fitting problem, aiming to determine the relationship between K/S and concentration. Such a relationship can be identified through statistical methods like regression analysis or curve fitting. Initially, the data in Attachment 2 needs to be cleaned and organized, pairing K/S values with their corresponding concentrations. Subsequently, an analysis of the data for each dye is conducted. Based on the distribution of data for different dyes, an appropriate fitting model is selected, which could be a linear regression model or a nonlinear polynomial regression model. 2.2. Confidence Level of Fitting Coefficients (1) Statistical Significance: When conducting linear fitting in this study, the estimated coefficients may be influenced by observational errors, leading to inaccurate estimates. This study aims to determine whether these fitting coefficients are parameters truly indicative of a significant linear relationship with the target variable through statistical significance testing. Generally, a 95% confidence level is commonly used for statistical significance. Fitting coefficients at a 95% confidence level imply a 95% level of confidence or reliability, indicating that these coefficients exhibit a significant linear relationship with the target variable [6]. (2) Hypothesis Testing: Hypothesis testing is a method used to make statistical inferences about fitting coefficients. In hypothesis testing, a null hypothesis (H0) is set, assuming that the fitting coefficient is zero or unrelated. Subsequently, the probability of this null hypothesis is evaluated through calculating statistics such as standard errors, t-values, or p-values. Generally, if the fitting coefficient significantly deviates from zero, i.e., the p-value is less than 0.05 (at a 95% confidence level), this study rejects the null hypothesis, considering the coefficient to be significant. (3) Reliability and Generalization Ability: The confidence level of fitting coefficients is related to the reliability and generalization ability of the model. In most cases, a higher confidence level of fitting coefficients, indicating higher significance, corresponds to better predictive ability and stability of the model. This implies that when applying the model for future predictions or generalizations, the obtained fitting coefficients are more likely to accurately predict the target variable. Due to the limited accuracy of linear functions, to achieve a confidence level of over 95%, this study not only adopts linear fitting but also utilizes higher-order nonlinear fitting. 2.3. Solving Linear Equations Using the Least Squares Method Fitting coefficients are typically required to achieve a confidence level of over 95% to ensure the reliability and statistical significance of the fitting results. This study can employ methods such as the least squares method to determine the parameters of the model, minimizing the error between the predicted values and the actual values. Upon obtaining the model parameters, this study establishes the relationship between K/S and concentration. The fitting coefficients obtained from linear regression analysis are as follows: ?= ∑??=1∑??=1(??(?−??̅−?̅))(?? <sup>2</sup> <u>−?̅)</u> (1) ?= ?̅ −??̅ (2) Least Squares Method: Utilizing Euclidean space, we demonstrate the least squares method and provide the algebraic conditions satisfied by the least squares method. Let's denote the fitting equation as: (3) (4) Using the notion of distance, the least squares method [7] entails identifying the vector Y that minimizes the distance between Y and B. It is understood that vector Y represents the vectors formed by the respective columns of A, denoted as ?1, ?2, ⋯, ?? generating the subspace L(?1, ?2, ⋯, ??). (5) Therefore, the least squares problem can be formulated as follows: Find a vector Y in the subspace L(?1, ?2, ⋯, ??) such that its distance to B is shorter than its distance to any other vector in the subspace L(?1, ?2, ⋯, ??). Applying the conclusion discussed earlier, let's denote the vector Y as: ?= ??= ?1?1 + ?2?2 + ⋯+ ???? (6) If it is the vector that is required, ?= ?−?= ?−?? (7) It must be orthogonal to the subspace L(?1, ?2, ⋯, ??). To achieve this, it is both necessary and essential to, in accordance with the rules of matrix multiplication, express the aforementioned series of equations in terms of matrix multiplication, namely: (?, ?1) = (?, ?2) = ⋯= (?, ??) = 0 (8) ?1̇?= 0, ?2̇?= 0, ⋯, ??̇?= 0 (9) And ?1̇, ?2̇,…, ??̇ arranged as rows precisely form matrix ?̇. Combining the aforementioned series of equations yields Ȧ(B −AX) = 0. The coefficient matrix is denoted as ?̇?, with the constant term being ?̇?. The expressions relating K/S to concentration for the three types of coloring agents at different wavelengths are given in table 1. The fitting relationship between K/S and concentration for the red coloring agent at various wavelengths is provided. The same approach applies to the remaining two colors. Table 1. Fitting relationship between K/S and concentration for the red coloring agent at different wavelengths. <u>Coloring Agent Color Coloring Agent Color Coloring Agent Color Coloring Agent Color</u> Red 400 y = 0.7519x + 0.5226 0.9835 420 y = 0.6826x + 0.2244 0.9947 440 y = 0.6472x + 0.1294 0.9949 460 y = 0.6309x + 0.1437 0.9974 480 y = 1.0847x + 0.1820 0.9992 500 y = 1.6852x + 0.2305 0.9998 520 y = 2.4895x + 0.2822 0.9992 540 y = 2.6880x + 0.2629 0.9995 560 y = 2.5908x + 0.2977 0.9997 580 y = 1.0760x + 0.0375 0.9998 600 y = 0.2338x + 0.0101 0.9986 620 y = 0.0499x + 0.0081 0.9987 640 y = 0.0098x + 0.0063 0.9985 660 y = 0.0050x + 0.0050 0.9995 680 y = 0.0018x + 0.0061 0.9691 <u>700</u> <u>y = 0.0007x + 0.0064</u> <u>0.9621</u> 3. Establishment of Color Prediction Model based on Genetic Algorithm and Deep Feedforward Neural Network 3.1. Data Preprocessing Based on the attached data provided on the official website of Big Data and Mathematical Model of China Society for Future Studies, this paper preprocessed the data first, so as to unify the variables of the data used in the topic, and facilitate the prediction of the sample data to obtain the specific concentration ratio. Based on the provided supplementary data, this paper preprocesses the data to standardize the variables used in the topic, facilitating the prediction of specific concentration ratios for the sample data. Utilizing existing textile optical models, the Belc computer color matching equation and the K-M theory [4], R(λ) can be computed. 10) (11) From the calculated R values corresponding to the red, yellow, and blue colors, the spectral tristimulus values are computed using the Simpson discrete variable integration formula. (12) (13) (14) After computing the spectral tristimulus values of the observer, this paper employs the CIELAB uniform color space model, as illustrated in figure 1. Figure 1. Illustrates the schematic diagram of the CIELAB color space system. The color parameters L, a, and b are obtained from the formulas. <u>?</u> ?0 <sup>~~)~~</sup> <u>1</u> 3 −16 (15) ?= 116( <u>?</u> <u>1</u> 3] (16) <u>?</u> ?0 <sup>~~)~~</sup> <u>?</u> <u>13</u> −(??0 <sup>)</sup> <u>13</u> −(?? ?= 500 [( <u>1</u> 3] (17) <u>?</u> ?0 <sup>~~)~~</sup> <u>?</u> <u>13</u> −(?? ?0 <sup>~~<u>)</u>~~</sup> ?= 200 [( The new sample data after preprocessing, as obtained in this study, are presented in table 2. Table 2. Sample data after pretreatment. <u>sample</u> <u>X</u> <u>Y</u> <u>Z</u> <u>L</u> <u>a</u> <u>b</u> 1 57.507563 49.08212313 57.9257143 75.50238965 28.81011992 -5.046603987 2 70.35944545 68.61737881 80.46701718 86.31422773 11.64008369 -5.257073825 3 64.2897443 60.09783437 73.60554093 81.89133773 17.29468405 -7.565159244 4 49.54502552 52.80676033 69.29419823 77.76076974 -1.435243323 -11.17430587 5 55.82478493 58.98341203 74.64978741 81.28247694 -0.273019912 -9.44493766 6 60.07492177 47.83633961 58.12015969 74.72158643 38.38219712 -6.574786097 7 60.00130007 51.50059533 41.73801193 76.98125542 28.46675365 14.35286984 8 68.45197753 67.04337777 70.50519083 85.52584625 10.91025345 1.21276276 9 54.77808522 57.31471298 71.71860355 80.35628109 1.083649909 -8.69184404 <u>10</u> <u>45.43646525</u> <u>48.02823889</u> <u>51.60665417</u> <u>74.84273686</u> <u>-0.311794626</u> <u>-0.034342006</u> After processing the given data using the above formulas, the data were split into training and testing sets. The training set was utilized for model training and parameter adjustment, while the testing set was employed for evaluating the model's performance. In this context, the preprocessed data serve as the training set, utilized to train the model to achieve the best results, i.e., minimizing color differences. The testing set comprises the original samples, from which the optimal formulations are derived. 3.2. The establishment and solution of the prediction model combining genetic algorithm and deep feedforward neural network (GA-DFNN) are described in this study By selecting the load prediction results of 403 and 411 lines. We can see that the actual values of the lines basically match the predicted values, but there are also some errors, especially in the peak period of electricity consumption, as shown in table 1. Training of the neural network on the preprocessed data [8] was conducted to ensure that the model's predictions exhibit a color difference of less than 1 compared to the original samples. Step 1: Model Establishment and Optimization: A training dataset was constructed using the given concentration data and their corresponding Lab* color data. The concentration data were utilized as inputs (Xtrain), while the normalized color difference data (normalizedcolordiff) were employed as the target outputs (Ytrain). Leveraging the preprocessed data, a feedforward neural network model was constructed using the feedforwardnet function. This function utilizes a vector parameter (layers), where each element denotes the number of nodes in the corresponding layer. In this model, two hidden layers were incorporated, each comprising 10 nodes. The train function was utilized to train the neural network based on the training dataset. This function takes the neural network model (net) and the input-output data (Xtrain, Ytrain) as parameters, as depicted in figure 2. Figure 2. Schematic diagram of feedforward neural network. Figure 3. Optimum performance training diagram. Step 2: Constraint Specification: The color difference between the target and original samples is constrained to be less than or equal to 1. Step 3 Model Solution: The objective of the code is to optimize the concentrations of three colors (red, yellow, blue) based on concentration data. By training a neural network model, the optimal trained network model is obtained as illustrated in figure 3. The aim is to minimize the color difference for specific target samples represented in the Lab* color space. The optimize Concentrations function is invoked to compute the optimal solution using the pre-trained neural network model [9]. This function likely implements an optimization algorithm by adjusting the concentrations (X, Y, Z) to minimize color disparities. During iterative loops, the code computes multiple optimal solutions and outputs the corresponding optimal concentrations along with the minimum color differences [10]. The performance metrics of the prediction model are depicted in figures 4, 5, and 6. Calculation of CIELAB Color Difference: Brightness difference:∆?= ??? −???? (18) Saturation difference:∆?? = ??? −???? (19) <u>1</u> <u>12</u> <sup>(20)</sup> ∆?? = [??? + ???]2 −[???? + ????] When the difference ΔCs between the tested sample and the standard sample is negative, it indicates that the color of the standard sample is more vivid than the sample. When ΔCs is positive, it indicates that the color of the sample is more vivid than the standard sample. Chrominance difference:∆?? = (∆? <sup>2</sup> + ∆? <sup>2</sup> )1⁄2 (21) Colour contrast:∆?= (∆?? 2 −∆??2)1⁄2 (22) 1⁄2 (23) Total Chromatic Aberration <sup>∆E = (∆L2 + ∆a2 + ∆b</sup> 1 <sup>2</sup> ⁄2 <sup>)</sup> { ∆E = (∆L <sup>2</sup> + ∆Cc 1⁄2 2) ∆E = (∆L <sup>2</sup> + ∆Cs 2 + ∆H2)1⁄2 Figure 4. Training index. Figure 5. Error analysis diagram of training test. Figure 6. Predicted values for different scenarios. Using the trained model, the predicted color schemes for five sets of samples are presented in table 3 to table 7. Table 3. Formulation of sample 1. <u>Sample</u> <u>Red</u> <u>Yellow</u> <u>Blue</u> <u>Chromatic Aberration</u> 1 0.5471 0.7506 0.9069 0.2396 2 0.2485 0.5471 0.5337 0.2456 3 0.5471 0.2513 0.7953 0.2212 4 0.7072 0.5471 0.0909 0.2231 5 0.5471 0.7011 0.7458 0.3213 6 0.5471 0.9882 0.2658 0.1222 7 0.7369 0.5471 0.7536 0.1432 8 0.5471 0.854 0.1954 0.4231 9 0.6857 0.5471 0.108 0.3233 <u>10</u> <u>0.1981</u> <u>0.0036</u> <u>0.5471</u> <u>0.3112</u> Table 4. Formulation of sample 2. <u>Sample</u> <u>Red</u> <u>Yellow</u> <u>Blue</u> <u>Chromatic Aberration</u> 1 0.158 0.9349 0.1767 0.5559 2 0.966 0.5019 0.1583 0.4399 3 0.158 0.3281 0.1527 0.4531 4 0.158 0.1591 0.9799 0.5654 5 0.165 0.6838 0.1583 0.6651 6 0.158 0.5469 0.4536 0.4231 7 0.222 0.1583 0.1321 0.5831 8 0.932 0.9622 0.1583 0.5509 9 0.472 0.4342 0.1583 0.2351 <u>10</u> <u>0.158</u> <u>0.2639</u> <u>0.0453</u> <u>0.4423</u> Table 5. Formulation of sample 3. <u>Sample</u> <u>Red</u> <u>Yellow</u> <u>Blue</u> <u>Chromatic Aberration</u> 1 0.6586 0.6279 0.9189 0.6754 2 0.8452 0.226 0.6279 0.4569 3 0.6224 0.3427 0.6279 0.7765 4 0.5963 0.1002 0.6279 0.7688 5 0.538 0.6279 0.3038 0.7234 6 0.9007 0.6279 0.5232 0.6547 7 0.6279 0.6545 0.0324 0.7665 8 0.618 0.6279 0.5909 0.6754 9 0.2871 0.3769 0.6279 0.6749 <u>10</u> <u>0.6342</u> <u>0.6279</u> <u>0.9802</u> <u>0.8544</u> Table 6. Formulation of sample 4. <u>Sample</u> <u>Red</u> <u>Yellow</u> <u>Blue</u> <u>Chromatic Aberration</u> 1 0.012 0.3931 0.3888 0.1318 2 0.408 0.0541 0.3888 0.1098 3 0.389 0.7095 0.151 0.2109 4 0.464 0.3328 0.3888 0.2213 5 0.389 0.7621 0.3174 0.3201 6 0.513 0.5049 0.3888 0.0889 7 0.389 0.4177 0.3889 0.1009 8 0.149 0.1941 0.3888 0.1024 9 0.434 0.3888 0.4318 0.2107 <u>10</u> <u>0.502</u> <u>0.3909</u> <u>0.3888</u> <u>0.2213</u> Table 7. Formulation of sample 5. <u>Sample</u> <u>Red</u> <u>Yellow</u> <u>Blue</u> <u>Chromatic Aberration</u> 1 1 0.9077 0.6321 0.4763 2 0.0765 1 0 0.6897 3 1 0.6952 0.7941 0.4535 4 0.5454 1 0.5821 0.5465 5 0.1171 0.2409 1 0.4533 6 1 0.2901 0.7125 0.5443 7 0.2193 1 0.1147 0.4544 8 1 0 0.1959 0.5427 9 0.8022 0.2076 1 0.5465 <u>10</u> <u>1</u> <u>0.4868</u> <u>0.3119</u> <u>0.5464</u> 4. Conclusions This study aims to enhance the accuracy and efficiency of color matching for opaque products. Initially, logarithmic transformations were applied to K/S values and concentrations, and the resulting equations were linearized. The linear relationship between K/S and concentration was then determined using the least squares method. A comparison between linear and nonlinear regression fitting methods revealed that linear fitting performed exceptionally well within the wavelength range of 400nm to 700nm, exhibiting the highest fitting coefficient. To address the challenge of predicting color schemes with minimal color differences based on target samples, this study unified various theoretical models including the Berlekamp color matching equation, Kubelka-Munk theory, and the Simpson discrete variable integration formula, constructing a training set. Building upon the CIELAB color space model, a deep feedforward neural network was employed to train the L, a, and b values for red, yellow, and blue. Finally, a predictive model combining genetic algorithms and deep feedforward neural networks (GA-DFNN) successfully predicted color matching schemes for 10 sets of samples with color differences not exceeding 1 unit. In practical computer color matching processes, various factors may introduce interference. The limitations of linear regression lie in its assumption of linear relationships, making it inadequate for handling nonlinear relationships and noise. Therefore, careful analysis of the data characteristics and fitting requirements of practical problems is necessary, along with consideration of whether more complex function forms or fitting methods could yield better results. Future endeavors will focus on improving the accuracy and efficiency of opaque product color matching by exploring advanced data analysis techniques and models, optimizing the relationship between K/S and concentration, and considering additional influencing factors such as environmental and material characteristics to enhance the practicality of color matching schemes. Furthermore, there will be efforts to refine models and methods, expand the scale of the dataset, and enhance predictive and generalization capabilities. Collaborative efforts with industry and academia will be pursued to jointly develop new technologies, address challenges, and provide reliable support for industrial development. References [1] How much do you know about the four methods of measuring the color of printed matter? [J]. Screen Printing Industry, 2022(03):54-55. [2] Gong Xuping, Huang Min, Shen Yuetong, et al. Study on color measurement methods of optical variable ink [J]. Acta Optica, 2023, 43(22): 188-195. [3] Feng Nuoya. Design and development of computer intelligent color matching system based on machine learning [D]. Zhongyuan Institute of Technology, 2024. [4] Huang Jingyi. Research on wood dyeing formula prediction method based on improved LSTM [D]. Northeast Forestry University, 2024. [5] Deng Xiaogang. Research on ink color matching based on neural networks [D]. Xi'an University of Technology, 2022. [6] Li Tieding, Lei Yuze, Cheng Shuyi, et al. Research on jump calculation method based on linear fitting and interpolation compensation [J]. Sichuan Electric Power Technology, 2020, 43(01): 6-11+15. [7] Song Haiyu, Li Wei, Wei Wei, et al. Design and implementation of research-based experimental study on least squares method [J]. Experimental Science and Technology, 2023, 21(03): 7-13. [8] Ren Gang, Li Xin, Liu Xiaojie, et al. Training algorithm for genetic algorithm deep feedforward neural network based on Spark big data computing model [J]. Journal of Henan Institute of Technology, 2023, 31(05): 14-22. [9] Liu Xinpeng, Qin Yuhua, Zhang Fengmei, et al. Study on near-infrared model transfer method based on sparrow search algorithm combined with deep feedforward neural network[J]. Journal of Analysis and Testing, 2022, 41(11). [10] Liu Ting. Analysis of computer tristimulus value measurement and color matching method and its application in leather [J]. China Leather, 2023, 52(12): 34-37.

섹션 본문 52문단 · 16,667자

(제목 없음)

1To enhance the accuracy and efficiency of color matching for opaque products, a relevant model is employed to predict their color schemes.By extracting the spectral reflectance of dyed panels as input and dyeing ratios as output, it is possible to reduce color matching errors and improve production efficiency, thereby advancing the dyeing technology of opaque products and achieving color matching freedom.This study initially applies a logarithmic transformation to the K/S (absorption coefficient/scattering coefficient) ratio and concentration, converting the resultant equations into linear forms.The least squares method is then employed to solve the linear equations describing the relationship between K/S and concentration.A comparison is made between linear regression fitting and nonlinear regression fitting methods, revealing that the former yields better fitting results and higher correlation coefficients in the range of 400nm-700nm for K/S versus concentration.Thus, linear fitting is chosen.In addressing the issue of predicting color differences with minimal deviation based on target samples, this paper unifies variables using the Beer-Lambert color matching equation, Kubelka-Munk theory, and the Simpson discrete variable integration formula to obtain a training set.Leveraging the CIELAB color space model, a deep feedforward neural network is trained on the L, a, and b values for red, yellow, and blue.Finally, a predictive model combining genetic algorithm and deep feedforward neural network (GA-DFNN) is utilized to forecast color matching schemes for the original samples, resulting in 5 sets of color matching schemes with color differences of no more than 1 unit.

Introduction

2Color measurement [1] refers to the measurement of color stimulus values.The human eye itself serves as a colorimeter, capable of discerning minute differences between colors.However, visual inspection has many drawbacks, primarily manifested during the color measurement process, where subjective human judgment often influences the outcome.Additionally, factors such as observation conditions and color adaptation further impact results, leading to variations between individuals and rendering it unsuitable for quantitative analysis and processing of colors [2] With economic development, there is an increasing demand for opaque products in daily life.The coloration of opaque products plays a crucial role in their aesthetic appeal and market competitiveness.However, traditional manual color matching has limitations, characterized by subjectivity and low efficiency.Therefore, researching how to achieve color matching for opaque products through computational methods [3] is of significant importance.

3Huang Jing et al. [4] proposed an improved LSTM-based method for predicting wood staining formulations.Utilizing a dataset of stained wood, where the surface spectral reflectance of wood serves as the model input and the corresponding wood staining formulation as the output, an LSTM model was employed to predict staining schemes based on spectral reflectance.Deng Xiaogang et al. [5] introduced a study on neural network-based offset ink color matching.They established a neural network model using the PyTorch framework and achieved a highly accurate ink color matching software through model training and optimization.The model trained using an improved particle swarm optimization BP neural network had a mean squared error of 0.0033 and an average color difference of 4.7896.The model trained using a partitioned network had a minimum color difference of 0.0731, a maximum color difference of 7.5883, and an average color difference of 2.4957.The predicted color differences were mainly distributed between 1 and 3, with 92.31% of color differences being less than 5.

4The rapid development of computer technology and its peripherals has greatly enhanced the industrialization level in our country.The use of computers for color reproduction has become increasingly mature, enabling the rapid representation of the tristimulus values of object colors and color differences in numerical form.This not only avoids errors in measurement results due to personal subjective factors during color measurement but also facilitates quantitative analysis and processing of colors.Therefore, this paper conducts research on the relationship between the wavelength and concentration of the primary colors red, yellow, and blue and the K/S value and color difference based on a predictive model combining genetic algorithms and deep feedforward neural networks.

Preliminary Analysis

5This question involves a data fitting problem, aiming to determine the relationship between K/S and concentration.Such a relationship can be identified through statistical methods like regression analysis or curve fitting.Initially, the data in Attachment 2 needs to be cleaned and organized, pairing K/S values with their corresponding concentrations.Subsequently, an analysis of the data for each dye is conducted.Based on the distribution of data for different dyes, an appropriate fitting model is selected, which could be a linear regression model or a nonlinear polynomial regression model.

Confidence Level of Fitting Coefficients

6(1) Statistical Significance: When conducting linear fitting in this study, the estimated coefficients may be influenced by observational errors, leading to inaccurate estimates.This study aims to determine whether these fitting coefficients are parameters truly indicative of a significant linear relationship with the target variable through statistical significance testing.Generally, a 95% confidence level is commonly used for statistical significance.Fitting coefficients at a 95% confidence level imply a 95% level of confidence or reliability, indicating that these coefficients exhibit a significant linear relationship with the target variable [6].

7(2) Hypothesis Testing: Hypothesis testing is a method used to make statistical inferences about fitting coefficients.In hypothesis testing, a null hypothesis (H0) is set, assuming that the fitting coefficient is zero or unrelated.Subsequently, the probability of this null hypothesis is evaluated through calculating statistics such as standard errors, t-values, or p-values.Generally, if the fitting coefficient significantly deviates from zero, i.e., the p-value is less than 0.05 (at a 95% confidence level), this study rejects the null hypothesis, considering the coefficient to be significant.

8(3) Reliability and Generalization Ability: The confidence level of fitting coefficients is related to the reliability and generalization ability of the model.In most cases, a higher confidence level of fitting coefficients, indicating higher significance, corresponds to better predictive ability and stability of the model.This implies that when applying the model for future predictions or generalizations, the obtained fitting coefficients are more likely to accurately predict the target variable.

9Due to the limited accuracy of linear functions, to achieve a confidence level of over 95%, this study not only adopts linear fitting but also utilizes higher-order nonlinear fitting.

Solving Linear Equations Using the Least Squares Method

10Fitting coefficients are typically required to achieve a confidence level of over 95% to ensure the reliability and statistical significance of the fitting results.This study can employ methods such as the least squares method to determine the parameters of the model, minimizing the error between the predicted values and the actual values.Upon obtaining the model parameters, this study establishes the relationship between K/S and concentration.

11The fitting coefficients obtained from linear regression analysis are as follows:

12(1)

13Least Squares Method:

14Utilizing Euclidean space, we demonstrate the least squares method and provide the algebraic conditions satisfied by the least squares method.Let's denote the fitting equation as:

15Using the notion of distance, the least squares method [7] entails identifying the vector Y that minimizes the distance between Y and B. It is understood that vector Y represents the vectors formed by the respective columns of A, denoted as 1 , 2 , ⋯ , generating the subspace L( 1 , 2 , ⋯ , ).

16(5)

17Therefore, the least squares problem can be formulated as follows: Find a vector Y in the subspace L( 1 , 2 , ⋯ , ) such that its distance to B is shorter than its distance to any other vector in the subspace L( 1 , 2 , ⋯ , ).

18Applying the conclusion discussed earlier, let's denote the vector Y as:

19If it is the vector that is required,

20It must be orthogonal to the subspace L( 1 , 2 , ⋯ , ).To achieve this, it is both necessary and essential to, in accordance with the rules of matrix multiplication, express the aforementioned series of equations in terms of matrix multiplication, namely:

21And 1 ̇, 2 ̇,…, ̇ arranged as rows precisely form matrix .Combining the aforementioned series of equations yields A ̇(B − AX) = 0.The coefficient matrix is denoted as ̇, with the constant term being Ḃ.

22The expressions relating K/S to concentration for the three types of coloring agents at different wavelengths are given in table 1.The fitting relationship between K/S and concentration for the red coloring agent at various wavelengths is provided.The same approach applies to the remaining two colors.

Establishment of Color Prediction Model based on Genetic Algorithm and Deep

23Feedforward Neural Network

Data Preprocessing

24Based on the attached data provided on the official website of Big Data and Mathematical Model of China Society for Future Studies, this paper preprocessed the data first, so as to unify the variables of the data used in the topic, and facilitate the prediction of the sample data to obtain the specific concentration ratio.

25Based on the provided supplementary data, this paper preprocesses the data to standardize the variables used in the topic, facilitating the prediction of specific concentration ratios for the sample data.

26Utilizing existing textile optical models, the Belc computer color matching equation and the K-M theory [4], R(λ) can be computed.

10) (11)

27From the calculated R values corresponding to the red, yellow, and blue colors, the spectral tristimulus values are computed using the Simpson discrete variable integration formula.

28(

29After computing the spectral tristimulus values of the observer, this paper employs the CIELAB uniform color space model, as illustrated in figure 1.

30The new sample data after preprocessing, as obtained in this study, are presented in table 2. After processing the given data using the above formulas, the data were split into training and testing sets.The training set was utilized for model training and parameter adjustment, while the testing set was employed for evaluating the model's performance.In this context, the preprocessed data serve as the training set, utilized to train the model to achieve the best results, i.e., minimizing color differences.The testing set comprises the original samples, from which the optimal formulations are derived.

The establishment and solution of the prediction model combining genetic algorithm and deep feedforward neural network (GA-DFNN) are described in this study

31By selecting the load prediction results of 403 and 411 lines.We can see that the actual values of the lines basically match the predicted values, but there are also some errors, especially in the peak period of electricity consumption, as shown in table 1.

32Training of the neural network on the preprocessed data [8] was conducted to ensure that the model's predictions exhibit a color difference of less than 1 compared to the original samples.

33Step 1: Model Establishment and Optimization: A training dataset was constructed using the given concentration data and their corresponding Lab* color data.The concentration data were utilized as inputs (Xtrain), while the normalized color difference data (normalizedcolordiff) were employed as the target outputs (Ytrain).Leveraging the preprocessed data, a feedforward neural network model was constructed using the feedforwardnet function.This function utilizes a vector parameter (layers), where each element denotes the number of nodes in the corresponding layer.In this model, two hidden layers were incorporated, each comprising 10 nodes.The train function was utilized to train the neural network based on the training dataset.This function takes the neural network model (net) and the input-output data (Xtrain, Ytrain) as parameters, as depicted in figure 2. Step 2: Constraint Specification: The color difference between the target and original samples is constrained to be less than or equal to 1.

34Step 3 Model Solution: The objective of the code is to optimize the concentrations of three colors (red, yellow, blue) based on concentration data.By training a neural network model, the optimal trained network model is obtained as illustrated in figure 3. The aim is to minimize the color difference for specific target samples represented in the Lab* color space.The optimize Concentrations function is invoked to compute the optimal solution using the pre-trained neural network model [9].This function likely implements an optimization algorithm by adjusting the concentrations (X, Y, Z) to minimize color disparities.During iterative loops, the code computes multiple optimal solutions and outputs the corresponding optimal concentrations along with the minimum color differences [10].The performance metrics of the prediction model are depicted in figures 4, 5, and 6.

35Calculation of CIELAB Color Difference:

36Saturation difference:∆ = − (19)

37When the difference ΔCs between the tested sample and the standard sample is negative, it indicates that the color of the standard sample is more vivid than the sample.When ΔCs is positive, it indicates that the color of the sample is more vivid than the standard sample.Using the trained model, the predicted color schemes for five sets of samples are presented in table 3 to table 7.

Conclusions

38This study aims to enhance the accuracy and efficiency of color matching for opaque products.Initially, logarithmic transformations were applied to K/S values and concentrations, and the resulting equations were linearized.The linear relationship between K/S and concentration was then determined using the least squares method.A comparison between linear and nonlinear regression fitting methods revealed that linear fitting performed exceptionally well within the wavelength range of 400nm to 700nm, exhibiting the highest fitting coefficient.To address the challenge of predicting color schemes with minimal color differences based on target samples, this study unified various theoretical models including the Berlekamp color matching equation, Kubelka-Munk theory, and the Simpson discrete variable integration formula, constructing a training set.Building upon the CIELAB color space model, a deep feedforward neural network was employed to train the L, a, and b values for red, yellow, and blue.Finally, a predictive model combining genetic algorithms and deep feedforward neural networks (GA-DFNN) successfully predicted color matching schemes for 10 sets of samples with color differences not exceeding 1 unit.

39In practical computer color matching processes, various factors may introduce interference.The limitations of linear regression lie in its assumption of linear relationships, making it inadequate for handling nonlinear relationships and noise.Therefore, careful analysis of the data characteristics and fitting requirements of practical problems is necessary, along with consideration of whether more complex function forms or fitting methods could yield better results.Future endeavors will focus on improving the accuracy and efficiency of opaque product color matching by exploring advanced data analysis techniques and models, optimizing the relationship between K/S and concentration, and considering additional influencing factors such as environmental and material characteristics to enhance the practicality of color matching schemes.Furthermore, there will be efforts to refine models and methods, expand the scale of the dataset, and enhance predictive and generalization capabilities.Collaborative efforts with industry and academia will be pursued to jointly develop new technologies, address challenges, and provide reliable support for industrial development.

Figure 1 .

40Figure 1.Illustrates the schematic diagram of the CIELAB color space system.The color parameters L, a, and b are obtained from the formulas.

Figure 2 .

41Figure 2. Schematic diagram of feedforward neural network.

Figure 3 .

42Figure 3. Optimum performance training diagram.

Figure 4 .

43Figure 4. Training index.

Figure 5 .

44Figure 5. Error analysis diagram of training test.

Figure 6 .

45Figure 6.Predicted values for different scenarios.

Table 1 .

46Fitting relationship between K/S and concentration for the red coloring agent at different wavelengths.

Table 2 .

47Sample data after pretreatment.

Table 3 .

48Formulation of sample 1.

Table 4 .

49Formulation of sample 2.

Table 5 .

50Formulation of sample 3.

Table 6 .

51Formulation of sample 4.

Table 7 .

52Formulation of sample 5.

참고문헌

참고문헌 정보가 없습니다.