A method for predicting periodontal health indicators based on gradient domain transformation and deep learning

Through gradient domain conversion and conditional generative adversarial network models, the problem of identifying the cementum-enamel junction and alveolar crest positions in periodontal disease assessment is solved, and high-accuracy and automated assessment of periodontal health indicators are achieved, optimizing Periodontal disease diagnosis process.

CN118365636BActive Publication Date: 2024-09-20STOMATOLOGICAL HOSPITAL TIANJIN MEDICAL UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410775022.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-20
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Existing periodontal disease assessment methods rely on manual measurement and visual inspection, which are inefficient and error-prone. It is difficult to accurately identify the cementum-enamel junction and alveolar crest position, affecting the accuracy of dental health assessment.

Method used

Using a method based on gradient domain conversion and deep learning, through gradient domain image processing and conditional generative adversarial network (cGAN) model, we can accurately identify the cementum-enamel junction and alveolar crest position, and calculate the clinical attachment loss value to improve Predictive accuracy of periodontal health indicators.

Benefits of technology

It achieves accurate identification of the cementum-enamel junction and alveolar crest position in periodontal X-ray images and accurate calculation of clinical attachment loss, significantly optimizes the periodontal disease diagnosis process, improves assessment efficiency and accuracy, and reduces reduce the workload of professionals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365636B
    Figure CN118365636B
Patent Text Reader

Abstract

The present invention relates to the technical field of medical image processing, and discloses a method for predicting periodontal health indicators based on gradient domain conversion and deep learning, comprising: preprocessing the periodontal X-ray image, the gradient domain conversion operation is used to highlight the edge information of the periodontal X-ray image, the resampling operation is used to resample the gradient domain image, and the gradient domain image denoising operation is used to remove the noise appearing in the gradient domain conversion operation and reduce the edge noise in the gradient domain image; creating a generator model and a discriminator model in a generative adversarial network, the generator model finely processes the preprocessed periodontal X-ray image, and outputs a predicted mask image that matches a real mask image of the cementum-enamel junction and the alveolar ridge top position; deep learning, gradient domain image processing technology and periodontal health indicator calculation are combined to improve the accuracy and automation of periodontal health indicator prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical image processing, and in particular to a method for predicting periodontal health indicators based on gradient domain conversion and deep learning. Background Art

[0002] Periodontal disease is one of the common diseases affecting adults worldwide. Its early diagnosis and accurate assessment are crucial to preventing tooth loss. Traditional periodontal disease assessment methods rely on manual measurement with a periodontal probe and visual inspection of X-ray images by dentists. These methods are not only time-consuming and inefficient, but are also limited by the physician's experience and subjective judgment and are prone to errors.

[0003] With the development of computer vision and machine learning technology, especially the application of deep learning in the field of medical image analysis, new possibilities have been provided for automated periodontal disease assessment. However, it is still challenging to automatically identify the positions of the cemento-enamel junction (CEJ) and the alveolar crest in dental X-ray images and accurately calculate the clinical attachment loss (CAL) value directly from dental X-ray images. This is mainly due to the complexity of the tooth structure in X-ray images and the unclear contrast between the cemento-enamel junction (CEJ) and the alveolar crest, which are difficult to separate using simple image processing techniques.

[0004] Although existing deep learning-based methods have made some progress in the segmentation and recognition of medical images, in the specific task of periodontal health assessment, how to effectively combine the local details and global structural information of the image, and how to design a network that can accurately predict the position of the cementum-enamel junction (CEJ) and the alveolar ridge top, are still hot topics and difficulties in research. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a method for predicting periodontal health indicators based on gradient domain transformation and deep learning, so as to achieve accurate identification of the cementum-enamel junction and the alveolar ridge top position in periodontal X-ray images, and accurately calculate the clinical attachment loss.

[0006] The present invention provides a method for predicting periodontal health indicators based on gradient domain conversion and deep learning, which is characterized by comprising:

[0007] Step S1, obtaining a periodontal X-ray image;

[0008] Step S2, preprocessing the periodontal X-ray image;

[0009] The preprocessing includes: gradient domain conversion operation;

[0010] The gradient domain conversion operation is used to highlight the edge information of the periodontal X-ray image;

[0011] The gradient domain conversion operation includes the generation of a gradient domain image, a resampling operation, and a gradient domain image denoising operation. The resampling operation is used to perform a filtering resampling operation on the gradient domain image to resample different pixels in the gradient domain image into the same pixels.

[0012] The gradient domain image denoising operation is used to remove the noise generated in the gradient domain conversion operation and reduce the edge noise in the gradient domain image; the gradient domain image denoising operation includes a grayscale opening operation and an erosion operation; a grayscale opening operation is performed on the gradient domain image after the resampling operation to remove the noise generated in the gradient domain conversion operation and smooth the periodontal contour;

[0013] The erosion operation is performed during the grayscale opening operation to reduce the size of the tooth contour and reduce edge noise in the gradient domain image;

[0014] Step S3, defining a comprehensive loss function for training a conditional generative adversarial network model, and adjusting the adversarial loss between the generator model and the discriminator model to obtain a trained conditional generative adversarial network model;

[0015] Step S31, creating a generator model and a discriminator model in a generative adversarial network model, wherein the generator model performs fine processing on the preprocessed periodontal X-ray image and outputs a predicted mask image that matches the real mask image of the cementum-enamel junction and the alveolar ridge top position;

[0016] Step S32, inputting the gradient domain image and the periodontal X-ray image into the generator model, and calculating the generator loss function, wherein the generator loss function is intended to reduce the difference between the predicted mask image generated by the generator model and the real mask image, so as to enable the generator model to generate a predicted mask image that is closer to the real mask image;

[0017] The discriminator model evaluates the difference between the true mask image and the predicted mask image;

