Computational and Mathematical Methods in Medicine
Volume 2015 (2015), Article ID 816719, 7 pages
http://dx.doi.org/10.1155/2015/816719

Research Article

The Prediction in Computer Color Matching of Dentistry Based on GA+BP Neural Network

Haisheng Li,¹ Long Lai,¹ Li Chen,² Cheng Lu,² and Qiang Cai¹

¹School of Computer and Information Engineering, Beijing Technology and Business University, Beijing 100048, China
²Peking University School and Hospital of Stomatology, Beijing 100081, China

Received 29 May 2014; Revised 11 August 2014; Accepted 7 September 2014

Academic Editor: Shengyong Chen

Copyright © 2015 Haisheng Li 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.

Abstract.

Although the use of computer color matching can reduce the influence of subjective factors by technicians, matching the color of a natural tooth with a ceramic restoration is still one of the most challenging topics in esthetic prosthodontics. Back propagation neural network (BPNN) has already been introduced into the computer color matching in dentistry, but it has disadvantages such as unstable and low accuracy. In our study, we adopt genetic algorithm (GA) to optimize the initial weights and threshold values in BPNN for improving the matching precision. To our knowledge, we firstly combine the BPNN with GA in computer color matching in dentistry. Extensive experiments demonstrate that the proposed method improves the precision and prediction robustness of the color matching in restorative dentistry.

1. Introduction

With the rapid development of technology, various new materials are brought into dentistry. People no longer only pay attention to the functional recovery such as chewing and durability; instead they pay more attention to aesthetics [1]. Color is one of the key elements in determining the esthetics of ceramic restorations. Presently, the majority of shade selection is finished by visual assessment using shade guide tabs [2]. However, the color difference of target tooth and shade guide tab is not negligible, as shown in Figure 1, which leads shade selection to a formidable task. Intuitively, accurate shade selection may be the most important factor in esthetic restorative density. Visual selection is subjective and color distribution of shade guide tabs cannot cover those of natural teeth. Making accurate shade selection, along with proper materials and reasonable configuration, so that it can be consistent with the natural tooth color, is an urgent task that remains to be solved [3].

Figure 1: Color difference between target tooth and a shade guide tab.

The computer color matching (CCM) technique provides the color matching of teeth restoration with a broad new method for research and application. Along with the Kubelka Munk theory put forward in 1931, computer color matching had been widely used in dyeing and printing industry. In a series of research from 1992 to 1994, Ishikawa-Nagai et al. realized computer color matching of opaque layer on the color of porcelain-fuse-to-metal restorations (PFM) using spectrophotometer [4–6]. Wang et al. conducted a feasibility study for CCM [7] and the results showed that the color repetition rate of front teeth restoration made by CCM outperforms the visual shade selection method [8].

It is worth mentioning that there is obvious chromatism between part of the porcelain pieces and natural dentition in the CCM based experiments by Ishikawa-Nagai et al. [9]. He analyzed the fact that the measurement of calculating some porcelain powders may result in deviation which affected the final precision. To solve the problem existing in Kubelka Munk theory based CCM, nonlinear methods, such as artificial neural network, are adopted in making porcelain restoration. In 2003, Wu et al. adopted BP algorithm in oil paint color design [10]. In 2008, Zhang et al. employed BP neural network with genetic algorithms in textile color matching and achieved good performance [11].

BP neural network is one of the most popular neural network methods presently [12]. However, the existing improved BP neural network has some drawbacks, such as low convergence rate [13, 14] and being difficult to devise suitable network structure [15]. In dentistry, for actual clinical application, high accuracy and good stability are the prerequisite for computer color matching. The success of computer color matching can greatly raise the work efficiency of dentists and technicians. In our study, we conduct many experiments to determine the structure of BP neural network. In addition, we introduce the genetic algorithm (GA) into the improved BP algorithm for assistance of computer color matching in dentistry [16–18]. Extensive experiments demonstrate that the accuracy of the GA+BP outperforms the state-of-the-art methods.

2. Algorithms

2.1. Back Propagation Neural Network (BPNN)

Artificial neural network (ANN) is accepted as a technology offering an alternative way to simulate complex and ill-defined problems. Back propagation neural network (BPNN) is a typical ANN that has been widely used in many medical fields such as medical image analysis, expert system for clinical diagnosis and treatment, medical signal analysis, and processing. It has successfully solved many complicated nonlinear problems. BPNN has hierarchical feed forward network architecture, and the outputs of each layer are sent directly to each neuron of the previous layer. BPNN can have many layers while all pattern recognition and classification tasks can be accomplished with a three-layer BPNN, as shown in Figure 2.

