Abstract
For dentists, it is very important to determine the color of the denture. Shade selection in dental practice is an important and difficult task. In the dental shade matching process, the shade selection will be affected by the observer’s physiological conditions such as age, mood, fatigue, and so on. These will make a difference on the judgement between the matching shade and the actual teeth color. In the past, dentists use shade tabs as a reference basis to match the teeth in the intra-oral environment. In this paper, an efficient color analysis methodology based on image processing and fuzzy decision techniques is proposed for dental shade matching. Since the color information is a very important index for the shade matching, the proposed methodology used the chrominance values Cb and Cr to increase the accuracy of color analysis. In order to improve the performance of the proposed methodology, three formulas, such as PSNR value of Cb, PSNR value of Cr, and S-CIELAB value, were selected by a fuzzy decision model. As shown in the results, the proposed efficient methodology based on fuzzy decision techniques improved at least 1.92 % in average accuracy and 0.59 in average score from the PSNR (Cb) and PSNR (Cr) in this work. In addition, the average values of the accuracies and scores in this work are 92.31% and 98.74, respectively, which are much better than the previous studies. To summarized, this work is the first study that applied fuzzy decision with the PSNR (Cb), PSNR (Cr) and S-CLIELAB information for dental shade matching. The results showed that the proposed methodology performs better than the previous work and other methods.
Keywords
Introduction
For dental color determination, the method of comparison of teeth color and shade tabs is frequently applied [1, 2]. There are many kinds of shade guides commonly used in dental market. For example, Vita Zahnfabrik [3] and its product evidence-based Vitapan 3D-Master shade guide [4, 5] is shown in Fig. 1. However, it is not accurate enough to determine shade matching by using human eyes only to compare the colors of the shade guides and the real teeth. Since the comparison results will be affected by the ambient light source or the observer’s physiological conditions, the matching results are not accurate or obvious enough. Moreover, the eyes of dentists will be tired for a long working time, which will decrease the accuracy of the shade matching. This will lead to a negative impact to influence the shade matching results.

In order to avoid the above-mentioned problems, an image processing technique is proposed for the shade matching. For a standard dental shade image, a digital camera was used to create shading picture library of the shade tabs VITA 3D-Master as shown in Fig. 1(b). Typical results of shading tabs are shown in Fig. 2. The shade of the denture can be determined by comparing the real teeth with shade tabs to get an accurate matching result.

