Abstract
This study proposes a novel computer assisted diagnostic (CAD) system for early diagnosis of diabetic retinopathy (DR) using optical coherence tomography (OCT) B-scans. The CAD system is based on fusing novel OCT markers that describe both the morphology/anatomy and the reflectivity of retinal layers to improve DR diagnosis. This system separates retinal layers automatically using a segmentation approach based on an adaptive appearance and their prior shape information. High-order morphological and novel reflectivity markers are extracted from individual segmented layers. Namely, the morphological markers are layer thickness and tortuosity while the reflectivity markers are the 1st-order reflectivity of the layer in addition to local and global high-order reflectivity based on Markov-Gibbs random field (MGRF) and gray-level co-occurrence matrix (GLCM), respectively. The extracted image-derived markers are represented using cumulative distribution function (CDF) descriptors. The constructed CDFs are then described using their statistical measures, i.e., the 10th through 90th percentiles with a 10% increment. For individual layer classification, each extracted descriptor of a given layer is fed to a support vector machine (SVM) classifier with a linear kernel. The results of the four classifiers are then fused using a backpropagation neural network (BNN) to diagnose each retinal layer. For global subject diagnosis, classification outputs (probabilities) of the twelve layers are fused using another BNN to make the final diagnosis of the B-scan. This system is validated and tested on 130 patients, with two scans for both eyes (i.e. 260 OCT images), with a balanced number of normal and DR subjects using different validation metrics: 2-folds, 4-folds, 10-folds, and leave-one-subject-out (LOSO) cross-validation approaches. The performance of the proposed system was evaluated using sensitivity, specificity, F1-score, and accuracy metrics. The system’s performance after the fusion of these different markers showed better performance compared with individual markers and other machine learning fusion methods. Namely, it achieved \(96.15\%\), \(99.23\%\), \(97.66\%\), and \(97.69\%\), respectively, using the LOSO cross-validation technique. The reported results, based on the integration of morphology and reflectivity markers and by using state-of-the-art machine learning classifications, demonstrate the ability of the proposed system to diagnose the DR early.
Similar content being viewed by others
Explore related subjects
Find the latest articles, discoveries, and news in related topics.Introduction
Multiple eye diseases that are major public health threats are asymptomatic or minimally symptomatic in their early states. These include diabetic retinopathy (DR), age-related macular degeneration (AMD), glaucoma, and choroidal neovascularization (CNV), all of which are potentialy blinding. Because of the minimal symptomatology in their early stages, these diseases are typically detected on routine examinations. This paper concentrates on DR, which is a chronic disease that causes progressive microvasculopathy and retinal ischemia. According to Saeedi et al.1, the number of DR patients will increase from 463 million patients (31 million in the United States) in 2019 to 578 million (34.4 million in the United States) by 2030 and 700 million (36 million in the United States) by 2045. Moreover, in a recent study from the Centers for Disease Control and Prevention (CDC)2, DR prevalence in the United States was estimated at 4.1 million, of whom 899, 000 had visual impairments. Detecting DR in its early stages is critical. Patients who present only once they become symptomatic frequently often have advanced disease with multiple, potentially blinding structural complications, such as proliferative diabetic retinopathy, neovascular glaucoma, and/or tractional retinal detachment. Therefore, it is important to detect DR early in order to prevent irreversible vision loss.
Multiple different imaging modalities are used by ophthalmologists to assess the retina, such as optical coherence tomography (OCT), OCT angiography (OCTA), fundus photography (FP), and fluorescein angiography (FA). Each modality has the virtue of revealing different features of the retina.
Significant research into retinal imaging modalities has already been conducted in the last few years to detect the pathologies of the eye early before causing any damage to the blood vessels of the retina and leading to vision loss. Some use FP, which takes a lot of time to distinguish morphological modifications in the optic disc and macula through examination. Priya et al.3 proposed a system to diagnose the grades of DR in FP. Their system consisted of four steps: 1) A pre-processing step was applied to enhance the FP image. The latter was an adaptive histogram equalization to increase the contrast, a discrete wavelet transform (DWT) to reduce the image dimension and the computing time, and matched filter response (MFR) for noise reduction. 2) Blood vessels and exudates were segmented using fuzzy C-means clustering. 3) Six features were extracted from the segmented image, namely area, half area, arc length, radius, diameter, and center angle. 4) Three different classification methods (support vector machine (SVM), Bayes classifiers, and probabilistic neural network (PNN)) were applied to these features to detect and grade DR in the FP. The accuracy of the reported three classifiers was \(89.6\%\), \(94.4\%\), and \(97.6\%\) for Bayes classifiers, PNN, and SVM, respectively. A similar study4 presented an automatic diagnostic system of DR by extracting the blood vessels and hemorrhages from FP, then a gray-level co-occurrence matrix (GLCM) was constructed and statistical features were extracted from this matrix. Finally, SVM was used to make the final diagnosis in which the reported accuracy was \(82.35\%\). In another study, an automatic system based on mathematical morphology has been presented by detecting macular hard exudates in FP5. The hard exudates are extracted by taking the complement of the extended minima transform. Then, the scan was classified as diabetic maculopathy (DM) if it has one or more hard exudates. Finally, the system grades the DM as clinical significant diabetic macular edema (CSME) or clinically non-significant diabetic macular edema (Non-CSME) based on the extent to which the hard exudates involve the fovea. The precision, recall, and area under the curve (AUC) of the system were \(86.67\%\), \(100\%\), and \(97.06\%\), respectively. A similar work6 proposed a computer assisted diagnosis (CAD) system to detect, and classify the different grades of DM and DR. The sensitivity and specificity of diagnosing the DM were \(96.46\%\) and \(98.56\%\), respectively while the overall accuracy of grading DR was \(94.33\%\). Another automatic system based on FP was developed by Rahim et al.7. The system extracted three different features from the extracted exudates in the whole scan and macula, i.e., six features in total. The latter were mean, standard deviation, and area of the extracted regions. The six features were fed to four different classifiers individually. The reported results were accuracy of \(70\%\) (\(93\%\), \(93\%\), \(75\%\)), sensitivity of \(45.28\%\) (\(92.45\%\), \(86.79\%\), \(60.38\%\)), and specificity of \(97.87\%\) (\(93.62\%\), \(100\%\), \(91.49\%\)) for SVM using a polynomial kernel (SVM using a radial basis function kernel, K-nearest neighbor (KNN), Naïve Bayes). Other studies have applied deep learning on FP to diagnose DR, e.g. Hemanth et al.8. The authors developed a deep convolution neural network (CNN) to detect and classify DR in FP. Before input to the CNN, a histogram equalization and a contrast limited adaptive histogram equalization were applied to each channel of the image to enhance the image contrast, then the three modified channels were concatenated again. The reported sensitivity, precision, F1-score, specificity, geometric mean of sensitivity and specificity, and accuracy were \(94\%\), \(94\%\), \(94\%\), \(98\%\), \(95\%\), and \(97\%\), respectively. In another study, a deep-based neural network was presented to detect the five grades of the DR9. dense color scale-invariant feature transform (DColor-SIFT) was applied to select the point of interest (PoI), followed by a gradient location-orientation histogram (GLOH) to enhance the performance of the classification. The dimension of this descriptor was decreased using principal component analysis (PCA). Finally, three deep layers were fed with this descriptor to learn new features and then to diagnose the stages of the DR. The sensitivity, specificity, and AUC of the system were \(92.18\%\), \(94.5\%\), and \(92.4\%\), respectively. Other studies that use FP for automated diagnosis are also provided for reference10,11,12,13,14.
Other studies have used OCT and OCTA modalities to diagnose retinal diseases, as they are non-invasive techniques that produce a cross-sectional or volumetric view of the retina and blood vessels, respectively. Alam et al.15 proposed an automatic CAD system to classify normal versus DR and also normal versus the grades of DR in the OCTA scans using an SVM. The developed system extracted six features from the OCTA scans, namely blood vessel caliber, blood vessel tortuosity, blood vessel density, foveal avascular zone (FAZ) area, vessel perimeter index, and FAZ contour irregularity. Their experiments presented the results of each feature individually as well as a fusion of all features combined. While, the most predictive feature was blood vessel density, features fusion gave the best performance of all experiments. The reported accuracies of the fusion features for normal versus DR and normal versus the grades of DR were \(94.41\%\) and \(92.96\%\), respectively. In another study16, the authors developed an extension CAD system of their previous work17 to detect DR in the 3D volume of the OCT by extracting three features, namely histogram of oriented gradients (HOG), PCA, and local binary pattern (LBP). The system used different classification methods fed with these features individually, some, or all of them in which the best sensitivity and specificity reached were \(87.5\%\) and \(87.5\%\), respectively using an SVM with linear kernel fed with the histogram of LBP using PCA. This study has many limitations, including sub-optimal performance and a lack of layer segmentation. A modified VGG16-based CAD system was presented by Ibrahim et al.18 to diagnose DM, CNV, and drusenoid disorders in the OCT volumes by fusing hand-crafted features from region of interest (RoI) with the learned features extracted from CNN in which the reported sensitivity, specificity, and accuracy of this study were \(99.4\%\), \(98.2\%\), and \(98.8\%\), respectively. Another study by Ghazal et al.19 presented a CNN CAD system to diagnose DR in the OCT B-scans. Their system consisted of three stages: 1) Each B-scan is divided into five regions, namely distal temporal, temporal, central, nasal, and, distal nasal. 2) Seven different CNNs were trained, one per region plus two using transfer learning on nasal and temporal regions only. 3) The seven CNN outputs were passed, singly or in combination, to SVM with the linear kernel to make the final diagnosis. The reported accuracy of the developed system was \(94\%\) when using transfer learning and two regions (nasal and temporal). Other studies presented a CAD system to detect the grades of DR that used a combination of the two modalities20. The outputs of the two modalities are fused with clinical, demographic, data and fed into a random forest (RF) classifier in which the reported accuracies for detecting the DR and the grades of the DR were \(98.2\%\) and \(98.7\%\), respectively. Other studies have also utilized OCT with varying results21,22,23,23,24,25,26,27,28,29,30,31,32,33,34,35,36.
In spite the plethora of diagnostic systems using OCT B-scans, there are some limitations apparent in the current literature, such as 1) using inaccurate (i.e., threshold-based) or manual segmentation, 2) unnecessary markers unrelated to DR diagnosis, and 3) low diagnostic performance. Therefore, in this paper, a novel CAD system to detect DR using OCT B-scans is proposed to partially overcome these limitations. The first step of the developed system is to segment the twelve layers of a given scan based on an atlas-based approach. Then, four different markers are extracted from each segmented layer and fed separately into a machine learning (ML) classifier. Finally, the results of the classifiers are fused using two backpropagation neural networks (BNN) to make the final diagnosis. This paper provides additional development of our previous work37,38, with the following contributions: 1) We investigate and diagnose each layer of the OCT’s twelve layers individually as the local diagnosis of each layer is obtained by fusing the diagnosis of each marker individually using BNN. The global decision is made by fusing the diagnosis of each individual layers using another BNN. 2) We propose local and global higher-order reflectivity markers based on a Markov-Gibbs random field (MGRF) model and GLCM. 4) A more descriptive approach (involving percentiles of the cumulative distribution function (CDF)) is applied to the extracted markers. 5) The performance of the diagnostic system using OCT modality is enhanced.
Methods
The proposed CAD system to diagnose the DR disease based on the central B-scan (through the foveal pit) of the volumetric OCT scans is depicted in Fig. 1. This proposed system consists of three steps: (1) Detection and segmentation of the twelve retinal layers within the B-scan use our previously developed appearance-based approach37. (2) Descriptive markers are extracted including a higher-order reflectivity metrics that combine both local and global terms estimated using high-order MGRF and GLCM matrix, in addition to morphological features (i.e., thickness, tortuosity) from each segmented layer, which are fed separately to an SVM classifier. (3) The four classifiers’ results are fused using a backpropagation neural network (BNN) to determine the final diagnosis of that layer. Lastly, another BNN is used to fuse the diagnostic results of the twelve layers to determine the final diagnosis of the B-scan. More details of the segmentation technique, marker extraction, and the employed machine learning classifier are presented in “Retinal layers segmentation”, “Image markers extraction”, and “Classification”, respectively.
Retinal layers segmentation
The retina proper and the retinal pigment epithelium, i.e. the tissue between the internal limiting membrane and Bruch’s membrane, as it appears in OCT imaging, can be parcellated into twelve layers. In order from innermost to outermost, these are the nerve fiber layer (NFL), ganglion cell layer (GCL), inner plexiform layer (IPL), inner nuclear layer (INL), outer plexiform layer (OPL), outer nuclear layer (ONL), external limiting membrane (ELM), myoid zone (MZ), ellipsoid zone (EZ), outer photoreceptor segments (OPR), interdigitation zone (IZ), and retinal pigment epithelium (RPE) (Fig. 2). Therefore, this step aims to accurately segment the twelve retinal layers of the OCT image. To reach this goal, a segmentation approach has been developed that extracts the layers automatically from the fovea using shape prior information37. Before segmenting the layers, the boundary of the vitreous and choroid are detected using a multiresolution edge detector as shown in Fig. 2a. Then, a non-linear registration with thin-plate splines39 was used to align the retina outline with the shape database, constructed from a set of manually segmented B-scans. The latter were outlined by a retina specialist. After that, each pixel of a given OCT B-scan to be segmented is initially classified as belonging to one of the twelve layers. This is done using the relative pixel intensity combined with an adaptive model that utilizes the OCT images and their manually segmented maps in the shape database and is adaptively updated for each input scan. Finally, the final segmentation is obtained using spatial smoothing and topological constraints (e.g., the NFL layer must lie above the GCL layer). Mathematically, this is described using a joint probability model given by Eq. (1). An example of the segmentation results using our approach for a normal and DR retinas is shown in Fig. 3.
where
-
g and l are the intensity value of the input-aligned image and its label map, respectively.
-
P(g|l) is the intensity probability model, estimated using the modified expectation maximization (EM) algorithm40,41.
-
\(P_{s}(l)\) is the shape probability that is adaptively constructed during segmentation using the manually segmented grayscale images and their respective maps as well as the input-aligned OCT image37.
-
\(P_{V}(l)\) is the spatial smoothing probability term described by a second-order Markov-Gibbs random filed (MGRF) model41 using the 8-pixel-connectivity and analytical potentials42,43.
Image markers extraction
The second critical and important step of the proposed system is the precision modeling of the image features that describe each of the segmented layers of a given OCT B-scan. The more accurate the descriptor is, the more accurate the diagnosis is. Therefore, the segmented layer is represented carefully by a set of discriminant features using higher-order morphological and novel reflectivity features. Details are given below. A pre-processing step is conducted before feature extraction and representation to reduce contamination by outlier measurements, which are often found near the edges of the segmented B-scan. Namely, a predefined region of the OCT B-scan is selected while the position of the fovea is placed at the center. Then, the morphological and reflectivity features are measured at different bins of the segmented B-scan due to the different size of each layer, then the average value of these markers at each bin is computed. Finally, to better represent any of the derived markers, a compact representation is used. Namely, a cumulative distribution function (CDF) of the extracted marker values is first constructed, then only a set of nine statistical measures of the CDF descriptor is selected. Namely, the 10th through 90th percentiles, with a 10% increment, as shown in Fig. 4. This is applied to all markers except GLCM markers.
Reflectivity
The first image marker used in our system is reflectivity, which represents the intensity of the reflection of light off an individual layer. To precisely describe retinal layers and thus enhance the accuracy of our system, the reflectivity marker is not only represented with the traditional 1st-order term, but also with higher-order reflectivity terms that are less sensitive to scan noise. The 1st-order reflectivity is represented by the average pixel intensity in each of the predefined bins of each layer. Also, this marker is measured only on a predefined region at both the temporal and nasal sides because the innermost five layers vanish near the fovea, as shown in Fig. 2a.
Before estimating the reflectivity, a given OCT B-scan (\(I_{in}\)) is first normalized by \(I_{n} =\frac{I_{in}-RV}{R_{12}-RV} \times 1000\), as the OCT pixel gray level is not an absolute metric of reflectivity since it depends on some external factors, such as pupil dilation, that affect image quality. For example, the retinal NFL in an eye that is insufficiently dilated may appear darker than in a fully dilated eye, even in the case where both eyes are of the same age and free of pathology. Therefore, a relative metric of reflectivity is used, where the reflectivity of the NFL and other layers is a fraction of the RPE reflectivity. It is standardized with respect to the RPE because that layer is typically preserved in early DR. Here, RV and \(R_{12}\) are the average intensity of vitreous, and the average intensity of the RPE layer, respectively. An illustration of the normalization step is shown in Fig. 5.
Traditional reflectivity, however, may not precisely describe the OCT signal, especially in the diseased retina. Thus, we propose to add higher-order terms that have the ability to overcome scan noise and artifacts. Those terms represent both the local and global higher-orders reflectivity and are based on Gibbs energy derived from the co-occurrence matrix, and GLCM, respectively. To develop the local higher-order reflectivity model, each OCT image is considered as a sample of a Markov-Gibbs random field (MGRF) with a translation-invariant system of pairwise interactions. Before we describe the proposed model let us identify the following arithmetic symbols:
-
Let \(N = \{({\zeta }_{i},{\eta }_{i}), i=1,\ldots ,n\}\) be a finite set of (x, y)-offsets specifying neighborhood system of MGRF model.
-
R is the 2D arithmetic grid of the 2D OCT image.
-
The neighborhood system for pixel (x, y) for a giving offset \(({\zeta }_{i},{\eta }_{i})\) is defined as follows: \(\{((x+{\zeta }_{i},y+{\eta }_{i}), (x-{\zeta }_{i},y-{\eta }_{i})); ({\zeta }_{i},{\eta }_{i})\in N\}\).
-
Let \({C}_{\zeta ,\eta }\) be a family of pairwise cliques \(C_{\zeta ,\eta ;x,y} = ((x,y), (x+\zeta ,y+\eta ))\) with offset \((\zeta ,\eta )\in N\) in the interaction graph on R.
-
Let V be a vector of Gibbs potentials for gray level co-occurrences in the cliques: \({V}^{T} = [{V}^{T}_{\zeta ,\eta } : (\zeta ,\eta ) \in N]\), where \({V}^{T}_{\zeta ,\eta }=[{V}_{\zeta ,\eta }(q,s) : (q,s) \in {Q}^{2}]\), Q is the number of grey levels in the OCT image.
A generic 2nd-order reflectivity-based MGRF on 2D lattice R is specified by the Gibbs probability distribution function:
where Z is the partition function, |R| is the cardinality of R, and F(g) is the vector of scaled empirical probability distributions of gray level co-occurrences over each clique family. To identify the MGRF model in Eq. 2, we have to estimate the clique potentials V. To achieve this goal, we use the analytical maximum likelihood estimator for the 2nd-order Gibbs potentials introduced in42:
where \(f_{layer}(q)\) is an empirical marginal distribution of pixel intensities, \(f_{layer,\zeta ,\eta }(q,s)\) is an empirical joint distribution of intensity co-occurrences. Thus, for each layer in the OCT images that energy of the 2nd-order reflectivity-based on the MGRF model can be calculated as follows:
Figure 6 shows a color-coded example of the estimated Gibbs energy at three different layers (NFL, ONL, and RPE) to demonstrate the discriminant difference between a normal and DR case. To summarize the 2nd-order reflectivity-based MGRF model, the basic steps are shown in Algorithm 1
![figure a](http://media.springernature.com/lw685/springer-static/image/art%3A10.1038%2Fs41598-021-83735-7/MediaObjects/41598_2021_83735_Figa_HTML.png)
In addition to the local higher-order reflectivity term, a global higher-order reflectivity is also employed in our pipeline and is based on GLCM in which the values represent the number of times that pair of pixel intensities appear together in the 8-neighbors connectivity in the image. The constructed matrix is then normalized (the summation of all normalized values is 1, i.e., as a probability), then several statistical features can be extracted from it such as: contrast, correlation, energy, and homogeneity44. The contrast feature is measured using Eq. (5) which represents the difference of the intensity levels between a pixel and its neighbor. The correlation feature (Eq. 6) measures the correlation between a pixel and its neighbor. Energy (Eq. 7) shows the percent of the intensity differences. It ranges between 0 and 1, where 1 indicates that the image is fully homogeneous (i.e., only one grey level) and 0 means fully inhomogeneous. Finally, the homogeneity feature (Eq. 8) refers to the concentration of the GLCM elements around its diagonal. The range of its values is between 0 and 1.
Figure 7 shows the average and standard deviation values of the extracted homogeneity, contrast, correlation, and energy markers in each layer for all normal and DR subjects. As demonstrated in the figure, there is an obvious difference between DR and normal subjects. Also, the color-coded maps of the GLCM elements are presented in Fig. 8 at three different layers (NFL, OPL, and RPE). As readily seen, the range of GLCM elements for DR classes is lower than the range in normal classes. Moreover, the global higher-order reflectivity markers are combined with the CDF percentiles of the 1st-order reflectivity as an individual reflectivity marker. Before the merger, 1st-order reflectivity for each layer is normalized by dividing each marker value of that layer by \(95\%\) confidence interval for the mean of all its values for all cases in that layer, while each GLCM marker is normalized by dividing its values by the maximum number of that feature in all cases.
where
-
i and j are the pixels pair of the GLCM;
-
p(i, j) is the normalized probability of the GLCM elements
-
\(\mu _x = \sum _{i} \sum _{j} ip(i,j)\) and \(\mu _y = \sum _{i} \sum _{j} jp(i,j)\) are the mean of the GLCM.
-
\(\sigma _{x} = \sqrt{\sum _{i} \sum _{j}(i-\mu _x)^2 p(i,j))}\) and \(\sigma _{y} =\sqrt{\sum _{i} \sum _{j}(j-\mu _y)^2 p(i,j))}\) are the variance of GLCM.
Morphological features
The second set of markers that are used for DR diagnosis are the morphological markers. Those markers include the layer thickness and tortuosity. The thickness marker measures the thickness of the layer by estimating the Euclidean distance between two corresponding points on the layer boundaries. To avoid problems associated with signal intensity variations across retinal layers, we exploit a geometric approach instead to co-localize the point pairs45. Namely, the solutions of the Laplace equation allow for accurate localization of point-to-point correspondences between the boundaries of a segmented layer, as shown in Fig. 9. This second-order Laplace equation is defined as:
where \(\gamma\) is the scalar field, or the harmonic function, that represents the estimated electric field between the upper and lower boundaries of the layer. The in-between intermediate equipotential surfaces and streamlines establish natural pixel-wise correspondences between the upper and lower boundaries of a given layer. In our work, we adopted a second-order central difference method and the iterative Jacobi approach to estimate \(\gamma (x,y)\):
where \(\gamma ^{i}(x,y)\) is the estimated electric field at (x, y) during the \(i{th}\) iteration; and \(\Delta x\) and \(\Delta y\) are the step length or resolution in x and y directions, respectively. An illustrative example of the estimated thickness for the ONL layer for a normal and a DR case is shown in Fig. 9. The estimated electrical field is represented by four color-coded ranges in which the blue (yellow) represents the highest (lowest) potential, as presented in the figure. Moreover, the starting points of each streamline with a constant distance is selected at the highest potential (i.e., green dots at the lower boundary). Then, select the low potential closest to each starting point to form its streamline. Also, the figure shows that there is an obvious difference between DR and normal subjects since the thickness of mid-region for the DR is larger than the normal case.
On the other hand, the tortuosity (Eq. 11) of the layer boundary is measured by the absolute value of the local curvature. The latter is estimated using the multiplicative inverse radius of a circle passing through three sample points, \(\left( x_1,y_1\right)\), \(\left( x_2,y_2\right)\), \(\left( x_3,y_3\right)\), on the boundary based on Menger curvature estimation46. An example of the estimated tortuosity for the ONL layer for a normal and a DR case is shown in Fig. 10. Moreover, the tortuosity descriptor of the layer is the combination of the tortuosity of the upper and lower boundaries of that layer.
where \(\kappa\) is the tortuosity estimated on a circle of radius r and center point \(\left( x_0,y_0\right)\) which is solved using the following nonlinear system:
-
\(\left( x_1-x_0\right) ^2+\left( y_1-y_0\right) ^2=r^2\)
-
\(\left( x_2-x_0\right) ^2+\left( y_2-y_0\right) ^2=r^2\)
-
\(\left( x_3-x_0\right) ^2+\left( y_3-y_0\right) ^2=r^2\)
Classification
The classification method of the proposed system consists of three stages as demonstrated in Fig. 1: (1) An SVM with a linear kernel is fed with each extracted marker at each layer, individually. (2) Then, the DR probabilities resulting from the four classifiers at each layer are fed to a backpropagation neural network (BNN) with one hidden layer which involves 49 neurons to make the local diagnosis of that layer. (3) Finally, the outputs of the BNN of the twelve layers are fed to another BNN with 30 neurons in the hidden layer to make the final and global diagnosis of a given B-scan. The basic steps of the BNN are summarized in Algorithm 2
![figure b](http://media.springernature.com/lw685/springer-static/image/art%3A10.1038%2Fs41598-021-83735-7/MediaObjects/41598_2021_83735_Figb_HTML.png)
The hyper-parameters of the BNN are tuned by running different experiments only on \(70\%\) of the dataset to overcome the overfitting problem. Those parameters include the number of hidden layers in the network, the number of neurons in the hidden layers, and the activation function used to estimate the output of each neuron. According to the conducted experiments, the best configurations to reach the results demonstrated in “Experimental results” are: one hidden layer (i.e., search space: 1–2) for all BNN used in the developed system; 49 and 30 neurons in the hidden layer for the local and the global diagnosis networks, respectively (search space: 1–50); and the activation functions applied to the hidden and output layers are hyperbolic tangent and softmax activation function, respectively (range: tangent, sigmoid, rectified linear, and softmax activation functions).
Experimental results
The overall system assessment and evaluation is based on OCT data that are acquired using a Zeiss Cirrus HD-OCT 5000 machine47 from the Department of Ophthalmology and Visual Sciences at the University of Louisville (UofL) that have an axial resolution of 5 μm. Data collection and acquisition is certified by UofL Institutional Review Board (IRB) and the study adhered to the Declaration of Helsinki. The dataset includes 130 subjects with two scans for each eye (i.e., a total of 260 OCT images). The dataset is balanced and contains 65 subjects from each group (i.e., normal and DR). In our database, 79 cases (17 normal and 62 DR) have image resolution of \(1024\times 350\) and 51 cases (48 normal and 3 DR) have image resolution of \(1024\times 1024\), summarized in Table. 1. Grades of DR included in this study were mild nonproliferative diabetic retinopathy (NPDR) and moderate NPDR. Eyes with macula edema were not included in this study. Also, severe NPDR and proliferative diabetic retinopathy were not included because of low numbers of cases for each of those grades. These images were taken from a clinical setting with a minimum signal strength of 7/10 on the OCT machine in which all diabetic patients, regardless of ocular history, undergo macula OCT scans in each eye. The extent of disease and clinical grading was determined by physicians who were all trained retina specialists. They performed full dilated fundus exams to determine the extent of retinopathy in each eye.
To present the performance of the developed system, K-fold cross-validation has been adopted for quantitative evaluation. In our study, different experiments have been conducted using different validation scenarios: 2-folds, 4-folds, 10-folds, and leave-one-subject-out (LOSO). In addition, two experiments using different percentages of the dataset are conducted to demonstrate the optimization of the tuned BNN utilized in the integration between the individual markers. The results of these experimenters are reported in Table. 2. As demonstrated in the table, the accuracy of the developed system is improved when the size of the data is increased from \(70\%\) (i.e., 180 cases) to \(100\%\) of the dataset (i.e., all the 260 cases). Quantitative performance has been measured using different metrics: sensitivity, specificity, F1-score, and accuracy estimated as indicated in Table 3.
To highlight the promise of the integrated markers in the proposed system, the performance of the system is assessed using individual markers separately. The obtained results are based on using an SVM to classify the extracted feature from each layer, and then these results are fused using a one hidden layer BNN with 30 neurons. The marker-wise evaluation is demonstrated in Table 4. As shown in the table, the reflectivity marker gives the highest performance compared with the other three markers. One of the contributions of this study is to enhance the accuracy of the system by fusing different markers. This is confirmed by the results in Table 4 as the performance of the proposed system is enhanced by \(2\%\) over the highest accuracy of the four markers using LOSO validation. The proposed system achieved \(96.15\%\), \(99.23\%\), \(97.66\%\), and \(97.69\%\) for the sensitivity, specificity, F1-score, and accuracy, respectively. It is worth mentioning that the markers fusion, combined with LOSO, gives the best performance in all cross-validating techniques.
Illustrative color-coded map examples of all retinal layers’ classification for a healthy retina (upper row) and a DR case (lower row) for individual markers: (a) Gibbs energy, (b) thickness, (c) tortuosity, (d) reflectivity, and (e) their fusion. The range of the color maps consists of 100 different colors for both normal (50 blue) and DR (50 red) classes to visually represent the probability of the classification from 0.5 to 1 with 0.1 increments.
Moreover, to highlight the advantage of the marker fusion, the probability of the resulting classification at each layer is visually represented using color-coded maps using blue and red hues for the normal and DR cases, respectively. The light color represents the lower probability, and vice versa. The decision of classification is made by selecting the class that has a higher probability. Figure 11 shows an example of the color-coded maps for a normal and DR case. As shown in the figure, reflectivity and the fused markers classify each layer correctly. However, if one looks carefully, the color maps of the fused markers are darker than the reflectivity, indicating greater intra-class coherence than in the reflectivity example. This confirms that the developed system distinguishes DR and normal classes much better than individual markers.
To the best of our knowledge, there is limited literature for DR diagnosis using OCT. Most of recent work has proposed systems using FP images or using CNNs8,9. These two environments are different from our proposed system, and it would be unfair to compare our system with them. Therefore, to show more of the virtues of the developed system, two more experiments have been conducted and compared with the developed system, as demonstrated in Tables 5 and 6. Table 5 demonstrates the results obtained using different fusion approaches at both the markers level (Level 1) and the layers level (or Level 2). Particularly, instead of using two BNNs as fusion methods at levels 1 and Level 2, an SVM with a linear kernel and a majority voting (MV) fusion methods are used and their performance is compared with the current proposed system (see Table 5). The configuration of the BNNs for the results demonstrated in Table 5 is one hidden layer with 49 and 30 neurons for Level 1 and Level 2 fusion. As shown in the table, the performance of the developed system is the highest compared with other fusion approaches. Although, the accuracy of (BNN \(+\) MV) and (BNN \(+\) SVM) scenarios is equal to that of the proposed (BNN \(+\) BNN) system in 10-folds cross-validation, their variations (standard deviation values) are higher, which means that the proposed system is more stable. Also, the accuracy of the (BNN + MV) approach is equal to the accuracy of the developed system in LOSO cross-validation. Since one of the two fusion methods in the (BNN + MV) experiment is a BNN, which is a part of the proposed system, it is logic to give the same performance in some experimental trials. Overall, the proposed system is much better than the other approaches as shown in Table 5.
To more prove the stability of the system, different machine learning (ML) classifiers have been tested instead of SVM and their performance is compared with the developed system. The results are summarized in Table 6. From the table, the performance of the developed system is the highest if compared with other ML classifiers, which supports the stability of the proposed system.
Finally, to show the robustness of our approach to distinguish between normal and DR cases for the three conducted experiments, receiver operating characteristic (ROC) curves have been constructed, see Fig. 12. The AUC of the proposed system is \(98.25\%\) which is higher than all the experiments except (BNN + MV) and (BNN + SVM) fusion approaches whose AUCs are \(98.51\%\) and \(98.67\%\), respectively. These AUCs are very close to our proposed system’s AUC. This can be explained in part by the fact that the Level 1 fusion of these two experiments is the same as the Level 1 fusion of the proposed system. All of the above experiments confirm that BNN is one of the best approaches to fuse between different results to produce the final decision in this proposed system, thus making it highly accurate to diagnose DR using OCT B-scans.
Clinical retina specialists can easily identify DR in the clinical setting, we foresee the ultimate use of this technology as one of screening. Because all diabetics need to be screened for diabetic retinopathy at least annually, automated screening with imaging modalities, such as OCT, is the way forward.
Conclusions and future works
In this study, a new CAD system was presented to detect DR early using non-invasive OCT B-scans. The system estimates different discriminant morphology and reflectivity markers from automatically segmented retinal layers. These descriptors are fused and classified using current, state-of-the-art machine learning classifiers. The best accuracy of these descriptors was \(95.38\%\), improving to \(97.69\%\) with the integration of these descriptors. Moreover, these results show the advantage of integrating discriminate markers using BNN, rather than different fusion approaches in diagnosing DR. In the future, we plan to investigate and study the enhancement of the proposed system in combination with other scan modalities as well as the clinical biomarkers. Moreover, this system can be generalized to diagnose different eye pathologies that affect the retinal layers and cause vision loss.
Data availability
Materials, data, and associated protocols will be available to readers after the manuscript gets accepted.
References
Saeedi, P. et al. Global and regional diabetes prevalence estimates for 2019 and projections for 2030 and 2045: Results from the international diabetes federation diabetes atlas, 9th edition. Diabetes Res. Clin. Pract. 157, 107843. https://doi.org/10.1016/j.diabres.2019.107843 (2019).
Centers for Disease Control and Prevention. https://www.cdc.gov/visionhealth/basics/ced/index.html. Accessed: 09/14/2020.
Priya, R. & Aruna, P. Diagnosis of diabetic retinopathy using machine learning techniques. ICTACT J. Soft Comput. 03, 563–575. https://doi.org/10.21917/ijsc.2013.0083 (2013).
Foeady, A. Z., Novitasari, D. C. R., Asyhar, A . H. & Firmansjah, M. Automated diagnosis system of diabetic retinopathy using glcm method and svm classifier. 2018 5th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI) 154–160 (2018).
Rajput, G. G., Reshmi, B. M. & Rajesh, I. S. Automatic detection and grading of diabetic maculopathy using fundus images. Procedia Comput. Sci. 167, 57–66. https://doi.org/10.1016/j.procs.2020.03.182 (2020).
Zhou, W., Wu, C. & Yu, X. Computer aided diagnosis for diabetic retinopathy based on fundus image. In 2018 37th Chinese Control Conference (CCC) 9214–9219 (IEEE, 2018).
Rahim, S. S., Palade, V., Shuttleworth, J. & Jayne, C. Automatic screening and classification of diabetic retinopathy and maculopathy using fuzzy image processing. Brain Inform. 3, 249–267 (2016).
Hemanth, D. J., Deperlioglu, O. & Köse, U. An enhanced diabetic retinopathy detection and classification approach using deep convolutional neural network. Neural Comput. Appl. 32, 707–721. https://doi.org/10.1007/s00521-018-03974-0 (2019).
Abbas, Q., Fondon, I., Sarmiento, A., Jiménez, S. & Alemany, P. Automatic recognition of severity level for diagnosis of diabetic retinopathy using deep visual features. Med. Biol. Eng. Comput. 55, 1959–1974 (2017).
Ali, A. et al. Machine learning based automated segmentation and hybrid feature analysis for diabetic retinopathy classification using fundus image. Entropy 22, 26. https://doi.org/10.3390/e22050567 (2020).
Alves, S. S. A. et al. A new strategy for the detection of diabetic retinopathy using a smartphone app and machine learning methods embedded on cloud computer. 2020 IEEE 33rd International Symposium on Computer-Based Medical Systems (CBMS) 542–545 (2020).
Xu, K., Feng, D. & Mi, H. Deep convolutional neural network-based early automated detection of diabetic retinopathy using fundus image. Molecules 22, 2054 (2017).
Li, Y.-H., Yeh, N.-N., Chen, S.-J. & Chung, Y.-C. Computer-assisted diagnosis for diabetic retinopathy based on fundus images using deep convolutional neural network. Mobil. Syst. Inf. (2019). .
de la Torre, J., Valls, A. & Puig, D. A deep learning interpretable classifier for diabetic retinopathy disease grading. Neurocomputing 396, 465–476 (2020).
Alam, M. et al. Quantitative optical coherence tomography angiography features for objective classification and staging of diabetic retinopathy. Retina. https://doi.org/10.1097/IAE.0000000000002373 (2018).
Alsaih, K., Lemaitre, G., Rastgoo, M., Massich, J. & Sidibé, D. Machine learning techniques for diabetic macular edema (dme) classification on sd-oct images. BioMed. Eng. OnLine 16, 1–12 (2017).
Lemaître, G. et al. Classification of sd-oct volumes using local binary patterns: Experimental validation for dme detection. J. Ophthalmol.https://doi.org/10.1155/2016/3298606 (2016).
Ibrahim, M., Fathalla, K. & Youssef, S. Hycad-oct: A hybrid computer-aided diagnosis of retinopathy by optical coherence tomography integrating machine learning and feature maps localization. App. Sci. 10, 4716. https://doi.org/10.3390/app10144716 (2020).
Ghazal, M., Ali, S. S., Mahmoud, A. H., Shalaby, A. M. & El-Baz, A. Accurate detection of non-proliferative diabetic retinopathy in optical coherence tomography images using convolutional neural networks. IEEE Access 8, 34387–34397 (2020).
Sandhu, H. S. et al. Automated diagnosis of diabetic retinopathy using clinical biomarkers, optical coherence tomography, and optical coherence tomography angiography. Am. J. Ophthalmol. 216, 201–206 (2020).
Bernardes, R., Serranho, P., Santos, T., Gonçalves, V. & Cunha-Vaz, J. Optical coherence tomography: Automatic retina classification through support vector machines. Eur. Ophthal. Rev. 6, 200–203. https://doi.org/10.17925/EOR.2012.06.04.200 (2012).
Banerjee, I. et al. A deep-learning approach for prognosis of age-related macular degeneration disease using sd-oct imaging biomarkers. Sci. Rep. 10, 15434. https://doi.org/10.1038/s41598-020-72359-y (2020).
Serener, A. & Serte, S. Dry and wet age-related macular degeneration classification using oct images and deep learning. 2019 Scientific Meeting on Electrical-Electronics & Biomedical Engineering and Computer Science (EBBT) 1–4 (2019).
Maetschke, S. et al. A feature agnostic approach for glaucoma detection in oct volumes. PLoS ONE 14, e219216 (2019).
An, G. et al. Glaucoma diagnosis with machine learning based on optical coherence tomography and color fundus images. J. Healthc. Eng. 2019, (2019).
Mateen, M. et al. Automatic detection of diabetic retinopathy: A review on datasets, methods and evaluation metrics. IEEE Access 8, 48784–48811 (2020).
Shankar, K. et al. Automated detection and classification of fundus diabetic retinopathy images using synergic deep learning model. Pattern Recogn. Lett. 133, 210–216 (2020).
Cao, K., Xu, J. & Zhao, W.-Q. Artificial intelligence on diabetic retinopathy diagnosis: An automatic classification method based on grey level co-occurrence matrix and naive bayesian model. Int. J. Ophthalmol. 12, 1158–1162 (2019).
Ng, W. S. et al. Computer aided diagnosis of eye disease for diabetic retinopathy. J. Phys. 1372, 012030 (2019).
Bannigidad, P. & Deshpande, A. Exudates detection from digital fundus images using glcm features with decision tree classifier. In International Conference on Recent Trends in Image Processing and Pattern Recognition 245–257 (Springer, 2018).
Rashed, N., Ali, S. & Dawood, A. Diagnosis retinopathy disease using GLCM and ANN. J. Theor. Appl. Inf. Technol. 96, 6028–6040 (2018).
Giraddi, S., Pujari, J. & Seeri, S. Role of GLCM features in identifying abnormalities in the retinal images. Int. J. Image Graph. Signal Proces. 7, 45–51. https://doi.org/10.5815/ijigsp.2015.06.06 (2015).
Ko, C.-E. et al. Using a cropping technique or not: Impacts on svm-based amd detection on oct images. 2019 IEEE International Conference on Artificial Intelligence Circuits and Systems 199–200 (2019).
Pekala, M. J. et al. Deep learning based retinal oct segmentation. Comput. Biol. Med. 114, 103445 (2019).
Le, D. et al. Transfer learning for automated octa detection of diabetic retinopathy. Transl. Vis. Sci. Technol.https://doi.org/10.1167/tvst.9.2.35 (2020).
Heisler, M. et al. Ensemble deep learning for diabetic retinopathy detection using optical coherence tomography angiography. Transl. Vis. Sci. Technol. 9, 20. https://doi.org/10.1167/tvst.9.2.20 (2020).
El Tanboly, A. et al. A novel automatic segmentation of healthy and diseased retinal layers from oct scans. IEEE International Conference on Image Processing (ICIP) 116–120, (2016).
El Tanboly, A. et al. An integrated framework for automatic clinical assessment of diabetic retinopathy grade using spectral domain oct images. IEEE 15th International Symposium on Biomedical Imaging 1431–1435 (2018).
Jongwoo Lim & Ming-Hsuan Yang. A direct method for modeling non-rigid motion with thin plate spline. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05), vol. 1, 1196–1202 (2005).
El-Baz, A. & Gimel’farb, G. EM based approximation of empirical distributions with linear combinations of discrete gaussians. In 2007 IEEE International Conference on Image Processing, https://doi.org/10.1109/icip.2007.4380032 (2007).
Farag, A., El-Baz, A. & Gimel’farb, G. Precise segmentation of multimodal images. IEEE Trans. Image Process. 15, 952–968. https://doi.org/10.1109/tip.2005.863949 (2006).
El-Baz, A., Gimel’farb, G. & Suri, J. Stochastic Modeling for Medical Image Analysis (CRC Press, Boca Raton, 2016).
Liu, N., Gimel’farb, G. & Delmas, P. High-order MGRF models for contrast/offset invariant texture retrieval. In Proceedings of the 29th International Conference on Image and Vision Computing New Zealand - IVCNZ ’14, https://doi.org/10.1145/2683405.2683414 (2014).
Haralick, R. M., Shanmugam, K. & Dinstein, I. H. Textural features for image classification. IEEE Trans. Syst. Man Cybernet. 610–621 (1973).
Khalifa, F., Beache, G. M., Gimel’farb, G., Giridharan, G. A. & El-Baz, A. Accurate automatic analysis of cardiac cine images. IEEE Trans. Biomed. Eng. 59, 445–455 (2012).
Strzelecki, P. & von der Mosel, H. How averaged Menger curvatures control regularity and topology of curves and surfaces. J. Phys. 544, 012018. https://doi.org/10.1088/1742-6596/544/1/012018 (2014).
Cirrus hd-oct 5000. https://www.zeiss.com/meditec/us/customer-care/customer-care-for-ophthalmology-optometry/quick-help-for-cirrus-hd-oct-5000.html. Accessed: 2020-03-10.
Acknowledgements
This work is supported, in part, by the Abu Dhabi Award for Research Excellence (AARE) 2019.
Author information
Authors and Affiliations
Contributions
A.S., M.E., F.K., A.S., M.G., M.A., M.Y., and A.E-B.: conceptualization, developing the proposed methodology for the analysis, and formal analysis. A.S., M.E., F.K., and A.S.: software, validation and visualization, and prepared initial draft. M.G., M.A., M.Y., M.A., S.E., H.S.S., and A.E-B.: project administration. M.G., and A.E-B: project directors. H.S.S. collected OCT data and helped with the medical terms. All authors review and edit the revised version.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Sharafeldeen, A., Elsharkawy, M., Khalifa, F. et al. Precise higher-order reflectivity and morphology models for early diagnosis of diabetic retinopathy using OCT images. Sci Rep 11, 4730 (2021). https://doi.org/10.1038/s41598-021-83735-7
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-021-83735-7
- Springer Nature Limited
This article is cited by
-
An AI-based novel system for predicting respiratory support in COVID-19 patients through CT imaging analysis
Scientific Reports (2024)
-
Diabetic retinopathy detection using supervised and unsupervised deep learning: a review study
Artificial Intelligence Review (2024)
-
AI-based methods for detecting and classifying age-related macular degeneration: a comprehensive review
Artificial Intelligence Review (2024)
-
Multimodality Fusion Strategies in Eye Disease Diagnosis
Journal of Imaging Informatics in Medicine (2024)
-
Multiple instance learning based classification of diabetic retinopathy in weakly-labeled widefield OCTA en face images
Scientific Reports (2023)