Introduction

Age-related macular degeneration (ARMD) is a degenerative eye disease that affects the macular region due to the formation of drusen in Bruch’s membrane in the basement of RPE layer and cause deformation and thickening of RPE layer [1]. It mostly occurs in aged persons after 60 years, but can also occur earlier. ARMD can cause severe visual impairments and if it is not treated at an early stage, it can result in an irreversible loss of central vision. After age, patients with diabetes, cardiovascular disease, and genetic susceptibility are also at risk of having ARMD disorder [2, 3]. In EUREYE study, there is a found positive association in patients of diabetes with neovascular ARMD [4]. Therefore, diabetic patients are at high risk of having wet ARMD disorder. World Health Organization (WHO) mentioned in their report that a high rate of people suffers from diabetes and cardiovascular diseases in Pakistan [3]. ARMD is also a threatening disease in developed countries like United States of America (USA) and around 40% elderly population in USA is suffering from ARMD [5]. These degenerative retinal disorders are expected to be doubled in next 25 years [6]. Clinically, drusens are the main source of ARMD, which cause hyperpigmentation of RPE. Shape of RPE is deformed due to presence of drusens. Appearance of these drusens in macular region causes a central vision distortion. Many researchers have proposed fully automated systems for the detection of drusen from color fundus photographs. Although fundus photography gives gold standards for detecting drusen pathology; nevertheless, fundus imaging is found to be quite feeble for the early localization and quantitation of drusen, due to the varying nature of macular pathology especially in early stages [7]. Therefore, all the automated self-diagnosis system to detect ARMD from fundus imaging are less sensitive to early pathological conditions of ARMD. Optical coherence tomography (OCT) is one of the latest advancements in ophthalmic imaging. OCT provides a reliable and objective visualization of cross-sectional drusen pathology. Spectral domain optical coherence tomography (SD-OCT) provides high resolution OCT imagery as compared to time domain optical coherence tomography (TD-OCT) [8].

Many researchers have worked on the diagnosis of drusen pathology from fundus images. However, only a few good studies have been carried out on automated diagnosis of ARMD using OCT. Z. B. Sbeh et al. [9], proposed a method for segmentation of angiographic eye fundus images in order to extract drusens, yellowish deposits at the retina level, using an adaptive algorithm based on mathematical morphology transforms. Z. B. Sbeh et al. [10] also presented a novel segmentation method based on their proposed transformation technique which involved the search for a new class of regional maxima components of the image. K. Rapantzikos et al. [11, 12] developed a novel segmentation technique which is the histogram-teased adaptive local thresholding (HALT) to detect drusens in fundus images by extracting the useful information without being affected by the presence of other pathological structures. Apart from this, different fuzzy logic-based techniques [13,14,15] and texture-based methods [16,17,18] have been proposed for drusens detection and segmentation from fundus images. L. Brandon et al. [19] used a multi-level approach, starting from the classification at the pixel level and then to the region level, area level, and finally to the image level which allowed to gather the lowest level of details for possible detection of drusens. They achieved the accuracy of 87% on the dataset containing 119 fundus images.

ARMD detection at an early stage is important and OCT imagery provides an objective and reliable visualization of macular pathology [20], particularly identification and quantification of drusens. Figure 1 depicts the correspondence between fundus and OCT retinal images for both healthy and ARMD pathology while Fig. 2 relates the appearance of drusen on fundus image with RPE atrophic profile in OCT brightness scan (B-scan).

Fig. 1
figure 1

(a) Fundus image of a normal retina. Black square represents the macular region of normal retina, whose cross-sectional pathology is presented by SD-OCT scan in (c), (b) summed voxel projection (SVP) image of normal retina, (c) SD-OCT B-scan directed by the white dashed dotted line in (b), (d) fundus image of the ARMD-effected retina. Black square represents the macular region of ARMD retina, whose cross-sectional pathology is presented in (f), (e) SVP of ARMD-effected retina shown by white dashed-dotted line, and (f) ARMD-effected SD-OCT B-scan

Fig. 2
figure 2