Figure 2: The BPNN structure with 3 layers. is the input data set; is hidden layer node; is the actual output; and are the weights.

2.2. Disadvantage and Improvement of BPNN

According to Kolmogorov theorem and BP fix quantification, three-layer BP network with nonlinear excitation function can approach any nonlinear function at any precision. Multilayer perceptron is widely employed due to this remarkable advantage. However, the standard BP algorithm has some defects as follows.

(1)In mathematics, it can be seen as a nonlinear gradient optimization problem. Therefore, it is easy to fall into local minima and cannot reach the global optimal solution.(2)Too much training makes convergent velocity slow.(3)It is difficult to determine the structure of hidden layer nodes due to lacking of theoretical guidance.(4)There exists tendency to forget old samples during training with new samples.

Aiming at these problems, three kinds of commonly used methods have been proposed.

(1) Appending Momentum Item. In order to improve the training velocity of the BPNN, a momentum item can be added in the weight adjustment formula. The weights adjustment vector expression with momentum item is shown in formula

The formula shows that part of prior weight adjustment quantity will be added to current weight. The is called momentum coefficient (normally ). The momentum item reflects the prior adjustment experience. And it can reduce the vibrate trend when there is a sudden fluctuation of error curved surface. It can also improve the training velocity.

(2) Adaptive Adjusting Learning Efficiency. Learning efficiency is set to be constant in the standard BP algorithm. However, in practice, it is better to change learning efficiency according to the error.

An initial learning efficiency should be set. After a round of weight adjustment, if the total error increases, current adjustment is regarded as invalid, and adjust learning efficiency according to formula

Whereas, if the total error descends, current adjustment is regarded as valid, meanwhile, adjust learning efficiency according to formula

(3) Introducing Gradient Factor. The reason why the weight adjustment is caught in the flat area is that the neurons’ output is caught in the saturated zone of excitation function. In order to make the output away from the saturated zone, neuron net input should be compressed. Hence, the original excitation function can add a gradient factor , as shown in formula

It is considered to have entered the flat area when approximate to 0; nevertheless, is still large. In this case, should be set to greater than 1, and after deviating from the flat area, should be set to 1 again.

2.3. Computer Color Matching of Restoration with GA+BP

The initial weights and threshold of traditional neural network are randomly generated. In addition, network connection weights and threshold of the whole distribution will influence the effect of data fitting. Improper initial parameters can lead to no convergence or fall into local extremum which will worsen the accuracy of the final prediction.

In clinical applications, it is needed to provide better service to patients with low error and high stability. Genetic algorithm (GA) is adopted to improve the accuracy of computer color matching of restoration. GA will optimize the initial weights and threshold values. It can effectively reduce the randomness of initial parameters. The local optimal defects of BP algorithm will be overcome due to more stable predictive effect by using GA and neural network.

Genetic algorithm is a simulated evolutionary process method. It follows the principle of evolution and takes the good individual evolution as the optimal solution. The flowchart of genetic algorithm is shown in Figure 3.

Figure 3: Flow chart of genetic algorithm.

Each step of the genetic algorithm is explained as follows.

Encoding, initial random fitness: using GA, each individual of the population needs to be described in a chromosome representation. Chromosome is composed of a series of real numbers. The encoded string consists of four segments, namely, the connection weights between hidden layer and input layer, the connection weights between output layer and hidden layer, hidden layer threshold, and output layer threshold.

Fitnessfunction: GA uses fitness function to evaluate the viability of the chromosome. The fitness is corresponding with the error of BP neural network between the actual output and desired output. When the error is small, the fitness will be high.

Selection: the extremely important step in GA is the selection. Selection is based on the fitness of each individual. In this paper, Roulette wheel selection is employed. A probability will be evaluated for each individual . The is defined in formula

where is the fitness of individual and is the size of the population.

The probability of individual to be selected is even greater when is larger.

Crossover and mutation: both the crossover and mutation can create new individuals by recombining or mutation. Crossover operation is to change corresponding segment of two individuals to get two new individuals. Mutation will return new individuals by altering the value of some elements of the chromosome.

