Automatic identification method and system for treatment of retinopathy of prematurity

By combining the ResNet-18 and DenseNet-121 models, automatic identification and treatment prediction of retinopathy of prematurity solve the problem of diagnostic delay in the existing technology, achieve accurate lesion identification and prediction, and are suitable for ophthalmology environments with limited resources. .

CN116823760BActive Publication Date: 2024-09-24SHENZHEN EYE HOSPITAL
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310748335.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2024-09-24
Estimated Expiration
2043-06-25

AI Technical Summary

Technical Problem

The current state of the art lacks effective automated identification tools for diagnosing and treating retinopathy of prematurity, leading to diagnostic delays and visual impairment, especially in resource-limited ophthalmology settings.

Method used

Multiple binary classifier models, including ResNet-18 and DenseNet-121 models, are used to identify, filter and treat RetCam images. By introducing identity shortcuts and dense splicing mechanisms, the vanishing gradient problem is alleviated and the efficiency of feature extraction is improved. Combined Use for automatic recognition.

Benefits of technology

It achieves accurate identification and treatment prediction of retinopathy of prematurity, improves diagnostic efficiency, reduces the risk of visual damage, and is suitable for ophthalmology environments with limited resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116823760B
    Figure CN116823760B
Patent Text Reader

Abstract

The present invention relates to an automatic identification method and system for treatment methods of retinopathy of prematurity, and the identification method comprises the following steps: S10, constructing multiple binary classifier models, including; ResNet-18 model and DenseNet-121 model; S20, using the DenseNet-121 model to perform ROP screening on the target image; S30, using the ResNet-18 model to perform ROP identification and treatment prediction on the target image. The model of the method of the present invention is developed based on a single training image, and it generates predictions at the image level. By using the method of the present invention, automatic identification of treatment methods for retinopathy of prematurity can be achieved, and the identification result is accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ophthalmic disease recognition and image recognition, and more specifically, to an automatic recognition method and system for treatment of retinopathy of prematurity. Background Art

[0002] Deep learning (DL) is a mature but still rapidly developing technology, especially in computer-aided diagnosis of human diseases. In terms of computer-aided algorithms, He et al. proposed a model ResNet with a residual structure, which continuously increases the network depth without overfitting, thereby extracting shallow-deep features to improve network recognition accuracy. Dosovitskiy et al. proposed a Transformer framework with different scales, that is, designing input block sizes of different scales to train large-scale data to obtain high classification accuracy. Chen et al. adopted a pyramid structure and chose a new regional-local attention mechanism instead of a global self-attention mechanism to obtain more spatial information, thereby improving classification accuracy. Tu et al. introduced an efficient and scalable attention model called multi-axis attention (MaxViT), which consists of two aspects: blocked local attention and dilated global attention. These design choices allow global-local spatial interactions on arbitrary input resolutions with only linear complexity. Valanarasu et al. proposed a gated axial attention model to extend the existing architecture by introducing an additional control mechanism in the self-attention module. In order to effectively train the model on medical images, we proposed a local-global training strategy, which further improved the performance. Zhang et al. proposed a new parallel branch TransFuse network, which combines Transformer and CNNs in a parallel manner, can effectively capture global dependencies and low-level spatial detail features in a shallower manner, and use a bidirectional fusion module to fuse features extracted from different levels of the two branches.

[0003] Deep learning technology is widely used in the field of medical image analysis. As a representative framework of deep learning, Convolutional Neural Network (CNN) is often used as a backbone network framework to extract deep features in medical images due to its powerful feature extraction capabilities. The residual network proposed in 2015, due to its unique residual jump connection, allows the network to focus on shallow feature information while extracting deep features. Therefore, the residual network can focus on both deep and shallow feature information, making the extracted features more complete and the network performance better. The residual network was also selected as one of the branches for feature extraction. However, the features extracted by a simple CNN network lack the expression of global feature information, so that the network performance improvement has certain limitations. For this reason, the Transformer network came into being, which can use the multi-head self-attention mechanism to continuously learn global feature information with long-distance dependencies.

[0004] Among the numerous eye diseases, congenital anomalies and early-onset diseases are particularly important. Common fundus diseases in infants usually include retinopathy of prematurity (ROP), Coats disease, retinoblastoma (RB), retinitis pigmentosa (RP), choroidal coloboma, congenital retinal folds, and familial exudative vitreoretinopathy. Most diseases have long-term effects on the structure and function of the eye, including refractive errors, night blindness, and may increase abnormal alignment of the eyes (strabismus) and neovascular glaucoma. Among them, ROP is the main cause of visual impairment and blindness in children. Every year, even 8,000 RB newborns worldwide may need eye removal surgery to save their lives.

