A panoramic X-ray image classification method and system based on TS-PCNet

Through the panoramic X-ray image classification method based on TS-PCNet, using data enhancement and convolutional neural network, the accurate diagnosis of periodontitis is achieved, which solves the problem of long manual reading time and heavy burden, and improves the diagnostic accuracy. .

CN114662565BInactive Publication Date: 2024-10-25WUHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210177543.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, manual reading of oral panoramic X-rays takes a long time and is heavy burden, and it is difficult to diagnose early periodontitis symptoms.

Method used

The panoramic X-ray image classification method based on TS-PCNet is used to extract features through data enhancement and convolutional neural network to achieve two-step classification of disease status and degree of disease, providing accurate diagnosis.

Benefits of technology

It saves the time of reading pictures and improves the diagnostic accuracy. Especially for doctors with less experience, they can diagnose the progress of periodontitis more accurately and solve the problem of long time and heavy burden of manual picture reading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114662565B_ABST
    Figure CN114662565B_ABST
Patent Text Reader

Abstract

The present invention discloses a panoramic X-ray image classification method and system based on TS-PCNet. First, data enhancement is performed on oral panoramic X-rays, and the data set is enriched by using methods such as size transformation, random flipping, and image enhancement, so as to improve the generalization of the model; then sample balancing is performed, and the categories with a small number of samples are oversampled to balance the samples of the data set; finally, the two-stage periodontitis classification model (TS-PCNet) proposed by the present invention is trained on the processed data set. It is based on a deep residual network. In the first stage, the teeth are classified into diseased and healthy teeth. In the second stage, the degree of disease is further classified into mild, moderate, and severe, and the accurate diagnosis of periodontitis is finally achieved. The problem of long time, heavy burden, and difficulty in diagnosing early symptoms of manual reading is solved. In addition, the TS-PCNet of the present invention has good generalization and can be easily applied to other tasks by means of transfer learning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image classification in computer vision, and relates to an image classification method and system, and in particular to a panoramic X-ray image classification method and system based on TS-PCNet, which can be applied to the field of auxiliary diagnosis of periodontitis. Background Art

[0002] Panoramic X-rays are an important basis for clinical diagnosis of periodontitis. On the one hand, relying on doctors to read the radiographs manually takes a lot of time and is a heavy burden, further occupying limited medical resources; on the other hand, since the early symptoms of periodontitis are not obvious, manual diagnosis is difficult. With the development of deep learning, computer vision technology has been widely studied and applied in medical image processing. A large number of studies have shown that this technology can reach or even exceed the level of humans and has broad development prospects. Summary of the invention

[0003] Based on the image classification technology in computer vision, the present invention proposes a new dental panoramic X-ray image classification method and system, which can be applied to the field of auxiliary diagnosis of periodontitis to solve the problems in the prior art of long manual reading time, heavy burden and difficulty in diagnosing early symptoms of oral panoramic X-rays.

[0004] The technical solution adopted by the method of the present invention is: a panoramic X-ray image classification method based on TS-PCNet, comprising the following steps:

[0005] Step 1: Obtain panoramic X-rays and perform data enhancement processing;

[0006] Step 2: Input the equalized image into the TS-PCNet network for image classification;

[0007] The TS-PCNet network consists of a judgment layer and a classification layer; the judgment layer consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a stride of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a stride of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7, and a fully connected layer; the classification layer consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a stride of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a stride of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7, and a fully connected layer.

[0008] The technical solution adopted by the system of the present invention is: a panoramic X-ray image classification system based on TS-PCNet, comprising the following modules:

[0009] Module 1, used to obtain panoramic X-rays and perform data enhancement processing;

[0010] Module 2 is used to input the equalized image into the TS-PCNet network for image classification;

[0011] The TS-PCNet network consists of a judgment layer and a classification layer; the judgment layer block consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a step size of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a step size of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7, and a fully connected layer; the classification layer consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a step size of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a step size of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7, and a fully connected layer.

[0012] Compared with the prior art, the panoramic X-ray image classification method and system based on TS-PCNet proposed in the present invention can be applied to the auxiliary diagnosis of periodontitis. First, data enhancement is performed on the oral panoramic X-ray film, and the data set is expanded by image enhancement, size transformation and random flipping to enhance the generalization of the model; then, oversampling is performed on the categories with a small number of samples, that is, samples are randomly and repeatedly selected to balance the samples of each category in the data set; finally, the proposed TS-PCNet model is trained on the data set. The classification of whether the disease is present and the degree of the disease is completed in turn through the TS-PCNet network to achieve accurate diagnosis of periodontitis. The present invention aims to provide a reference for clinicians to save reading time, and at the same time can improve the accuracy of doctors' reading, and the effect is particularly obvious for less experienced general practitioners.

[0013] The TS-PCNet model proposed in this invention uses a convolutional neural network to extract features, greatly reducing the workload of manual feature extraction. Through the two-step classification of whether the disease is present and the degree of disease, the progression of periodontitis can be diagnosed more accurately, providing doctors with pre-diagnosis advice, thereby solving the problem of long manual reading time, heavy burden, and difficulty in diagnosing early symptoms. In addition, the deep learning model has good generalization and can be easily applied to other tasks through transfer learning. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a flow chart of a method according to an embodiment of the present invention;

