Abstract

Retinal fundus image plays an important role in the diagnosis of retinal related diseases. The detailed information of the retinal fundus image such as small vessels, microaneurysms, and exudates may be in low contrast, and retinal image enhancement usually gives help to analyze diseases related to retinal fundus image. Current image enhancement methods may lead to artificial boundaries, abrupt changes in color levels, and the loss of image detail. In order to avoid these side effects, a new retinal fundus image enhancement method is proposed. First, the original retinal fundus image was processed by the normalized convolution algorithm with a domain transform to obtain an image with the basic information of the background. Then, the image with the basic information of the background was fused with the original retinal fundus image to obtain an enhanced fundus image. Lastly, the fused image was denoised by a two-stage denoising method including the fourth order PDEs and the relaxed median filter. The retinal image databases, including the DRIVE database, the STARE database, and the DIARETDB1 database, were used to evaluate image enhancement effects. The results show that the method can enhance the retinal fundus image prominently. And, different from some other fundus image enhancement methods, the proposed method can directly enhance color images.

1. Introduction

Retinal fundus images provide rich information of pathological changes which may indicate diseases such as arteriosclerosis, diabetes, hypertension, stroke, and cardiovascular disease [1]. These images are widely used for diagnosis of related disease. However, the retinal fundus images are usually with low contrast, uneven illumination, and blur of the details due to the complex imaging environments. The purpose of retinal fundus image enhancement is to improve the contrast and highlight the retinal vessels [2].

There are many image enhancement methods. Histogram equalization (HE) [3] is a popular method to improve image contrast, but the decreasing of the gray levels may result in the loss of image details. To overcome this deficiency, contrast limited adaptive histogram equalization (CLAHE) is proposed [4]. But the CLAHE method may produce artificial boundaries at the region which has an abrupt change in the gray levels. Due to the special characteristic, enhancement of retinal fundus image needs specific design. Setiawan et al. [5] demonstrated that CLAHE method is suitable for improving the retinal image quality. Ashiba et al. [6] proposed an image enhancement method based on a wavelet-based homomorphic filter, which can improve image contrast and dynamic range. However, it is difficult to find a suitable structuring element for the morphological filter. Oh and Hwang [7] proposed an image enhancement method based on morphology-based homomorphic filter and differential evolution algorithm. But the target image region should be input firstly, which may limit the scope of its application. U. Qidwai and U. Qidwai [8] proposed a retinal image enhancement method based on the blind deconvolution approach using maximum likelihood estimation. And this deconvolution approach showed a promising result, which may be used for clinical application. Fraz et al. [9] used a 2D Gabor filter to enhance retinal fundus image, which could detect the vessels in multidirection. However, it included some sensitive parameters. Bai et al. [10] proposed an image enhancement method based on multiscale top-hat transformation. In this method, the image details were well enhanced, but the contrast is not improved effectively. Rampal et al. [11] used a complex diffusion-based shock filter for retinal image smoothing and contrast enhancement. And this method outperformed other methods on the DIARETDB1 database. Liao et al. [12] used a hybrid model of multiscale top-hat transformation and histogram fitting stretching to enhance retinal fundus image, which could enhance the contrast of the retinal image effectively and highlight the retinal vessels well. But some parameters have to be set cautiously in the part of histogram fitting stretching.

In this paper, a retinal image enhancement method was proposed to avoid producing artificial boundaries, abrupt changes in color levels, and the loss of image detail. First, we used normalized convolution with a domain transform to obtain an image containing the basic information of the original image. Then, the image containing the basic information was fused with the original image to enhance vessels and detail of the retinal fundus image. Lastly, the fused image went through denoising filters to achieve image enhancement.

The rest of this paper is organized as follows. In Section 2, the proposed method is introduced in detail. In Section 3, experimental results of three well-known databases are used to demonstrate the effectiveness of the proposed method. Finally, in Section 4, the conclusion is presented.

2. Materials and Methods

It is very difficult to enhance retinal fundus images directly due to the uneven illumination of imaging characteristic. So different from commonly used image enhancement methods which enhance retinal fundus image directly, the proposed method firstly obtained an image with the basic information of the background through some process of the original image and then fused this image with the original image to suppress background to achieve the goal of image enhancement. As the image enhancement process is realized by background suppression, the proposed method may reduce occurrence probability of artificial boundaries, abrupt changes in color levels, and the loss of image detail.

