Abstract

Automated quantification of blood vessels in human retina is the fundamental step in designing any computer-aided diagnosis system for ophthalmic disorders. Detection and analysis of variations in blood vessels can be used to diagnose several ocular diseases like diabetic retinopathy. Diabetic Retinopathy is a progressive vascular disorder caused due to variations in blood vessels of retina. These variations bring different abnormalities like lesions, exudates, and hemorrhages in human retina which make the vessel detection problematic. Therefore, automated retinal analysis is required to cater the effect of lesions while segmenting blood vessels. The proposed framework presents two improved approaches to carry out vessel segmentation in the presence of lesions. The paper mainly aims to extract true vessels by reducing the effect of abnormal structures significantly. First method is a supervised approach which extracts true vessels by performing region based analysis of retinal image, while second method intends to remove lesions before extracting blood vessels by using an inpainting technique. Both methods are evaluated on STARE and DRIVE and on our own database AFIO. Experimental results demonstrate the excellence of the proposed system.

1. Introduction

The most common disease that occurs in human retina is Diabetic Retinopathy (DR) which is one of the main causes of vision loss [1]. It is caused due to increased insulin level in the blood which brings different variations in vascular pattern of retina either by increasing vessel width or by fluid leakage and so forth [2]. This can cause blindness as the disease advances if not treated in time. Abnormal false vessels appear on the surface of retina as the disease progresses; therefore, it is essential to detect it timely to lower the risk of blindness. Hence, for the timely diagnosis of retinopathy, there is a need to analyze fundus images accurately. The normal features of fundus images are blood vessels, fovea, optic disk, and macula, as illustrated in Figure 1.

Blood vessel is the most stable and secure component of human retina which sets the foundation of retina based authentication system [3]. It is the most reliable biometric system due to distinctiveness of blood vessels which are unique in every individual even in identical twins. In DR images, these blood vessels undergo some abnormal changes like the appearance of lesions, exudates, and so forth along with the true vessels. Nonproliferative Diabetic Retinopathy (NPDR) and Proliferative Diabetic Retinopathy (PDR) are the two main stages of DR. NPDR is the early stage of DR which includes appearance of hemorrhages and microaneurysms due to leakage of thin vessels which later become hard exudates with the inclusion of fats and proteins [2], and all abnormal structures that appear due to Diabetic Retinopathy are shown in Figure 2. Moreover, in advance phase of PDR, these small vessels appear as white spots known as cotton wool spots when retina gets deprived of enough oxygen. Then retina signals the body to grow more new fragile vessels to maintain the adequate level of oxygen in retina; this is known as neovascularization. So PDR can be further divided into two stages, that is, NVD (neovascularization on optic disc) and NVE (neovascularization elsewhere).

Commonly used biometric systems are fingerprint, iris, face, and speech recognition [4]. Among all biometric systems, retinal recognition is the most stable system due to high stability and reliability of human retina as it lies at the back of human eye. Person’s identification is performed on the basis of his unique blood vessels pattern. Appearance of different abnormal structures in blood vessels makes the detection of disease difficult. DR produces lesions spots which cause appearance of false vessels in the vascular pattern of DR image. These false vessels due to lesions appear in the form of bunches and holes along with the true vessels as indicated with red circle in Figure 3; hence, they make the blood vessel segmentation a challenging task. Development of false vessels leads to the increase of false positives which may lead to misidentification, hence degrading the performance of the overall system. So an improved system must be designed to diminish the effect of lesions in order to remove false positives. Therefore, there comes a need of developing an automated and accurate vessel extraction algorithm in the presence of lesions.

In this paper, two improved methods for the accurate segmentation of blood vessels are proposed. Both methods aim to get a segmented blood vessel with the true vessels only by removing lesions effects and false vessels. Method I is a classification based method which works on each region to classify it as true vessel or false vessel. Method II mainly aims to remove lesions effect by using inpainting technique before segmenting blood vessels. Both methods intend to get the true vessels as the output and hence remove false vessel detection significantly.

The paper is structured as follows. Section 2 discusses several previous methods on blood vessel segmentation. Section 3 describes proposed methodology in detail and results are discussed in Section 4. Section 5 finally concludes the paper.

Various works have been carried out in the past few years on the accurate segmentation of blood vessels in fundus images. Vessel segmentation techniques are broadly divided into two categories: supervised and unsupervised.