[0015] Figure 2 A DDM structure diagram provided by an embodiment of the present invention;

[0016] Figure 3 The stack_3_64 module structure diagram provided by the embodiment of the present invention;

[0017] Figure 4A structural diagram of a residual module provided in an embodiment of the present invention;

[0018] Figure 5 This is a schematic diagram of the periodontitis diagnosis results provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to facilitate ordinary technicians in the field to understand and implement the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0020] Please see Figure 1 The present invention provides a panoramic X-ray image classification method based on TS-PCNet, which is applied to the auxiliary diagnosis of periodontitis to solve the problems of long manual reading time, heavy burden and difficulty in diagnosing early symptoms of oral panoramic X-rays in the prior art; the specific implementation includes the following steps:

[0021] Step 1: Obtain panoramic X-rays and perform data enhancement processing;

[0022] This embodiment performs data enhancement on the oral panoramic X-ray data set, and amplifies the data set by image enhancement, resizing, and random flipping to improve the generalization of the model. Image enhancement refers to enhancing the details in the image by means of contrast transformation, sharpness enhancement, brightness enhancement, etc., so that the network can more easily obtain useful features. Resizing refers to randomly scaling the image, and random flipping refers to randomly flipping the image upside down and left to right, which can enrich the data set and reduce the useless features learned by the model.

[0023] Step 2: Input the equalized image into the TS-PCNet network for image classification;

[0024] The TS-PCNet network of this embodiment is composed of a disease diagnosis module and a periodontitis segmentation module; the disease diagnosis module is composed of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a stride of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a stride of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7, and a fully connected layer; the periodontitis segmentation module is composed of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a stride of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a stride of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7, and a fully connected layer.

[0025] In the TS-PCNet network of this embodiment, the first stack consists of three residual modules with a convolution kernel size of 3×3 and an output channel of 64, the second stack consists of four residual modules with a convolution kernel size of 3×3 and an output channel of 128, the third stack consists of six residual modules with a convolution kernel size of 3×3 and an output channel of 256, and the fourth stack consists of three residual modules with a convolution kernel size of 3×3 and an output channel of 512. The residual module consists of two Conv_BN modules, and there is another cross-layer channel directly connected between the input and output. The Conv_BN module consists of a convolution layer and a batch normalization BN (Batch Normalization) layer.

[0026] The TS-PCNet network used in this embodiment is a trained TS-PCNet network obtained after training;

[0027] The training process consists of the following sub-steps:

[0028] Step 2.1: Select several panoramic X-rays to form a training data set; and perform data enhancement processing on the images in the training data set;

[0029] Data enhancement is performed on the oral panoramic X-ray dataset. The dataset is expanded by image enhancement, resizing, and random flipping to improve the generalization of the model. Image enhancement refers to enhancing the details in the image by contrast transformation, sharpness enhancement, brightness enhancement, etc., so that the network can more easily obtain useful features. Resizing refers to randomly scaling the image, and random flipping refers to randomly flipping the image upside down and left to right, which can enrich the dataset and reduce the useless features learned by the model.

[0030] Step 2.2: Perform equalization processing on the enhanced image;

[0031] Since periodontitis is mainly mild and moderate, and there are fewer severe patients, the collected oral panoramic X-ray data set has a serious sample imbalance problem, which will cause the model to have obvious bias and affect the classification accuracy. Therefore, before training, oversampling is performed on categories with a small number of samples, that is, samples are randomly selected repeatedly to balance the samples of each category in the data set.

[0032] Step 2.3: Input the images in the training data set into the TS-PCNet network and train the TS-PCNet network until the network converges, that is, the training is terminated when the network loss no longer decreases or the network classification accuracy no longer increases, and a trained TS-PCNet network is obtained.

[0033] The TS-PCNet network of this embodiment is composed of a disease diagnosis module (DDM) and a periodontitis subdivision module (PSM);

[0034] The DDM network consists of an initial convolutional layer with a convolution kernel size of 7×7, an output channel of 64, and a stride of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a stride of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7, and a fully connected layer. The output channel is 2, which is responsible for the classification of whether the patient is sick or not, such as Figure 2 As shown in the figure, stack_m_n means that the stack consists of m residual modules and the number of output channels is n. stack_3_64 consists of 3 residual modules with a convolution kernel size of 3×3 and 64 output channels, stack_4_128 consists of 4 residual modules with a convolution kernel size of 3×3 and 128 output channels, stack_6_256 consists of 6 residual modules with a convolution kernel size of 3×3 and 256 output channels, and stack_3_512 consists of 3 residual modules with a convolution kernel size of 3×3 and 512 output channels. As the network deepens, the number of output channels gradually increases to extract more features.