(a) Fundus image of ARMD-effected retina, (b) macular region of (a) depicting the drusen pathology, (c) SD-OCT scan of oval shaped area in (b), red dashed line directs the location of B-scan of image presented (b) showing some small drusen, (d) SD-OCT scan from a circular area in (b) red dashed line directs the location of B-scan of image presented in (b), showing various small drusen

In ARMD-effected eye, RPE layer is displaced and deformed due to extracellular material deposits located between the basal lamina of RPE and the inner collagenous layer of Bruch’s membrane [21]. Various clinical studies have been presented with the detailed analysis on the diagnosis of ARMD but only few automated systems exist that provide the detection of ARMD pathology from OCT scans. N. Jain et al. [22] have performed comparative analysis to elaborate effectiveness of OCT over fundus images to detect drusen and argued that OCT imagery offers greater accuracy in providing details regarding border of hard and soft drusens than inspection of fundus images. Their studies have proved that drusen area and size measurement correlates with disease progression in dry ARMD. S. J. Chiu et al. [23] proposed an algorithm to segment three retinal boundaries efficiently as compared to that of manual segmentation by graders. They have tested their proposed algorithm on the dataset of 220 B-scans of 20 patients. S. Farsiu et al. [24] have defined quantitative indicators (QI) to detect drusen that cause intermediate ARMD from OCT images. QI’s that were considered by them includes total retina (TR) volumes, RPE drusen complex (RPEDC) volumes, and abnormal RPEDC thickening and thinning volumes. They have used a dataset of 384 subjects including 115 images of elderly subjects without ARMD and 269 images with intermediate ARMD, which is up till now the largest quantitative OCT dataset containing RPE thickness profiles and its abnormalities. Abnormal RPEDC thickness QI was found as the single most useful feature that can be used to detect intermediate ARMD. In SD-OCT images, accurateness of anatomical structures is critical for the diagnosis and analysis of ocular diseases [25]. Most of commercially available OCT systems are used to quantify retinal thickness profiles. Some of these systems are also used to measure the retinal nerve fiber layer (RNFL) thickness [26]. Automated analysis of OCT images is an active field of research with intentions to speed up screening of patients and to enable remote identification of retinal diseases [27]. J. Y. Lee, et al. [28] presented novel segmentation framework that is used to segment retinal layers from diabetic macular edema (DME)-affected OCT images, acquired from cirrus and spectralise system.

G. M. Somfai, et al. [29] calculated different structural and optical features from cross-sectional retinal pathology using OCT imagery to diagnose healthy and diabetic eyes with mild or no mild retinopathy. Q. Chen et al. [30] presented an automated drusen segmentation method for SD-OCT retinal images, which leverages a priori knowledge of normal retinal morphology and anatomical features. D. C. Fernández et al. [31] proposed model-based enhancement segmentation approach with the combination of complex diffusion filtering with coherence enhancing diffusion filtering for de-noising, segmentation, and structural analysis in OCT retinal images and their proposed approach gives good performance for noise removal and enhancement of retinal layers from OCT images. S. J. Chiu et al. [32] presented a fully automated system for segmentation of retinal layered structure using OCT images by applying graph-cut theory and dynamic programming (GTDP) approach that significantly lessen processing time of segmentation and features extraction. An improved version of [32] based on kernel regression (KR) method was proposed [33] to improve the segmentation of retinal layers boundaries with the combination of previously developed GTDP framework. Apart from this, Table 1 gives an overview of some of the automated methods that have been proposed for the diagnosis of ARMD from OCT images. OCT imagery-based clinical decision support systems provide advancement towards drusen quantification. However, there are some challenges which need to be addressed for reliable drusen quantification. One of the challenges is the estimation of RPE layer where drusen appears. In low quality OCT images, the accurate segmentation of RPE layer can be cumbersome even from normal B-scan, as inner segment/outer segment (IS/OS) layers are frequently merged with RPE layer. In [34], it presented an application software interface which is used to manually identify different retinal layers from macular and ocular pathology.

Table 1 OCT-based clinical decision supported systems used for retinal layer segmentation