Supervised methods classify each pixel as vessel and nonvessel on the basis of prior knowledge used. A classification based method was proposed in [5]. It used neural networks to classify each pixel as exudate or nonexudate using Hu moment features of size 7D. In [3], Local Binary Pattern (LBP) and gray-level cooccurrence matrix (GLCM) features are extracted to classify each pixel as vessel and nonvessel with the help of support vector machine (SVM) classifier. Shanmugam and Banu [6] presented Extreme Learning Machine (ELM) based classification method. Seven different features of gray-level and moment invariant based features were extracted to classify pixels as vessel or not. An improved classification based retinal blood vessel segmentation was proposed in [7]. Method used the powerful classifiers, that is, SVM and neural network (NN), to work together on the previously extracted feature sets. Artificial neural networks (ANN) were fused with the SVM to classify each pixel as vessel or nonvessel. Shruthi et al. [8] presented a novel algorithm for the detection of DR. Top-Hat and Bottom-Hat operations based method and -means clustering were used to detect retinal features. Later on, statistical features were extracted from detected retinal features which were used by -nearest neighbors (NN) classifier in next phase of classification. Wang et al. gave a supervised hybrid approach that was proposed in [9]. Trainable hierarchical feature extraction was performed using Convolutional Neural Network (CNN) classifier. Then “winner takes all” approach was used to classify each pixel as vessel or nonvessel by employing Random Forests (RFs). An effective supervised blood vessel segmentation technique was given by Fraz et al. in [10]. He used ensemble classifier of boosted and bagged decision trees. 9D feature set was formed for classification, among 9 features best 4 features were chosen by performing feature analysis. One bagging and two boosting algorithms were used to apply three ensemble classifiers on DRIVE, STARE, and CHASE_DB1 databases.

Unsupervised techniques are classification free methods which do not use any prior knowledge. In [11], a novel segmentation technique based on Artificial Bee Colony model with the use of fuzzy -means clustering was presented. Asad et al. [12] proposed a new segmentation approach using water flooding model which used the concept of water flooding over the land. Phase congruency and histogram clustering based segmentation technique was given by Tagore et al. [13]. In this method, fundus images were enhanced using phase congruency and enhanced images were segmented using hierarchical clustering based histogram thresholding. Connected component labeling based eight connected neighborhoods and label propagation were employed to get the final vessel map. Exudates extraction was performed by using maximum entropy based thresholding technique followed by preprocessing in [14]. An improved method using matched filtering (MF) with kittler minimum error thresholding technique was proposed by Odstrcilik et al. [15]. A simple approach for the extraction of blood vessel was presented by Saleh and Eswaran [16]. Firstly, images were preprocessed; then, multilevel thresholding was applied to get an indexed image with an optimum threshold. Final vessel map was generated by applying binarisation and postfiltering. Bhattacharjee and Chakraborty [17] presented an algorithm for accurate vessel segmentation which worked in three steps. In the first step, images were enhanced using matched filtering. In second step, local entropy thresholding was applied on enhanced images to segment the blood vessels. Lastly, connected component analysis was performed to get rid of misclassification.

It is evident from the literature that almost all previously proposed methods work better on healthy images but fail to perform well on diseased images. Occlusion of false positives in the presence of lesions is the major issue that has not been addressed effectively in the literature. Some researchers tried to cater lesions in segmentation of blood vessels but still there lies many gaps which need to be improved. These drawbacks give the motivation to develop an automated blood vessel segmentation system to suppress the effect of lesions completely in the segmented images.

3. Proposed Method

Blood vessel segmentation has become the most crucial task in diseased images. Many methods have been proposed previously as discussed in Section 2. Most of them fail to perform well on diseased images as they least focus on images with lesions. The effect of lesions on retinal images has been discussed extensively in first section which eventually cause occlusion of false positives in the images making the segmentation harder. This paper has addressed this problem markedly and has proposed two improved methods which aim to segment the blood vessels in the presence of lesions.

3.1. Method I

It is the supervised method whose flow diagram is shown in Figure 4. Method I first extracts vascular pattern from colored retinal images using techniques discussed in [18, 19]. This gives a vascular pattern with both true and false structures in it. This method intends to remove false structures from true ones by doing region based analysis of blood vessels. So, this method works in three main steps: region based feature extraction, feature selection, and classification. Eventually, it gives only true vessels as an output.

3.1.1. Region Based Feature Extraction

False vessels due to lesions are developed along with true vessels in fundus images. Both false and true vessels have different morphological characteristics. False vessels appear as bunches and holes whereas true vessels are elongated with no holes and bunches as illustrated in Figure 5. So eight shape based features are extracted which best discriminate true and false vessels based on their morphology.