Four shade tabs photos in VITA 3D-Master (a) 1M1, (b) 2M2, (c) 3M3, and (d) 5M3.
Several efficient image-processing-based computer algorithms to automatically match the dental shades were proposed in [6]. The color correction is first applied for different images. The color spectrum captured by digital camera [7] was analysed and clustered for the decision system to perform shade matching with good performance. A computer-aided image processing methodology by using S-CIELAB [8] as the classification indication was presented in [9]. A CIELAB methodology included camera-calibration models had been proposed in [10]. In order to improve the accuracy of dental shading matching of tooth color, a methodology by using four measurements on shade tabs was proposed in [11]. In this paper, a dental image is first decomposed into YCbCr color representation. An analysis on different color layers of YCbCr is performed with matching criterion based on PSNR, CPSNR, and S-CIELAB. The analysis of PSNR(Y) was not used in this work because the shade tabs of VITA 3D-Master were divided into five groups based on their luminance.
A shade matching algorithm is proposed using the chroma elements Cb and Cr with better classification performances. In addition, a fuzzy decision method for dental shade matching is developed, so that each different color of the shade tabs has its own corresponding image evaluation criteria. This improves the accuracy of the dental shade matching. The average accuracy can be as high as 92.31% by using the fuzzy decision method. The organization of this paper is as follows: In Section 2, the proposed novel image processing and fuzzy decision methods are presented. Section 3 discusses the experimental results and compares with other methods. Finally, conclusions are summarized in Section 4.
Image evaluation criteria
S-CIELAB, CPSNR, and PSNR are the three image evaluation criteria adopted in the proposed methodology to evaluate the quality of images. These criteria were widely used in image processing.
1. S-CIELAB: Since the S-CIELAB
2. CPSNR (Color Peak Signal to Noise Ratio) [14]: This combines the components of R, G and B to form a color image and then the quality of the resulting image can be evaluated by this criterion. In this paper, the values of CPSNR were calculated by combining the components of Y, Cb and Cr to form an image and then obtained the CPSNR values for judgement. A larger CPSNR value corresponds to a smaller distortion. The relevant definition of the CPSNR is shown in Equations (6– 8).
3. PSNR (Peak Signal to Noise Ratio): The PSNR value is widely used in the area of image quality measurement. The maximum value of the image and the error term are considered for evaluation, as shown in Equations (9– 11).
In order to evaluate the performance of different methodologies for dental shade matching, a digital camera was used to take pictures of each tab in the VITA 3D-Master shade tabs [7]. In advance, the shooting environment was simulated as the actually environment when the dentist help patients to do the dental shade matching. Second, taking two shots and two sets of images used to create two testing datasets. These two datasets are called Dataset A and Dataset B in this study. Third, these two datasets were subjected to colorimetric analysis. The name of each photo in the datasets is also arranged in the same way of VITA 3D-Master shade tabs. Each dataset includes 26 tab photos and the pixel depth is 24 bits, in which R, G, and B are 8 bits each. The average size of images in the datasets is 360×520 pixels.
The proposed dental shade matching algorithm
Figure 3 shows the flowchart of the proposed dental shade matching algorithm, in which there are three main steps in the algorithm. The first step is pre-processing, the second step is criteria evaluation, and the third step is fuzzy decision. The details of each step will be described as follows:

Flowchart of the proposed dental shade matching algorithm.
Normalization is a process used to change the range of pixel intensity values. The dynamic range expansion is the main idea of normalization. It brings the image into a range that is normal to the sense and to avoid false evaluation. The motivation is to normalize the full dynamic range of the number blocks specified in the image file format. After normalization the next step is cutting. It removes unnecessary details from the normalized ones. The cutting-fixed is to change it from one aspect ratio to another, without stretching the image. In order to complete the data, the evaluation of image with the datasets is required. It is the prerequisite of S-CIELAB, CPSNR, and PSNR formulas.
After capturing the image on the digital camera, the original images are stored in RGB format. Hence, the first sub-step in pre-processing is to convert the images in RGB format to YCbCr format, which is helpful for facilitating the colorimetric analysis. Equations (12– 14) illustrate the transform of RGB to YCbCr formats. In addition, each tooth photo is scaled to the fixed size of 300×500 pixels, and then the length and width of the photo are cut within a range of 50 to 250 pixels as shown in Fig. 4. The scaled image is used for comparing with the other dataset. The scaling and cutting processes are used to normalize the size of the teeth images for comparison to improve the accuracy of colorimetric analysis.