[0018] Step S33, evaluating the difference between the real mask image and the predicted mask image according to the discriminator model to obtain a real mask image evaluation result and a predicted mask image evaluation result, and calculating a discriminator loss function according to the real mask image evaluation result and the predicted mask image evaluation result; the discriminator loss function is used to evaluate the identification result of the discriminator model, and is used to distinguish the generated predicted mask image from the real mask image;

[0019] Step S34, obtaining an image loss function for quantifying the pixel-level difference between the predicted mask image generated by the generator model and the real mask image;

[0020] Step S35, obtaining a comprehensive loss function according to the generator loss function, the discriminator loss function, and the image loss function, so as to optimize the performance of the generator model and the discriminator model;

[0021] Step S4, the trained conditional generative adversarial network model predicts the periodontal X-ray image to be predicted, and generates a mask image of the corresponding cementum-enamel junction and the alveolar ridge top position;

[0022] Step S5, calculating clinical attachment loss for the predicted mask images of the cementum-enamel junction and the alveolar ridge top position to evaluate periodontal health status.

[0023] Furthermore, the network structure of the generator model includes a double downsampling structure, a bottleneck area, a single upsampling structure, and a skip connection;

[0024] The dual downsampling structure includes two independent downsampling processes for extracting basic features of the cementum-enamel junction and the alveolar ridge top position;

[0025] The basic features of the cementum-enamel junction and the alveolar ridge top position extracted by the double downsampling structure are spliced ​​to obtain a splicing result, and the splicing result is used as the input of the bottleneck area, the bottleneck area is formed by connecting three residual networks, the bottleneck area calculates the splicing result to obtain a splicing calculation result, and the splicing calculation result is used as the output of the bottleneck area;

[0026] The single upsampling structure includes performing three upsampling operations on the output of the bottleneck region, for adjusting the dimension of the output of the bottleneck region so that the dimension of the upsampled output is the same as the dimension of the input periodontal X-ray image;

[0027] The double downsampling process and the corresponding single upsampling process are both performed three times. In the three downsampling processes and the corresponding three single upsampling processes, the feature vectors of the downsampling process and the single upsampling process are spliced ​​through jump connections to complete refinement processing, and a predicted mask image that matches the real mask image of the cementum-enamel junction and the alveolar ridge top position is output to maintain the stability of the overall structure of the generated tooth mask.

[0028] Furthermore, the two independent downsampling processes in the dual downsampling structure include a downsampling process E1 and a downsampling process E2, wherein the downsampling process E1 performs three downsampling operations on the periodontal X-ray image in step S1 to extract the basic features I1 of the periodontal X-ray image, wherein the basic features I1 include tooth shape, tooth size and tooth position information, and the downsampling process E2 performs two downsampling operations on the gradient domain image to extract the basic features I2 of the cementum-enamel junction and the alveolar ridge top position from the preprocessed gradient domain image, wherein the basic features I2 are used to extract the contour information of the cementum-enamel junction and the alveolar ridge top position on the gradient domain image after the grayscale opening operation.

[0029] Furthermore, the grayscale opening operation is specifically performed as follows:

[0030] ;

[0031] in, It represents the result of grayscale opening operation on the gradient domain image after resampling operation. represents the expansion operation, represents the corrosion operation, represents the gradient domain image after the resampling operation, T represents the cross-shaped structure element, It represents pixel selection of the gradient domain image after the resampling operation in the cross-shaped structure element T.

[0032] Furthermore, the operation process of the corrosion operation is specifically as follows:

[0033] ;

[0034] In the formula, represents the erosion operation, S is the circular structure element, (x, y) represents the original pixel position after the gradient domain image resampling operation, Refers to the circular structure element S to select pixels from the resampled gradient domain image. Represents the circular structure element S to select pixel positions for the gradient domain image after the resampling operation. Represents a dental X-ray image after preprocessing by resampling operation At the pixel position in the circular structuring element S, represents the pixel offset of the preprocessed dental X-ray image on the circular structure element S relative to the center of the cross structure element T, The pixel position of the gradient domain image after the resampling operation on the circular structure element S is shifted from the original pixel position (x, y) to the new position relative to the pixel at the center of the cross structure element T. The pixel value of min( ) means taking the minimum value; Represents the gradient domain image after the resampling operation is moved from the original pixel position (x, y) to the new position When the pixel value is , the minimum value of the pixel offset on the circular structure element S relative to the center of the cross structure element T.

[0035] Furthermore, the expansion operation in the grayscale opening operation is used to restore the tooth contour size and retain the overall characteristics of the tooth. The specific operation process is as follows:

[0036] ;

[0037] in, represents the dilation operation, S is the circular structure element, (x, y) represents the original pixel position after the gradient domain image resampling operation, represents the pixel position of the preprocessed dental X-ray image in the structural element S, represents the pixel offset of the preprocessed dental X-ray image on the circular structure element S relative to the center of the cross structure element T, Refers to the pixel selection of the resampled gradient domain image in the circular structure element S. Represents the circular structure element S to select pixel positions for the gradient domain image after the resampling operation. The pixel position of the gradient domain image after the resampling operation on the circular structure element S is shifted from the original pixel position (x, y) to the new position relative to the pixel at the center of the cross structure element T. The pixel value of max( ) operation means taking the maximum value. Indicates that the gradient domain image after the resampling operation moves from the original pixel position (x, y) to the new position When the pixel value is , the maximum value of the pixel offset on the circular structure element S relative to the center of the cross structure element T.

[0038] Furthermore, the comprehensive loss function is:

[0039] ;

[0040] in, Represents the weight coefficient of the generator loss function, represents the weight coefficient of the discriminator loss function, Represents the weight coefficient of the image loss function, represents the discriminator loss function, represents the generator loss function, Represents the image loss function.

[0041] Further, the calculation of clinical attachment loss comprises the following steps:

[0042] Step S51, extracting a set of edge points of the cementum-enamel junction and a set of edge points of the alveolar ridge top position from the mask images of the predicted cementum-enamel junction and the alveolar ridge top position;

[0043] Step S52, calculating the distance between any edge point in the edge point set at the cementum-enamel junction and any edge point in the edge point set at the alveolar crest position and constructing a distance matrix;

[0044] Step S53, selecting from the distance matrix the minimum distance between any edge point in the edge point set at the cementum-enamel interface and any edge point in the edge point set at the alveolar crest as the clinical attachment loss.

[0045] Furthermore, the calculation formula of the distance matrix is:

[0046] ;

[0047] in, The set of edge points representing the cementum-enamel interface, Represents the edge point set at the top of the alveolar ridge, [:] represents the selection of all vectors of any dimension in the distance matrix, [:,:,0] represents the selection of the abscissa of the edge point set at the cementum-enamel junction and / or the top of the alveolar ridge, and [:,:,1] represents the selection of the ordinate of the edge point set at the cementum-enamel junction and / or the top of the alveolar ridge.

[0048] Furthermore, the calculation formula for clinical attachment loss is:

[0049] ;

[0050] in, represents the distance between the ith edge point in the edge point set at the cementum-enamel junction and the ith edge point in the edge point set at the alveolar ridge top position, The minimum value of the distance between any edge point in the edge point set at the cementum-enamel junction and any edge point in the edge point set at the alveolar ridge top position.

[0051] The embodiments of the present invention have the following technical effects:

[0052] 1. The present invention develops a novel automated method to accurately identify the cemento-enamel junction (CEJ) and the alveolar ridge crest in periodontal X-ray images, and accurately calculate the clinical attachment loss (CAL) to provide support for the diagnosis and evaluation of periodontal disease; the present invention aims to combine deep learning, gradient domain image processing technology and periodontal health index calculation to improve the accuracy and automation of periodontal health index prediction, significantly optimize the periodontal disease diagnosis process, and reduce the workload of professionals.

[0053] 2. A gradient domain image conversion operation based on the Sobel operator is used to enhance the edge information of periodontal X-ray images, assisted by a conditional generative adversarial network (cGAN) training model to accurately predict the cementum-enamel junction (CEJ) and the alveolar ridge top position; in addition, this application also introduces a method for automatically calculating clinical attachment loss (CAL) to ensure high accuracy and consistency of the prediction results, showing excellent potential in improving the efficiency and accuracy of periodontal disease assessment, and has important practical application value for dental medical practice. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0055] Figure 1 It is a flow chart of a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention;

[0056] Figure 2 A periodontal X-ray image of a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention;

[0057] Figure 3 It is a marked cementum-enamel junction image in a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention;

[0058] Figure 4 It is a periodontal bone image that has been annotated in a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention;

[0059] Figure 5 It is an execution block diagram of a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention;

[0060] Figure 6 This is a flow chart of conditional generative adversarial network training in a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described clearly and completely below. 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 belong to the scope of protection of the present invention.

[0062] Figure 1 is a flow chart of a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention. Figure 1 , including the following steps:

[0063] Step S1, obtaining a periodontal X-ray image;

[0064] Periodontal X-ray images Figure 2 shown.

[0065] The original images used in this embodiment include, in addition to the periodontal X-ray images, the cementum-enamel junction and the periodontal bone images marked on the periodontal X-ray images. Figure 3-4 shown.

[0066] Step S2, preprocessing the periodontal X-ray image;

[0067] Step S2 proposes a set of input image preprocessing operation procedures for clinical attachment loss calculation tasks, which uniquely combines gradient domain conversion operations, resampling operations, and grayscale opening operations. First, the edge information is highlighted by applying gradient domain conversion, and then the Lanczos filter is used for high-quality resampling. Finally, the image details and segmentation effects are further enhanced through morphological grayscale opening operations. This process directly processes periodontal X-ray images, significantly improving the efficiency and accuracy of image processing. This set of detailed operation procedures innovatively optimizes the periodontal X-ray image preprocessing steps and provides strong image support for accurate calculation of clinical attachment loss.

[0068] The preprocessing includes: gradient domain conversion operation;

[0069] The gradient domain conversion operation specifically includes the following steps:

[0070] The Sobel operator is used to perform a gradient domain conversion operation on the periodontal X-ray image to enhance / highlight the representation of the edge information of the periodontal X-ray image, so as to provide a more accurate feature input for the subsequent conditional generative adversarial network model; specifically, the Sobel operator includes two convolution kernels, The convolution kernel is used to process horizontal edges. The convolution kernel is used to process the edges in the vertical direction. The gradients in the two directions are combined to calculate the edge strength of each point in the periodontal X-ray image. The edge strength calculation formula is:

[0071] ;

[0072] Where I represents the periodontal X-ray image, Represents the convolution kernel used to process horizontal edges. Represents the convolution kernel used to process vertical edges;

[0073] according to Convolution kernel and The convolution kernel generates a gradient domain image. The gradient domain image generation process is:

[0074] ;

[0075] in, Representative basis Convolution kernel and The gradient domain image generated by the convolution kernel, Represents the convolution kernel used to process horizontal edges. Represents the convolution kernel used to process vertical edges;

[0076] The gradient domain conversion operation also includes a resampling operation to generate a gradient domain image. A filtering and resampling operation is performed to resample different pixels in the gradient domain image into the same pixels, so as to improve the efficiency of subsequent network training while reducing the ringing effect. The specific conversion process is as follows:

[0077] ;

[0078] represents the gradient domain image after the resampling operation, L represents the filter operation, a represents the convolution kernel size of the filter in the filter operation, a=3, W represents the length of the gradient domain image after the resampling operation, and H represents the width of the gradient domain image after the resampling operation;

