You are on page 1of 4

Proceedings of the 26th Annual International Conference of the IEEE EMBS

San Francisco, CA, USA • September 1-5, 2004

Retinal Image Analysis to Detect and Quantify Lesions Associated with


Diabetic Retinopathy
C. I. Sánchez1,2, R. Hornero1,2, M. I. López2, J. Poza1,2
1
Dep. de Teoría de la Señal y Comunicaciones, ETSI-Telecomunicación, University of Valladolid, Spain.
2
Instituto de Oftalmobiología Aplicada (IOBA), University of Valladolid, Spain.
method would not work in all the images used in clinical
Abstract—An automatic method to detect hard exudates, a environment. The main improvement introduced by the
lesion associated with diabetic retinopathy, is proposed. The technique described in this paper is its robustness to the
algorithm found on their color, using a statistical classification,
variable appearance of retinal fundus images to obtain an
and their sharp edges, applying an edge detector, to localize
them. A sensitivity of 79.62% with a mean number of 3 false optimal performance in all types of images, in contrast to
positives per image is obtained in a database of 20 retinal these other approaches.
image with variable color, brightness and quality. In that way,
we evaluate the robustness of the method in order to make II. METHODOLOGY
adequate to a clinical environment. Further efforts will be done
to improve its performance. The method attempts to detect hard exudates using two
features of this lesion: its color and its sharp edges. So hard
Keywords— Diabetic retinopathy, hard exudates, image
processing, retinal images.
exudates extraction is carried out in the following stages:
x Detection of the optic disk and the blood vessels
x Detection of yellowish objects in the image.
I. INTRODUCTION x Detection of objects in the image with sharp edges.
x Combination of the previous steps to detect

D IABETIC retinopathy (DR) is a severe eye disease


that affects many diabetic patients. It remains one
of the leading causes of blindness and vision defects in
yellowish objects with sharp edges.

A. Detection of the optic disk and the blood vessels


developed countries. There exist effective treatments that
inhibit the progression of the disease provided that it would In order to localize these main features, we build on some
be diagnosed early enough. But DR is usually asymptomatic works developed by other authors. We follow the method
in its beginning, so diabetic patients do not undergo any eye proposed in [7] to detect the center of the optic disk (OD).
examination until it is already too late for an optimal This method determined a number of candidate regions with
treatment and severe retinal damages have been caused. the brightest pixels in intensity image. Then the PCA based
Regular retinal examinations for diabetic patients guarantee model approach is applied to the candidate regions to give
an early detection of DR reducing significantly the incidence the final location of the OD. We also detect the disk
of blindness cases. Because of great prevalence of diabetes, boundary using a snake driven by an external field
mass screening is time consuming and requires many trained v(x,y)=[u(x,y),v(x,y)] called Gradient Vector Flow (GVF)
graders to examine the fundus photographs searching retinal [10] over the image f(x,y).
lesions. A reliable method for automated assessment of the 2 2 2 2 2 2
presence of lesions in fundus images will be a valuable tool H ³³ P (u x  u y  v x  v y )  ’f v  ’f dxdy (1)
in assisting the limited number of professional and reducing In this work the snake is initialized automatically as a
the examination time. circle placed in the center of the OD localized previously.
This paper focuses only in the automatic detection of one The blood vessels are segmented applying the matched
of the lesions associated with DR: hard exudates. They filter method described in [11] to enhance blood vessels and
usually appear in the fundus photographs as small yellow- thresholding the image obtained.
white patches with sharp margins and different shapes.
Among lesions caused by DR, exudates are one of the most B. Detection of yellowish objects
occurring early lesions [1]. So the detection and
quantification of them will contribute to the mass screening The detection of this kind of objects is carried out
and assessing of DR. performing color segmentation based on the statistical
Some investigations in the past have identified retinal classification method described in [8] and [9]. This method
exudates in fundus images based on their gray level [2], [3], found on the fact that if a group of features can be defined
their high contrast [4-7] or their color [8],[9]. Because the so that the objects in an image map to nonintersecting
brightness, contrast and color of exudates vary a lot among classes in the feature space, then we can easily identify
different patients and, therefore, different photographs, these different objects classifying them into corresponding classes

0-7803-8439-3/04/$20.00©2004 IEEE 1624