[0005] From a clinical perspective, the condition of these infants often leads to severe lifelong visual impairment or even blindness in children, which has long-term impacts on society, especially in terms of future employment pressure. Because fundus diseases of infants and young children are not common in some general hospitals, they are often ignored, and even after encountering them, accurate diagnosis may not be made. At the same time, there is a shortage of professional ophthalmologists in the world.

[0006] In the field of fundus diseases, there have been a number of studies on automated inspection methods for retinopathy of prematurity. So far, we have found few tools that can automatically identify treatment methods for retinopathy of prematurity. Summary of the invention

[0007] The technical problem to be solved by the present invention is to provide a method and system for automatically identifying treatment methods for retinopathy of prematurity in response to the above-mentioned defects of the prior art.

[0008] The technical solution adopted by the present invention to solve its technical problem is:

[0009] Construct an automatic identification method for the treatment of retinopathy of prematurity, which includes the following contents:

[0010] Build multiple binary classifier models, including: ResNet-18 model and DenseNet-121 model;

[0011] The ResNet-18 model is used to perform ROP recognition on the target RetCam image;

[0012] The DenseNet-121 model is used to perform ROP screening on the recognized RetCam images;

[0013] The ResNet-18 model is used to perform treatment prediction on the screened RetCam images.

[0014] The method for automatically identifying treatment methods for retinopathy of prematurity of the present invention further comprises:

[0015] Multiple binary classifier models include: 1 ResNet-18 model and 2 DenseNet-121 models.

[0016] The method for automatically identifying treatment methods for retinopathy of prematurity of the present invention further comprises:

[0017] The output size of the last fully connected layer of 1 ResNet-18 model and 2 DenseNet-121 models is set to 2, where the Softmax layer normalizes the sum of the two class probabilities to 1.

[0018] The method for automatically identifying treatment methods for retinopathy of prematurity of the present invention further comprises:

[0019] During the training process of building multiple binary classifier models, random flipping with a probability of 50% was performed in the horizontal and vertical directions.

[0020] The method for automatically identifying treatment methods for retinopathy of prematurity of the present invention further comprises:

[0021] During the inference phase where multiple binary classifier models are built, the resized images without data augmentation are fed into the network for prediction.

[0022] The method for automatically identifying treatment methods for retinopathy of prematurity of the present invention further comprises:

[0023] The test set of RetCam images was randomly split at the patient level.

[0024] A system for automatically identifying treatment methods for retinopathy of prematurity is applied to the automatic identification method for treatment methods for retinopathy of prematurity as described above, wherein the system includes multiple binary classifier models: the multiple binary classifier models include at least:

[0025] ResNet-18 model for ROP identification and treatment prediction on target RetCam images; and,

[0026] DenseNet-121 model for ROP screening of target RetCam images.

[0027] The automatic identification system for treatment of retinopathy of prematurity of the present invention comprises:

[0028] Multiple binary classifier models include: 1 ResNet-18 model and 2 DenseNet-121 models; the output size of the last fully connected layer of 1 ResNet-18 model and 2 DenseNet-121 models is 2, where the Softmax layer normalizes the sum of the two class probabilities to 1.

[0029] The automatic identification system for treatment of retinopathy of prematurity of the present invention comprises:

[0030] During the training process of building multiple binary classifier models, random flipping with a probability of 50% was performed in the horizontal and vertical directions.

[0031] The automatic identification system for treatment of retinopathy of prematurity of the present invention comprises:

[0032] During the inference phase where multiple binary classifier models are built, the resized images without data augmentation are fed into the network for prediction.

[0033] The beneficial effects of the present invention are: applying the method of the present invention, using the ResNet-18 model to perform ROP identification and treatment prediction on the target RetCam image, the ResNet-18 model introduces identity shortcuts in the residual block to alleviate the gradient vanishing problem that often occurs in deep networks, and in addition, it can also enhance feature propagation and promote feature reuse, and using the DenseNet-121 model to perform ROP screening on the target RetCam image, DenseNet uses dense splicing for all subsequent layers to avoid direct summation, and has better feature utilization efficiency with fewer parameters; the combined use of the ResNet-18 model and the DenseNet-121 model can realize automatic identification of treatment methods for retinopathy of prematurity, and the identification results are accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work:

[0035] Figure 1 This is a flow chart of a method for automatically identifying treatment methods for retinopathy of prematurity according to a preferred embodiment of the present invention;

[0036] Figure 2 It is a DenseNet-121 model of an automatic identification method for treatment of retinopathy of prematurity in a preferred embodiment of the present invention;

[0037] Figure 3 It is a ResNet-18 model of the automatic identification method of the treatment method of retinopathy of prematurity in a preferred embodiment of the present invention;

[0038] Figure 4 It is a heat map of the automatic identification method of the treatment method of retinopathy of prematurity in a preferred embodiment of the present invention;

[0039] Figure 5 It is a heat map of treatment method 2 of the automatic identification method of treatment methods for retinopathy of prematurity of a preferred embodiment of the present invention;

[0040] Figure 6 It is an image before being processed by the automatic identification method for the treatment of retinopathy of prematurity in a preferred embodiment of the present invention;

[0041] Figure 7 It is an image processed by the automatic identification method of the treatment method of retinopathy of prematurity in a preferred embodiment of the present invention;

[0042] Figure 8 It is a principle block diagram of the automatic identification system for the treatment of retinopathy of prematurity according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the following will be described clearly and completely in combination with the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are partial embodiments of the present invention, not all 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 protection scope of the present invention.

[0044] A preferred embodiment of the present invention provides an automatic identification method for the treatment of retinopathy of prematurity, such as Figure 1 See also Figure 2-Figure 7, including the following steps:

[0045] S10. Build multiple binary classifier models, including ResNet-18 model and DenseNet-121 model;

[0046] S20, use the ResNet-18 model to perform ROP recognition on the target RetCam image;

[0047] S30, use the DenseNet-121 model to perform ROP screening on the recognized RetCam image;

[0048] S40. Use the ResNet-18 model to predict treatment for the screened RetCam images.

[0049] The present invention recognizes based on the RetCam image features. The included image data are all screening images of premature infants. Retinopathy of prematurity only occurs in premature infants, not adults. Therefore, the lesions are also unique. The principle of recognition is based on the different progress of the development of this lesion.

[0050] The model of the method of the present invention is developed based on a single training image, which generates predictions at the image level. In order to obtain eye-level and patient-level results, the method adopts a commonly used mean pooling strategy, that is, taking the average of the probabilities of images belonging to the same eye and the same patient respectively; the present invention is implemented using the PyTorch package. All models are trained on a GPU server with 10 2.2GHz CPU cores, 384GB of RAM and 1 NVIDIA GeForce RTX 2080Ti GPU. We use the Adam optimizer with an initial learning rate of 0.0001, beta1 of 0.9, and beta2 of 0.999 to train the model, and use a step-based decay strategy to adjust the learning rate, that is, multiplying a factor of 0.1 every 2500 training steps. The batch size is set to 12. Binary cross entropy loss is used as the objective function in this study.

[0051] It should be noted that there is a data imbalance problem in the training set, so we use dynamic data resampling to balance the two classes in each batch of training, which effectively alleviates the model bias during the training process.

[0052] The size of RetCam images in our collected dataset can be different (e.g. 480×640, 1200×1600), we resize all original images to 240×320 to ensure that the aspect ratio remains unchanged and the image is not distorted. On the other hand, it can also save computational cost to a large extent and enable the model to benefit from the increased batch size, thereby enhancing more stable learning. Then, we normalize the input images to have zero mean and unit variance and normalize them to the range of [0,1].

[0053] In addition, data augmentation methods are used to enrich the training set and enhance the robustness of the model to different disturbances.

[0054] Initially, two types of deep classical CNN architectures, ResNet-18

[27] and DenseNet-121, were used to complete the three tasks, and it was observed that DenseNet-121 achieved better performance in ROP screening, while ResNet-18 performed better in the remaining two tasks. Therefore, DenseNet-121 was finally used ( Figure 2 ) for ROP screening, using ResNet-18( Figure 3 ) for several ROP identification and treatment predictions.

[0055] ResNet introduces identity shortcuts in residual blocks to alleviate the gradient vanishing problem that often occurs in deep networks. In addition, it can enhance feature propagation and promote feature reuse. Unlike ResNet, DenseNet uses dense splicing for all subsequent layers to avoid direct summation and has better feature utilization efficiency with fewer parameters. The output size of the last fully connected layer of the three models (1 ResNet-18 model and 2 DenseNet-121 models) is changed to 2, where the Softmax layer normalizes the sum of the two class probabilities to 1.