[0079] The gradient domain conversion operation also includes a gradient domain image denoising operation, which is used to remove the noise generated in the gradient domain conversion operation and reduce the edge noise in the gradient domain image; the gradient domain image denoising operation includes a grayscale opening operation and an erosion operation; the grayscale opening operation refers to performing a grayscale opening operation on the gradient domain image after the resampling operation, which is used to remove the noise generated in the gradient domain conversion operation and smooth the periodontal contour while keeping the overall tooth contour unchanged. The specific operation process is as follows:

[0080] ;

[0081] ;

[0082] in, It represents the result of grayscale opening operation on the gradient domain image after resampling operation, so as to provide more accurate feature input for the subsequent conditional generative adversarial network model. represents the expansion operation, represents the corrosion operation, represents the gradient domain image after the resampling operation, T represents a cross-shaped structural element, and the cross-shaped structural element can highlight the features in the vertical and horizontal directions when performing morphological operations. In this embodiment, it is believed that the cross-shaped structural element T has a significant effect on the periodontal image processing task, which helps to focus on the tooth gap or the tooth and gum margin. Indicates pixel selection of the gradient domain image after the resampling operation in the cross-shaped structure element T;

[0083] The erosion operation in the grayscale opening operation process is used to reduce the tooth contour size and reduce the fine noise at the edge of the gradient domain image. The operation process of the erosion operation is specifically as follows:

[0084] ;

[0085] In the formula, represents the erosion operation, S is the circular structure element, (x, y) represents the original pixel position after the gradient domain image resampling operation, Refers to the circular structure element S to select pixels from the resampled gradient domain image. Represents the circular structure element S to select pixel positions for the gradient domain image after the resampling operation. Represents a dental X-ray image after preprocessing by resampling operation At the pixel position in the circular structuring element S, represents the pixel offset of the preprocessed dental X-ray image on the circular structure element S relative to the center of the cross structure element T, The pixel position of the gradient domain image after the resampling operation on the circular structure element S is shifted from the original pixel position (x, y) to the new position relative to the pixel at the center of the cross structure element T. The pixel value of min( ) means taking the minimum value; Represents the gradient domain image after the resampling operation is moved from the original pixel position (x, y) to the new position When the pixel value is , the minimum value of the pixel position on the circular structure element S relative to the pixel center of the cross structure element T;

[0086] It is worth noting that the circular structure element S can smooth the image without introducing directional bias, which involves morphological operations and smoothing techniques in image processing. First, morphological operation is an important tool in image processing, which is used to extract useful information from images. The circular structure element S is a tool in morphological operation. Its shape is circular and can perform various operations on images, such as dilation and corrosion. Secondly, smoothing images is an important step in image processing. Its main purpose is to reduce noise and messy pixel values ​​in the image and make the image smoother and clearer. Common image smoothing methods include mean filtering, median filtering, Gaussian filtering, etc. The advantage of using a circular structure element for smoothing operations is that it can process images without introducing directional bias. Directional bias refers to the fact that in the process of image processing, due to the characteristics of the tools or methods used, the image is more affected or changed in a certain direction. The circular structure element can process the image evenly in all directions due to the characteristics of its shape, thereby avoiding the introduction of directional bias. When a circular structure element is used for smoothing operations, it can ensure that the image can be processed evenly and smoothly in all directions, thereby improving the quality and accuracy of image processing.

[0087] The expansion operation in the grayscale opening operation process is used to restore the tooth contour size and retain the overall characteristics of the tooth. The specific operation process is as follows:

[0088] ;

[0089] in, represents the dilation operation, S is the circular structure element, (x, y) represents the original pixel position after the gradient domain image resampling operation, represents the pixel position of the preprocessed dental X-ray image in the structural element S, represents the pixel offset of the preprocessed dental X-ray image on the circular structure element S relative to the center of the cross structure element T, Refers to the pixel selection of the resampled gradient domain image in the circular structure element S. Represents the circular structure element S to select pixel positions for the gradient domain image after the resampling operation. The pixel position of the gradient domain image after the resampling operation on the circular structure element S is shifted from the original pixel position (x, y) to the new position relative to the pixel at the center of the cross structure element T. The pixel value of max( ) operation means taking the maximum value. Indicates that the gradient domain image after the resampling operation moves from the original pixel position (x, y) to the new position When the pixel value is , the maximum value of the pixel position on the circular structure element S relative to the pixel center of the cross structure element T;

[0090] In summary, the gradient domain image after resampling and grayscale opening operation preprocessing is used as the input image of the conditional generative adversarial network model for the subsequent recognition of the cementum-enamel junction and the alveolar ridge top position;

[0091] In this embodiment, the gradient domain conversion operation is performed on the periodontal X-ray image by the Soble operator to generate a gradient domain image, and then a series of technical effects such as highlighting edge information, unifying pixels, removing noise, and highlighting the overall characteristics of teeth are achieved through resampling operations and grayscale opening operations. Specifically, the following are performed:

[0092] 1. Edge information highlighting: The Sobel operator can highlight the high gradient area in the image, that is, the edge part, which is particularly important for periodontal X-ray images, because the edge information of teeth and periodontal tissues is crucial for subsequent analysis and identification. Through gradient domain conversion, the edge information of the image is significantly enhanced, making the contours of teeth and periodontal tissues clearer;

[0093] 2. Pixel unification and noise removal: The resampling operation can adjust the image resolution as needed to make the pixel distribution more uniform. At the same time, the grayscale opening operation can remove noise and small detail structures in the image, further smooth the image, and reduce the impact of noise on subsequent analysis. These operations together improve the clarity and readability of the image;

[0094] 3. Highlight the overall features of teeth: Through the combined preprocessing of gradient domain conversion, resampling operation and grayscale opening operation, the overall features of teeth are better preserved and highlighted, so that in the subsequent conditional generative adversarial network, the model can more accurately identify and segment the cementum-enamel junction and the alveolar ridge top position, thereby improving the precision and accuracy of recognition;