We used the normalized convolution with a domain transform proposed by Gastal and Oliveira [13] to obtain a background image with the basic information and then fused the image with the original image to achieve retinal fundus image enhancement. Lastly, the fused image was denoised by the fourth order PDEs [14] and the relaxed median filter [15].

2.1. Normalized Convolution with Domain Transform

Normalized convolution [16] uses neighbor information to model the image pixel of the original image. In [13], normalized convolution was used to obtain edge-preserving smoothed images with a domain transform box kernel. But if doing some variation for the parameters, the smoothing method can produce an image with the basic information of the background of the retinal fundus image, which does not focus on edge-preserving. The processing procedures are as follows.

Let represent the original retinal fundus image, and denotes the position of a pixel in the original image , and denotes the pixel value in the 2D RGB color image. denotes the domain of , that is, . Then the normalized convolution with a domain transform is as follows [13]: where is the normalization factor for . And is a domain transform.where is the derivative of th channel of the retinal color image and and are standard deviation of typically Gaussian spatial and range filters [17].

As the domain transform is monotonically increasing, an efficient moving-average approach [18] is used to perform NC with a box filter . The box kernel is defined as follows [13]:where is the standard deviation for the kernel used in the th iteration, is the total number of iterations, and is the standard iteration of the desired kernel.

2.2. Image Fusion

In the above section, we obtained the background image with basic information. In order to obtain an enhancement result, we fuse the background image with the original image. The fusing result is defined aswhere is the enhancement result and and are the image with the basic information of the background (represented as in Section 2.1) and the original image, respectively. And is a parameter factor which could determine the contrast of the image.

2.3. Image Denoising

Noise may be amplified in image fusion step, so some noise suppression process should be done to obtain the enhanced image. The second order PDEs can do high quality denoising, yet the methods tend to cause blocky effects [19]. Fourth order PDEs can avoid the blocky effects. The function is as follows [14]: when we get , representing the difference between original image and the denoised imaging containing noise information, we reduced the noise information to get the denoising, where is as follows [14]:where was set to be 1. This step can be run more than one time if necessary.

The image processed by the fourth order PDEs may also reserve some noise, so the relaxed median filter can be used to smooth the image further [15]. Assuming that the image processed by the fourth order PDEs can be represented as , the function is given as follows [15]:where is the median value of the samples inside the window . And the sliding window at the window located at the point is as follows:

3. Results and Discussion

3.1. Testing Data Sets

In this section, three public databases are used to test the proposed method, namely, the DRIVE database [20], the STARE database [21], and the DIARETDB1 database [22]. The DRIVE database, originally collected by Staal et al. [20], contains 40 color retinal images with the size of 565 × 584 pixels. This database is divided into two sets—a training set and a testing set, which is captured using the 45-degree field-of-view digital fundus camera. The STARE database, originally collected by Hoover et al. [21], contains 20 color retinal images with the size of 700 × 605 pixels, which is captured using the 35-degree field-of-view digital fundus camera. The DIARETDB1 database, originally collected by Kauppi et al. [22], contains 89 color retinal images with the size of 1500 × 1152 pixels, which is captured using the 50-degree field-of-view digital fundus camera.

3.2. Parameter Determination

There are several important parameters directly affecting the enhancement results. There are two parameters, and , in (2) of the normalized convolution with a domain transform, and there is one parameter in (4) of the image fusion.

In order to determine the parameters and in (2), we changed the values of and to test which values are suitable for retinal image enhancement. As the characteristic of retinal image is relatively stable, an original retinal image which is randomly chosen from the DRIVE database is enhanced by the domain transform and the normalized convolution algorithm with different values of and ( and ). Here, is set as 5 randomly. In Figure 1, the parameter changes by column, and the parameter changes by row. From the bottom right corner of Figure 1, we can see that, as the parameters and increase, the background of the retinal image is overenhanced gradually and the vessels in the optic disk are missing gradually. As a compromise, we choose as 60 and as 0.4 in this paper.

In order to determine the parameter in (4), we varied the value of to test which value is suitable for retinal image enhancement. The original retinal image which is randomly chosen from the DRIVE database is enhanced by the domain transform and the normalized convolution algorithm with different value of (). Here, and are set as 60 and 0.4. Figure 2(a) is an original retinal image and Figures 2(b)2(f) are the enhanced images with the different value of (). Figures 2(b)-2(c) showed that some dim regions of the original image are not well enhanced. In Figures 2(e)-2(f), the image is overenhanced and the vessel regions are very clear, but many noises are also produced. The image and the vessel regions are efficiently enhanced in Figure 2(d), and fewer noises are produced. So the enhancement result of Figure 2(d) may be a better result, so we let .