Contributions

Most of the automated systems that have been proposed in literature are based on fundus images which are less sensitive to early pathological conditions of ARMD. Very few automated systems exist which uses OCT imagery for the early diagnosis of ARMD.

In this paper, we propose fully automated decision support system for the diagnosis of ARMD by establishing the correspondence between both retinal fundus and OCT imagery. The significant scientific contributions of the proposed system are summarized below:

  • This paper presents clinical decision support system for the automated diagnosis of ARMD by establishing the correspondence between both fundus and OCT imagery.

  • The proposed system is a fully automated system that distinguishes ARMD-affected patients from the early ARMD suspects. This has been established by correlating degenerative pathology in both fundus and OCT imagery.

  • Furthermore, the proposed system reconstructs a complete 3D RPE surface from OCT volumetric scans, which can be mapped onto the respective fundus image to validate the detected drusen.

Proposed Methodology

We propose a fully automated self-diagnosis system that is based on three major stages. The first stage of the proposed system is related to acquiring fundus and OCT volumetric scan. From OCT volumetric scan, each B-scan is processed to extract its RPE atrophic profile which is then used to reconstruct a complete 3D RPE surface. The second stage of the proposed system is related to extracting five distinct features from the segmented RPE layer and classifying the candidate subject as healthy or ARMD suspect based on the analysis of OCT profile. In case of suspect ARMD, proposed algorithm proceeds to third stage where surrounding region against suspected B-scan is extracted from corresponding fundus image and algorithms are applied for possible drusen detection. Based on the results from third stage, patient is finally diagnosed as early or advanced ARMD. Figure 3 depicts the block diagram of the proposed system.

Fig. 3
figure 3

Flow diagram of proposed automated system showing different stages for the detection and grading of ARMD

Dataset Description

There is no online dataset available which provides both OCT and fundus images for ARMD analysis. We have used a custom dataset in this research which is acquired from armed forces institute of ophthalmology (AFIO). The dataset was annotated by two expert ophthalmologists from AFIO. A subset of 100 patients has been selected for which both experts gave same labeling. They labeled the images as normal and with ARMD and further divide ARMD into early or advanced. All those cases which show some signs of ARMD in OCT volumes but no such sign on fundus image are labeled as suspected/early ARMD. The dataset is captured from spectralise SD-OCT imaging camera with 68 scans per patient. The manufacturer of spectralise SD-OCT machine is Heidelberg Engineering Inc. Table 2 shows the detailed description about the used dataset. The dataset is available at www.biomisa.org/armd. As mentioned earlier and shown in Fig. 3, proposed technique have three phases which are explained below.

Table 2 Dataset used

RPE Layer Extraction (Stage-1)

First phase of proposed system is to perform de-noising and to extract RPE layer from input OCT B-scan. Previously, we have proposed systems to extract retinal layers from OCT B-scans [42] and used them to reconstruct retinal surfaces [43] for detection of macular edema (ME) and central serous retinopathy (CSR). In [42, 43], we have also described the complete mathematical models of our proposed system in detail and same have been used here for extraction of RPE layer.

Figure 4 shows segmented layers including RPE layer using methods proposed in [42, 43]. Out of these segmented layers, RPE layer is automatically selected which shows the atrophic degenerative profile for that respective B-scan.

Fig. 4
figure 4

Segmented retinal layers in one A-scan: inner limiting membrane (ILM), retinal nerve fiber layer (RNFL), inner plexiform layer (IPL), inner nuclear layer (INL), outer nuclear layer (ONL), outer plexiform layer (OPL), outer segment (OS), inner segment (IS), RPE, and Bruch’s membrane (BM) and choroid

RPE Layer Analysis (Stage-2)

Second phase of proposed system is analysis of RPE layer which is based on two submodules feature extraction and classification.

Feature Extraction

After extracting RPE layer (R(x, y)) from OCT scans, five distinct features are obtained which are further used to classify subjects as normal or early ARMD affected. The detailed description of each feature is given below:

  • RPE Maxima (F 1): This feature represents the maximum peak value in RPE layer as expressed in Eq. (1):

