Keywords

Introduction

Reports from world health organization (WHO) suggest that over 5.2 million people are blind due to glaucoma. This statistics show a noticeable share on the causes for blindness across the globe. Unlike OCT images, ophthalmoscopes’ images are analyzed in a faster and cost-effective manner. Ocular fundus images are used as a tool for diagnosis of many retinal diseases such as primary and secondary glaucoma. Analysis of cup-to-disk ratio, intra ocular pressure, and neural rim area lead in to detection of glaucoma. But the retinal nerve fiber layer (RNFL) loss, if analyzed, may be very productive in the early detection of glaucoma so that clinicians may initiate the treatment to control the progression of glaucoma. Figure 1 shows one of the images from our database with RNFL loss. Major components of retina are also noted in this figure: prominently one healthy RNFL area and two areas with RNFL losses. Optic disk (OD) is a section where blood veins and retinal nerve fibers (RNF) are concentrated. Macula is another important region with the highest concentration of retinal ganglion cells (RGC). The RNFL is placed in between OD and macula. RNFL loss can be quantified by extracting features from fundus images. Many authors have worked in order to detect and quantify the changes in RNFL thickness.

Fig. 1
figure 1

Retina with healthy and damaged part of the retina

Literature Review

The variations due to atrophy of RNFL were analyzed by Jan Odstrcilika et al. [1] through a method which used Gaussian random Markov fields and local binary patterns. Apart from these, a few regression models were also designed to quantify RNFL thickness. The results were correlated with those obtained through OCT. Cup-to-disk ratio was calculated with the aid of detecting edges and exploitation of variational level set method by Chalinee Burana-Anusorn et al. [2]. The results obtained through the proposed method were compared with the readings of ophthalmologists achieving an accuracy of 89 %. A segmentation algorithm was proposed for frequency domain data of RNFL on OCT scans of healthy and glaucomatous retina [4]. The authors minimized the energy function which comprised of local smoothing terms and the gradient. This automated segmentation procedure was compared with those of three manual corrected segmentations. The authors considered 72 scans of glaucomatous and 132 scans of healthy retina in order to evaluate the segmentation procedure. The authors achieved 2.9 μm of mean absolute error per A scan over the set of glaucomatous retina, whereas 3.6 μm on the set of healthy retina. A dimension reduction technique based on appearances was considered to compress various features of fundus images [5]. A classifier comprising of double stages was designed using probability theory to extract the risk index which showed the performance of detection of unhealthy retina. The RNFL was quantified by Xiang-Run Huang et al. [6] using confocal laser scanning microscopy. Fluorescent stains were used to detect the nerve regions. The obtained results were not compared with those of clinicians’ measurements. Such issues drive us to quantify RNFL in a novel manner and correlate them with the data obtained from clinicians. Stokes parameters were calculated by Park et al. [7] to quantify RNFL. The fast axis of the retina was also found. Finally, phase retardation of RNFL was estimated. A bilateral filter was used to extract non-vessel regions from the retinal blood vessels [8]. Hence the boundaries were detected and thus segmentation was achieved. A probabilistic model was designed to make sure that OCT scans on the vessel regions of retina [9]. Data acquisition was achieved for better reproducibility. An accuracy of over 91 % was achieved in the detection of glaucoma when the texture and higher order spectra features were used with random forest classifier [10].

The present article is organized in the following sections. Section “Introduction” presents RNFL loss leading to glaucoma along with review of previous works. Section “Dataset” describes retinal image database and preparation of class A and class B samples containing healthy and unhealthy (RNFL loss) RNFL regions. Section “Methodology” presents methodology of the present work. Section “Result and Discussion” demonstrates results and discussion, and section “Conclusion” includes conclusion of work.

Data Set

This section describes about preparation of database and retinal sample data in subsection A and B, respectively.

Database

