Dental Images’ Segmentation Using Threshold Connected Component Analysis
Recent advances in medical imaging analysis, especially the use of deep learning, are helping to identify, detect, classify, and quantify patterns in radiographs. At the center of these advances is the ability to explore hierarchical feature representations learned from data. Deep learning is invaluably becoming the most sought out technique, leading to enhanced performance in analysis of medical applications and systems. Deep learning techniques have achieved great performance results in dental image segmentation. Segmentation of dental radiographs is a crucial step that helps the dentist to diagnose dental caries. The performance of these deep networks is however restrained by various challenging features of dental carious lesions. Segmentation of dental images becomes difficult due to a vast variety in topologies, intricacies of medical structures, and poor image qualities caused by conditions such as low contrast, noise, irregular, and fuzzy edges borders, which result in unsuccessful segmentation. The dental segmentation method used is based on thresholding and connected component analysis. Images are preprocessed using the Gaussian blur filter to remove noise and corrupted pixels. Images are then enhanced using erosion and dilation morphology operations. Finally, segmentation is done through thresholding, and connected components are identified to extract the Region of Interest (ROI) of the teeth. The method was evaluated on an augmented dataset of 11,114 dental images. It was trained with 10 090 training set images and tested on 1024 testing set images. The proposed method gave results of for both precision and recall values, respectively.
Dental caries is the most widespread chronic disease affecting teeth worldwide. Recently, there has been a decline in the rates of large cavity lesions, but still early lesions can be identified in most people . Most of conventional caries detection methods rely on inspecting teeth visually. These methods are effective for large, clearly visible carious lesions as well as those partially visible but can be viewed by a handheld mirror . The introduction of dental radiography is to detect hidden or inaccessible lesions that could not be otherwise done through conventional methods. Early detection of dental caries lesions is an important determinant of treatment measures and is therefore a beneficiary of the introduction of new tools . The fastest growing sectors in the health care industry are dental services which consist of prevention, treatment, and diagnosis of oral cavity diseases . Most dentists use bitewing radiographs to aid in the location of dental caries. They rely on information from these radiographs together with their patients’ medical history. Locating of dental caries is a challenging task and sometimes even the experienced dentists miss the carious lesions when they are just presented with bitewing radiographs . Traditionally, detection of dental caries relied on visual-tactile methods . Sensitivity of visual-tactile methods is limited and especially done on posterior proximal teeth surfaces. Radiographic methods tend to have high sensitivity but require ionizing radiation .
Surveys have been carried out on various segmentation and feature extraction methods  that are used in preprocessing. A novel possibilistic exponential fuzzy C-means clustering algorithm proposed in  is used for segmenting medical images.
Analysis of dental radiographs requires some processing of the images so as to obtain useful information. The most invaluable image processing procedure or step is referred to as image segmentation. The representation of dental images is done through the segmentation of various regions of interest from the larger image so as to locate objects. Segmentation of images is therefore partitioning of an image into several segments to be used to identify objects and their edges. Image segmentation can be categorized according to similarity and discontinuity properties. Discontinuity-based methods are referred to as boundary-based methods, while similarity-based methods are referred to as region-based methods .
Image segmentation is the process of dividing an image into groups of similar characteristics and features. Mathematically, segmentation of an image is a finite set of regions , . Research work in [11, 12] categorizes segmentation methods according to various characteristics, namely, region, entropy, shape, threshold, and pixels’ correlation, among others. These characteristics were from thermal, X-ray images to aid analysis of specific points or regions of interest. Dental image segmentation is also classified as region-based, cluster-based, threshold-based, boundary-based, and watershed-based methods.
Recent advances in medical imaging analysis, especially the use of deep learning, have implemented connected component analysis to help identify, detect, classify, and quantify patterns in radiographs. At the center of these advances is the ability to explore hierarchical feature representations learned from data. Connected component analysis is pivotal to many image processing pipelines . It is handled by dividing an image into foreground and background pixel objects. Then, for further processing, foreground pixels are connected to each other and extracted, while background pixels are connected together to form edges boundaries on images. Connected component analysis is used after the image has been preprocessed, and thresholding has taken place.
This paper has identified several major limitations that hinder better performances of segmentation techniques with regard to dental images. First limitation is the limited amount of dental images available for training deep learning systems. Another issue is that most dental images used are characterized with low contrast, false or fuzzy edge borders, and noise. In addition, dental images are mostly multisized, multiresolution, and multiscaled in nature. Lastly, most existing segmentation techniques require expensive computational power resources which then limit their practicability.
This proposed method is built to sort the issues or limitations aforementioned. Due to the limitation in dental images, the available 120 images have been augmented to give 11,114 images in the dataset. The augmented dataset images are then preprocessed via the Gaussian blur to remove noise. Thereafter, the erosion and dilation morphology operations are used to accentuate image pixels on the image. Lastly, segmentation is done by thresholding the pixel components connected and identified to extract the ROI of teeth. The method was trained on 10 090 training set images and tested on 1024 testing set images. An experimental analysis was done and the performance compared to state-of-the-art methods. The proposed method outperformed all of the methods in accuracy evaluation metrics. Figure 1 shows a flow diagram of the proposed method.
2. Related Works
Most of the deep learning networks methods have achieved great success in segmentation of medical images. Segmentation of medical images is one of the crucial tasks in computer vision. Various researchers have proposed and developed various techniques based on deep learning networks for dental images. Some of them have been reviewed in this paper, namely, thresholding, deep convolution neural networks, and connected component analysis.
A method of identifying dead unrecognizable people is proposed in  using panoramic dental images. A survey of diagnosis of dental image diseases using soft computing techniques is proposed in . A deep recent literature is provided in  covering efforts on semantic and instance segmentation. A survey of the use of the U-Net architecture is provided in  which is widely used in biomedical image segmentation to address the automation of identification and detection of target regions.
Soft computing techniques proposed in  are used to improve performance of watermarking algorithms and applications of the same. Soft computing techniques also have been adopted for segmenting images and synergistically provide malleable information competent enough to manipulate real-life circumstances. Methodologies provided in  are used to feat lenience for roughness, ambiguity, imprecise acumen, and partial veracity for the sake of attaining compliance and economical results.
There is also the use of the Otsu thresholding and connected component analysis proposed in  for the segmentation of periapical dental images to aid automated forensic identification. Connected component analysis is used to extract the region of interest (ROI) of the segmented teeth. Estimation of tooth axis in some of the existing methods requires segmenting the tooth volume from computed tornograph (CT) images; then, estimation is done from that segmented tooth volume. Poor segmentation leads to poor axis estimation ; thus, the estimation of molar teeth axis from two projection images is proposed rather than the segmented volume.
Connected component analysis can also be done on a set of gray levels of an image. A maximally stable extremal region (MSER) algorithm is proposed to handle this analysis. Maximal intensity regions appear to grow and merge at different intensity thresholds, while stability is achieved via finding extremal regions which are virtually unchanged over a range of threshold selection, and thus, regional intensity variation aids cyst boundary extraction in dental radiographs . CNNs have been used to study consistent intensity patterns of organs at risks (OAR) from training CT images and even segment them in test CT images.
Training CNNs on CT images helps extract positive intensity patches that belong to OAR of interest and negative intensity patches that belong to surrounding structures. The patches were passed through CNN layers and image features; namely, edges, corners, and end points were captured and combined into more complex high-order features that describe the OAR efficiently. The trained network was applied to classify voxels in a ROI in the test images to obtain a corresponding OAR as a segmented image result .
Segmentation is a challenging task in the analysis of dental images. One of the most invaluable and yet largely unsolved issues of the level set method (LSM) is its initial contour generation. A new level set segmentation method in  proposes initial contour generation via morphological image information and intelligent level set segmentation through motion filtering and backpropagation of the neural network.
Early detection of dental cavity is invaluable and thus lifesaving. Ahmed et al.  present a caries detection method that applies K-means clustering and threshold method for segmentation of CT images. This is in order to construct a 3D view of the carious lesion which is an integral part of the diagnosis of dental caries. CT images have been extensively used in dental imaging diagnostics, and therefore, it is possible to use 3D data from the CT images to reconstruct 2D panoramic dental radiographs that provide a longitudinal view of the jaw bone, avoiding additional exposure to X-rays. An automatic method, introduced in , is used for reconstructing 2D panoramic dental images based on 3D CT images, using Bezier curves and optimization techniques, and obtained very smooth panoramic images with good contrast.
Teeth segmentation is a critical task for effective caries detection as most carious lesions usually occur around tooth boundaries, and dental images are often subject to low contrast, noise, and uneven illumination. An effective way is introduced in  to segment individual teeth in periapical radiographs. The method performs image enhancement via adaptive power law transformation, local singularity using Holder exponent, tooth recognition via Otsu thresholding, connected component analysis, and, lastly, tooth delineation via snake boundary tracking and morphological operations.
The accuracy of the segmentation process determines the success or failure of the final analysis process. In order to diagnose problems with wisdom teeth, Amer and Aqel  propose an automatic method that prepares panoramic images for segmentation, and then, a segmentation algorithm is implemented followed by a postprocessing stage, as shown by Figure 2. The preprocessing step includes contrast enhancement, Otsu thresholding, morphology operations, and connected component labeling. A segmentation algorithm was used to extract the ROI, while histogram equalization was used in the postprocessing of panoramic images.
Teeth segmentation is important in highly automated postmortem identification. Automating the process of postmortem identification using dental images has received increased attention from researchers. A mathematical morphology is offered in  to bitewing teeth segmentation so as to aid postmortem identification of individuals. They also propose grayscale contrast transformation and removing noise via filters for image enhancement. Next, thresholding is used to isolate teeth from the background and then group the thresholded image using connected component labeling of both background and foreground pixels to get the ROI. Finally, the connected components were refined and analyzed based on their geometric properties, and then, unqualified objects were eliminated.
An automatic approach in  is introduced to detect dental arches on panoramic images. They use local entropy thresholding to binarize CT images because teeth have high intensities than their surrounding areas on images. They then use connected component labeling to partially remove metal artifacts and morphological dilation to close gaps between teeth so that the mandible region is one connected piece. Finally, the thinning result gives a rough dental arch shape, and this result is exploited by a curve fitting method to get a mathematically represented dental arch.
The proposed technique uses the connected component analysis to aid teeth segmentation on dental images. Connected analysis or labeling is the process of grouping object elements of a digital image by assigning the same label to adjacent elements. This facilitates further image analysis tasks: regions can be counted and can be individually manipulated and their properties can be measured. Object labeling is important not only when dealing with large-sized images to single out and count individual regions but also when counting the number of objects in small neighborhoods. This is quite invaluable especially when designing topology preserving removal operations for thinning transformations. In 2D images, the 4-way and 8-way connected components in the special case of a 3 3 neighborhood can be counted. The proposed technique used the 8-way connected component analysis for segmentation of dental images and is discussed in Section 3.
3. The Proposed Method
The proposed method proposes preprocessing and segmentation of the dental images, as shown by Figure 1, and handled by the following steps.
3.1. Dataset Preparation: Augmentation
With the insufficient number of dental images for research, it is impossible to derive intelligent decisions by neural networks. Deep learning networks need huge amounts of data for training and testing purposes to achieve good evaluation performance. Image augmentation is highly prescribed and involves artificially creating training images through different ways of processing or a combination of multiple processing ways on the images present. One hundred and twenty images were subjected to data augmentation techniques, namely, image shifts via the width shift range and height shift range and rotation arguments to give 11,114 images after augmentation. The data augmentation process, as discussed in , can be described through the following steps:
(1) Flips. Horizontal and vertical flips for each image in the training set. Horizontal flips are commonly used in natural images, and vertical flips are used to capture in-variance to vertical reflection in medical images.
(2) Scaling. We scale each one in either the x or y direction; specifically, we apply an affine transformation, .
(3) Rotations. The following affine transformation is obtained:where is between 10 and 175° and is applied.
3.2. Image Enhancement
Dataset preparation is first done through data augmentation; then, image enhancement is handled by improving contrast, brightness adjustment, and scaling so as to compensate the nonuniformity caused by image illumination. This is done through filtering and morphology operations. Filtering is done through the use of Gaussian blur filters to remove noise and is shown by Figure 3.
After image filtering, morphology operations that include erosion and dilation were used to diminish foreground features while accentuating background features, as shown in Figure 4.
Morphology operations in the image enhancement process was to separate teeth from the background. It is followed by image thresholding; this is used to obtain the general outline of individual teeth in the X-ray and is shown by Figure 5.
3.4. Connected Component Analysis
The 8-way clustering method was introduced to combine components of the same properties and neighborhood. This was after image preprocessing, image enhancement, morphology operations, and thresholding. With this method, image pixels were grouped into connected darker and brighter binary mask regions. Darker regions were combined and connected together to form the background, while brighter pixels were combined to form the foreground binary mask. This component connected analysis was used to extract the ROI shown by Figure 6.
The detection of these darker or brighter regions was influenced by the (LoG) Laplacian of Gaussian approach, which is a convolution kernel of the formwhere is the width of the kernel. The masking procedure increases segmentation accuracy. Figure 7 shows segmentation results after the use of connected component analysis to extract the ROI on dental images.
4. Experiments and Results
The method was evaluated on an augmented dataset of 11,114 dental images. The dataset was split into two, the train set of 10 090 images and the test set of 1024 images. The method was trained on 10 090 train images and tested on 1024 test images. The success rate of the segmentation methods covered in this paper is from separating individual teeth from different jaw regions on an image. The success rate is measured on to how it clearly shows tooth edge boundaries and individual teeth on images throughout the whole dataset.
Teeth separation is correctly considered if the separation did not cause division of the teeth. Teeth, which were already partial as a result of being at the edge of the radiograph, are considered correctly separated if no further partiality was caused. Teeth that were not correctly segmented were either as a result of poor image contrast, where enhancement techniques could not salvage a distinction between teeth and nonteeth structures. It should be noted that the proposed segmentation method after optimization exhibited better results than compared existing implementations. Table 1 provides a comparison of the proposed method to other implementations of connected component analysis. Results obtained from the proposed segmentation method indicate a noticeable improvement on existing models. Figure 7 shows some image examples of the segmentation results.
Figure 8 shows training and validation accuracy graphs of the proposed threshold connected analysis segmentation method on our augmented dataset.
5. Conclusion and Future Work
Deep learning methods have been used for medical imaging and are now invaluable to the segmentation and detection of dental caries on dental imaging. In segmentation, regions of interest are segmented from the larger image to locate objects of similar characteristics and features. Segmentation is also the partitioning of an image into several segments from the larger image so as to locate objects and their edges. Dental image segmentation can be categorized based on similarity, namely, region-based methods, and discontinuities, namely, boundary-based methods. Several works by different authors have been reviewed to expound more on the various segmentation methods and their use.
Soft computing approaches such as fuzzy logic, artificial neural network, and genetic algorithm have been emphasized and used for image segmentation. Contribution in  presents state-of-the-art elaboration of almost all dimensions associated with image segmentation. They encapsulate various aspects such as emerging topics, methods, evaluation parameters, problems associated with different types of images, databases, segmentation applications, and other resources that can be advantageous to researchers in developing new methods for segmentation.
The proposed paper here has discussed the proposed threshold connected component (TCC) segmentation method used. This segmentation method used preprocessing methods that include augmentation, and image enhancement methods and thresholding were discussed and implemented to make sure accurate segmentation is achieved. Thresholding was used to obtain the general outline of teeth, and then, connected component analysis by the 8-way clustering method was used. This clustering method was used to group pixels as either dark or bright pixel masks to allow separation of teeth from the background of the whole image.
Dental image datasets are hard to find publicly; thus, there is a need for data augmentation. Evaluating performance of these deep learning methods takes longer periods due to large volumes of data and thus longer training and testing time. Several evaluation protocols for performance evaluation have been introduced to reduce the time taken for training and testing networks. Therefore, it is important to use established protocols to evaluate performance of models, networks, and methods ability to meet expectations or goals through various measurements.
There are major observations from earlier research work in the segmentation and detection of dental caries which help in making justifiable conclusions. Some of those observations that we deem very important include(i)It was observed that existing work mostly employed a preprocessing step on the dental images to prepare the images for the next steps that follow(ii)It was also observed that the image processing method used for segmentation of dental caries had a ripple effect on the performance of the deep learning system used(iii)It was also observed that the performance of deep learning methods was dependent on the size of the dataset and image variability(iv)Data augmentation plays a big role in boosting the performance of deep learning methods especially those on not-too large datasets(v)It was also observed that dental images’ segmentation work use panoramic radiographs and Otsu thresholding for most connected component analysis
Therefore, it can be concluded that the proposed method provides a new approach to solve teeth segmentation problems. The method offers a robust way for providing sufficient data for deep learning in datasets through data augmentation. It also aids both individual teeth separation and edge boundary detection which makes it easier for both supervised and unsupervised learning models to correctly process teeth in the dataset. The success rate of the proposed method on the given supervised model provides a potential avenue for future work using unsupervised models thus leading to even better results.
Image analysis has been used by the proposed caries detection model in this thesis to determine presence of dental caries in dental radiographs. The final results depend heavily on the quality of the image by the time it reaches the diagnostic method. Weight regularization methods at the segmentation stage could improve the final result, and future work will look at how to implement such optimizations. The dataset that was used was relatively noise free; thus, minimal preprocessing needed to be implemented for noise removal. The dataset had few images for processing, and there was need to add more images through various processing methods, which will aid deep learning by the model. There are a series of encouraging future perspectives of study that may see improvement in dental segmentation and detection of dental caries. Among them are(i)Data availability and reliability: deep learning networks require large amount of data to be able to achieve meaningful and effective performance results. Due to the nature of dental images, there is need for hybrid datasets to aid good performance of the networks. There is need of public available datasets for dental images to make deep learning possible.(ii)Data standardization: many methods discussed in this research are handling image preprocessing via manual methods such as cropping regions of interest on an image. These methods contribute to loss of some key details from the images. Some networks end up dividing a whole image into subregions and this ends up slowing down the learning process that occurs one subregion after the other. Other methods such as downsampling lead to deletion of important image details, and this is due to limitations in computational power. Deep learning approaches have seen an increase in learning of whole images rather than the manual manipulation of images via preprocessing, so as to get more general and accurate results.(iii)Weight regularization methods: deep learning methods and networks can also be improved by the introduction of weight regularization to improve their performance. The regularization of weights involves optimization of model hyperparameters such as the learning rate and the dropout rate. Basically, weight regularization methods are introduced into networks for parameter optimization.(iv)Hybrid approaches: deep learning methods can be further improved by combining several models or techniques to form hybrid ones that will eventually improve the overall evaluation performance. The combination can be at any stage of the model, for instance, combining two or more preprocessing techniques to come up with a single step to enhance image quality. The combination can also be handled by joining various attributes of different models to form one hybrid model that will enhance the training, extraction, detection, and classification of objects.
In addition to these optimizations, future work will look at expanding the proposed system’s ability to diagnose different images, since it was used for only bitewing radiographs from the same dataset. The scope will be expanded to test a variety of different radiographic types and also bitewing radiographs from different datasets.
The data used to support the findings of the study can be obtained from the corresponding author upon request.
Deep learning networks require large amount of data to be able to achieve meaningful and effective performance results. Due to the nature of dental images, there is need for hybrid datasets to aid good performance of the networks. There is need of public available datasets for dental images to make deep learning possible.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
S. Valizadeh, M. Goodini, S. Ehsani, H. Mohseni, F. Azimi, and H. Bakhshandeh, “Designing of a computer software for detection of approximal caries in posterior teeth,” Iranian Journal of Radiology: A Quarterly Journal Published by the Iranian Radiological Society, vol. 12, Article ID e16242, 2015.View at: Publisher Site | Google Scholar
H. Nokhbatolfoghahaie, M. Alikhasi, N. Chiniforush, F. Khoei, N. Safavi, and B. Yaghoub Zadeh, “Evaluation of accuracy of DIAGNOdent in diagnosis of primary and secondary caries in comparison to conventional methods,” Journal of Lasers in Medical Sciences, vol. 4, pp. 159–67, 2013.View at: Google Scholar
R. B. Subramanyam, K. P. Prasad, and B. Anuradha, “Different image segmentation techniques for dental image extraction,” International Journal of Engineering Research in Africa, vol. 4, pp. 173–177, 2014.View at: Google Scholar
M. Sezgin and B. Sankur, “Survey over image thresholding techniques and quantitative performance evaluation,” Journal of Electronic Imaging, vol. 13, pp. 146–166, 2004.View at: Google Scholar
T. Wagner and H. G. Lipinski, “IJBlob: an ImageJ library for connected component analysis and shape analysis,” Journal of Open Research Software, vol. 1, 2013.View at: Google Scholar
V. Muneeswaran, P. Nagaraj, S. Godwin, M. Vasundhara, and G. Kalyan, “Codification of dental codes for the cogent recognition of an individual,” in Proceedings of the 2021 5th International Conference on Intelligent Computing and Control Systems (ICICCS), pp. 1387–1390, Madurai, India, May 2021.View at: Publisher Site | Google Scholar
M. P. Rani, S. Chopra, and J. Chopra, “A survey of diagnosis of dental image diseases using soft computing techniques,” International Journal for Research in Applied Science & Engineering Technology, vol. 9, pp. 149–153, 2021.View at: Google Scholar
D. Zhang, Y. Gan, Z. Xia et al., “Molar axis estimation from computed tomography images,” in Proceedings of the 2016 38th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), pp. 1050–1053, Orlando, FL, USA, August 2016.View at: Publisher Site | Google Scholar
R. K. Devi, A. Banumathi, G. Sangavi, and M. S. Dawood, “A novel region based thresholding for dental cyst extraction in digital dental X-ray images,” in Proceedings of the International Conference On Computational Vision and Bio Inspired Computing, pp. 1633–1640, Coimbatore, India, September 2018.View at: Google Scholar
S. Ahmed, K. M. Saifuddin, A. S. Ahmed, A. A. Hossain, and M. T. Iqbal, “Identification and volume estimation of dental caries using CT image,” in Proceedings of the 2017 IEEE International Conference on Telecommunications and Photonics (ICTP), pp. 48–51, Dhaka, Bangladesh, December 2017.View at: Publisher Site | Google Scholar