This application claims priority to Taiwanese Invention Patent Application No. 111100413, filed on Jan. 5, 2022.
The disclosure relates to a method for facilitating caries detection, and more particularly to a method for facilitating caries detection using machine learning.
Conventionally, in determining whether a patient has dental caries, a dentist may use a mouth mirror to inspect appearances of the teeth, use a dental explorer to gently press surfaces of the teeth for tactile inspection and inquire if any pain is felt, or use dental radiography (X-ray) to obtain a panoramic X-ray image of the teeth for aiding in the diagnosis. These approaches heavily rely on the patient's personal feelings and the dentist's experience. If the patient cannot properly express his/her feelings or the dentist has not built up sufficient experience, dental caries might not be detected, which would result in delayed treatment.
Therefore, an object of the disclosure is to provide a method for facilitating caries detection that can aid a dentist in accurately and objectively evaluating dental conditions, and that can alleviate at least one of the drawbacks of the prior art.
According to the disclosure, the method for facilitating caries detection is to be performed based on a grayscale image that includes a plurality of tooth crown areas that respectively correspond to tooth crowns of teeth of a patient. The method includes a step of obtaining an object detection model, a step of obtaining a detection image based on the grayscale image using the object detection model, wherein the detection image is the grayscale image labeled with a plurality of tooth crown marks that respectively indicate the tooth crown areas and a caries mark that indicates a caries area which corresponds to a portion of one of the teeth that has caries and which extends from a contour toward an inner portion of one of the tooth crown areas, a step of determining, for one of the tooth crown marks that has the caries mark provided thereon, a width and a height of the tooth crown mark and a width and a height of the caries mark in the detection image, and a step of, for said one of the tooth crown marks that has the caries mark provided thereon, calculating a sum of the width and the height of the caries mark to obtain a total caries value, calculating a sum of the width and the height of the tooth crown mark to obtain a total crown value, and calculating a caries ratio as a ratio of the total caries value to the total crown value to obtain an evaluation result that indicates a severity of caries.
Other features and advantages of the disclosure will become apparent in the following detailed description of the embodiment(s) with reference to the accompanying drawings. It is noted that various features may not be drawn to scale.
Before the disclosure is described in greater detail, it should be noted that where considered appropriate, reference numerals or terminal portions of reference numerals have been repeated among the figures to indicate corresponding or analogous elements, which may optionally have similar characteristics.
Referring to
The grayscale image 1 has a plurality of tooth crown areas 11, and at least one caries area 12 that extends from a contour toward an inner portion of at least one tooth crown area among the tooth crown areas 11. It is noted that the tooth crown areas 11 respectively correspond to tooth crowns of the teeth of the patient, where tooth crowns refer to portions of the teeth covered by enamel and are usually visible inside the oral cavity. The caries area 12 corresponds to a portion of a tooth that has caries, i.e., tooth decay, caused by acid from bacteria dissolving hard tissues of the tooth. It is noted that a patient having dental caries is taken as an example in this disclosure so that the grayscale image 1 has the caries area 12, but in other embodiments, the grayscale image 1 may not have the caries area 12. Moreover, for the purpose of clear explanation of the method in this disclosure, the grayscale image 1 shown in
In some embodiments, the method for facilitating caries detection is to be performed by an electronic device (not shown) that includes a memory and a processor. The memory may store a plurality of instructions that when read by the processor cause the processor to execute steps of the method according to the disclosure. In some embodiments, the electronic device is implemented by a server (e.g., an application server or a computing server), a personal computer, a notebook computer, a tablet computer, a smartphone, or the like; the memory is implemented by flash memory, a hard disk drive (HDD), a solid state disk (SSD), an electrically-erasable programmable read-only memory (EEPROM) or any other non-volatile memory devices; the processor is implemented by a central processing unit (CPU), a microprocessor, a mobile processor, a micro control unit (MCU), a digital signal processor (DSP), a field-programmable gate array (FPGA), or any circuit configurable/programmable in a software manner and/or hardware manner to implement functionalities described in this disclosure.
Referring to
Referring to
In some embodiments, the training grayscale images of the training data sets undergo several image processing steps (i.e., data preprocessing) in advance to being used in the training process, and more than a hundred of the training data sets are used to generate the objection detection model. The image processing steps include, for example but not limited to, data conversion, data sorting, grayscale conversion, image positioning and tooth detection. Regarding data conversion, panoramic X-ray images are usually stored in the file format of Digital Imaging and Communications in Medicine (DICOM), and are converted to another file format more suitable for image processing, such as Joint Photographic Experts Group (JPEG). Regarding data sorting, panoramic X-ray images that are unsuitable for model training, such as panoramic X-ray images of teeth having the issue of teeth overlapping, are removed. Regarding grayscale conversion, since panoramic X-ray images produced by different dental radiography devices may have different grayscale ranges (e.g., −3000 to 3000), the grayscale ranges are thus converted to a common standard (e.g., 0 to 255) for subsequent processing. Regarding image positioning, computers are utilized to adjust the panoramic X-ray images such that objects (e.g., teeth) in each of the panoramic X-ray images may be framed and moved to a common position (e.g., the center) in the respective image. Regarding tooth detection, for each of the panoramic X-ray images, based on differences of grayscale values near edges of the teeth, each individual tooth may be detected by a preset algorithm.
Referring to
Specifically, the processor of the electronic device uses the object detection model to determine a plurality of U-shaped curves C that have grayscale values greater than 200 in the grayscale image 1 as parts of edges of the tooth crown areas 11, and to label the grayscale image 1 with the tooth crown marks 31 indicating the tooth crown areas 11. Since the enamel is the hardest tissue in the human body, is highly mineralized and has a high density, the enamel appears lightest in grayscale in the grayscale image 1 and thus has the highest grayscale value. Therefore, the processor uses the object detection model to detect U-shaped curves that have grayscale values greater than 200 as edges of the enamel so as to define the tooth crown areas 11.
Referring to
Referring to
In some embodiments, the caries ratio (i.e., the evaluation result) is calculated based on a function of:
In clinical treatment, a dentist adopts different approaches to treat dental caries depending on a depth and/or a width of the caries in the tooth crown. Since the tooth crown area 11 and the caries area 12 have irregular shapes for different teeth and are also different among different individuals, it is relatively difficult to evaluate a severity of caries based on a ratio of an area of the caries area 12 and an area of the tooth crown area 11. Therefore, in this disclosure, the largest width and the largest depth of the caries area 12 in the tooth crown area 11 are determined, the total caries value is then calculated, and the caries ratio of the total caries value to the total crown value is calculated next so as to determine a proportion of the tooth crown area 11 taken up by the dental caries. In this way, the severity of caries related to the caries area 12 with respect to the tooth crown area 11 can be evaluated. Through numerical presentation, a standardized classification can be established, and is exemplarily shown in a table below.
In some embodiments, when the caries ratio is smaller than 20%, it means that the caries area 12 extends from a surface toward the interior of the tooth crown area 11 but does not reach a midpoint of the enamel in terms of depth. In other words, the tooth crown corresponding to the tooth crown area 11 has mild caries. When the caries ratio ranges from 20% to 40%, it means that the caries area 12 extends from the surface toward the interior of the tooth crown area 11 and reaches the midpoint of the enamel in terms of depth. In other words, the tooth crown corresponding to the tooth crown area 11 has moderate caries. When the caries ratio ranges from 40% to 80%, it means that the caries area 12 extends from the surface toward the interior of the tooth crown area 11, reaches a junction of the enamel and the dentin, but does not reach a midpoint of the dentin in terms of depth. In other words, the tooth crown corresponding to the tooth crown area 11 has severe caries. When the caries ratio is greater 80%, it means that the caries area 12 extends from the surface toward the interior of the tooth crown area 11 and reaches the midpoint of the dentin in terms of depth. In other words, the tooth crown corresponding to the tooth crown area 11 has very severe caries.
By using the electronic device that stores the object detection model to obtain the evaluation result, a dentist is capable of objectively determining a degree of severity of dental caries related to the caries area 12 with respect to the tooth crown area 11 based on the evaluation result. Particularly for a case of mild caries, since the degree of severity of dental caries is relatively low and the patient might not feel any pain, when the dentist inspects the grayscale image 1 (i.e., a panoramic X-ray image) of the patient with his/her own eyes and consults the patient, the dentist might overlook the mild caries. Therefore, the method for facilitating caries detection according to this disclosure is capable aiding a dentist in quickly determining dental caries by providing numerical information, and in evaluating a severity of the caries in an objective manner. In this way, dental caries can be detected in an early stage and treated earlier, so that the risk of delayed treatment can be prevented, the pain of the patient can be reduced, and the treatment effect can be promoted.
Referring to
To sum up, by labeling the grayscale image 1 with the aforementioned marks in step S2 using the object detection model, by determining dimensions of a caries mark 32 and the corresponding tooth crown mark 31 in step S3, and by calculating the caries ratio in step S4, the method for facilitating caries detection according to this disclosure is capable of evaluating a degree of severity of dental caries. Based on the numerical information (i.e., the caries ratio), a dentist may be aided in evaluating a degree of severity of dental caries in a fast, accurate and objective manner. In this way, the likelihood that subjective feelings of the patient and lack of clinical experience of the dentist might adversely affect the result of diagnosis may be reduced. The risk of delayed treatment may also be prevented.
In the description above, for the purposes of explanation, numerous specific details have been set forth in order to provide a thorough understanding of the embodiment(s). It will be apparent, however, to one skilled in the art, that one or more other embodiments may be practiced without some of these specific details. It should also be appreciated that reference throughout this specification to “one embodiment,” “an embodiment,” an embodiment with an indication of an ordinal number and so forth means that a particular feature, structure, or characteristic may be included in the practice of the disclosure. It should be further appreciated that in the description, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of various inventive aspects; such does not mean that every one of these features needs to be practiced with the presence of all the other features. In other words, in any described embodiment, when implementation of one or more features or specific details does not affect implementation of another one or more features or specific details, said one or more features may be singled out and practiced alone without said another one or more features or specific details. It should be further noted that one or more features or specific details from one embodiment may be practiced together with one or more features or specific details from another embodiment, where appropriate, in the practice of the disclosure.
While the disclosure has been described in connection with what is (are) considered the exemplary embodiment(s), it is understood that this disclosure is not limited to the disclosed embodiment(s) but is intended to cover various arrangements included within the spirit and scope of the broadest interpretation so as to encompass all such modifications and equivalent arrangements.
Number | Date | Country | Kind |
---|---|---|---|
111100413 | Jan 2022 | TW | national |