[0056] Random segmentation at the patient level can avoid leakage and biased estimation of model performance on the test set; during training, in order to enrich the training samples, random flipping with a probability of 50% in the horizontal and vertical directions can alleviate the overfitting problem; in the inference stage, the adjusted images without data augmentation are input into the network for prediction;

[0057] like Figure 4 The heat map shown is for treatment method 1 (requiring intravitreal injection IVI). Figure 5 The heat map shown is for treatment method 2 (retinal laser photocoagulation is required). The following table shows the results of the two methods for the accuracy of laser main identification;

[0058]

[0059]

[0060] Unprocessed images such as Figure 6 As shown, the processed image is Figure 7 shown.

[0061] An automatic identification system for treatment of retinopathy of prematurity, such as Figure 8 As shown, multiple binary classifier models are included: the multiple binary classifier models include at least:

[0062] ResNet-18 model 100 for ROP identification and treatment prediction on target RetCam images; and,

[0063] DenseNet-121 model 101, used for ROP screening of target RetCam images;

[0064] The ResNet-18 model is used to perform ROP identification and treatment prediction on the target RetCam images. The ResNet-18 model introduces identity shortcuts in the residual block to alleviate the gradient vanishing problem that often occurs in deep networks. In addition, it can enhance feature propagation and promote feature reuse. The DenseNet-121 model is used to perform ROP screening on the target RetCam images. DenseNet uses dense splicing for all subsequent layers to avoid direct summation, and has better feature utilization efficiency with fewer parameters. The combined use of the ResNet-18 model and the DenseNet-121 model can realize the automatic identification of treatment methods for retinopathy of prematurity, and the identification results are accurate.

[0065] Preferably, the multiple binary classifier models include: 1 ResNet-18 model and 2 DenseNet-121 models; the output size of the last fully connected layer of the 1 ResNet-18 model and the 2 DenseNet-121 models is 2, wherein the Softmax layer normalizes the sum of the probabilities of the two classes to 1;

[0066] Random segmentation at the patient level can avoid leakage and biased estimation of model performance on the test set; during training, in order to enrich the training samples, random flipping with a probability of 50% in the horizontal and vertical directions can alleviate the overfitting problem; in the inference stage, the adjusted images without data augmentation are input into the network for prediction;

[0067] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A method for automatically identifying treatment methods for retinopathy of prematurity. It is characterized in that Includes the following: Build multiple binary classifier models, including: ResNet-18 model and DenseNet-121 model; The ResNet-18 model is used to perform ROP recognition on the target RetCam image; The DenseNet-121 model is used to perform ROP screening on the recognized RetCam images; The ResNet-18 model is used to predict treatment for the screened RetCam images; The method further comprises: Multiple binary classifier models include: 1 ResNet-18 model and 2 DenseNet-121 models; The output size of the last fully connected layer of 1 ResNet-18 model and 2 DenseNet-121 models is set to 2, where the Softmax layer normalizes the sum of the two class probabilities to 1; During the training process of building multiple binary classifier models, random flipping with a probability of 50% was performed in the horizontal and vertical directions; During the inference phase where multiple binary classifier models are built, the resized images without data augmentation are fed into the network for prediction.

2. The method for automatically identifying treatment methods for retinopathy of prematurity according to claim 1, It is characterized in that The method further comprises: The test set of RetCam images was randomly split at the patient level.

3. An automatic identification system for treatment of retinopathy of prematurity, applied to the automatic identification method for treatment of retinopathy of prematurity as claimed in any one of claims 1 to 2, It is characterized in that Including multiple binary classifier models: The multiple binary classifier models include at least: ResNet-18 model for ROP identification and treatment prediction on target RetCam images; and, DenseNet-121 model for ROP screening of target RetCam images; Multiple binary classifier models include: 1 ResNet-18 model and 2 DenseNet-121 models; the output size of the last fully connected layer of 1 ResNet-18 model and 2 DenseNet-121 models is 2, where the Softmax layer normalizes the sum of the two class probabilities to 1; During the training process of building multiple binary classifier models, random flipping with a probability of 50% was performed in the horizontal and vertical directions.

Citation Information

Cited By

  • Prediction method and system for retinopathy image of premature infant

    CN120198675A