Journal of Diabetes Research
Volume 2021 (2021), Article ID 8766517, 10 pages
https://doi.org/10.1155/2021/8766517

Research Article

Segmentation of Laser Marks of Diabetic Retinopathy in the Fundus Photographs Using Lightweight U-Net

Yukang Jiang,1,2 Jianying Pan,¹ Ming Yuan,² Yanhe Shen,² Jin Zhu,² Yishen Wang,¹ Yewei Li,² Ke Zhang,² Qingyun Yu,² Huirui Xie,¹ Huiting Li,¹ Xueqin Wang,2,3,4 and Yan Luo¹

¹State Key Laboratory of Ophthalmology, Image Reading Center, Zhongshan Ophthalmic Center, Sun Yat-Sen University, Guangzhou 510060, China
²Department of Statistical Science, School of Mathematics, Southern China Research Center of Statistical Science, Sun Yat-Sen University, Guangzhou 510275, China
³Department of Statistics and Finance, School of Management, University of Science and Technology of China, Hefei, Anhui 230026, China
⁴Xinhua College, Sun Yat-Sen University, Guangzhou 510520, China

Correspondence should be addressed to Xueqin Wang; wangxq20@ustc.edu.cn and Yan Luo; luoyan2@mail.sysu.edu.cn

Received 29 May 2021; Revised 3 September 2021; Accepted 24 September 2021; Published 19 October 2021

Academic Editor: Honghua Yu

Copyright © 2021 Yukang Jiang et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.

Diabetic retinopathy (DR) is a prevalent vision-threatening disease worldwide. Laser marks are the scars left after panretinal photocoagulation, a treatment to prevent patients with severe DR from losing vision. In this study, we develop a deep learning algorithm based on the lightweight U-Net to segment laser marks from the color fundus photos, which could help indicate a stage or providing valuable auxiliary information for the care of DR patients. We prepared our training and testing data, manually annotated by trained and experienced graders from Image Reading Center, Zhongshan Ophthalmic Center, publicly available to fill the vacancy of public image datasets dedicated to the segmentation of laser marks. The lightweight U-Net, along with two postprocessing procedures, achieved an AUC of 0.9824, an optimal sensitivity of 94.16%, and an optimal specificity of 92.82% on the segmentation of laser marks in fundus photographs. With accurate segmentation and high numeric metrics, the lightweight U-Net method showed its reliable performance in automatically segmenting laser marks in fundus photographs, which could help the AI assist the diagnosis of DR in the severe stage.

1. Introduction

Diabetic retinopathy (DR) is one of the most common complications of diabetes and the leading cause of irreversible visual loss globally [1]. For patients who have developed severe DR, panretinal photocoagulation (PRP) is one of the main treatments to reduce the risk of blindness. Laser marks are the scars left after retinal laser treatments. Identifying the position of laser marks on fundus photographs provides information of the received retinal laser treatment and thus is significant for the assistance of R3A and R3S DR stage grading in the Diabetic Eye Screening Guidance of the National Health Service (NHS) in the United Kingdom (UK) [2]. The R3A is classified as active proliferative DR (PDR) with at least one of the following active proliferate DR characteristics: new vessels on disc, new vessels elsewhere, preretinal or vitreous hemorrhage, and preretinal fibrosis with or without tractional detachment. The R3S is classified as the a stable stage of PDR after panretinal laser treatment and can present stable preretinal fibrosis, but without any other active proliferate DR characteristics [3]. The stable R3S status with panretinal laser marks can be distinguished from an active R3A, and the treatments of these two stages are different [2]. Laser marks appearing on nasal proximity to optic disc no closer than 500 microns, on temporal proximity to macular center no closer than 3000 microns, and at the superior/inferior limit that no further posterior than 1 burn within the temporal arcades, are believed to be the signal of receiving PRP [4]. Patients diagnosed as R3S could be monitored in the annual screen, while the active treatments such as PRP or intravitreal injection of anti-VEGF drug should be received by patients diagnosed as R3A [2]. Moreover, determining the position of laser marks is of great importance to patients with DR for the follow-up treatment. For instance, many patients may not complete all laser photocoagulation at one treatment and need to receive laser photocoagulation several times because of the progress of their disease or personal tolerance. Besides, if patients are detected new active proliferate lesions on the retina even with the presence of laser marks, their DR gradings may revert to R3A, and the patients may be urged to receive active treatments [2, 5]. In automatic retinal diagnostic systems, the existence of laser marks on the fundus photographs may hinder the further retinal image assessment [6]. Hence, segmenting laser marks in fundus photograph images becomes clinically important.