$$ {F}_1=\operatorname{Max}\;\left[R\left(x,y\right)\right] $$
(1)
  • RPE Minima (F 2): Its minimum value in RPE layer, and is expressed in Eq. (2):

$$ {F}_2=\operatorname{Min}\;\left[R\left(x,y\right)\right] $$
(2)
  • RPE Variation (F 3): In this feature the variation in RPE layer is computed and illustrated by Eq. (3):

$$ {F}_3=\mid F\mathsf{2}-F1\mid $$
(3)
  • RPE Energy (F 4): The total energy within the RPE surface is obtained through Eq. (4):

$$ {F}_4=\left(\sum \limits_{r=0}^{n-1}{\left|{R}_D(r)\right|}^2\right) $$
(4)
  • Number of Crosses (F 5): This feature measures the amount of zero crossings on RPE layer. In order to measure this, a first order Lagrange polynomial is automatically fitted onto extracted RPE layer. Zero crossing is that point where the fitted polynomial equates the original RPE layer as depicted in Eqs. (5)–(9).

$$ {\mathit{\mathsf{L}}}_{\mathit{\mathsf{N}},\mathit{\mathsf{j}}}\left(\mathit{\mathsf{x}}\right)=\prod \limits_{\mathit{\mathsf{m}}=0,\mathit{\mathsf{m}}\ne \mathit{\mathsf{j}}}^{\mathit{\mathsf{N}}}\frac{\left(x-{x}_m\right)}{\left({x}_j-{x}_m\right)} $$
(5)
$$ {R}^{\prime }(x)=\sum \limits_{k=0}^Nf\left({x}_k\right){L}_{N,k}(x) $$
(6)
$$ {Z}_C(x)=\sum \limits_{k=0}^L\mid \left\{ i\epsilon \left\{1,2,\dots, n\right\}:{\delta}_i=\nexists \right\}\mid $$
(7)
$$ \nexists =\left\{R(x)-{R}^{\prime }(x)\right\}:\to 0 $$
(8)
$$ {F}_5=\left(\sum \limits_{x_i=0}^{n-1}{Z}_C\left({x}_i\right)\right) $$
(9)

where N represents the order of the fitted polynomial which is 1 is our case, R(x) is the original B-scan of RPE layer, R (x) is the approximated first order Lagrange polynomial, ∄ represents the intersection point of R(x) and R (x), and Z C (x) represents the occurrence of zero crossings in single B-scan of RPE layer. The difference between R(x) and R (x) is considered to be a zero-crossing point if its margin is less than 10−20. This is to avoid extra zero-crossings. Figure 5 depicts the number of zero-crossings which are extracted from the randomly selected ARMD positive B-scan. Table 3 shows five distinct features for the five randomly selected subjects from both categories. These five features are used to determine the candidate subject as healthy or ARMD using OCT image. It also shows mean and standard deviation values of these features to describe per class behavior of each feature with its variation. Figure 6 shows complete distribution of all five features for the whole dataset for healthy and ARMD cases in form of box plots.

Fig. 5
figure 5

a RPE layer is shown in yellow color with drusens. Segmented ILM is shown in red color and choroid is shown in green color, b zero-crossings are highlighted by red circles

Table 3 Feature vectors from five randomly selected subjects from healthy and ARMD patients
Fig. 6
figure 6

Box plots for each feature. Here, feature number, “N” shows value distribution of feature for healthy class whereas feature number, “AMD” shows same for ARMD cases

Classification

The proposed system implements support vector machine (SVM) based classification system for detection of ARMD pathology [44]. The proposed system uses radial basis function (RBF) along with SVM to handle nonlinear distribution of data. After extracting five distinct features from the input OCT B-scan, they are used to classify subject as normal or suspect ARMD. If the candidate is classified as healthy then fundus image analysis is skipped. This is because if there are no abnormal ARMD symptoms found on RPE layer in OCT image then the respective fundus scan will be normal as well. But if the candidate is classified as having ARMD symptoms then the proposed classification system considers it as suspect case and further confirms whether it is an early warning or the subject is really suffering from ARMD. This is performed by using last stage.