The database is prepared using state-of-the-art technique. Our retinal database consist of 24 colored images of glaucoma affected retina with significant loss in RNFL and 10 colored images of healthy retina. The retinal images were of high resolution with joint photograph expert group (JPEG) format. Red, green, and blue channels were obtained from these retinal images taken by non-mydriatic fundus camera. For RNFL loss detection, green channel is considered since red channel component does not carry any useful information. Green wave length is excellent than gray, red, and blue components of retina as shown in Fig. 2.

Fig. 2
figure 2

Description of healthy and damaged RNFL area

Dimensions of retinal images were 1500 × 1200 pixels with a field of view 45°. The damaged RNFL is due to result of decrease in RNFL bundles. Due to this, there will be lowering of reflection of incident light by the image acquisition system. Hence such a region appears darker. The visual parameter is not a feasible factor for RNFL identification. Figure 3 depicts details of another retina, showing the areas of healthy and unhealthy RNFL regions.

Fig. 3
figure 3

Description of healthy and damaged RNFL area

In this paper, testing of features was done on two sets of samples. Each square sample of size 32 × 32 was selected from the images for texture analysis using imcrop image function. In Fig. 3, the dark squares represent healthy RNF regions which are shown as dark squares and RNF loss region are shown as white squares.

  1. 1.

    Class A (100) samples are the healthy RNF from region of non glaucoma retina.

  2. 2.

    Class B (105) samples are the RNF tissue damage from patients with glaucoma.

The dimensions of class A and class B samples were selected in order to cover a sufficiently large area of RNFL region. The maximum dimensions of samples were controlled because blood veins, other components of retina, and pathological structure in the image may disrupt the analysis. The samples were selected in areas between macula and optic disk and surrounding area of optic disk. Pixel values were normalized to the gray level range before further processing.

Methodology

This section describes fractal theory, fractal dimension, method used to analyze texture feature of selected region, and GLCM matrix.

Fractal Theory

In 1966, mathematician of T.B.M Corporation, Mr. Mandelbrot developed a theory called noninteger or fractal theory. The word fractal defined refers to a series in which the Hausdroff–Besicovitch dimension exceeds the topological dimension.

Fractal Dimension (FD)

Fractal dimension has been used to estimate roughness in object and is helpful in modeling natural objects such as sea waves, trees, clouds, and mountains. The concept of FD is exploited to describe the texture feature of image. Fractal dimension has diverse applications in areas such as antenna design, computer simulation, and in detection of various diseases. Investigators have found several fractal dimension techniques such as box counting technique, Hausdroff dimension, power spectral fractal dimension, semi variance technique, information dimension, and perimeter fractal dimension. In this paper, we present box counting method to demonstrate the retinal image texture feature description. In next section box counting method is been described.

Box Counting Technique

The box counting technique is one of the popularly applied methods for computing fractal dimension of a binary image.

Box counting principle is defined by the ratio of logarithmic scale of number of boxes which contain ones (1 s) to the logarithmic scale of box size in a binary image as depicted in below equation

$$ FD = \frac{{{\text{logN(}}\uplambda )}}{{{ \log }\left( {\frac{1}{\uplambda}} \right)}} $$

The reciprocal of box size is also recorded as \( \frac{1}{\uplambda} \). This procedure is iterated for all binary retinal samples extracted by several threshold values from 0.2 to 0.5 with intervals of 0.05. The fractal dimension of retinal sample is calculated as slope of line obtained by plotting graph of logarithmic of \( {\text{N(}}\uplambda ) \) and \( \frac{1}{\uplambda} \) as shown in the example below.

Assume dimension of image matrix as 4 × 4. Let the matrix be divided into 2 × 2 (ʎ = 2) subsections. Hence we obtain four submatrices of dimension 2 × 2 each. Consider N (ʎ) = 3. That is, each submatrix having a nonzero element.

If box size (S) = 2, number of boxes which contains at least 1 ones, i.e., \( {\text{N(}}\uplambda ) = { 3} \)