Traditional detections [6–8] and deep learning methods [9] have put effort into detecting the existence of laser marks. However, they do not give enough attention to the exact locations of laser marks on the fundus photograph images. The traditional methods, which make full use of morphological characteristics related to laser marks for detection, in a sense offer the candidate regions of laser marks, but the extraction of candidate regions tends to be relatively poor with irregular boundaries. The deep learning method, which is a state-of-the-art machine learning technique that has shown its superiority in the diagnosis of some diseases [10–12], especially the DR screening in the field of ophthalmology [13–16], extracts features directly from images for detection and attains relatively high detective accuracy, but it does not provide interpretable explanations for its decisions [17, 18]. Also, it has long been a challenge to include medical knowledge within machine learning algorithms, especially within the deep learning algorithms [11, 18, 19]. Deficient attention to segmenting laser marks in fundus images may also in part result in difficulty attaining image data accurately annotated by well-trained ophthalmologists. So far, there are no public fundus photograph datasets annotating laser marks pixel by pixel. Thus, few studies have been involved in the segmentation of laser marks in fundus photograph images.

In this study, a deep learning method, the light version of U-Net [20], named lightweight U-Net, was adapted to segment laser marks in fundus photographs using the dataset we proposed. The lightweight U-Net inputted a fundus image and outputted the probability map localizing the potential area of laser marks. Furthermore, to meliorate the segmentation maps, we introduced two postprocessing procedures developed from clinical practice. These procedures further improved the segmentation accuracy of the prediction. The well-performed model would be of great help for ophthalmologists serving as an essential component of the DR computer-aided diagnosis system.

2. Materials and Methods

2.1. Datasets

The fundus photographs with laser marks in this dataset were RGB images in a JPG or JPEG format and obtained from the Image Reading Center of Zhongshan Ophthalmic Center, Sun Yat-Sen University, China. The fundus photographs were collected from the clinical department of Zhongshan Ophthalmic Center, or the DR screening charity project of Lifeline Express in China, or the internet public data. A set of 154 fundus photographs with laser marks comprised of two subdatasets: one contains 84 images manually segmented by experienced graders at the Image Reading Center only once, and the other contains the rest 70 images manually and independently segmented by three experienced graders at the Image Reading Center. Since the manual segmentation of 84 images in the first dataset was relatively coarse, which might lead to a less precise estimation, we only used it in the pretraining session.

For the second dataset containing 70 images, the three experienced graders were asked to mark all the pixels ensured as laser marks. The gold standards of the images were labeled by at least two graders. Since this subdataset had more precise manual segmentations, it was used to construct the formal data set. These 70 fundus photographs with gold standards were randomly divided into the formal training set with 50 images and the testing set with 20 images, respectively.

In our dataset, the microaneurysms, retinal hemorrhages, hard exudates, soft exudates, venous beading, intraretinal microvascular abnormality, NVE/NVD, fibrous proliferation, preretinal hemorrhage, vitreous hemorrhage, and tractional retinal detachment were detected in about 95.71%, 98.57%, 70.00%, 12.86%, 0.00%, 11.43%, 5.71%, 2.86%, 1.43%, 0.00%, and 0.00% of the 70 images, respectively. Besides, among all 154 fundus photographs, 75.97% are at the R3S stage, 3.25% are at the R3A stage, and the remaining 20.78% are photos that are at other stages. And 51.30% of the images are with PRP, and 42.21% are with partial retinal laser marks. All of the laser marks in our data were at the late stage.