Fusion of Fundus and OCT Analysis (Stage-3)

The proposed system comes to this stage once classification stages gives positive ARMD output for input OCT B-scan. For confirming whether or not the subject is suffering from ARMD, the proposed system correlates RPE analysis with the presence of drusens on the respective macular section in fundus image. In order to extract drusen patterns from macular region, the region of interest (ROI) across suspected OCT B-scan is extracted from fundus image. The system then detects possible drusens from this ROI by applying contrast enhancement using histogram equalization and OTSU thresholding algorithm as shown in Fig. 7 [45]. After applying an adaptive threshold based upon the computed probability mass function, a candidate fundus image is converted into a digital bitmap which depicts the extracted drusens. Here, a proposed system makes a decision out of two possible. If the RPE surface from OCT B-scan contains the presence of drusens while they are not appeared on fundus scan that indicate the early symptoms of the disease and system classifies it as suspect/early ARMD. However, if the drusen pathology is indicated in both imaging modalities then system classifies it as advanced ARMD. It confirms that the subject is suffering from ARMD syndrome and it needs immediate attention of specialists.

Fig. 7
figure 7

Drusen extraction from the candidate fundus image (a) OCT B-scans (b) macular region corresponding to suspect OCT B-scan, (c) region of interest across location of suspected OCT B-scan (d) segmented bright lesions highlighted in (c), (d) cropped region of interest (e) probability mass function of (c), (f) digitalized binary map B Fundus(x, y) indicating the segmented drusen

Results

The evaluation and testing of proposed system is carried out on locally developed dataset. The dataset has been acquired from AFIO and complete description about the dataset is given in Data Description section. For classifier training, we have used leave-one-out cross-validation technique during experimentations. To check the performance of fusion system, we have at first tested performance of OCT and fundus systems separately. For fundus image analysis, we have used our previously proposed technique published in [46]. Afterward, results generated by these two systems are compared with results generated by fusion system. Detailed analysis of proposed system is presented in Table 4. OCT image analysis is carried out at two levels. The data set was collected for 100 patients with 68 B-scans per patient. Table 4 shows that proposed technique for OCT image analysis achieves 96.4, 97.1, and 96.19% accuracy, sensitivity, and specificity, respectively at B-scan level. We further evaluated OCT analysis at patient level and this is carried out by analyzing 21 B-scans having fovea at center and overall output for specific patient is generated based on majority voting. This means that if most of B-scans out of these 21 are labeled as healthy by classifier then patient will be labeled as healthy else with ARMD.

Table 4 Proposed system performance

Fundus image analysis on same dataset gives 86, 76.6, and 90% accuracy, sensitivity, and specificity, respectively. When we analyzed fused system having OCT and fundus image analysis both, then the results are same as we got with OCT analysis. It gives 98, 100, and 97.14% accuracy, sensitivity, and specificity, respectively. In Table 4, mentioned results apparently show no significance introduced by fusion technique. For this, we added detailed analysis for three classes, i.e., normal (N), early ARMD (E), and advanced ARMD (A). Table 5 shows confusion matrices for OCT analysis, fundus analysis, and fusion analysis. Here, we added detailed results for three classes and evaluated OCT, fundus, and fusion analysis modules for three classes in hierarchal way. For OCT and fundus modules, SVM is used for binary classification, i.e., healthy and abnormal, and then at second level SVM is again used for classification of abnormal into early and advanced ARMD. In Table 5, an improvement can be seen in results generated by fusion system as compared to results that were generated by OCT and fundus systems separately. The fusion module detects changes in OCT scans for possibilities of ARMD signs and then it further goes for fundus analysis. Fundus image analysis has performed to classify early suspect and advance stage ARMD cases on the bases of drusen detection. If drusens are found in fundus image then its advanced ARMD, otherwise, is an early ARMD as there is no sign on fundus images; however, some are present in OCT image. It is clear from these confusion matrices, that proposed fusion of fundus and OCT scans enabled reliable grading of ARMD into early and advanced as compared to separate analysis of fundus images and OCT B-scans. The benefit of using fundus image analysis is that it helps to quantify area of drusens and helps to perform severity analysis of drusenoid region of ARMD affected patient’s eyes that help ophthalmologists in diagnosis of ARMD stage and in further treatment of ARMD patient’s. Figure 8 shows the RPE profiles of three randomly selected subjects from each category. The red color highlights the segmented ILM layer, green color indicates the segmented choroid, and yellow color highlights the segmented RPE layer. Apart from this, Fig. 9 shows the segmented drusens from the candidate fundus images. Drusens appearing on fundus images show the clear symptoms of ARMD syndromes. In the proposed system, we have used individual B-scans. However, the three dimensional visualization of OCT scans has a lot of clinical significance in detecting early signs as it gives the objective visualization of early ARMD pathological variations. Ophthalmologists also rely on 3D surfaces instead of single best selected OCT B-scan to diagnose retinal syndromes. This process of extraction of RPE layer as explained in RPE Layer Extraction (Stage-1) section is repeated for all the B-scans of a particular subject and all the extracted RPE profiles are then used to reconstruct a 3D retinal surface R(x, y, z) as shown in Fig. 10.