Therefore, different regions of fundus images are taken as candidate regions. Each candidate region is represented by a feature vector. If a retinal image has candidate regions, then set representation for an image is , where is a feature vector for th candidate region containing features as . This method formulates descriptive feature vector for each region. So, eight different shape based features are extracted and each region is represented by a feature vector of length 8. The description of extracted features is given below.(i)Euler number : it is the number of holes in the image.(ii)Eccentricity : specifies circulatory of the objects in the image.(iii)Convex area : it is the number of pixels in convex image.(iv)Extent : it is defined as the ratio of pixels in the region to pixels in the total bounding box.(v)Filled area : it shows number of pixels in the filled image.(vi)Major axis length : it reflects length of major axis of the ellipse.(vii)Minor axis length : it specifies length of the minor axis of the ellipse.(viii)Solidity : it shows proportion of pixels in the convex hull that are also in the region.

3.1.2. Feature Selection

Out of all 8 extracted features, best features are selected to support the process of classification using the feature selection techniques which are discussed below.

(1) Wilcoxon Rank Test. Wilcoxon rank test has been implemented in this method for selecting good features out of the extracted ones. This method ranks the key features by class separability criteria. A Wilcoxon criterion finds the absolute value of -statistic of a two-sample unpaired Wilcoxon test [20].

(2) Principle Component Analysis (PCA). PCA is one of the dimensionality reduction techniques. It performs analysis of data to identify patterns and finds patterns to reduce dimensions of the dataset with the minimal loss of information [21]. It projects data into the direction with maximum variances where data variance is greater [4].

3.1.3. Classification

After selecting best features, each region of fundus image is represented by 6D feature vector including best discriminating features. Data distribution is analyzed carefully and reveals that SVM classifier is more suitable to be used in this method. This technique uses SVM classifier with RBF kernel for classification which requires two optimized factors: penalty factor () and sigma (). 100 × 100 search grid is applied using 2-fold cross-validation to get optimized and . Best and are selected based upon the highest accuracy. These best values are given to SVM using 3-fold cross-validation under 100 iterations to get unbiased and optimized results. It eventually classifies each region as true vessel or false vessel.

3.2. Method II

This is a classification free method which presents an inpainting based segmentation technique by neighborhood estimation. It mainly focuses on reducing the effect of lesions which appear as false positive and degrades system’s performance. The overview of Method II is shown in Figure 6. This method first detects all the exudates present in diseased retinal image by using techniques discussed in [22]. It gives a binary mask of all exudates as shown in Figure 7. Method II mainly aims to reduce the effect of these exudates before segmentation by filling these exudates region using an algorithm of neighborhood based region filling (NBRF). The key idea of this method is to inpaint the lesions before blood vessel enhancement and segmentation to avoid the enhancement of artifacts upon applying enhancement and segmentation techniques.

3.2.1. Exudate Inpainting

This step takes exudate mask detected previously as an input and fills all the exudate regions in a very smooth manner by using an algorithm of neighborhood based region filling (NBRF).

(1) NBRF Algorithm. Detected exudates are inpainted using an algorithm of neighborhood based region filling (NBRF) to make image clean before enhancement and segmentation so that false positives get reduced significantly. It works in a radial way towards the center of the exudates. It fills exudates in a very smooth way by estimating the neighborhood and averaging the background. It runs iteratively which eventually blends all exudates within the filled region. Figure 8 shows the results of image with inpainted exudates obtained after applying NBRF algorithm.

3.2.2. Vessel Enhancement and Segmentation

After inpainting all exudates present in diseased images, vessel enhancement and segmentation are performed using techniques proposed in [5]. 2D Gabor Wavelet Transform is used for enhancement as they can be tuned to specific orientations and frequencies. Multilayered thresholding technique is used to segment the final vessel map of the image which use different thresholds iteratively. Final segmented vessel map is shown in Figure 9 which shows that by inpainting the exudates, and lesions effect has been removed and no false vessel appears in final vessel map.

4. Experimental Results

Performance proposed system is assessed using three databases: two publicly available databases DRIVE and STARE and our own database AFIO.

4.1. Database

Proposed system is assessed on three databases: two publicly available databases DRIVE and STARE and our own AFIO database. There are 40 fundus images in DRIVE, out of which 7 are diseased images, while all rest are healthy images [23]. Each image has a resolution of 584 × 565 pixels and compressed in JPEG format. There are two sets made of the dataset: training set and testing set, each set has 20 images. STARE has total 20 images and 10 of them are diseased images [24]. Each image is of 700 × 605 pixels resolution and stored in PPM format. AFIO dataset consists of 462 total images including both healthy and unhealthy images. 1504 × 1000 is the resolution of each image of the dataset. Images are captured by TopCon 50EX with 30-degree FOV. Each image is stored in JPEG format. Some of the images of all databases used in the proposed system are shown in Figure 10.