by a certain rule. For our algorithm, we have to discriminate adjustment for non-uniformity of illumination. But if a
between two classes: yellowish objects and background, general method to avoid this phenomenon is applied, the
which are perfectly characterized using only three color color in some fundus photograph, due to the wide variation
features (the illuminance of the pixels in each plane of this feature in different patients, could be modified
(R,G,B)). In order to map all the pixels in the image to one introducing some strange effects. In this work, we use a new
of these classes, an appropriate discriminant function has to color image. This image is obtained performing an operation
be defined. Using the posterior probability and Bayes’ of the channels (N1, N2, N3) of the NTSC color space
theory, we can obtained the minimum distance discriminant
N1' 1.5 N1  N 2  N 3 , (4)
T
Di ( x) ( X  C i ) ( X  C i ) , (2) and then converting the image obtained (N1´,N2, N3) into the
where i=1,...,N and N is the number of classes (in our case RGB color space again. In that way, we improve both
N=2). contrasting attributes of lesions and the overall color
So for each pixel X(xR,xG,xB), the distances Dyell(X) and saturation in the image, achieving that the OD and the
Dback(X) are calculated. If Dyell(X) is less than Dback(X), then exudates appear with the same color independently of their
the pixel X is classified as yellowish lesion, otherwise it is location (Fig. 1.(b)).
classified as background. Cyell and Cback denote the center of Hard exudates and other yellowish objects can be
each class in RGB space, which characterize the color of the detected applying the minimum distance discriminant to all
yellowish objects and the background respectively. the pixels of this image, as shown in Fig. 1.(c).
Therefore, one problem has to be resolved before applying As well as hard exudates, other yellowish regions are
this method: the definition of the features center Cyell and detected, as the optic disk, other lesions (cotton wool spots
Cback. In [8] and [9], they are selected as a global value after and drusen), artifacts, etc.
obtaining them from different windows in training samples.
In that way, it is taken for granted that all the images have C. Detection of objects with sharp edges
the same fundus color, and that the exudates and the
background appear with the same illumination and color. In An edge-finding operator can characterize the edge
practice, there is a wide variation in the color of fundus from strength of the objects of an image. So, in our case, Kirsch’s
different patient, strongly correlated to skin pigmentation mask (5) and different rotations of it are applied to the green
and iris color. So, global values for Cyell and Cback can work component of the color fundus and the maximum response
in some images but fail in others. This problem can be of them is selected to detect the edges in the fundus
resolved using specified feature centers for each image. To photograph.
define them avoiding user interaction, we have to find pixels § 5 5 5·
belonging to both classes in all the images. ¨ 3 0  3¸ (5)
For background, we select a group of pixels that ¨ ¸
surrounds the contour of the OD obtaining in section A. And ©  3  3  3¹
because of the fact that the OD usually has the same color as Thresholding this image at grey level T1, we obtain
the exudates, the pixels that belong to the OD are used to objects with sharpest edges (Fig. 1.(d)). T1 is a parameter of
identify the color of the yellowish objects. So we obtain for the algorithm. If T1 is chosen too low, the sensitivity
each fundus photograph the values of Cyell and Cback: increases but the specificity decreases.
Other objects in the images with sharp edges are also
1 m detected, as the optic disk, blood vessels, haemorrhages, etc
C yell ¦ Yi
mi 1
, (3) D. Combination of the two previous images
1 n
Cback ¦ Bi
ni 1 To detect only hard exudates and remove all the false
where m and n are the number of pixels in yellowish and positives introduces in the previous stages, we combine the
background region respectively that are used to calculate two images obtained using a Boolean operation, feature-
these centers and Yi and Bi are the vectors of the three color based AND. In feature-based AND, ON pixels in one binary
features in the different region image are used to select objects (connected groups of ON
Because of lighting variation, decreasing color saturation, pixels) in another image. Here we use the image with
skin pigmentation, etc, the color of lesions in some regions objects with sharp edges to select object in the image with
of an image may appear dimmer than the background color yellowish elements, because in the last one the lesions are
that is located in another region and would be wrongly detected completely, not only their contours. In this way, we
classified. So it is of crucial importance to perform an obtain lesions characterized by the two desired features:
yellowish color and sharp edge.

1625
(a) (b)

(c) (d)
Fig. 1. Images obtained applying the method to (a), (b) image after the enhancement, (c) detection of the yellowish objects, (d) detection of the objects
with sharp edges.

III. RESULTS

We have tested the algorithm on an data base of twenty


576x768 digital images taken with a TopCon TRC-NW6S
Non-Mydriatic Retinal Camera and have compared the
results obtained by the algorithm with the performance of a
specialist who marked the exudates on these images.
For evaluation of the detection performance of the system
the number of true and false positive clusters have to be
determined for each image in the test set, while the
segmentation threshold T1 is varied. In this way the true
positive (TP) rate can be plotted as a function of the number
of false positive (FP) detections per image, using free-
response receiver operating characteristic (FROC) curve.
Fig. 2. Detection of hard exudates presented in Fig. 1. (a).
Each decision threshold results in a corresponding operating
After that, we also get some false positives due to the point on a curve. We believe that FROC analysis is an
papillary region and some artifacts near the vessels (because appropriate measure for our detection system, because there
the reflection in young people). To reduce them, we remove will be a trade-off between the TP rate and the number of FP
a dilated version of the segmentation result of the detection detections per image. A true exudate is considered detected
of the OD and of the vessel in section . Fig. 2. shows the if the detected cluster overlaps at least 50% of its area. All
final image. findings outside the criterion are considered as false

1626
detections. The curve obtained is shown in Fig. 3., obtaining 100
a T1=0.8 a sensitivity of 79.62%. 90
80
IV. DISCUSSION
70