It should be noted that every image collected in the dataset was used to make clinical diagnoses, leading to the characteristic inconsistency of these images because photos were acquired by more than one specific camera model, such as CIRRUS, Cobra, and Canon. Shot by various types of cameras, the images had different resolutions (ranging from pixels to pixels), fields-of-views (from 45 to 60 degrees), hues (whitish, yellowish, reddish, etc.), centers of the fundus images (either macula lutea or optic disc (OD), pupil diameters, and so on. All these variations contributed to the diversity of our dataset, enabling a more generalized and robust deep learning algorithm for laser marks segmentation.

2.2. Image Preprocessing and Augmentation

It was essential to preprocess the images to summarize the commonness artificially because fundus photographs in the image dataset varied in size, resolution, and hue due to the multiplicity of camera devices. Preprocessing helped diminishing differences in the intrinsic feature distributions.

First, images were all resized to pixels. The next three steps were successively implemented on each channel to eliminate the outputted overall tone brightness variance among images. The-score standardization, resulting in an image with a mean of 0 and a variance of 1, was calculated using the following formula:

where is the total number of images in the training set, is the number of pixels in a channel of an image (for a image, the number of pixels is ), and represents the three channels (red, green, blue) of an image. And represents the th pixel value in the th channel of the th image, , and is the mean and the standard deviation of the corresponding pixel points of all images in the training set, respectively. The outcome is the adjusted value of that specific pixel.

Inner image minimum-maximum normalization then followed, aiming to rescale the gray values into a scale of 0 to 255. This process was enabled by

where is obtained in the previous step, and and stand for the minimum and maximum value of in the th channel of th image, respectively. And is the final value restricted in the range between 0 and 255.

The contrast limited adaptive histogram equalization (CLAHE) [21] and the gamma correction [22] were conducted sequentially to enhance the contrast in the image. The grayscale values were then divided by 255 to transform them back to the 0 and 1 range. By performing these preprocessing steps on all three channels separately and then combining them back together, the contrast could be effectively enhanced between the laser marks and background while feature discrepancies caused by camera models would be weakened (Figure 1).

Figure 1: Presentation of the preprocessing and data augmentation session. (a) A sample from the training set. (b) The matching preprocessed image. (c) The examples of the randomly cropped patches (c1) and the corresponding labeled patches (c2).

The random cropping technique was applied to effectually augment the training set due to data scarcity [23]. A total of 500,000 patches were extracted from the formal training set that contained 50 fundus images. Completely black patches extracted from the peripheral black area that contained no information would be excluded. As a result, from each training image, 10,000 randomly centered patches with pixels in size were extracted. This size was chosen because the patches of the size were able to determine whether there were one or two laser marks in the images, thus enabling the network to learn the characteristics of these specific lesions. The corresponding ground truth label patches were also extracted (Figure 1) to match the augmented training set. In the testing process, we cropped the images into pieces pixels in size, a coherent size to the training ones. Unlike the training set where the central locations were randomly chosen, a sliding operation with stride 5 (five pixels were moved each time) was adopted in the testing set to clip the patches. Although some parts of the original images were repeatedly seized, i.e., the patches overlapped, it benefitted the accuracy of the prediction, as a single-pixel might be predicted several times. The patches cropped at the right or lower margins might not be of size because of the sliding operation; as to these images of incompatible sizes, we used a zero padding strategy on that specific margin (or those margins) to preserve the marginal information. In our case, a total of 3364 patches could be attained from one image. The modified testing set with a size of pixels was fed into the trained lightweight U-Net. The predicted outcomes of the patches were then placed back to create the integral prediction maps of the original images. The final integral outcomes that the algorithms would present for each image were prediction maps with each pixel indicating the probability of being diagnosed as laser marks, calculated by the sum of the prediction results divided by the frequency of being predicted.

2.3. A Lightweight U-Net Model Development

The lightweight U-Net structure was proposed by Wang et al. [24], who used this structure for the segmentation of retinal vessels in single-channel images. Our model resembled the structure of Wang et al., and we applied this method to segment the laser marks of the fundus photographs.

The U-Net structure mainly consisted of two paths: the “mutually inverse” contracting path and the expansive path. On each path, dense convolutional bocks, comprising two convolutional layers followed by rectified linear unit (ReLU) layers, were joined by either downsampling operations (on the contracting path) or upsampling operations (on the expansive path).

And the main change from the U-Net to the lightweight U-Net was that we downscaled the original network into a three-scaled network, meaning that there were only five dense convolutional blocks within the entire structure. We further adjusted hyperparameters in the structure:

(1)The number of feature channels at every block has been halved compared to the U-Net(2)The padding strategy was adapted in every convolutional operation for storing the marginal information(3)Dropout layers (with ) were introduced between two successive convolutional layers to prevent overfitting

In the structure proposed by Wang et al., they used convolutional filters with a size of and a striding step of 2 to down-sample the feature maps, but our model simply used the max-pooling operations with filters of size to downsize the feature maps. Figure 2 vividly shows the structure of the lightweight U-Net. The detailed parameters of the layers are also presented in Figure 2.

Figure 2: The lightweight U-Net architecture. Each green box corresponded to a multichannel feature map. The number of channels was denoted on top of the boxes. The - size was provided at the lower left edge of the box. Gray boxes represented copied feature maps. The arrows denoted the different operations.

We used the transfer learning technique for parametric initialization before formally training the networks with images containing accurately labeled laser marks. We first pretrained the modified lightweight U-Net with the DRIVE dataset [25], a fundus image dataset with a total of 40 images annotating vessels. Likewise, 40 images in DRIVE went through the data preprocessing, and augmentation procedures mentioned above before being used for pretraining. Although DRIVE was not built for the segmentation of laser marks, using it to pretrain the network did help accelerate the convergence of parameters and obtain more accurate results because both datasets shared similar characteristics [26]. Subsequently, we pretrained the lightweight U-Net with the 84 roughly labeled fundus images. This helped the network to grasp a coarse cognition of laser marks.

Our extended training set was randomly divided into batches, each possessing 128 patches. Ten percent of the samples of a batch was split apart for validation. The stochastic gradient descent (SGD) was applied for parameter optimization by minimizing the loss function. The loss function in this segmentation task was a pixel-wise categorical crossentropy, which computed the following formula over the final feature maps:

where indicates the total number of pixels within a batch, i.e., , denotes the number of classes, and and represent the ground truth label and the predicted probability of the pixel in the th class, respectively. Network parameters (weights) saved for testing were the weights that minimized the loss function evaluated in the validation set.

2.4. Postprocessing Procedures

PRP surgeries generally follow certain standards, and there are several standards directly related to positioning and screening laser marks on fundus images in clinical practice. Here are two examples:

(i)Lasers should not be beamed within the OD and a diameter range of the OD(ii)Lasers should not be beamed within 1500 microns from the macular fovea

We developed two postprocessing procedures to denoise the prediction maps based on these standards. Below is a sketchy description of the algorithms.

As to the first standard, all the “suspected laser marks” at the ODs and their peripheries are not laser marks. Thus, it is necessary to eliminate the false-positive judgments around the ODs. To do this, we first located the ODs and then erased the positive decisions within an elliptical area at and around the ODs. We applied a deep learning method to locate the ODs. The deep learning structure and training process were identical to the lightweight U-Net, except that it was pretrained only on the DRIVE dataset and then trained on the fundus images with ODs manually segmented. This fundus photograph dataset annotating ODs was collected and annotated at the Image Reading Center of Zhongshan Ophthalmic Center. The predicted OD area on each segmentation map was determined as the largest connected domain on the binary prediction graph, where the division threshold of the binary prediction graph from the grayscale output was set to be 0.5 empirically. This method has proven effective in locating and segmenting this anatomic structure in our prior experiment on an inhouse image dataset: evaluating on the inhouse testing set, the area under the receiver operating characteristic curve (AUC) was 0.9997, and the sensitivity, specificity, and accuracy were 93.90%, 99.90%, and 99.81%, respectively. The major and minor axes of elliptical areas that would be covered over the ODs were determined by 1.8 times the maximal x-axis and y-axis lengths of the predicted OD.

As to the second standard, what we did was highly analogous. The macular region was first oriented through morphological features using the method proposed by Jiang et al. [27], and then the area around the macular region was covered. To erase more impertinent noises, the area covered was macular-centered squares whose sides were 80 pixels long. Both manipulations served as the backend processes to further optimize the prediction results. The flowchart of the postprocessing is presented in Figure 3.

Figure 3: The flowchart of the postprocessing procedures. The top row presented the prediction maps after each step, and the bottom row showed the corresponding procedures on the fundus photographs. (a) The raw prediction map coming from the lightweight U-Net structure and the corresponding fundus image. (b) The prediction map and the fundus image after an elliptic region around the optic disc were covered. (c) The prediction map and the fundus image after the optic disc and macula region were covered.

2.5. Hyperparameter Setting for Model Training

The initial learning rate was with a learning rate reduce the factor of 0.3 for every ten consecutive epochs without improvement in validation accuracy. The onset of an early stop was when validation accuracy did not improve in 40 consecutive epochs.

2.6. Statistical Analysis of Model Performances

Statistical analyses were performed using Python 3.6.5 (Wilmington, Delaware, USA), which was also used for image processing and the lightweight U-Net experiments. Grayscale images were provided as the outcomes of the algorithms, as some shallow shades between bright domains might inform graders of coalesces of laser marks. To evaluate the performances of the lightweight U-Net and its combination with two postprocessing procedures, evaluation metrics were calculated. We drew the receiver operating characteristic (ROC) curves and computed the AUC. Besides, we presented the optimal pairs of sensitivity and specificity on the ROC curves. The optimal choices were based on Youden’s index [28], defined as the sum of sensitivity and specificity subtracted by 1, i.e.,

Dice similarity coefficient (DSC) can show the percentage of the overlap areas between two set (the prediction map and the manual segmentation map). It equals twice the number of elements in the intersection of both set divided by the sum of the number of elements in each set. The corresponding formula is as follows:

where represent the number of pixels correctly segmented as laser marks (true positive), pixels falsely segmented as laser marks (false positive), and pixels falsely detected as background (false negative), respectively.

3. Results

Before using the proposed dataset, we did a fivefold crossvalidation to verify the randomness in selecting the training set and the testing set. The 70 elaborately labeled images were randomly divided into five folds, and each fold contained 14 images. Then, one of the five folds was selected to be the testing set, and the other four folds were the training set in the following validation experiment. The ROC curves of the five crossvalidation experiments without postprocessing procedures and the mean ROC curves were presented in Figure 4. The maximum and minimum AUCs were 0.9833 and 0.9706, respectively. The interval formed by these two extreme AUC values covered 0.9798, indicating that the original division of the training set and the testing set were relatively random.

Figure 4: The ROC curves of the 5-fold crossvalidation experiments. The -axis represented the false-positive rate, i.e., 1-specificity, and the -axis represented the true-positive rate, i.e., sensitivity. The area under the curves (AUCs) were calculated, which were presented on the bottom right of the figure. The mean ROC curve, which was plotted with a solid line, and its AUC (namely, mean AUC) were also presented.

For the model evaluation, ROC curves of predictions through the lightweight U-Net alone and with the postprocessing procedures were presented in Figure 5. The optimal pairs of sensitivity and specificity on the ROC curves and the pixel-wise accuracies corresponding to them were shown in Table 1, which contained the results on a test set trained by lightweight U-Net and the net with postprocessing. The AUC for the 20 testing images was 0.9824 for the lightweight U-Net structure with the postprocessing procedures, which increased the AUC index by 0.26% compared with the AUC for the structure without these procedures. The best sensitivity, specificity, and accuracy for the lightweight U-Net with the postprocessing procedures were 94.16%, 92.82%, and 92.90%, respectively, attaining a, respectively, 0.61%, 0.66%, and 0.65% rise compared to those of the light structure without postprocessing procedures. And the DSC also verified the results that the postprocessing procedures brought in a small advance. The small scale of improvement might result from the low probability of noises around ODs and macular regions. The effect of the postprocessing procedures on the evaluation metrics was not as great as the effect on the display of the segmentation results. Examples of the raw prediction images generated from the lightweight U-Net and the corresponding postprocessed prediction images were shown in Figure 6. After postprocessing procedures, noises at and around the ODs and macular regions were removed, leaving clearer and more accurate segmentation results. Finally, an algorithm according to the definition of PRP for diagnosing was designed, and the prediction results were used to verify in the test set. Through the prediction of laser marks, the sensitivity, specificity, and accuracy of our algorithm are 80%, 100%, and 90%, respectively.

Figure 5: The ROC curves of the lightweight U-Net, the lightweight U-Net with either postprocessing procedure, and with both postprocessing procedures. The -axis represented the false-positive rate, i.e., 1-specificity, and the -axis represented the true-positive rate, i.e., sensitivity. The area under the curve (AUC) was also calculated, which was presented on the bottom right of the figure. The optimal pair of sensitivity and specificity chosen based on Youden’s index were also marked on the curve, and the precise numeric values were presented on the right side.

Table 1: Comparison of methods on the proposed dataset.

Architecture
Sensitivity

Specificity

Accuracy

DSC
AUC

Lightweight U-Net
93.55%
92.16%
92.25%
70.59%
0.9798

Lightweight U-Net with macular regions covered
93.55%
92.38%
92.46%
70.76%
0.9804

Light weight U-Net with optic discs covered
94.15%
92.58%
92.68%
71.01%
0.9818

Lightweight U-Net with both post-processing procedures
94.16%
92.82%
92.90%
71.18%
0.9824

TP: the number of pixels correctly classified as laser marks; †FN: the number of pixels mistakenly classified as background; ‡ TN: the number of pixels correctly classified as background; § FP: the number of pixels mistakenly classified as laser marks.

Figure 6: Dataset and prediction result presentation. Each row represented a sample in the testing sets and its corresponding processed results. (a) Laser marks showed in the fundus photographs of patients with DR. (b) The ground truth labels of laser marks in the testing images. (c) The raw predictions for laser marks made by the lightweight U-Net. (d) The predictions for laser marks made by the lightweight U-Net after optic disc areas were covered. (e) The postprocessed lightweight U-Net showed more accurate outcomes in the segmentation of laser makers. (f) The merge of postprocessed prediction maps and the original fundus photographs.

Both the quantitative evaluations and the predicted maps showed that the combination with prior medical knowledge improved the performance of the deep learning algorithm and thus could achieve a good result even with a small amount of data.

4. Discussion

To the best of our knowledge, we first developed the lightweight U-Net, a deep learning algorithm used to segment the laser marks in fundus photographs in the present study. Traditional methods also focus on the detection of laser marks from fundus photos [6–8]. On the one hand, some details in the reported methods, such as some key parameters, are not clearly provided in the articles; so, we cannot use the accurate parameters to get good performance results. On the other hand, the segmentation of laser marks by traditional morphological methods is relatively poor and rough, for the morphological methods do not extract the candidate regions exactly. On the contrary, the deep learning method can well learn the essential features of retinal laser lesions by training on a well-labeled dataset and perform better than the morphological methods [29]. The neural network was trained and evaluated on the dataset of novel fundus photographs with laser marks in this study. Moreover, two postprocessing procedures developed from clinical standards of the PRP surgery were combined with the lightweight U-Net to further improve the segmentation results. Both the high numerical metrics and grayscale output images showed the lightweight U-Net could be used to set apart the laser marks on the fundus images, thus providing visible explanations of computer aid systems for DR diagnosis.

The biggest challenge of AI is the interpretability of deep learning algorithms. When a deep learning model detects a fundus photograph as an image with DR, it always gives out the diagnosis without providing more interpretable reasons why it made the decision. In this study, we first adopted a convolutional neural network designed for image segmentation, the lightweight U-Net, to detect laser marks from fundus photographs. This network assigned class labels to every pixel of the images and the pixel-based method to some extent visualized the diagnosis of the R3S stage of DR. The segmentation probability maps provided not only the suspected locations of laser marks but the valuable information for ophthalmologists, who could fully consider the comprehensive conditions of the patients and thus could provide more accurate and suitable cares and adjust the treatment regimens for the patient with DR. The focal or grid laser marks due to diabetic macular edema in our data were relatively lighter, smaller, and less pigment than the laser spots in other parts of the retina. While the experienced graders in our study marked all kinds of laser marks including the focal or grid laser marks accurately, we combined different laser marks images together for the training of the deep learning algorithm. Thus, it would not reduce the accuracy of segmentation in the test set. Combined with the additional algorithm, PRP could be accurately diagnosed according to the segmentation of laser marks, and the diagnostic accuracy of PRP on the test set was 90%, assisting the interpretative diagnosis of R3S. All the laser marks with the different color or size used for segmentation in this study were from the fundus photographs of patients with DR. However, the features of retinal laser marks treated different diseases are similar, and the algorithm in our study could also make accurate predictions for laser markers in the fundus photographs of patients with retinal vein occlusion or peripheral retinal breaks.

Another major challenge in building computer-aided diagnosis systems is that medical knowledge is difficult to merge with deep learning algorithms. Combining prior medical knowledge undoubtedly improves the decision accuracy of a deep learning model. The present work addressed this challenge by collaborating the results of multimodels, which was to postprocess the segmentation results of the lightweight U-Net. According to clinical practices that the areas around OD and macular regions do not allow the presence of laser marks, we applied a similar deep network structure to cover the elliptic area containing the OD and a classical morphological operation to locate macular regions and then denoised around them. These two procedures were rooted in clinical practices and made the results closer to reality. The coverage of ODs and their peripheries improved the lightweight U-Net results more than the coverage of macular regions, which might be because ODs and laser marks shared more morphological characteristics, resulting in more misclassification around the optic disc areas for the lightweight U-Net model. The combination with the postprocessing procedures did not require graders a great effort to label a large amount of laser mark. With a relatively small amount of data for training, along with the cooperation with other models, the refined results containing a priori medical experience could be obtained. The postprocessing procedures derived from the clinical practices in this study increased the efficiency of the lightweight U-Net. The result concatenation from multiple models in our study was a simple but effective way to incorporate medical knowledge.

There were still several limitations in our study. First, our model showed its high reliability in distinguishing most laser marks from retinas, but it was still hard to differentiate some noises sharing similar morphological characteristics. Therefore, we will try to adjust the image tone in preprocessing and coalesce local information with global information in the future. Second, the number of fundus photographs in the training set was still relatively small. With more training images from diverse populations, the model would be more robust and accurate.

5. Conclusions

This study developed the postprocessed lightweight U-Net to accurately and reliably segment laser marks in fundus photographs for the AI-assisted diagnosis of DR in the different stage, potentially reducing the workload of oculists in various fundus diseases to some extent in the near future.

Data Availability

Original data and corresponding labels of training and test set are publicly available as attachments.

Conflicts of Interest

The authors declare that they have no conflicts of interests.

Authors’ Contributions

Y. Jiang, J. Pan, and M. Yuan contributed equally as the first authors.

Acknowledgments

This study was supported by the National Natural Science Foundation of China (Grant No. 81770971), National Natural Science Foundation of Guangdong Province, China (Grant No. 2020A1515010617) to Dr. Y. Luo, the Open Research Funds of the State Key Laboratory of Ophthalmology (Grant No. 2019KF02), and National Natural Science Foundation of China (Grant No. 11771462) to Dr. X. Wang.

References

A. W. Stitt, T. M. Curtis, M. Chen et al., “The progress in understanding and treatment of diabetic retinopathy,” Progress in Retinal and Eye Research, vol. 51, pp. 156–186, 2016.

D. Taylor, “Diabetic eye screening Revised grading Definitions,” 2012.

D. Broadbent, “Diabetic retinopathy: fundamentals for primary care,” Diabetes & Primary Care, vol. 15, no. 4, 2013.

E. K. Deschler, J. K. Sun, and P. S. Silva, “Side-effects and complications of laser treatment in diabetic retinal Disease,” Taylor & Francis, vol. 29, no. 5-6, pp. 290–300, 2014.

Ophthalmologists, T. R. C. O., “Diabetic Retinopathy Guidelines,” in Definition of Diabetic Retinopathy, vol. 1, The Royal College of Ophthalmologists, 2012.

F. Tahir, M. U. Akram, M. Abbass, and A. A. Khan, “Laser marks detection from fundus images,” in 2014 14th International Conference on Hybrid Intelligent Systems, pp. 147–151, Kuwait, 2014.

F. Tahir, M. U. Akram, M. Abbas, and A. A. Khan, “Detection of laser marks from retinal images for improved diagnosis of diabetic retinopathy,” International Journal of Computer Information Systems and Industrial Management Applications, vol. 7, pp. 130–136, 2015.

E. Sousa, J. G. R. Almeida, C. M. Oliveira, and L. A. da Silva Cruz, “Automatic detection of laser marks in retinal digital fundus images,” in 2016 24th European Signal Processing Conference (EUSIPCO), pp. 1313–1317, Budapest, Hungary, 2016.

Q. Wei, X. Li, H. Wang, D. Ding, W. Yu, and Y. Chen, “Laser scar detection in fundus images using convolutional neural networks,” in Computer Vision-ACCV2018. 14th Asian Conference on Computer Vision. Revised Selected Papers: Lecture Notes in Computer Science, Perth, WA, Australia, 2019.

Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, 2015.

J. M. Son, J. Y. Shin, H. D. Kim, K. H. Jung, K. H. Park, and S. J. Park, “Development and validation of deep learning models for screening multiple abnormal findings in retinal fundus images,” Ophthalmology, vol. 127, no. 1, pp. 85–94, 2020.

Y. Tong, W. Lu, Y. Yu, and Y. Shen, “Application of machine learning in ophthalmic imaging modalities,” Eye and Vision, vol. 7, no. 1, pp. 1–15, 2020.

Z. Gao, J. Li, J. Guo, Y. Chen, Z. Yi, and J. Zhong, “Diagnosis of diabetic retinopathy using deep neural networks,” IEEE Access, vol. 7, pp. 3360–3370, 2019.

M. D. Abràmoff, P. T. Lavin, M. Birch, N. Shah, and J. C. Folk, “Pivotal trial of an autonomous AI-based diagnostic system for detection of diabetic retinopathy in primary care offices,” Npj Digital Medicine, vol. 1, no. 1, 2018.

V. Gulshan, L. Peng, M. Coram et al., “Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs,” Jama-Journal of the American Medical Association, vol. 316, no. 22, pp. 2402–2410, 2016.

G. Lim, V. Bellemo, Y. Xie, X. Q. Lee, M. Y. T. Yip, and D. S. W. Ting, “Different fundus imaging modalities and technical factors in AI screening for diabetic retinopathy: a review,” Eye and Vision, vol. 7, no. 1, pp. 1–13, 2020.

A. V. Varadarajan, R. Poplin, K. Blumer et al., “Deep learning for predicting refractive error from retinal fundus images,” Investigative Ophthalmology & Visual Science, vol. 59, no. 7, pp. 2861–2868, 2018.

F. Li, Z. Liu, H. Chen, M. Jiang, X. Zhang, and Z. Wu, “Automatic detection of diabetic retinopathy in retinal fundus photographs based on deep learning algorithm,” Transitional Vision Science & Technology, vol. 8, no. 6, p. 4, 2019.

Z. Xie, T. Ling, Y. Yang, R. Shu, and B. J. Liu, “Optic disc and cup image segmentation utilizing contour-based transformation and sequence labeling networks,” Journal of Medical Systems, vol. 44, no. 5, pp. 1–13, 2020.

O. Ronneberger, P. Fischer, and T. Brox, “U-net: convolutional networks for biomedical image segmentation,” in International Conference on Medical Image Computing & Computer-assisted Intervention, vol. 9351, pp. 234–241, Munich, Germany, 2015.

S. M. Pizer, E. P. Amburn, J. D. Austin et al., “Adaptive histogram equalization and its variations,” Computer Vision, Graphics, and Image Processing, vol. 39, no. 3, pp. 355–368, 1987.

C. Poynton, Digital video and HDTV: algorithms and interfaces, Morgan Kaufmann Publishers, San Francisco, 2003.

F. Girard, C. Kavalec, and F. Cheriet, “Joint segmentation and classification of retinal arteries/veins from fundus images,” Artificial intelligence in medicine, vol. 94, pp. 96–109, 2019.

W. Xiancheng, L. Wei, M. Bingyi et al., “Retina blood vessel segmentation using a U-net based convolutional neural,” in International Conference on Data Science, Beijing, China, 2018.

J. Staal, M. D. Abramoff, M. Niemeijer, M. A. Viergever, and B. van Ginneken, “Ridge-based vessel segmentation in color images of the retina,” IEEE Transactions on Medical Imaging, vol. 23, no. 4, pp. 501–509, 2004.

N. Tajbakhsh, J. Y. Shin, S. R. Gurudu et al., “Convolutional neural networks for medical image analysis: full training or fine tuning?” IEEE Transactions on Medical Imaging, vol. 35, no. 5, pp. 1299–1312, 2016.

Y. Jiang, J. Pan, Y. Shen et al., “A Fast and Effective Method of Macula Automatic Detection for Retina Images,” 2020, https://arxiv.org/abs/2010.03122.

W. J. Youden, “Index for rating diagnostic tests,” Cancer, vol. 3, no. 1, pp. 32–35, 1950.

L. Wang, J. Gu, Y. Chen et al., “Automated segmentation of the optic disc from fundus images using an asymmetric deep learning network,” Pattern Recognition, vol. 112, article 107810, 2021.