3.3. Results of Enhancement

Figure 3(a) is the original retinal image which is randomly chosen from the DRIVE database. Figure 3(b) is the background image obtained by normalized convolution with a domain transform with the parameter being 60 and being 0.4. Figure 3(c) is the image fusing result with the parameter being 5. Figure 3(d) is the noise removal result. Figure 3(e) is the green channel of Figure 3(a), and Figure 3(f) is the green channel of Figure 3(d).

Comparing Figure 3(d) with Figure 3(a) shows that the enhanced image improved image contrast level. The details of the small vessels are enhanced significantly. The dim region such as fovea becomes much dimmer.

The subregions of the images in Figure 3 are used to show the denoising effects. Figure 4(a) is the subregion of Figure 3(c), and Figure 4(b) is the subregion of Figure 3(d). Figure 4 shows that the noise produced by image enhancement steps is depressed effectively.

Figures 5 and 6 show the image enhancement results of a randomly selected image from the STARE database and the DIARETDB1 database, respectively. Figures 5(a)5(f) are the original image from the STARE database, the normalized convolution result, the fusion result, the denoising result, the green channel of original image, and the green channel of denoising result, respectively. Similarly, Figures 6(a)6(f) are the original image from the DIARETDB1 database, the normalized convolution result, the fusion result, the denoising result, the green channel of original image, and the green channel of denoising result, respectively. These results show that the proposed method has wide applicability.

3.4. Evaluating Image Enhancement Effects by Comparing with Other Methods

There are two main ways to evaluate image enhancement effects: one is subjective evaluation and the other is objective evaluation. The subjective evaluation is done by observing the enhancement by experts or persons with image evaluation experience. The advantage of subjective evaluation is that the evaluation results are more in line with the purpose of image enhancement, but the disadvantage is that the subjective evaluation may vary from person to person, and it is a problem how to quantify the evaluation. The objective evaluation methods can quantitatively evaluate the image enhancement results, but it is difficult for the indicator of the objective evaluation methods to reflect human’s subject perception. So we compare the image enhancement results with other methods using both the subjective evaluation and the objective evaluation methods to evaluate the image enhancement results.

As vessel is important information in retinal fundus image, two objective evaluating methods are used to quantify the quality of the enhanced image. One method is used to quantify the enhancement of the retinal vessels, and the other is used to quantify the enhancement of the whole image.

The first objective evaluating method tends to quantify the enhancement of the retinal vessels. The measure is called the contrast improvement index [7], which is defined as follows:where and are the contrast values for the retinal vessel in the enhanced image and the original image, respectively. Here, the values of and are calculated without the pixels of the black background points outside the pupil. Here, is defined as follows:where and are the average gray values of the retinal vessels and the non-vessel regions, respectively. It is obvious that a larger value of means a larger difference between the retinal vessels and the non-vessel regions. can be calculated in the same way as , and the difference is just the fact that the image used to produce is the enhanced image. It should be pointed out that the manually segmented retinal vessels of the original image should be available using this method.

The second objective evaluating method used to quantify the enhancement of the whole image. The measure is called linear index of fuzziness [10], which is defined as follows:where is the maximum value of the whole image with size .

A larger value of CII shows that the retinal vessels are enhanced better. And a smaller value of shows that the whole enhanced image is clearer and has less noise. Therefore, a large value of CII and a small value of indicate a good image enhancement method.

The image enhancement results of the proposed method are color images. Yet, the green channel image is generally used to evaluate image enhancement results. So only the green channel of the enhanced image is used in image evaluation step.

The image enhancement results of Figure 3(e) with other methods, such as HE [3], CLAHE [4], and the methods in [7, 9], are shown in Figure 7. Figures 7(a)7(d) are the enhancement result using HE, the enhancement result using CLAHE, the enhancement result using method in [7], and the enhancement result using method in [9], respectively. Table 1 shows the comparison of CII and corresponding to different image enhancement results of Figure 3(e). It is shown that the proposed method has a larger value of CII and a relatively smaller value of comparing with the other methods. It should be pointed out that before calculating CII and of the image shown in Figure 7(d) it is inverted for the purpose of comparing all the methods at the same condition that the vessels appear darker than the background.