[0095] 4. Improve the performance of conditional generative adversarial networks: Using preprocessed images as the input of conditional generative adversarial networks can improve the training efficiency and generation quality of the network. Due to the optimization of edge information, pixel unification and noise removal, the network can better learn the characteristics of teeth and periodontal tissues, thereby generating more accurate and detailed segmentation results, thereby improving the calculation accuracy of subsequent clinical attachment loss.

[0096] Step S3, according to the prediction requirements of the cementum-enamel junction and the alveolar ridge top position, define a comprehensive loss function for conditional generative adversarial network (cGAN) training, and adjust the adversarial loss between the generator model and the discriminator model to obtain a trained conditional generative adversarial network model;

[0097] The prediction requirements for the cemento-enamel junction and alveolar crest position are: accurate identification of the cemento-enamel junction (CEJ) and alveolar crest position in periodontal X-ray images, and accurate calculation of clinical attachment loss (CAL) to support the diagnosis and evaluation of periodontal disease;

[0098] The image task of extracting contours from periodontal X-ray images often involves highly specialized image processing technology. Since the contrast between teeth and surrounding tissues in X-ray images is low, and the separation lines between teeth are very subtle, the images contain relatively few or unclear information points that are useful for specific tasks (such as contour extraction). Therefore, this embodiment improves on the traditional conditional generative adversarial network, proposes a generator model customized for the clinical attachment loss calculation task, and performs neural network training based on the model. Figure 6 This is a conditional generative adversarial network training flow chart in a method for predicting periodontal health indicators based on gradient domain conversion and deep learning provided by an embodiment of the present invention, see Figure 6 , specifically including the following steps:

[0099] Step S31, creating a generator model (R) and a discriminator model (D) in a generative adversarial network model (cGAN), wherein the generator model performs fine processing on the preprocessed periodontal X-ray image and outputs a predicted mask image that matches the real mask image of the cementum-enamel junction and the alveolar ridge top position;

[0100] There is a close relationship between the Conditional Generative Adversarial Network (CGAN) model and the deep learning model. Specifically, the CGAN model is a specific application of the deep learning model, especially an extension of the Generative Adversarial Network (GAN).

[0101] The network structure of the generator model includes a double downsampling structure, a bottleneck area, a single upsampling structure, and a jump connection; the double downsampling structure includes two independent downsampling processes, and the two independent downsampling processes in the double downsampling structure include a downsampling process E1 and a downsampling process E2. The downsampling process E1 performs three downsampling operations on the original periodontal X-ray image to extract the basic feature I1 of the periodontal X-ray image. The basic feature I1 is intended to extract the basic structural features of the periodontal X-ray image, including the shape, size and position information of the teeth. By gradually reducing the resolution of the image, this method helps to abstract a wider range of image content, remove unnecessary details, and focus on the overall The structural morphology of the cementum-enamel junction and the alveolar ridge top position; the downsampling process E2 performs two downsampling operations on the gradient domain image to extract the basic features I2 of the cementum-enamel junction and the alveolar ridge top position from the preprocessed gradient domain image, the basic features I2 are intended to extract the contour information of the cementum-enamel junction and the alveolar ridge top position from the preprocessed image after the grayscale opening operation of the gradient domain image after the resampling operation, the gradient domain image emphasizes the edge and transition area of ​​the image, making the boundaries of the cementum-enamel and the alveolar ridge top clearer, and the downsampling further highlights these areas, which is conducive to the accurate positioning and evaluation of the alveolar ridge top and periodontal lesion area in dental diagnosis;

[0102] The specific process of downsampling performed by the double downsampling structure is as follows:

[0103] ;

[0104] Among them, I represents the periodontal X-ray image, I1 represents the shape, size and position information of the tooth extracted by the downsampling process E1; I2 represents the contour information of the cementum-enamel junction and the alveolar ridge top position extracted by the downsampling process E2, It represents the result of grayscale opening operation on the gradient domain image after resampling operation;

[0105] The basic features I1 and I2 extracted above are spliced ​​to obtain a splicing result, and the splicing result is used as the input of the bottleneck area. The bottleneck area is formed by connecting three residual networks. The bottleneck area calculates the splicing result to obtain a splicing calculation result, and the splicing calculation result is used as the output of the bottleneck area. During the calculation process of the bottleneck area, the number of vector channels is kept unchanged. The calculation process of the bottleneck area is:

[0106] ;

[0107] Among them, Concat( ) represents the concatenation operation of basic features I1 and I2, represents the bottleneck area formed by connecting three residual networks, B represents the calculation result after the basic features I1 and I2 are concatenated, is the output of the bottleneck area;

[0108] Through feature concatenation, the model can combine two different levels of information, basic feature I1 and basic feature I2, in a single representation, thereby emphasizing the boundary contour information of cementum-enamel and alveolar ridge top while maintaining the basic semantic information of the tooth; the residual structure in the bottleneck area helps to improve the learning ability and stability of the model, especially when processing complex tooth image features, it can ensure that the key semantic information involving cementum-enamel and alveolar ridge top is not lost in the network depth;

[0109] The single upsampling structure includes performing three upsampling operations on the output of the bottleneck area, which is used to adjust the dimension of the output of the bottleneck area so that the dimension of the upsampled output is the same as the dimension of the input periodontal X-ray image, and the features extracted from the gradient domain image after upsampling are used to generate a mask image of the cementum-enamel junction and the alveolar ridge top position; specifically, the single upsampling structure gradually restores the dimension of the bottleneck area output by performing three upsampling operations, and finally makes the dimension of the output image the same as the dimension of the original input periodontal X-ray image; during the upsampling process, the model refines and accurately adjusts the tooth contour features transmitted from the bottleneck area; the features extracted from the target image after upsampling can more clearly define the boundaries and important areas of the periodontal structure, and the gradient domain image highlights the edge information of the image, which is particularly effective for accurately marking the cementum-enamel junction;