The process will be accomplished when we get appropriate fitness or evolution has completed the default maximum number of generations. The output of this process is the individual with best fitness and this individual consists of the weights and threshold. The weights and threshold will be used as the initial setup to train the BPNN.

3. Experiments

3.1. Train/Test Samples

We mixed VITA VMK95 dentin porcelain powder according to different proportion. The powder will be molding in homemade stainless steel mold (the diameter is 15 mm; the thickness is 3 mm). Then, we put the porcelain powder into porcelain pieces in porcelain furnace and manufacture porcelain pieces of specimen. Finally, the color of porcelain restoration database is generated by measuring the shade of the specimen with crystaleye dental spectrophotometer [19], as shown in Figure 4.

Figure 4: Measure of the shade of the specimen with crystaleye.

Now a total of 119 sets of data by using the above-mentioned method have been obtained. The 75% of the data is used as training data set while the 25% of the data is used as test data set. The example of experimental data is shown in Table 1. , , and are converted from spectrum of visible light measured by crystaleye dental spectrophotometer colorimetric instrument. , , , , and are different kinds of VITA VMK95 dentin porcelain powder. Different ratio of porcelain powder component can form corresponding color after burning. , , and are treated as input, while , , , , and as the output. Each dimension of the input data needs to be normalized before training.

Table 1: Example of experimental data.

66.89667
−0.01
14.92667
0.32
0
0
0.08
0

72.46333
−1.33333
14.58667
0.32
0
0
0
0.08

65.74667
1.33
19.24333
0.16
0
0.16
0.08
0

69.91667
1.136667
18.86667
0.16
0
0.08
0.08
0.08

65.10667
1.513333
19.40333
0.16
0.08
0
0.08
0.08

67.76333
0.643333
20.15667
0.16
0.08
0.08
0
0.08

65.49667
1.73
20.37333
0.16
0.08
0.08
0.08
0

63.86667
1.81
20.13
0.08
0
0.16
0.16
0

65.42
1.366667
21.55
0.08
0
0.16
0.08
0.08

64.71667
1.663333
18.87333
0.08
0
0.08
0.16
0.08

65.76667
1.56
20.55333
0.08
0
0.08
0.08
0.16

3.2. The Construction of BPNN Model

According to actual situation in the previous section, the number of nodes in input layer is 3 and it is 5 in output layer. As a result of the multihidden layers network structure is more complicated and the three layers of neural network can implement almost all pattern recognition and classification tasks; three-layer neural network is employed.

How to choose the number of hidden layer nodes has not been solved with a good analytic expression. The number of hidden layer nodes is often determined by the experience or testing.

Formula (6) is widely used for estimation of hidden layer nodes, and the final results will be determined through a set of experiments:

In formula (6), is the number of hidden layer nodes. is input layer nodes. Output node number is . And is a constant integer (). Then we can get that the value of is between 4 and 13.

In order to get the specific number of hidden layer nodes, we introduced the ideas of trial and error and conducted a series of 10 trials. Each trial of test performed 20 times of prediction. The experimental data is training data set referred to in the previous section. Different trials have different hidden layer nodes while other parameters in different trials are consistent. The experiment results are shown in Figure 5.

Figure 5: Comparisons of predictive ability of BPNN with different number of hidden layer nodes.

As shown in Figure 5, it is obvious that the error is smallest when the number of hidden layer nodes is 12. Therefore, the number of hidden layer nodes is set to 12. Then, the construction of BPNN model is finished.

3.3. Application

3.3.1. The Improved BPNN

After the network structure is identified, we conducted BPNN prediction experiments by using MATLAB neural network toolbox. The toolbox provides us with a variety of improved algorithms. Our statement of building the training model is as below:

 net = newff(inputn, outputn, hiddennum, {“tansig”, “tansig”}, “traingd”).

We can see from the above function that the two excitation functions are both tangent transfer function. Our training function is “traingdx.” Namely, we adopt the improved BP algorithm with appending momentum item and adaptive adjusting learning efficiency. Examples of actual output and expected output of experiment are shown in Table 2.

Table 2: Examples of actual output and expected output of experiment.

Actual output
Expected output

0.1605
0.0566
0.0262
0.0412
0.0576
0.24
0.08
0.08
0
0

0.0009
0.1468
0.1755
0.0317
0.044
0
0
0
0.4
0

0.0045
0.1113
0.0952
0.024
0.0419
0.16
0.08
0
0.16
0