[0035] Each stack is composed of multiple residual modules (ResBlocks). The structure diagram of stack_3_64 is as follows: Figure 3 Each residual module consists of two connected Conv_BN blocks, with a channel directly connected between the output and the input, as shown in Figure 4 As shown in Figure 2, the Conv_BN block consists of a convolutional layer and a batch normalization (BN) layer. The convolution kernel size used in the network is 3×3 and the step size is 1.

[0036] The network structure of PSM is the same as that of DDM, except that the output channels of the last fully connected layer are changed from 2 to 3, which is responsible for the classification of mild, moderate, and severe disease severity. After DDM classifies the samples into healthy and diseased categories, the diseased samples are sent to PSM to complete the classification of disease severity, ultimately achieving accurate diagnosis of periodontitis.

[0037] The trained TS-PCNet network was used to predict periodontitis on panoramic dental X-rays. The present invention obtained 10,905 test images as a test set and conducted experiments based on the Keras 2.3.1+TensorFlow1.17.0 framework. The overall classification accuracy can reach 74.44%. The test results are as follows Figure 5 shown.

[0038] Although this embodiment is applied to periodontitis prediction, it does not mean that the present invention is only applicable to periodontitis prediction, and the present invention is also applicable to other auxiliary medical fields. The desired effect can be obtained by simply replacing the training data set with a data set in the corresponding field and retraining the network.

[0039] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.

Claims

1. A panoramic X-ray image classification method based on TS-PCNet, characterized in that: The following steps are involved: Step 1: Obtain oral panoramic X-rays and perform data enhancement processing; Step 2: Input the equalized image into the TS-PCNet network for image classification; The TS-PCNet network consists of a judgment layer and a classification layer; the judgment layer consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a step size of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a step size of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7 and a fully connected layer, and the output channel is 2, which is responsible for the classification of whether the disease is serious; the classification layer consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a step size of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a step size of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7 and a fully connected layer. The network structure of the classification layer is the same as that of the judgment layer, except that the output channel of the last fully connected layer is changed from 2 to 3, which is responsible for the three classifications of mild, moderate and severe disease degrees; The four stacks in the TS-PCNet network, the first stack consists of three residual modules with a convolution kernel size of 3×3 and an output channel of 64, the second stack consists of four residual modules with a convolution kernel size of 3×3 and an output channel of 128, the third stack consists of six residual modules with a convolution kernel size of 3×3 and an output channel of 256, and the fourth stack consists of three residual modules with a convolution kernel size of 3×3 and an output channel of 512; the residual module consists of two Conv_BN modules, and there is another cross-layer channel directly connected between the input and output; the Conv_BN module consists of a convolution layer and a batch normalization BN layer.

2. The panoramic X-ray image classification method based on TS-PCNet according to claim 1, characterized in that: The data enhancement process described in step 1 includes image enhancement, size transformation and random flipping.

3. The panoramic X-ray image classification method based on TS-PCNet according to any one of claims 1-2, characterized in that: The TS-PCNet network described in step 2 is a trained TS-PCNet network obtained after training; The training process consists of the following sub-steps: Step 2.1: Select several panoramic X-rays to form a training data set; and perform data enhancement processing on the images in the training data set; Step 2.2: Perform equalization processing on the enhanced image; For categories with fewer samples than the threshold, samples are randomly selected repeatedly through sampling to achieve sample balance among categories in the training data set; Step 2.3: Input the images in the training data set into the TS-PCNet network, and train the TS-PCNet network until the network converges, that is, the training is terminated when the network loss no longer decreases or the network classification accuracy no longer increases, to obtain a trained TS-PCNet network.

4. A panoramic X-ray image classification system based on TS-PCNet, characterized in that: Includes the following modules: Module 1, used to obtain panoramic X-rays and perform data enhancement processing; Module 2 is used to input the equalized image into the TS-PCNet network for image classification; The TS-PCNet network consists of a judgment layer and a classification layer; the judgment layer consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a step size of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a step size of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7 and a fully connected layer, and the output channel is 2, which is responsible for the classification of whether the disease is serious; the classification layer consists of an initial convolution layer with a convolution kernel size of 7×7, an output channel of 64, and a step size of 2, a maximum pooling layer with a pooling kernel size of 3×3 and a step size of 2, 4 stacks, an average pooling layer with a pooling kernel size of 7×7 and a fully connected layer. The network structure of the classification layer is the same as that of the judgment layer, except that the output channel of the last fully connected layer is changed from 2 to 3, which is responsible for the three classifications of mild, moderate and severe disease degrees; The four stacks in the TS-PCNet network, the first stack consists of three residual modules with a convolution kernel size of 3×3 and an output channel of 64, the second stack consists of four residual modules with a convolution kernel size of 3×3 and an output channel of 128, the third stack consists of six residual modules with a convolution kernel size of 3×3 and an output channel of 256, and the fourth stack consists of three residual modules with a convolution kernel size of 3×3 and an output channel of 512; the residual module consists of two Conv_BN modules, and there is another cross-layer channel directly connected between the input and output; the Conv_BN module consists of a convolution layer and a batch normalization BN layer.