Three retinal images randomly chosen from the DRIVE database are also used to compare image enhancement results shown in Figure 8. The first column (Figure 8(a)) is the green channel of each original image. The middle four columns (Figures 8(b)8(e)) are the enhancement results of the HE, the CLAHE, and the methods in [7, 9], respectively. The last column is the results of the proposed method. From the comparison of image enhancement results, we can see that the HE method produces uneven background image which changed the illumination distribution of the original image, and the low-contrast region is not enhanced well. So many details would be missed by using the HE method as shown in Figure 8(b). The CLAHE method could enhance the details of the retail image, but the whole contrast is not improved significantly as shown in Figure 8(c). The results of using the method in [7] are too dim as shown in Figure 8(d). The image enhancement results using the method in [9] lose the details of the background as shown in Figure 8(e). The values of CII and of each image in Figure 8 are shown in Table 2. It shows that the retinal vessels are enhanced better and the whole image is clearer using the proposed method as shown in Figure 8(f).

The image enhancement results for pathological retinal fundus images chosen from the STARE database are shown in Figure 9. The first column (Figure 9(a)) is the green channel of each original image. The middle four columns (Figures 9(b)9(e)) are the enhancement results of the HE, the CLAHE, and the methods in [7, 9], respectively. The last column is the results of the proposed method as shown in Figure 9(f). It shows that the proposed method not only enhances the retinal vessels and makes the whole image clearer, but also enhances the pathological regions well. The values of CII and of each image in Figure 9 are shown in Table 3. It shows that the proposed method could perform better than the other methods on the pathological images.

The comparison of line charts of CII and values for the images of DRIVE database is shown in Figure 10. Figures 10(a)-10(b) are the results using the 20 images in the testing set of DRIVE database. And Figures 10(c)-10(d) are the results using all the 40 images of DRIVE database including testing set (20 images) and training set (20 images). In Figures 10(a)10(d), the -axis denotes the sequence number of the image, and the -axis denotes the value of CII and of the different methods. By the same token, Figures 11(a) and 11(b) show the line charts of the values of CII and of the different methods used to enhance retinal fundus images of the STARE database, respectively.

It is shown from Figures 10 and 11 that the proposed method achieved the largest CII, which indicates that the proposed method is the best in enhancing the retinal vessels. And the value of of the proposed method is nearly second small comparing with the other methods, which indicates that the whole image is comparatively clearer after enhancement using the proposed method. The enhancement performance of the proposed method on both normal and pathological retinal images is comparatively better.

The proposed method shows some merits comparing with other methods. (1) The edges of the vessels change softly and do not cause artificial edges as there are not abrupt changes in the image containing basic information. (2) As the enhanced image is obtained by fusing the image with basic information of the background and the original image, there is no main detail losing. (3) A proper noise reduction filter is used to depress the noise caused by the fusing step.

The running times of different methods were calculated on a computer with Windows 7 OS, a Dual Core 3.40 GHz CPU, 4 GB of RAM, under Matlab R2012 software. The average running time comparisons of different methods on the DRIVE database and STARE database are shown in Tables 4 and 5, respectively. It is shown from the two tables that the fastest method is the HE method and the most time consuming method is the proposed method on both the DRIVE database and STARE database. The proposed method needs to do some time consuming processes such as domain transform, convolution, the fourth order PDEs, and the relaxed median filter to achieve image enhancement, which makes the proposed method consume much more average running time than all the other methods. As running time is also a very important factor in clinical application, this is an obvious defect of the proposed method. In the future, if we can find another fast image denoising method suitable for removing the noise caused by image fusion, the running time may be reduced to some extent.

4. Conclusions

In this paper, a retinal image enhancement method fusing original image and the image containing the basic information of the background is presented. The proposed method is tested on the retinal images of the DRIVE database, the STARE database, and the DIARETDB1 database, respectively. Two objective evaluation indexes (CII and r) which could measure both the contrast and clarity of the enhanced image are used. The CII value of the proposed method is distinctly the largest and the value is the second smallest in all the compared methods on the DRIVE and the STARE databases. It is shown that the proposed method achieves a much better performance on enhancing retinal fundus image comparing with the other methods. Moreover, different from other image enhancement methods mentioned above, the proposed method can handle color images which may be more beneficial to diagnosis by the ophthalmologists.

Competing Interests

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

Acknowledgments

This work was financially supported by the National Natural Science Foundation of China (Grants no. 81171420, no. 61379107, and no. 81370913).