(a) Original image and (b) the normalized and cut region of the image.
The photos in the Dataset A and Dataset B were taken by the same VITA 3D-Master’s shade tabs. Hence, we can use these two datasets as comparison with the different dental shade matching methods to determine the matching accuracy of the proposed method. If a dental shade matching method finds the target of the tab photo in the other dataset, the matching result is correct. Otherwise, if the dental shade matching method finds the tab photo which is not the target, the matching result is incorrect. By using these two datasets, we can judge the performance of different dental shade matching methods.
There are three evaluation criteria used in the proposed algorithm. The first criteria is S-CIELAB of YCbCr images which is used to find the difference of colors and smaller S-CIELAB values represent more similar colors between two images. Hence, the first evaluation criteria is used to select the teeth images which have the smallest S-CIELAB values. The second criteria used PSNR criterion to evaluate the chrominance values Cb of teeth images. In the same way, the third criteria used PSNR criterion to evaluate the chrominance values Cr of teeth images. A higher PSNR value corresponds to higher similarity. Hence, the second and third evaluation criteria are used to select one of the teeth images which has the smallest PSNR value. Finally, the tab images which have the smallest S-CIELAB, and highest PSNR value of Cb and Cr images will be selected. It will then send to the fuzzy decision module.
Fuzzy decision is widely applied in many fields, for example, power control [15], prediction [16], and so on. The fuzzy decision methods based on experimental evaluation [17] and fuzzy logic techniques [18, 19] are suitable to solve the problem spaces with partial truth. In the proposed algorithm, a fuzzy decision method based on if ⋯ then ⋯ rules was created to select one of the three evaluation criteria, S-CIELAB, PSNR (Cb), and PSNR (Cr), for the dental shade matching. In the proposed fuzzy decision method, one of the inputs is brightness of the shade tabs. The intensity of brightness of the tab photos is defined as b(n). The other input is chrominance of the shade tab photos. The value of chrominance of the tab photos is defined as c(n). The brightness b(n) and chrominance c(n) are defined by the number of VITA 3D-Master’s shade tabs. For example, the tab number in Fig. 2(d) is 5M3, which means that the b(n) is 5 and c(n) is 3.
Table 1 shows the fuzzy adjustment rules for the proposed dental shade matching algorithm, which is designed based on an expert system. The datasets used to obtain the results of accuracies and scores in Tables 3 and 9 are different datasets to train the fuzzy adjustment rules. The Dataset C and Dataset D were used to train the fuzzy adjustment rules tabulated in Table 1. The results of accuracies and scores in Tables 3 and 9 were obtained by using Dataset A and Dataset B as testing datasets.
Fuzzy adjustment rules for the brightness b(n) and chrominance c(n)
Numbers of accurate shade matching picture for different methods
Accuracy results of four different criteria for the shade matching
Score results of S-CIELAB (Y, Cb, Cr) criterion
Score results of CPSNR (Y, Cb, Cr) criterion
Score results of PSNR (Y) criteria
Score results of PSNR (Cb) criteria
Score results of PSNR (Cr) criteria
Score results of the proposed fuzzy decision method
The fuzzy adjustment rules map the two characteristics of input fuzzy sets, b(n) and c(n) to an output fuzzy set o(n). By using the results of the evaluated criteria of Dataset A and Dataset B, each tooth image can be matched to the shade tab with the highest accuracy by selecting the best one of the three criteria. By the proposed fuzzy logic decision method, the accuracy of dental shade matching can be improved efficiently.
In this section, the proposed methods are compared with the existing method S-CIELAB for dental shade matching [9]. The proposed methods are CPSNR (Y, Cb, Cr), PSNR (Cb), PSNR (Cr) and Fuzzy Decision. In order to compare the performance of using different criteria for shade matching, we tested on two datasets, Dataset A and Dataset B. Each of the dataset contains the same 26 dental shade images taken at different time. For example, the method S-CIELAB [9] takes the 1st dental shade image from Database A as reference to compute the 26 S-CIELAB values with 26 dental shade image from Database B, respectively. If the S-CIELAB value corresponding to the 1st dental shade image in Dataset B shows the highest correlation (lowest S-CIELAB value, or highest CPSNR or PSNR values), the result is recorded as correct. The above procedure is repeated for all 26 dental shade images in dataset A as references, and the number of correct cases is recorded, as in the Dataset A compared to Dataset B Table 2. If the number of correct cases is divided by the total number 26, the accuracy can be obtained:
In this paper, a novel methodology using PSNR and Fuzzy Decision Method for colorimetric analysis for dental shade matching was proposed. The results showed that the proposed methodology has 92.31% accuracy which is higher than the existing method that has an accuracy of only 32.69%. Through the fuzzy decision method, the accuracy and scores are higher than the PSNR criteria, and this matching method is more objective and consistent than traditional (dentist) judgement. This research results are beneficial for dentists in terms of saving the dental shade matching time and also improving the matching accuracy.
