A method for identifying tooth position and periapical periodontitis in oral curved-surface films based on deep learning
Through the combination of deep learning contour segmentation and sequence classification models, the problem of low tooth position and apical periodontitis recognition accuracy and model efficiency is solved, and higher recognition accuracy and efficiency are achieved, especially when utilizing sequences in image data. Features.
Patent Information
- Application Number
- CN202410766284.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-06-14
AI Technical Summary
In the existing technology, the recognition accuracy of tooth position and apical periodontitis is low, and the model processing efficiency is low. In particular, the sequence features in the image data are not fully utilized, resulting in poor recognition accuracy.
A method based on deep learning is used to establish a deep learning contour segmentation model and a sequence classification model. The Mask-RCNN and BiLSTM models are used to train the oral surface tomographic data, convert the contour data into sequence data, and perform standardization processing, combined with the deep learning contour Segmentation and sequence classification models for recognition.
It improves the recognition accuracy and model processing efficiency of tooth position and apical periodontitis, enhances the contour segmentation accuracy and model training convergence speed, captures contextual relationships through sequence data processing, and improves recognition accuracy and efficiency.
Smart Images

Figure CN118365964B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image recognition technology, and in particular to a method for identifying tooth position and periapical periodontitis in oral curved surface films based on deep learning. Background Art
[0002] As an important branch of AI technology, deep learning has been successfully applied to various types of medical image processing, including but not limited to the analysis of X-ray, CT, MRI and ultrasound images. At present, deep learning image recognition technology for dental images has been used to provide analysis references for doctors.
[0003] In the prior art, the patent publication number CN116363083A, "Caries detection method, system and readable storage medium based on hybrid model", adopts an alveolar bone detection model based on a deep learning target detection algorithm to extract the local alveolar bone area, thereby narrowing the detection range for the subsequent caries detection model and tooth detection model, thereby improving the efficiency of model detection; two independent but structurally identical deep learning target segmentation models use the self-attention mechanism to optimize the traditional detection head, replacing the traditional convolutional layer with the self-attention layer, and ultimately improving the accuracy of tooth instances and caries instances; using a specific result fusion algorithm, the confidence of different detection processes for the same target is retained, and by accumulating the weights of the confidence, a more accurate caries detection result is obtained.
[0004] When image data contains sequence features, it is necessary to consider combining the sequence features for recognition to improve the recognition accuracy. However, the above-mentioned prior art has not studied this aspect and cannot effectively utilize the sequence features in the image data, resulting in poor recognition accuracy. In addition, since several deep learning models of the above-mentioned prior art all process image data, there is also the problem of low model processing efficiency. Summary of the invention
[0005] The present invention provides a method for identifying tooth position and apical periodontitis in oral curved surface films based on deep learning, so as to solve the problems in the prior art of lack of reliable tooth position and apical periodontitis identification accuracy and low model processing efficiency.
[0006] On the one hand, the present invention provides a method for identifying tooth position and periapical periodontitis in oral curved surface films based on deep learning, comprising the following steps:
[0007] Step 1: Create an oral surface tomographic dataset.
[0008] Step 2: Establish a deep learning contour segmentation model, and use the oral curved surface tomography dataset to train the deep learning contour segmentation model to obtain a trained deep learning contour segmentation model.
[0009] Step three, input the oral curved surface tomographic data set into the trained deep learning contour segmentation model, output the tooth position and periapical periodontitis contour data, convert the contour data features into sequence data, and obtain a sequence data set.
[0010] Step 4: Establish a deep learning sequence classification model, and use the sequence data set to train the deep learning sequence classification model to obtain a trained deep learning sequence classification model.
[0011] Step five: Use the trained deep learning contour segmentation model and the trained deep learning sequence classification model to identify the actual tooth position and apical periodontitis.
[0012] In a possible implementation, step one includes:
[0013] Collect oral surface tomographic data.
[0014] The oral curved surface tomographic data are classified and labeled to obtain an oral curved surface tomographic data set.
[0015] In a possible implementation, in step 2, the deep learning contour segmentation model adopts a Mask-RCNN model.
[0016] In a possible implementation, in step 2, during the process of training the deep learning contour segmentation model using the oral surface tomographic film dataset, the learning rate is adjusted according to a preset step size and attenuation factor.
[0017] In a possible implementation, in step 3, the outputting of tooth position and periapical periodontitis contour data, and converting contour data features into sequence data include:
[0018] The tooth position and periapical periodontitis contour data are coordinate deconstructed to obtain contour feature coordinate data, namely the sequence data.
[0019] In a possible implementation, in step three, the tooth position and periapical periodontitis contour data are output, and after the contour data features are converted into sequence data, the sequence data is standardized.
[0020] In a possible implementation, in step 4, the deep learning sequence classification model adopts a BiLSTM model.
[0021] In a possible implementation, in step 4, the BiLSTM model uses an Adam optimizer to optimize the model weights during training.
[0022] In a possible implementation, in step 4, the loss function of the BiLSTM model during training adopts a cross entropy loss function.
[0023] The method for identifying tooth position and periapical periodontitis in oral curved surface films based on deep learning in the present invention has the following advantages:
[0024] By combining the deep learning contour segmentation model and the deep learning sequence classification model, the contour data features are converted into sequence data for secondary recognition, which improves the recognition accuracy and model processing efficiency.
[0025] The proposed deep learning contour segmentation model adopts the Mask-RCNN model to improve the accuracy of contour segmentation.
[0026] By adjusting the learning rate according to the preset step size and attenuation factor during the training of the deep learning contour segmentation model using the oral surface tomography dataset, the convergence speed of the model training was improved.
[0027] By deconstructing the coordinates of the tooth position and periapical periodontitis contour data, contour feature coordinate data, i.e., sequence data, is obtained, and image recognition is converted into sequence recognition, thereby improving the subsequent recognition accuracy and efficiency.
[0028] By standardizing the sequence data, the dimensional differences between different features are eliminated, making the impact of each feature on the result more balanced.
[0029] The proposed deep learning sequence classification model adopts the BiLSTM model, which can better capture the contextual relationships in sequence data and thus improve the recognition accuracy.
[0030] The Adam optimizer is used to optimize the model weights, and the model convergence speed is improved through momentum and adaptive learning rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A schematic flow chart of a method for identifying tooth position and periapical periodontitis in oral curved surface films based on deep learning provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] like Figure 1 As shown, the embodiment of the present invention provides a method for identifying tooth position and periapical periodontitis in oral curved surface tomography based on deep learning, comprising the following steps:
[0035] Step 1: Create an oral surface tomographic dataset.
[0036] Step 2: Establish a deep learning contour segmentation model, and use the oral curved surface tomography dataset to train the deep learning contour segmentation model to obtain a trained deep learning contour segmentation model.
[0037] Step three, input the oral curved surface tomographic data set into the trained deep learning contour segmentation model, output the tooth position and periapical periodontitis contour data, convert the contour data features into sequence data, and obtain a sequence data set.
[0038] Step 4: Establish a deep learning sequence classification model, and use the sequence data set to train the deep learning sequence classification model to obtain a trained deep learning sequence classification model.
[0039] Step five: Use the trained deep learning contour segmentation model and the trained deep learning sequence classification model to identify the actual tooth position and apical periodontitis.
[0040] Exemplarily, step one includes:
[0041] Collect oral surface tomographic data.
[0042] The oral curved surface tomographic data are classified and labeled to obtain an oral curved surface tomographic data set.
[0043] Specifically, this embodiment collects 3500 oral curved surface slice data, of which 2606 are valid data (images containing at least one wisdom tooth). Among the valid data, 1693 are provided by hospitals and 913 are obtained from public data sets.
[0044] The process of classifying the oral curved surface tomographic data in this embodiment is as follows: According to the FDI tooth position representation method, the tooth positions in the oral curved surface tomographic data are represented as "11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 41, 42, 43, 44, 45, 46, 47, 48", a total of 32 tooth positions, and classified according to the tooth positions. At the same time, when the oral curved surface tomographic data contains an apical periodontitis area, the area is classified as "GJZY".
[0045] This embodiment also uses Labelimg image annotation tools to annotate the classified oral curved surface tomographic data according to categories. Manual annotation is adopted, and after the annotation is completed, it is reviewed and checked by professional doctors. Repeated inspections are made to ensure that there are no repeated annotations, no missing annotations, and to ensure that the classification standards are unified. A total of 96,281 areas are annotated, of which 285 are apical periodontitis areas, and the rest are tooth areas.
[0046] Exemplarily, in step 2, the deep learning contour segmentation model adopts the Mask-RCNN model.
[0047] Specifically, in this embodiment, the pre-trained resnet50 network is used as the feature extraction network of the Mask-RCNN model, which can accurately identify the contours of the tooth position area and the apical periodontitis area in the oral surface tomography data, and the classification and identification of the tooth position area and the apical periodontitis area is achieved through a subsequent deep learning sequence classification model.
[0048] Specifically, the Mask-RCNN model evolved from the Faster-RCNN model. It also obtains the training data of the head network through the pooling operation of the RoI Align pooling layer. The input data of the head network first passes through two layers of convolutional networks, then enters two fully connected layers, and then enters the softmax layer and linear regression activation layer respectively. The softmax layer is trained using the cross entropy loss function, and the linear regression layer is trained using the SmoothL1 loss function. This is consistent with the training of anchor points in the RPN network.
[0049] Exemplarily, in step 2, in the process of training the deep learning contour segmentation model using the oral surface tomographic film dataset, the learning rate is adjusted according to the preset step size and attenuation factor.
[0050] Specifically, in this embodiment, the preset step size of the learning rate adjustment is: at the end of the 16th and 22nd training iterations, the learning rate is decayed according to a decay factor, and the decay factor is set to 0.1. By using a larger learning rate in the early stage of training to converge quickly, and gradually reducing the learning rate in the later stage of training to fine-tune the model, the overall performance of the model can be improved.
[0051] Exemplarily, in step 3, the outputting of tooth position and periapical periodontitis contour data, and converting contour data features into sequence data include:
[0052] The tooth position and periapical periodontitis contour data are coordinate deconstructed to obtain contour feature coordinate data, namely the sequence data.
[0053] Specifically, the tooth position and apical periodontitis contour data are coordinate deconstructed, and the contour feature coordinate data converted from each image in the tooth position and apical periodontitis contour data contains the coordinate position of the contour point in the image. A series of features can be obtained by analyzing the coordinate position. For example: by calculating the average value of the coordinate position of all points of a contour, the center coordinate position of the contour can be obtained; the Y-axis coordinate of the center coordinate position of each contour is calculated, and according to the distribution law of the coordinate position, it can be obtained whether a certain contour belongs to the upper row or the lower row; the area of a certain contour is calculated and compared with the area of other contours, etc.
[0054] In this embodiment, the profile feature sequence data includes 10 features as follows:
[0055] The X-axis coordinate of the center coordinate position. This feature reflects the distribution of the overall coordinates of a contour in the left and right directions.
[0056] The Y-axis coordinate of the center coordinate position. This feature reflects the distribution of the overall coordinates of a contour in the up and down directions.
[0057] The contour area, the areas of different tooth positions and the apical periodontitis areas have certain regularities.
[0058] Whether there is a left adjacent contour. This feature can reflect whether there is another contour distribution on the left.
[0059] Whether there is a contour adjacent to the right. This feature can reflect whether there is another contour distribution on the right.
[0060] Whether it is a higher row on the Y axis, this feature can help determine whether the tooth position of the contour belongs to the upper row.
[0061] The maximum coordinate point on the X-axis. This feature can reflect the arrangement pattern of a certain contour and the contours on the left and right sides.
[0062] The minimum coordinate point on the X-axis. This feature can reflect the arrangement pattern of a certain contour and the contours on the left and right sides.
[0063] The maximum coordinate point on the Y axis. This feature can reflect the arrangement pattern of a certain contour and the contours above and below.
[0064] The minimum coordinate point on the Y axis. This feature can reflect the arrangement pattern of a certain contour and the contours above and below it.
[0065] Exemplarily, in step three, the tooth position and periapical periodontitis contour data are output, and after the contour data features are converted into sequence data, the sequence data is standardized.
[0066] Specifically, the standardization process is to scale each feature of the contour feature coordinate data (i.e., sequence data) to a range with a mean of 0 and a standard deviation of 1. As shown in the following formula:
[0067]
[0068] Among them, x represents the original data value, u represents the mean of all original data values of the feature, σ represents the standard deviation of all original data values of the feature, and Z represents the data value after standardization. By standardizing each data of each feature of the contour feature coordinate data, the data distribution of each feature will be centered on 0 and the standard deviation will be 1, which helps to eliminate the dimensional differences between different features and make the impact of each feature on the result more balanced, thereby improving the efficiency and effect of model training.
[0069] Exemplarily, in step 4, the deep learning sequence classification model adopts a BiLSTM model.
[0070] Specifically, the BiLSTM model is a recurrent neural network used to process sequence data. The BiLSTM model consists of two LSTM models, including a forward model and a reverse model. The forward model reads the input sequence data in chronological order, while the reverse model reads the input sequence data in reverse order. This bidirectional design enables the BiLSTM model to consider both past and future contextual information.
[0071] Specifically, the LSTM model contains three main gate control structures: forget gate, input gate, and output gate.
[0072] The calculation formula of the forget gate is as follows:
[0073]
[0074] in, represents the output of the forget gate, represents the sigmoid activation function, represents the weight matrix of the forget gate, represents the hidden state at the previous time step, represents the input of the current time step, Represents the bias term of the forget gate.
[0075] The calculation formula of the input gate is as follows:
[0076]
[0077]
[0078] in, represents the sigmoid activation part of the input gate, Represents the candidate value of the input gate, which is obtained by the tanh activation function. and Represent the weight matrices of the input gate and candidate values, respectively, and Represent the weight matrix bias terms of the input gate and candidate value respectively.
[0079] The calculation formula of the output gate is as follows:
[0080]
[0081]
[0082] in, represents the output of the output gate, represents the weight matrix of the output gate, represents the bias term of the output gate, represents the cell state at the current time step, Represents the hidden state at the current time step.
[0083] Exemplarily, in step 4, the BiLSTM model uses the Adam optimizer to optimize the model weights during training.
[0084] Specifically, the Adam optimizer combines the advantages of the Momentum optimizer and the RMSprop optimizer to adjust the model weights to minimize the loss function. The update rule used by the Adam optimizer is more complex than the standard stochastic gradient descent (SGD), involving momentum and adaptive learning rate, which improves the model convergence speed.
[0085] Exemplarily, in step 4, the loss function of the BiLSTM model during training adopts a cross entropy loss function.
[0086] Specifically, the cross entropy loss function is used to calculate the cross entropy between the recognition result of the BiLSTM model and the true label. It is a commonly used loss function for binary or multi-classification problems. Its formula is as follows:
[0087]
[0088] in, Represents the one-hot encoding of the true label, Represents the probability distribution of the recognition result, and i represents the i-th recognition result.
[0089] In a possible embodiment, the oral curved surface tomography dataset is divided into training set, validation set, and test set in a ratio of 6:2:2. After 200 training iterations, the test set is tested using the trained deep learning contour segmentation model and the trained deep learning sequence classification model, with an accuracy of 79.03%, a precision of 78.60%, a recall of 78.17%, and an F1 value of 78.15%.
[0090] The embodiment of the present invention combines a deep learning contour segmentation model with a deep learning sequence classification model, converts contour data features into sequence data, and then performs secondary recognition, thereby improving recognition accuracy and model processing efficiency.
[0091] The proposed deep learning contour segmentation model adopts the Mask-RCNN model to improve the accuracy of contour segmentation.
[0092] By adjusting the learning rate according to the preset step size and attenuation factor during the training of the deep learning contour segmentation model using the oral surface tomography dataset, the convergence speed of the model training was improved.
[0093] By deconstructing the coordinates of the tooth position and periapical periodontitis contour data, contour feature coordinate data, i.e., sequence data, is obtained, and image recognition is converted into sequence recognition, thereby improving the subsequent recognition accuracy and efficiency.
[0094] By standardizing the sequence data, the dimensional differences between different features are eliminated, making the impact of each feature on the result more balanced.
[0095] The proposed deep learning sequence classification model adopts the BiLSTM model, which can better capture the contextual relationships in sequence data and thus improve the recognition accuracy.
[0096] The Adam optimizer is used to optimize the model weights, and the model convergence speed is improved through momentum and adaptive learning rate.
[0097] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0098] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for identifying tooth position and periapical periodontitis in oral curved surface films based on deep learning, characterized in that: The following steps are involved: Step 1: Establish an oral surface tomographic data set; Step 2: establishing a deep learning contour segmentation model, and using the oral curved surface tomographic film dataset to train the deep learning contour segmentation model to obtain a trained deep learning contour segmentation model; Step 3, inputting the oral curved surface tomographic data set into the trained deep learning contour segmentation model, outputting tooth position and periapical periodontitis contour data, converting contour data features into sequence data, and obtaining a sequence data set; Step 4: Establish a deep learning sequence classification model, and use the sequence data set to train the deep learning sequence classification model to obtain a trained deep learning sequence classification model; Step 5: Use the trained deep learning contour segmentation model and the trained deep learning sequence classification model to identify the actual tooth position and apical periodontitis; In step 3, the output of tooth position and periapical periodontitis contour data, converting contour data features into sequence data includes: Deconstructing the tooth position and periapical periodontitis contour data to obtain contour feature coordinate data, i.e., the sequence data; In step 4, the deep learning sequence classification model adopts a BiLSTM model; The BiLSTM model is composed of two LSTM models, including a forward model and a reverse model. The forward model reads the input sequence data in chronological order, while the reverse model reads the input sequence data in reverse order. The LSTM model contains three gate control structures: forget gate, input gate, and output gate; The calculation formula of the forget gate is as follows: in, represents the output of the forget gate, represents the sigmoid activation function, represents the weight matrix of the forget gate, represents the hidden state at the previous time step, represents the input of the current time step, Represents the bias term of the forget gate; The calculation formula of the input gate is as follows: in, represents the sigmoid activation part of the input gate, Represents the candidate value of the input gate, which is obtained by the tanh activation function. and Represent the weight matrices of the input gate and candidate values, respectively, and The weight matrix bias terms representing the input gate and candidate value respectively; The calculation formula of the output gate is as follows: in, represents the output of the output gate, represents the weight matrix of the output gate, represents the bias term of the output gate, represents the cell state at the current time step, represents the hidden state of the current time step; In step 4, the BiLSTM model uses the Adam optimizer to optimize the model weights during training; In step 4, the loss function of the BiLSTM model during training adopts the cross entropy loss function; The cross entropy loss function is used to calculate the cross entropy between the recognition result of the BiLSTM model and the true label. The formula is as follows: in, Represents the one-hot encoding of the true label, Represents the probability distribution of the recognition result, and i represents the i-th recognition result.
2. The method for identifying tooth position and periapical periodontitis based on oral curved surface tomography based on deep learning according to claim 1, characterized in that: Step one includes: Collect oral surface tomographic data; The oral curved surface tomographic data are classified and labeled to obtain an oral curved surface tomographic data set.
3. The method for identifying tooth position and periapical periodontitis based on oral curved surface tomography according to claim 1, characterized in that: In step 2, the deep learning contour segmentation model adopts the Mask-RCNN model.
4. The method for identifying tooth position and periapical periodontitis based on oral curved surface tomography according to claim 1, characterized in that: In step 2, during the process of training the deep learning contour segmentation model using the oral surface tomographic film dataset, the learning rate is adjusted according to the preset step size and attenuation factor.
5. The method for identifying tooth position and periapical periodontitis based on oral curved surface tomography based on deep learning according to claim 1, characterized in that: In step three, the tooth position and periapical periodontitis contour data are output, and after the contour data features are converted into sequence data, the sequence data is standardized.
Citation Information
Cited By
Lightweight oral image AI diagnosis system
CN120932865A