0.3388
0.1398
0.0169
0.051
0.0468
0.16
0.08
0
0
0.16

0.0208
0.125
0.3111
0.2054
0.1481
0.08
0
0
0.08
0.24

0.2196
0.0578
0.0212
0.0427
0.0545
0.24
0
0.08
0
0.08

0.0014
0.1297
0.1619
0.026
0.0443
0.08
0.24
0
0.08
0

0.0067
0.0875
0.058
0.0116
0.0523
0.08
0.16
0.16
0
0

0.0345
0.0798
0.0281
0.0139
0.0425
0
0
0
0.08
0.32

0.0008
0.1492
0.1702
0.0285
0.0462
0
0
0.08
0.32
0

0.0227
0.0912
0.0413
0.0231
0.0424
0.16
0.16
0
0
0.08

0.0077
0.1009
0.074
0.0213
0.0421
0
0
0.16
0
0.24

0.0022
0.1204
0.094
0.0174
0.0465
0
0.24
0
0
0.16

0.0017
0.1287
0.1474
0.0258
0.0438
0
0.32
0
0.08
0

0.1147
0.0658
0.0167
0.0162
0.0393
0.32
0
0.08
0
0

0.0028
0.1242
0.1194
0.0321
0.0417
0
0
0
0.32
0.08

0.0922
0.0716
0.0166
0.0124
0.0395
0.08
0
0.24
0
0.08

We can use formula (7) to evaluate the error of each sample:

At last, the mean square error (MSE) is used to represent the total error of this structure. MSE is calculated by using formula

We conducted a series of 10 tests. All tests have the same parameters and MSE of tests is shown in Table 3.

Table 3: The MSE of BPNN.

Serial number
1
2
3
4
5
6
7
8
9
10

MSE
0.0289
0.0417
0.0406
0.0346
0.0387
0.0416
0.035
0.0368
0.0366
0.0408

3.3.2. GA+BP

The fitness function of GA algorithm is the BP algorithm provided by MATLAB neural network toolbox. We choose the Levenberg-Marquardt algorithm as the training function [20]. Levenberg-Marquardt algorithm for medium-sized BP neural network is the default training function of the toolbox, and it also has the fastest convergence speed.

The initialization parameter, namely, the threshold and weights, can be obtained after the GA process. Then, BPNN model with the initialization parameters is constructed. In this section, we chose the appending momentum item and introduced gradient factor to improve the BPNN. Similarly, we conducted a series of 10 trials. And we got the MSE of each group finally. The MSE of experiment in each trial is shown in Table 4.

Table 4: The MSE of GA+BP.

Serial number
1
2
3
4
5
6
7
8
9
10

MSE
0.0335
0.0327
0.0333
0.0349
0.03
0.0324
0.0318
0.0338
0.0309
0.0316

3.4. Discussion

Comparisons between BPNN and GA+BP are shown in Figure 6. It is clear that the MSE of proposed GA+BP is generally smaller than that of BPNN. Furthermore, the prediction ability of GA+BP is more stable.

Figure 6: Comparisons of experimental results.

4. Conclusion

A more perfect forecasting model for dental porcelain computer color matching called GA+BP is proposed. Based on the research and comprehensive discussion about the traditional BPNN, the initial weights and threshold are optimized by GA firstly. Experiments show that it enhances the convergence performance and stability of the BPNN by determining the appropriate initial parameters instead of random selection of initial parameters. It makes the color matching of restoration more objective and accurate.

The GA+BP can help reach the prediction goal of CCM in actual research. Therefore it has high practical application value and plays a guidance role in CCM. With the development of computer science comprehensively introduced into the medical field, stomatological hospital will have more ability to provide better services for patients in the future.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This research is partially supported by the National Natural Science Foundation of China no. 81200805 and Ph.D. Programs Foundation of Ministry of Education of China (no. 20120001120080).

References

S. J. Chu, A. Devigus, and A. Mieleszko, Fundamentals of Color: Shade Matching and Communication in Esthetic Dentistry, Quintessence Publishing, 2004.

L. Chen, X. Yang, J. Tan, J. Zhou, Y. Du, and D. Li, “Evaluation of a newly developed online color training system,” International Journal of Prosthodontics, vol. 24, no. 2, pp. 137–139, 2011.

S. J. Chu, R. D. Trushkowsky, and R. D. Paravina, “Dental color matching instruments and systems. Review of clinical and research aspects,” Journal of Dentistry, vol. 38, supplement 2, pp. e2–e16, 2010.

