3. METHODOLOGY
3.1 Mask R-CNN Architecture
This paper presents an instance-based segmentation method to classify dental images accurately. Mask R CNN is used for this purpose. The segmentation process works in three phases. In the first phase, a backbone network, usually comprising a Convolutional Neural Network like ResNet50 or ResNet101, is employed to extract features from images. In the next phase of the architecture, an X-ray image is passed into a feature pyramid network which converts the image into various feature maps, which are then passed into regional proposal networks that generate multiple ROIs using binary classifiers. The ROI Align layer converts ROIs from the FPN into uniform-sized ROIs. The feature maps are processed for classification and regression in the final phase to generate Boundary boxes (bboxes) and Masks. Figure 1 depicts the architecture of the Mask R CNN network.
3.2. Dataset Description
The dental X-ray dataset considered in this paper is sourced from ivision labs [26]. An expert manually performed annotations to associate the 200 dental x-ray images into a total of four categories. The dataset is then partitioned into a 100:30:70 ratio to perform training, validation, and testing, respectively. The various categories considered are depicted in Table 1. The notation for the numbering of teeth is followed, as shown in Figure 1.
4. EXPERIMENTAL RESULTS
4.1 Experimental Setup
All experiments were performed on Google Colab instance.with Intel ® Xeon Processor, 26 Gigabytes of memory and Nvidia Tesla P100-PCIe 16 Gigabytes of VRAM. Tensorflow version 1.5.2 and OpenCV 3.5 to avoid various dependency issues. The main Mask - R CNN headers are taken from matterplots’ codebase. Some additional configuration changes were made to Mask-R CNN before training, and The changes were; Detection Confidence threshold was set to 95% to improve the chances of correct predictions; to efficiently use the GPU resources, the batch size was set to 4 images, which improves the GPU utilisation thus decreasing the time consumption. The steps per epoch are set to 500 to facilitate better training accuracy. Figure 4 depicts the full configuration of our custom Mask - R CNN model.
4.2 Evaluation Metrics.
The efficiency of the approach discussed in this paper is evaluated using various performance measures based on a confusion matrix, viz., comprising TP(True Positives), TN(True Negatives), FN(False Negatives), FP(False Positives), as shown in Table 3.
Positive TP FP Negative FN TN To determine the model's performance and assess the model on various metrics, we used the following metrics : Precision: Ratio of Correctly Identified positive predictions and Total Positive predictions. 𝑇𝑃÷ (𝑇𝑃+ 𝐹𝑃) Recall: Ratio of Correctly classified positive predictions and total correct predictions. 𝑇𝑃÷ (𝑇𝑃+ 𝐹𝑁) F-Score: Harmonic mean of precision and recall.
Average Precision (AP): The average precision of all possible Intersection over Union (IoU) values for a class is known to be Average Precision. In this paper, the IoU threshold is considered to be 0.50. Fig. 4 shows the consideration of the IoU score where the ratio between the Intersection of Actual and Predicted Segment and Union of Actual and Predicted Segments are considered, which depicts the area of Actual Segment that our learning algorithm correctly predicted. So when the IoU is >0.5(threshold), the prediction is deemed favorable. Mean Average Precision(mAP): Mean of Average Precision of all classes together is known as Mean Average Precision. Even though the AP values provide insight into the algorithm's performance over the range of classes, the mAP value determines the total performance of the whole problem set.
4.3 Results
A total of 148 images were annotated with the help of the makesense tool[28]. We have split the whole set into three parts i,e., 70 images for train, 30 for validation and 49 for the test. After Training the Mask R CNN for 15 epochs ( 500 steps per epoch ), the learned model returned a decent performance. We used F-Score, Precision, Recall and Mean Average Precision(mAP) during the evaluation process. Fig. 2 corresponds to the graph of Precision per Class. Fig. 3 depicts the graph of recall and F-Score of model per class. Fig. 4 illustrates the graph of various Average Precision (APS) per class. Moreover, the Mean Average Precision(mAP) over all classes is 0.905. Observing the results presented in Fig. 6 and Table 2, we could conclude that the model performs with low recall values and high precision values over all the classes. This is because the model performs very well in the edge tooth of the X-Ray i,e ( Molars and Premolars ) but not in the cases of Middle Tooth, i,e ( Canines and Incisors). The model's performance is relatively low, resulting in lower Recall Values. The solution for this problem could be a grouping of teeth into different sectors. Segmenting might improve the performance of the model and the overdetection of incisors and canines.
11 0.95 0.48 0.58 0.50
12 0.99 0.46 0.59 0.47
13 0.96 0.58 0.52 0.48
14 0.90 0.48 0.54 0.42
15 0.96 0.42 0.56 0.44
16 0.97 0.41 0.54 0.56
17 0.98 0.43 0.52 0.41
18 0.90 0.53 0.55 0.65
19 0.94 0.44 0.50 0.38
20 0.97 0.49 0.60 0.53
21 0.98 0.47 0.57 0.48
22 0.97 0.55 0.66 0.59
23 0.93 0.50 0.57 0.51
24 0.90 0.41 0.66 0.42
25 0.98 0.34 0.57 0.34
26 0.94 0.46 0.44 0.49
27 0.90 0.48 0.46 0.51
28 0.96 0.56 0.57 0.59
29 0.90 0.44 0.59 0.54
30 0.90 0.49 0.52 0.52
31 0.93 0.41 0.47 0.43
32 0.96 0.50 0.63 0.51
We also observed that the variation of Average Precision (AP) over the classes is high. The molar and premolars have low AP, canines and incisors have high AP, which is due to the class imbalance problem where the former group have fewer number of instances. In contrast, the latter group has a higher number of cases, which is due to most of the tooth loss in patients belonging to the former group i,e. Molars and Premolars. This can also be solved using the grouping solution discussed earlier in this section. Fig.7(a) and 8(a) illustrate the model’s predictions over an X-Ray consisting of all teeth, and Fig.7(b) and 8(b) depict the model's predictions over an X-Ray consisting of teeth distributed sporadically.
5. CONCLUSIONS AND FUTURE WORK
The quest for building a Deep Learning model for image Segmentation in Dental X-Rays has been ubiquitous these days. Even though much of the concentration was on developing machine learning models using unsupervised techniques, the perfection in the system is not achieved yet. Segmenting and labelling teeth reduces the tedious and unproductive work that has to be done by dentists before performing the necessary treatment. Our future work would include an additional grouping element of the tooth discussed in the result section and the detection of various minor diseases, like caries and cavities.