Table 5 Performance comparison of OCT, fundus, and fused systems using confusion matrices
Fig. 8
figure 8

Segmented RPE profiles. a RPE profiles of healthy subjects. b RPE profiles of early ARMD patients c RPE profiles of severe ARMD patients

Fig. 9
figure 9

Drusen extraction from fundus scans. Top row shows the extracted drusen from the respective fundus scans which are mapped onto the original images as depicted in the bottom row

Fig. 10
figure 10

Extracted RPE surface R(x, y, z) to provide a 3D visualization of RPE

Figure 11 shows the reconstructed RPE surfaces of three randomly selected subjects from each category in which RPE elevation gives a clear and objective indication of ARMD.

Fig. 11
figure 11

Reconstructed RPE surfaces. a RPE surfaces of healthy subjects. b RPE surfaces of early ARMD patients. c RPE surfaces of severe ARMD affected subjects

For this purpose, we have also constructed 3D surfaces from OCT imagery which can be part of decision support system.

Discussion and Conclusion

We proposed a fully autonomous system for detection of ARMD. The proposed system establishes a correspondence between OCT and fundus imagery to give accurate and reliable diagnosis of the ARMD disease. Five different features are extracted by the proposed system from OCT scans which are used to predict healthy and suspected ARMD subjects. The suspected ARMD subjects are further classified as having confirmed or early ARMD by extracting drusens in the respective macular region on the fundus image. It is worth noting that the proposed system is very robust in finding early disease patterns as shown in Fig. 12. Apart from this, proposed system establishes a correspondence between OCT and fundus imagery for accurate and reliable detection of ARMD. The proposed system is also rotational invariant and it can accurately predict early ARMD cases from skewed OCT images. The classification system in the proposed method is based on supervised SVM classifier. First of all, the proposed classification system classify the subject as normal or early ARMD suspect by analyzing RPE atrophic surface. If the candidate is classified as suspect, then the proposed system further confirmed this as having early or advanced ARMD by measuring drusenoid area in the respective macular region of fundus image. The proposed system correctly classified a total of 98/100 subjects. The incorrect classification of two healthy samples as early diseased one is because we have tuned our system in such a way to give more priority to the ARMD samples because it is more critical to classify ARMD samples even its earliest stages accurately to be part of a telemedicine system. Our proposed system takes 57 s on average to give a complete disease diagnosis on a machine with fifth generation core i5 (2.2 GHz) and 4 GB DDR3 RAM.

Fig. 12
figure 12

Early symptoms of RPE atrophy due to the presence of drusen. This subject has been correctly identified by the proposed system

We have also constructed 3D RPE surface by utilizing all B-scans of a patient. In future, this research can be extended for analysis of 3D RPE surfaces and grading ARMD into dry or wet as well as other macular and ocular syndromes like tractional retinal detachment (TRD), macular edema (ME), and glaucoma.