S. Ishikawa-Nagai, R. Sato, K. Furukawa, and K. Ishibashi, “Using a computer color-matching system in color reproduction of porcelain restorations. Part 1: application of CCM to the opaque layer,” The International Journal of Prosthodontics, vol. 5, no. 6, pp. 495–502, 1992.

S. Ishikawa-Nagai, F. Sawafuji, H. Tsuchitoi, R. R. Sato, and K. Ishibashi, “Using a computer color-matching system in color reproduction of porcelain restorations. Part 2. Color reproduction of stratiform-layered porcelain samples,” International Journal of Prosthodontic, vol. 6, no. 6, pp. 522–527, 1993.

S. Ishikawa-Nagai, R. R. Sato, A. Shiraishi, and K. Ishibashi, “Using a computer color-matching system in color reproduction of porcelain restorations. Part 3: a newly developed spectrophotometer designed for clinical application,” International Journal of Prosthodontics, vol. 7, no. 1, pp. 50–55, 1994.

S.-H. Wang, Y. Yao, Y. Lu, and J. Wu, “The development of CHROMA-software for the colorimetric application of mental-ceramic restorations,” Chinese Journal of Prosthodontics, vol. 4, no. 4, pp. 215–217, 2003.

S.-H. Wang, Development of CCS/CCM system for aesthetic restoration of anterior teeth (dental prosthodontics) [Ph.D. thesis], Fourth Military Medical University, 2004.

S. Ishikawa-Nagai, K. Ishibashi, O. Tsuruta, and H.-P. Weber, “Reproducibility of tooth color gradation using a computer color-matching technique applied to ceramic restorations,” The Journal of Prosthetic Dentistry, vol. 93, no. 2, pp. 129–137, 2005.

T. Wu, G. Li, L. Fu, S. Yu, and C. Lu, “On improving learning speed and learning precision of BP algorithm for oil paint color design,” Journal of Northwestern Polytechnical University, vol. 21, no. 3, pp. 377–379, 2003.

B.-S. Zhang, Y. Wang, and L. Li, “Optimization research of BP neural network with genetic algorithms used in textile color matching,” Computer Engineering and Design, vol. 29, no. 19, pp. 5033–5036, 2008.

Y.-W. Li, J.-H. Peng, G.-A. Liang, W. Li, and S.-M. Zhang, “Optimization of processing parameters for microwave drying of selenium-rich slag using incremental improved back-propagation neural network and response surface methodology,” Journal of Central South University of Technology, vol. 18, no. 5, pp. 1441–1447, 2011.

X.-D. Tan, Z.-G. Hu, C.-B. Li, W. Ding, and D. Liu, “Study on predictive model to social power consumption based on the improved BP neural network,” Journal of North China Electric Power University, vol. 34, no. 3, 2007.

X. Li and G. Liu, “The improvement of BP algorithm and its application,” Journal of Sichuan University (Engineering Science Edition), vol. 32, no. 2, pp. 105–109, 2000.

Y.-T. Xie, “The determination of the number of the hidden cells and the variable selection of the neural network,” Statistics & Information Forum, vol. 22, no. 6, pp. 9–15, 2007.

C. Shen, L. Wang, and Q. Li, “Optimization of injection molding process parameters using combination of artificial neural network and genetic algorithm method,” Journal of Materials Processing Technology, vol. 183, no. 2-3, pp. 412–418, 2007.

F. Yin, H. Mao, and L. Hua, “A hybrid of back propagation neural network and genetic algorithm for optimization of injection molding process parameters,” Materials & Design, vol. 32, no. 6, pp. 3457–3464, 2011.

S. Yu, X. Guo, K. Zhu, and J. Du, “A neuro-fuzzy GA-BP method of seismic reservoir fuzzy rules extraction,” Expert Systems with Applications, vol. 37, no. 3, pp. 2037–2042, 2010.

L. Chen, J. G. Tan, J. F. Zhou, X. Yang, Y. Du, and F. P. Wang, “Reliability and accuracy of crystaleye spectrophotometric system,” The Chinese Journal of Dental Research, vol. 13, no. 2, pp. 139–145, 2010.

J. J. Moré, “The Levenberg-Marquardt algorithm: implementation and theory,” in Numerical Analysis, pp. 105–116, Springer, Berlin, Germany, 1978.