$$ FD = \frac{{{\text{log(}}\text{3} )}}{{{ \log }\left( {\frac{1}{\text{2}}} \right)}} = - 1.58 $$

Pseudocode of BCM

For each binary retinal sample

Divide the sample into boxes of dimension \( \uplambda\,{ * } \,\uplambda \)

For each box of dimension \( \uplambda \)

Enumerate the occupied boxes: N

Estimate the magnitude factor \( \frac{1}{\uplambda} \)

End for

End for

Gray Level Co-occurrence Matrix (GLCM)

Gray level co-occurrence matrix (GLCM) is a popular second-order statistics method to obtain texture feature from retinal images. According to GLCM method, Haralick identified 14 texture features estimated by probability matrix to obtain the characteristics of texture feature. In this paper, we describe few important features such as contrast, correlation, energy, homogeneity, entropy, etc. The contrast property is selected for implementation using MATLAB 7.10.

Contrast is a gray scale variation in the GLCM method. It estimates intensity contrast between a pixel and its neighbor over the selected region of image contrast mathematically defined in the following equation:

$$ {\text{GLCM}}\,{\text{contrast}} = \sum\limits_{i} {\sum\limits_{j} {\left( {x - y} \right)^{2} p\left( {x - y} \right)} } $$

In the above equation, x and y are the coordinates and p is the magnitude.

Algorithm of GLCM

im1=imread(‘healthy.jpg’);

disp(im1);

sample=imcrop(im1);

sample_resize=resize (sample [32 32]);

display(sample_resize);

disp properties glcm;

select contrast;

End.

Result and Discussion

MATLAB 7.10 code was written for a box counting fractal dimension & GLCM method to analyze healthy RNFL and RNFL loss. Region of interest (ROI) with different thresholds were considered ranging from 0.2 to 0.5 for BCM method to estimate fractal dimension. For damaged RNFL the FD range is 1.0772−1.840. For healthy region the FD range exceeds upper limit. Sample is analyzed for contrast property of gray level co-occurrence matrix method. The contrast value was found to be in the range of 0.0111−0.1002 for RNFL damaged region, whereas for healthy RNFL region the contrast range was above 0.100−0.3900. In the experiment, we analyzed for 100 RNF damaged samples and 105 RNF healthy samples. In Table 1, we show the result for three samples each for RNF damaged and RNF healthy. Figure 4a, b describe 1.8650 and 1.4685 FD obtained for RNFL healthy and RNFL damaged samples shown in Table 1 (Healthy 1 and Loss 1).

Table 1 Examples of RNFL healthy and damaged samples
Fig. 4
figure 4

Describes the estimation of fractal dimension for RNFL

In Table 2, Fractal dimension and Contrast values for 32 (out of 205) samples each for healthy and unhealthy (RNFL damaged) RNFL areas are shown. We can observe in Fig. 5, contrast is ranging from 0.111 (x-axis) to 0.1222 and Fractal dimension (y-axis) is ranging from 1.079 to 1.839 for RNFL damaged area. For healthy RNFL area, contrast is ranging from 0.0972 to 0.3247 and FD is ranging from 1.844 to 1.983.

Table 2 Result of 32 samples of each RNFL loss and RNFL healthy
Fig. 5
figure 5

Graphically shown result of RNFL healthy and unhealthy region

In Table 3, the values of first-order statistics such as min, max, mean, standard deviation, range, median, and mode are depicted. These values are estimated with respect to FD and contrast property of GLCM method.

Table 3 Statistical data of healthy and RNFL loss texture region

Conclusion

Identifying RNFL damage through FDs and GLCM method is helpful for early glaucoma detection. GLCM method is used as second-order statistics analysis for texture property of fundus image. Positive correlation is observed for fractal dimension and GLCM property. Such experimentation can be set up in rural place also. This technique can be further enhanced by estimating RNFL and central corneal thickness (CCT). Also relationship between RNFL, CCT thickness, and image feature fractal dimension can be developed.