4.2. Performance Measures

The evaluation of proposed system is done using performance measures, that is, accuracy, sensitivity, and specificity, which are calculated by usingwhere (true positive) represents the number of true vessel regions correctly classified as true vessels. (false positive) represents the number of false vessel regions classified as true vessels. (true negative) represents the number of false vessel regions correctly classified as false vessels. (false negative) represents the number of true vessels classified as false vessels.

4.3. Results Analysis

In the proposed Method I, firstly all 8 features are evaluated using feature selection technique Wilcoxon rank test to assess the contribution of each feature on overall system’s performance. It sorts the features on the basis of their score values such that the feature with highest score value lies at the top and features with lowest value lies at the bottom. Later on, different combinations are made by combining different high ranked features, which are then given to classifier to assess the impact of features on overall accuracy of the system. Table 1 shows the performance evaluation of all features based on their score values.

4.3.1. Experimental Test Bench

Method I is evaluated on DRIVE and STARE and our own database AFIO. SVM classifier is employed with RBF kernel. Penalty factor () and sigma () are required, which are optimized using 100 × 100 search grid under 2-fold cross-validation. Accuracy is calculated for all and values, each ranging from 1 to 100. The best and are computed corresponding to highest accuracy. These optimized values are used later by classifier under 3-fold cross-validation over 100 trials in order to get unbiased and stable results.

Table 2 represents all performance measures for different features and feature selection techniques. It includes 3 types of datasets: (i) data with all features, (ii) 5 different sets of high ranked PCA reduced data, and (iii) 5 different sets of high ranked Wilcoxon reduced data. Results reveal that best accuracy is achieved in Wilcoxon data with 6 high ranked features which include eccentricity, Euler number, minor axis length, extent, convex area, and filled area. As false vessels appear in the form of bunches and holes, which exhibit different morphology as compared to true vessels, therefore these best six features best discriminate between true and false vessels.

Tables 3 and 4 illustrate the detailed results for DRIVE and STARE databases, respectively, where all images are evaluated individually and average results are shown in bold fonts.

Table 5 illustrates the comparison made between proposed method and previously proposed methods for DRIVE and STARE datasets on vessel segmentation.

Pictorial results of proposed system for AFIO dataset are shown in Figure 11, where (a) shows colored diseased fundus images, (b) shows vessel maps of images in (a) including both true and false vessels, and (c) shows the final output of the proposed system showing vessel maps of images in (a) without false vessels. Similarly, pictorial results for STARE dataset are shown in Figure 12.

Figures 13 and 14 show STARE and DRIVE results, respectively, which are overlaid over manually segmented results to assess proposed method’s performance.

Figure 15 shows pictorial results of Method II: (a) shows images with lesions and then they are inpainted using NBRF algorithm. This smoothes the images by estimating their neighborhood and eventually suppresses the effect of lesions in images as shown in (b). Lastly, blood vessels are segmented from inpainted images which appear with no lesions in final output as depicted in (c).

Figure 16 shows comparison of segmented images with and without inpainting technique (Method II). It is clearly shown in the results that images appear with false positives which are segmented without applying inpainting technique, while they are significantly removed in images obtained after applying inpainting technique.

Table 6 shows overall accuracy of the system for three AFIO, STARE, and DRIVE databases.

5. Conclusion

Blood vessels segmentation is a major step in any computer-aided diagnostic system. It has become more challenging in diseased images in the presence of lesions. This paper mainly aims to remove this problem and aims to segment diseased fundus images by removing false vessels due to lesions. It proposes two improved methods for accurate blood vessel segmentation in the presence of lesions. Method I is a supervised method which works on region level and extracts all region based features on the basis of true and false vessels morphology. Then most discriminating features are extracted using feature selection techniques. Lastly, it classifies each region as true or false vessel by using best chosen features. Method II is a classification free method which proposes an algorithm named neighborhood based region filling (NBRF), and it aims to reduce lesions effect by inpainting lesions region before enhancement and segmentation. This is performed by estimating lesions neighborhood. Inpainted images are then enhanced and segmented, which clearly removes false vessels due to lesions. Overall system is tested on DRIVE, STARE, and our own database AFIO. Achieved accuracy of AFIO, STARE, and DRIVE is 88.20.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This research is funded by National ICT R&D Fund, Pakistan. The authors are also thankful to Armed Forces Institute of Ophthalmology (AFIO) for their clinical support and help.