The best perfomance is achieved at the operation point 60

T P rat e
with a sensitivity of 79.62% with a mean number of 3.2 50

false detections per image. Some exudates are not detected 40


due to their proximity to blood vessels or because they 30
appear very faint, even after the proposed enhancement. 20
Missing faint exudates has not a crucial importance since 10
even human experts are not sure about some ambiguous
0
regions. In the present work we have evaluated the system 0 5 10 15 20
on an independent database of retinal images with variable
FP p er im age
characteristics to investigate its robustness. Due to the lack
of a common database and a reliable way to measure the
Fig. 3. FROC curve for a database of 20 retinal images using the
performance, it is difficult to compare the performance of developed method.
our method related to those reported in the literature.
Although some work [5], [7] show superior performance
REFERENCES
than our algorithm, the main improvement is that a good
performance is obtained overall independently on the color, [1] D. Klein, B. E.. Klein, S. E. Moss et al, “The Wisconsin
illumination, size, etc, keeping FPs low. This independence epidemiologic study of diabetic retinopathy. VII. Diabetic
on the aspect of the image is obtained using a particular nonproliferative retinal lesions,” Ophthalmol., vol. 94, pp. 1389–
1400, 1986.
method for each image (to enhance them, to obtain the color [2] N. P. Ward, S. Tomlinson, and C. J. Taylor, “Image analysis of
of the background and exudates), unlike other authors which fundus photographs – The detection and measurement of
use global approaches for all of them. So the behavior of our exudates associated with diabetic retinopathy,” Ophthalmol., vol.
96, pp. 80–86, 1989.
algorithm is appropriate for a clinical environment. [3] R. Philips, J. Forrester, and P. Sharp, “Automated detection and
But there are some problems that deserve comment. First quantification of retinal exudates,” Graefe’s Arch. Clin. Exp.
of all, the algorithm depends on other detection tasks, as the Ophthalmol., vol. 231, pp. 90–94, 1993.
detection of the OD and blood vessels, making the results [4] K. Akita and H. Kuga, “A computer method of understanding
ocular fundus images,” Pattern Recogn., vol. 21, no. 6, pp. 431–
dependent of the successful of these method. This indicates 443, 1982.
the further necessity of improving the robustness of these [5] T. Walter, J.-C. Klein, P. Massin, and A. Erginay, “A
task. On the other hand, we have used the color of the OD to contribution of image processing to the diagnosis of diabetic
retinopathy – Detection of exudates in color fundus images of the
characterize yellowish regions but this can not represent the human retina,” IEEE. Trans. Med. Imag., vol. 21, no. 10, pp.
its real color. It could be a good idea to localize some 1236–1243, Oct. 2002.
exudates firstly and then use their color. [6] H. Li and O. Chutatape, “Fundus image features extraction,” in
Proc. 22nd Annual Int. Conf. of the IEEE Engin. Med. Biol. Soc.,
EMBS’00, Chicago, IL, pp. 3071–3073.
V. CONCLUSION [7] H. Li and O. Chutatape,, “A model-base approach for automated
feature extraction in fundus images,” in Proc. 9th. Int. Conf. of
In this work we have evaluated an automated detection the IEEE Comp. Vision, ICCV’ 03, Nice, France, pp. 50–53.
scheme for one of the primary signs of DR: hard exudates. [8] K. G. Goh, W. Hsu, M. L. Lee, and H. Wang, “ADRIS: an
automatic diabetic retinal image screening system,” in Medical
This lesion was identified by its color, using a statistical Data Mining and Knowledge Discovery, Ed. K. J. Cios, NJ:
classification, and its sharpness of its edges, applying a Springer-Verlag, 2000, pp. 181–210.
Kirsch operator. After applying our method to 20 fundus [9] H. Wang, W. Hsu, K. G. Goh, and M. Lee , “An effective
approach to detect lesions in color retinal images,” IEEE
photograph, the detection sensitivity for the hard exudates Conference on Computer Vision and Pattern Recognition, vol. 2,
jumped from 65% to 85% when the number of FPs was kept pp. 181–186, Jun. 2000.
low (3/image). Our results suggest that the system is [10] C. Xu and J. L. Prince, “Snake, shapes and gradient vector flow,”
competent to complement the screening of DR of IEEE. Trans. Imag. Process., vol. 7, no. 3, pp. 359–369, Mar.
1998.
ophthalmologists in their daily practice because it is very [11] S. Chaudhuri, S. Chatterjee, N. Katz, M. Nelson, and M.
robust in the face of changes of the characteristic of the Goldbaum, “Detection of blood vessels in retinal images using
images. Future work will address the issue of improving the two-dimensional matched filters,” IEEE. Trans. Med. Imag., vol.
8, no. 3, pp. 263–269, Sep. 1989.
sensitivity by improving the results of other tasks, as the
detection of OD and blood vessels, and trying to localize
faint and small hard exudates.

1627

You might also like