[0110] The specific process of upsampling in a single upsampling structure is as follows:

[0111] ;

[0112] in, represents three upsampling operations, is the predicted mask image generated by the generator model, is the output of the bottleneck area;

[0113] The double downsampling process and the corresponding single upsampling process are both performed three times. In the three downsampling processes and the corresponding three single upsampling processes, the feature vectors in the downsampling process and the single upsampling process are spliced ​​through jump connections to complete the refinement processing, and a predicted mask image matching the real mask image at the cementum-enamel junction and the alveolar ridge top is output to maintain the stability of the overall structure of the generated tooth mask; the setting of the jump connection ensures that the mask image at the cementum-enamel junction and the alveolar ridge top can maintain a high degree of accuracy and consistency of details during the generation process, and the splicing of the feature vectors further enhances the feature representation of these key areas, thereby improving the matching degree between the predicted mask image and the real mask image;

[0114] The specific process of skip connection is:

[0115] ;

[0116] in, represents the output vector of the nth skip connection, and Respectively represent the feature vectors in the nth downsampling and upsampling processes;

[0117] Step S32, input the gradient domain image and the periodontal X-ray image into the generator model, and calculate the generator loss function L R , while the discriminator model evaluates the difference between the real mask image and the predicted mask image; the generator loss function L R Aims to reduce the difference between the predicted mask image generated by the generator model and the real mask image, so that the generator model can generate a predicted mask image that is closer to the real mask image;

[0118] The generator loss function L R The calculation process is:

[0119] ;

[0120] ;

[0121] in, Represents the concatenation operation on a given dimension, X is the concatenated multidimensional vector, Indicates the calculation of the mathematical expectation of the concatenated multi-dimensional vector X. is the predicted mask image generated by the generator model, represents an evaluation operation, represents the evaluation result of the discriminator model on the generated predicted mask image. Specifically, the concatenated multi-dimensional vector X and the predicted mask image are used as the input of the discriminator model, and the discriminator discriminates the predicted mask image and the real mask image and outputs the evaluation result;

[0122] Step S33, evaluating the difference between the real mask image and the predicted mask image according to the discriminator model to obtain a real mask image evaluation result and a predicted mask image evaluation result, and calculating the discriminator loss function according to the real mask image evaluation result and the predicted mask image evaluation result ; Discriminator loss function It is used to evaluate the identification results of the discriminator model, with the aim of distinguishing the generated predicted mask image from the real mask image, improving the recognition accuracy of the discriminator so that it can effectively distinguish the real data from the generated data;

[0123] The discriminator loss function for:

[0124] ;

[0125] ;

[0126] in, represents the real mask image, represents the evaluation result of the discriminator model on the real mask image, Represents the concatenated X and the true mask image Calculate the mathematical expectation, represents the mathematical expectation of X. represents the predicted mask image generated by the generator model, represents an evaluation operation, represents the evaluation result of the discriminator model on the generated predicted mask image. Specifically, the concatenated multi-dimensional vector X and the predicted mask image are used as the input of the discriminator model, and the discriminator discriminates the predicted mask image and the real mask image and outputs the evaluation result;

[0127] Step S34, obtaining the image loss function , used to quantize the predicted mask images generated by the generator model and the true mask image The pixel-level difference between them ensures that the details of the generated predicted mask image are highly consistent with the real mask image, thereby improving the accuracy of the prediction results;

[0128] The image loss function for:

[0129] ;

[0130] in, In the calculation process of the image loss function, the difference between the real mask image and the predicted mask image generated by the generator model is used to represent the difference between the real mask image and the predicted mask image generated by the generator model.

[0131] Step S35, according to the generator loss function , discriminator loss function , image loss function Get the comprehensive loss function , used to optimize the performance of the generator model and the discriminator model, the comprehensive loss function for:

[0132] ;

[0133] in, represents the discriminator loss function, represents the generator loss function, represents the image loss function, Represents the weight coefficient of the generator loss function, represents the weight coefficient of the discriminator loss function, Represents the weight coefficient of the image loss function. The weight coefficient is used to adjust the relative importance of the generator loss function, the discriminator loss function, and the loss function in the comprehensive loss function, thereby achieving fine control of the model performance;

[0134] By setting a comprehensive loss function, the model can improve the prediction accuracy and the discrimination ability of the discriminator while ensuring the quality of the generated mask, providing strong technical support for the automated assessment and treatment planning of periodontal disease.

[0135] During the training process using the adversarial method, the generator model attempts to minimize its generator loss function, including minimizing the difference between the predicted mask image and the real mask image and the adversarial loss. The discriminator model attempts to maximize its discriminator loss function, which can better distinguish the real mask image from the generated predicted mask image. This adversarial optimization process allows the two to continuously improve in the competition. The predicted mask image generated by the generator gradually approaches the real mask image, and the discriminator's identification ability is also improved. Through multiple iterations and optimizations, the generator model and the discriminator model finally reach a relatively stable state. At this time, the generator model can generate high-quality predicted mask images, while the discriminator finds it difficult to distinguish whether the generated predicted mask image is real or generated. This means that the conditional generative adversarial network model has been trained and can be used for the subsequent prediction of mask images at the cementum-enamel junction and the alveolar ridge top.

[0136] Step S4, the trained conditional generative adversarial network model predicts the periodontal X-ray image to be predicted, and generates a mask image of the corresponding cementum-enamel junction and the alveolar ridge top position;

[0137] Step S5, calculating the clinical attachment loss (CAL) of the mask image of the predicted cementum-enamel junction and alveolar ridge top position to evaluate the periodontal health status; the whole process refers to Figure 5 As shown;

[0138] The calculation of clinical attachment loss includes the following steps:

[0139] Step S51, extracting a set of edge points of the cementum-enamel junction and a set of edge points of the alveolar ridge top position from the mask images of the predicted cementum-enamel junction and the alveolar ridge top position;

[0140] Step S52, calculating the distance between any edge point in the edge point set at the cementum-enamel junction and any edge point in the edge point set at the alveolar crest position and constructing a distance matrix;

[0141] The distance matrix is ​​constructed according to the distance between any edge point in the edge point set of the cementum-enamel junction and any edge point in the edge point set of the alveolar ridge top position, and the calculation formula of the distance matrix is:

[0142] ;

[0143] in, The set of edge points representing the cementum-enamel interface, Represents the edge point set of the alveolar ridge top position, [:] represents the selection of all vectors of any dimension in the distance matrix, specifically, [:,:,0] represents the selection of all data in the first and second dimensions and the first data in the third dimension in the edge point set of the cementum-enamel junction and / or the alveolar ridge top position, that is, the selection of the abscissa of the edge point set of the cementum-enamel junction and / or the alveolar ridge top position, [:,:,1] represents the selection of the ordinate of the edge point set of the cementum-enamel junction and / or the alveolar ridge top position;

[0144] Furthermore, the data in the first dimension of the distance matrix is ​​batchsize, which is a hyperparameter of the theological learning model. In deep learning, the size of the data set input each time the network is trained determines the number of samples processed simultaneously in each model training iteration; the data in the second dimension is the color channel, and the data in the third dimension is the edge point coordinates in the edge point set of the cementum-enamel junction and / or the alveolar ridge top position;

[0145] Step S53, selecting from the distance matrix the minimum distance between any edge point in the edge point set at the cementum-enamel interface and any edge point in the edge point set at the alveolar crest as the clinical attachment loss.

[0146] The calculation formula for the clinical attachment loss is:

[0147] ;

[0148] in, represents the distance between the i-th edge point in the edge point set at the cementum-enamel junction and the j-th edge point in the edge point set at the alveolar ridge top position, The minimum value of the distance between any edge point in the set of edge points at the cementum-enamel junction and any edge point in the set of edge points at the alveolar ridge top;

[0149] Clinical attachment loss (CAL) is an important examination for periodontitis. The evaluation indicators are based on the periodontitis staging standards. When the maximum point of CAL is 1-2mm, it can be judged as periodontitis stage I; 3-4mm is judged as periodontitis stage II; and 5mm or more is periodontitis stage III-IV. The higher the clinical attachment loss (CAL) value, the more severe the periodontitis stage and the more obvious the clinical manifestations. On the basis of determining the clinical attachment loss (CAL), the periodontitis grade is clarified according to other relevant indicators to evaluate the severity of periodontal disease.

[0150] It should be noted that the terms used in the present invention are only for describing specific embodiments, rather than limiting the scope of the present application. As shown in the present specification, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of more restrictions, the elements defined by the sentence "include one..." do not exclude the presence of other identical elements in the process, method or device including the elements.

[0151] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.

Claims

1. A method for predicting periodontal health indicators based on gradient domain conversion and deep learning, characterized in that: include: Step S1, obtaining a periodontal X-ray image; Step S2, preprocessing the periodontal X-ray image; The preprocessing includes: gradient domain conversion operation; The gradient domain conversion operation is used to highlight the edge information of the periodontal X-ray image; The gradient domain conversion operation includes the generation of a gradient domain image, a resampling operation, and a gradient domain image denoising operation. The resampling operation is used to perform a filtering resampling operation on the gradient domain image to resample different pixels in the gradient domain image into the same pixels. The gradient domain image denoising operation is used to remove the noise generated in the gradient domain conversion operation and reduce the edge noise in the gradient domain image; the gradient domain image denoising operation includes a grayscale opening operation and an erosion operation; a grayscale opening operation is performed on the gradient domain image after the resampling operation to remove the noise generated in the gradient domain conversion operation and smooth the periodontal contour; The erosion operation is performed during the grayscale opening operation to reduce the tooth contour size and reduce edge noise in the gradient domain image; Step S3, defining a comprehensive loss function for training a conditional generative adversarial network model, and adjusting the adversarial loss between the generator model and the discriminator model to obtain a trained conditional generative adversarial network model; Step S31, creating a generator model and a discriminator model in a generative adversarial network model, wherein the generator model performs fine processing on the preprocessed periodontal X-ray image and outputs a predicted mask image that matches the real mask image of the cementum-enamel junction and the alveolar ridge top position; The network structure of the generator model includes a double down-sampling structure, a bottleneck area, a single up-sampling structure, and a skip connection; The dual downsampling structure includes two independent downsampling processes for extracting basic features of the cementum-enamel junction and the alveolar ridge top position; The basic features of the cementum-enamel junction and the alveolar ridge top position extracted by the double downsampling structure are spliced ​​to obtain a splicing result, and the splicing result is used as the input of the bottleneck area, the bottleneck area is formed by connecting three residual networks, the bottleneck area calculates the splicing result to obtain a splicing calculation result, and the splicing calculation result is used as the output of the bottleneck area; The single upsampling structure includes performing three upsampling operations on the output of the bottleneck region, for adjusting the dimension of the output of the bottleneck region so that the dimension of the upsampled output is the same as the dimension of the input periodontal X-ray image; The double downsampling process and the corresponding single upsampling process are both performed three times, and in the three downsampling processes and the corresponding three single upsampling processes, the feature vectors in the downsampling process and the single upsampling process are spliced ​​through jump connections to complete the refinement processing, and a predicted mask image matching the real mask image of the cementum-enamel junction and the alveolar ridge top position is output to maintain the stability of the overall structure of the generated tooth mask; Step S32, inputting the gradient domain image and the periodontal X-ray image into the generator model, and calculating the generator loss function, wherein the generator loss function is intended to reduce the difference between the predicted mask image generated by the generator model and the real mask image, so as to enable the generator model to generate a predicted mask image that is closer to the real mask image; The discriminator model evaluates the difference between the true mask image and the predicted mask image; Step S33, evaluating the difference between the real mask image and the predicted mask image according to the discriminator model to obtain a real mask image evaluation result and a predicted mask image evaluation result, and calculating a discriminator loss function according to the real mask image evaluation result and the predicted mask image evaluation result; the discriminator loss function is used to evaluate the identification result of the discriminator model, and is used to distinguish the generated predicted mask image from the real mask image; Step S34, obtaining an image loss function for quantifying the pixel-level difference between the predicted mask image generated by the generator model and the real mask image; Step S35, obtaining a comprehensive loss function according to the generator loss function, the discriminator loss function, and the image loss function, so as to optimize the performance of the generator model and the discriminator model; Step S4, the trained conditional generative adversarial network model predicts the periodontal X-ray image to be predicted, and generates a mask image of the corresponding cementum-enamel junction and the alveolar ridge top position; Step S5, calculating clinical attachment loss for the predicted mask images of the cementum-enamel junction and the alveolar ridge top position to evaluate periodontal health status.

2. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 1, characterized in that: The two independent downsampling processes in the dual downsampling structure include a downsampling process E1 and a downsampling process E2. The downsampling process E1 performs three downsampling operations on the periodontal X-ray image in step S1 to extract the basic features I1 of the periodontal X-ray image. The basic features I1 include tooth shape, tooth size and tooth position information. The downsampling process E2 performs two downsampling operations on the gradient domain image to extract the basic features I2 of the cementum-enamel junction and the alveolar ridge top position from the preprocessed gradient domain image. The basic features I2 are used to extract the contour information of the cementum-enamel junction and the alveolar ridge top position on the gradient domain image after the grayscale opening operation.

3. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 2, characterized in that: The specific operation process of the grayscale opening operation is as follows: ; in, It represents the result of grayscale opening operation on the gradient domain image after resampling operation. represents the expansion operation, represents the corrosion operation, represents the gradient domain image after the resampling operation, T represents the cross-shaped structure element, It represents pixel selection of the gradient domain image after the resampling operation in the cross-shaped structure element T.

4. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 3, characterized in that: The operation process of the corrosion operation is specifically as follows: ; In the formula, represents the erosion operation, S is the circular structure element, (x, y) represents the original pixel position after the gradient domain image resampling operation, Refers to the circular structure element S to select pixels from the resampled gradient domain image. Represents a dental X-ray image after preprocessing by resampling operation At the pixel position in the circular structuring element S, represents the pixel offset of the preprocessed dental X-ray image on the circular structure element S relative to the center of the cross structure element T, The pixel position of the gradient domain image after the resampling operation on the circular structure element S is shifted from the original pixel position (x, y) to the new position relative to the pixel at the center of the cross structure element T. The pixel value of min( ) means taking the minimum value; Represents the gradient domain image after the resampling operation is moved from the original pixel position (x, y) to the new position When the pixel value is , the minimum value of the pixel offset on the circular structure element S relative to the center of the cross structure element T.

5. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 4, characterized in that: The expansion operation in the grayscale opening operation process is used to restore the tooth contour size and retain the overall characteristics of the tooth. The specific operation process is as follows: ; in, represents the dilation operation, S is the circular structure element, (x, y) represents the original pixel position after the gradient domain image resampling operation, represents the pixel position of the preprocessed dental X-ray image in the structural element S, represents the pixel offset of the preprocessed dental X-ray image on the circular structure element S relative to the center of the cross structure element T, Refers to the pixel selection of the resampled gradient domain image in the circular structure element S. The pixel position of the gradient domain image after the resampling operation on the circular structure element S is shifted from the original pixel position (x, y) to the new position relative to the pixel at the center of the cross structure element T. The pixel value of max( ) operation means taking the maximum value. Indicates that the gradient domain image after the resampling operation moves from the original pixel position (x, y) to the new position When the pixel value is , the maximum value of the pixel offset on the circular structure element S relative to the center of the cross structure element T.

6. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 1, characterized in that: The comprehensive loss function is: ; in, Represents the weight coefficient of the generator loss function, represents the weight coefficient of the discriminator loss function, Represents the weight coefficient of the image loss function, represents the discriminator loss function, represents the generator loss function, Represents the image loss function.

7. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 1, characterized in that: The calculation of clinical attachment loss includes the following steps: Step S51, extracting a set of edge points of the cementum-enamel junction and a set of edge points of the alveolar ridge top position from the mask images of the predicted cementum-enamel junction and the alveolar ridge top position; Step S52, calculating the distance between any edge point in the edge point set at the cementum-enamel junction and any edge point in the edge point set at the alveolar crest position and constructing a distance matrix; Step S53, selecting from the distance matrix the minimum distance between any edge point in the edge point set at the cementum-enamel interface and any edge point in the edge point set at the alveolar crest as the clinical attachment loss.

8. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 7, characterized in that: The calculation formula of the distance matrix is: ; in, The set of edge points representing the cementum-enamel interface, Represents the edge point set at the top of the alveolar ridge, [:] represents the selection of all vectors of any dimension in the distance matrix, [:,:,0] represents the selection of the abscissa of the edge point set at the cementum-enamel junction and / or the top of the alveolar ridge, and [:,:,1] represents the selection of the ordinate of the edge point set at the cementum-enamel junction and / or the top of the alveolar ridge.

9. The method for predicting periodontal health indicators based on gradient domain conversion and deep learning according to claim 8, characterized in that: The calculation formula for the clinical attachment loss is: ; in, represents the distance between the ith edge point in the edge point set at the cementum-enamel junction and the ith edge point in the edge point set at the alveolar ridge top position, The minimum value of the distance between any edge point in the edge point set at the cementum-enamel junction and any edge point in the edge point set at the alveolar ridge top position.