Vous êtes sur la page 1sur 6

2015 International Conference on Computer and Computational Sciences (ICCCS)

Identification of Different Stages of Diabetic Retinopathy


Surbhi Sangwan1, Vishal Sharma2, Misha Kakkar3
1,2
M.Tech (CSE) Student, Amity School of Engineering andTechnology, Amity University
3
Assistant Professor, Amity School of Engineering andTechnology, Amity University

Abstract: This work presents different eye dieses like Diabetic processing techniques with artificial neural network. This
Retinopathy, Catract and Glaucona which causes our eye section of the paper describes eye anatomy along with a
damage. Among these three Diabetic Retinopathy is most brief description of “NPDR and PDR” effects on the eye.
perilous due to its different stages “(Mild NPDR – Non
Proliferative Diabetic Retinopathy Moderate NPDR and PDR
– Proliferative Diabetic Retinopathy)” and segregate it from a
normal eye with the study of fundus images. In this work, a
computer based approach have been proposed in which the
features are extracted from these images using image pre-
processing and furnish into the “SVM (Support Vector
Machine) using Sequential minimal optimization algorithm”.

Keywords: Diabetic Retinopathy, Fundus Images, Support vector


machine(SVM)

I. INTRODUCTION

Diabetic retinopathy is complications of diabetes ketosis,


which affects most of the patients who are having diabetes
for many years or more worst, can lead to blindness[1],
according to the report released by World Health
Organization estimates that are more than 300 million will
suffer from diabetes by the year 2025. One of the major Figure. 1. Human eye
consequences of this disease is on human eye labeling it as Primarily, there are two types of diabetic retinopathy: Non
Diabetic Retinopathy. The tangled images obtained from proliferative diabetic retinopathy (NPDR) and Proliferative
infected eye will be processed using digital Image diabetic retinopathy (PDR).NPDR is the most primitive
Processing (DIP) technique[1], which manipulates the stage of Diabetic Retinopathy[2]. During this condition,
image for the purpose of either extracting information from small amount of blood and other extra fluid leak into the eye
the image or produces an alternative representation of the due to damaged blood cells in the retina. Due to closing of
image. Thus assessing is the quite effective procedure to the blood vessels in the retina, PDR occurs inhibiting
mirror early signs of diabetic retinopathy. Using assessing enough blood flow. In an attempt to supply blood to the area
procedure big blood clots called hemorrhages, Hard where the original vessels closed, the retina responds by
exudates, The shiny rounded region from the blood vessels growing new blood cells, called neovascularisation [2].
called optic disk, The fovea determines the middle of the
retina, and is that region of highest visual acuity, exudates
For diagnosis and monitoring of various eye diseases,
and micro aneurysms, random shaped, and found in the
ophthalmologists use fundus images which will be taken as
succeeding pole of the fundus can be noticed. It can be
input to our system as well. Fundus photography takes into
classified as Mild, Moderate non proliferative diabetic
account the retina, fovea, macula and optic disc and creates
retinopathy (NPDR) and proliferative diabetic retinopathy
an image for it. Fundus images are digitized data given by
(PDR)[2]. The disease causes dullness of the eye’s lenses,
fundus camera that can be used for detection of diabetic
damage to the blood cells in the retina, so early detection
retinopathy.
and diagnosis will help in reduction of damage to eye.
Thus,doctors emphasize on routine medical check which
they use of special facilities for detection and monitoring of
the said disease. Researchers have recommended various
techniques for helping the doctors using medical image
processing. Our aim in this presentation is to present an
automated aid for doctors which combine medical image

978-1-4799-1819-5/15/$31.00 ©2015 IEEE 232


2015 International Conference on Computer and Computational Sciences (ICCCS)

Pre-retinal hemorrhage: Delicate new blood vessels that


bleed into the vitreous preventing light rays from reaching
the retina.

Neovascularisation: New blood vessels that blocks the


normal flow of liquid out of the eye.

The analysis of these fundus images through digital image


processing forms the basis of our study. There has been an
exponential and plethoric rise in cases of diabetic
retinopathy and so, it becomes very essential for us to work
on application of technology and tapping into huge potential
of computer software towards enriching and advancing
medical knowledge. Moreover, simplified approach of
detection of various stages of diabetic retinopathy will ease
the process of diagnosis and provide an efficient method to
differentiate it from a normal eye [3].
Figure2. Fundus Image of Normal Eye [3]
II. PROPOSED WORK
Various regions of fundus images are -
Optic Disc: Circular portion at the back where nerve fibers Within this paper, a technique for classification of diabetic
join together to form optic nerve. retinopathy is presented with the help of fundus images
Macula: Part of retina which is the main cause for detailed using Support Vector Machine [13]. For identification of
vision. diabetic retinopathy, collected fundus images from hospitals
Fovea: Located at the center of macula, it is the main reason undergo several image pre-processing techniques in order to
for sharpest vision [5]. extract desired features. Area of on pixels, mean and area of
exudates are the three features extracted and fed into the
neural network. SVM based training is applied to analyze
the data and find an optimal way to classify images into
Normal, NPDR or PDR categories [14].

A. Collection of Fundus Images


An elaborate search for professional fundus images yielded
in collection of almost 100 images. The images were taken
from two different hospitals in Noida and Delhi for the input
data-set. Distinctly demarcated images of each category
Figure3. (a) NPDR showing hard exudates and (b) close up of hard namely PDR, NPRD and normal eye were provided for
exudates efficient classification and improved training
Hard Exudates: Leakage in retina due to cholesterol and fat
accumulation.

Micro aneurysms: Small protrudes in blood vessels that leak


fluid in retina.

Figure4. (a) PDR showing neovascularisation and Pre-retinal hemorrhage


and (b) close up of neovascularisation Figure5. Sample of Fundus Image Collected

233
2015 International Conference on Computer and Computational Sciences (ICCCS)

III. IMAGE PRE-PROCESSING equalization. Through this, intensities are better distributed
on the histogram which is accomplished by effective
Image pre-processing deals with enhancing data images spreading out of most frequent intensity values.
prior to computational processing. It can significantly
increase the reliability and efficiency of proposed system.

Colour image

Image pre-processing
Image pre-processing for
for detection of
detection of blood vessels.
exudates.

1. Sum of on pixels.
Area of Exudates
2. Mean

Classification using SVM


Figure 6. Flowchart of Proposed System

Detection of Blood Vessels and Haemorrhages

For detection of blood vessels and haemorrhages, collected


fundus images are processed by gray scale conversion, Figure 8. Flow Chart for detection of Blood Vessels and Hemorrhages
histogram equalisation, application of digital filters, gradient
magnitude segmentation and finally fuzzy c clustering.

Gray Scale Conversion: [5] Most of image pre-processing


technique requires conversion of colour images into gray
scale since it carries only intensity information and value of
each pixel is a single sample. For its implementation, we
first fetch the values of Red, Green and Blue [8] (RGB) Figure 9. (a) Histogram Equalized Image (b) Before Application (c) After
components and then combine 39% of red, 49% of green application
and 17% of blue [4]. Applying Filter and Gradient Magnitude Segmentation:
Digital 2-D filters [6] are applied on contrast enhanced
image for edge detection and typically, Sobel operator is
used to get the approximate absolute gradient magnitude at
each point so it is preferred over other operators. Moreover,
detection of edges of blood vessels and haemorrhages
requires emphasize on region of high spatial frequencies
which is the basic principle of sobel operator [6].

When the kernels are implemented on the input image, it


results in different values of the gradient component in each
layout (assume it to be Gx and Gy). These are joined
Figure 7. Grey Scale Image together to give us the absolute magnitude of the gradient at
all points and the layout of that gradient [5]. The gradient
Histogram Equalization[5]: After conversion into gray scale,
magnitude is given by:
contrast adjustment is brought about by histogram

234
2015 International Conference on Computer and Computational Sciences (ICCCS)

B. Detection of Exudates
For detection of exudates, image processing is carried out
The gradient is high at the borders and low inside the fundus
by first by checking the green channel, gray scale
images thus providing a somewhat distinction between
conversion, and conversion into binary through decided
blood vessels, haemorrhages and the other components of
threshold, morphological closing and finally removing
the image.
largest area (optic nerve) to get exudates.

Green Channel Selection and Gray Scale Conversion: As


stated by Walter et al. [7], the exudates appear more
contrasted in the green channel component than the other
channels of the color image. Hence, the green channel
component images are used, in our method, to detect
exudates. Consequently, the image is then converted to gray
scale to further carry on processing.

Figure. 10. Gradient Magnitude Segmented Image

ROI Processing: ROI (Region of interest) is a portion of an Figure12. (a) Green Channel Selection (b) Gray Scale Conversion
image that we want to filter. We define a ROI by defining a
binary mask i.e. our image which we want to process, with
pixel that define the ROI set to 1 and all the pixels set to 0.
We can declare more than one ROI for a single image.
Region can be geographic in nature.

Here, it will be use to detect blood vessels and hemorrhages


in eye images by grouping them into one category as on
pixels and the remaining part of the eye as another category
as off pixels [6]. Threshold is analyzed by binary ROI which
outputs the binary image and threshold level of image. It
often works better than FUZZY C clustering method since
the latter gives larger or smaller threshold on fluorescence
photos. A switch of cut-off position is taken as 1 for clear
detection of components in binary form.

Figure13. Flow Chart for detection of Exudates

Image smoothing & Image debluring: [7] Image


smoothing use to suppless disturbance or other small
function in the image. It is equal to the suppression of high
Figure11. Detected Blood Vessels and Haemorrhages
frequencies domain. Smoothing also blurs all sharp edges

235
2015 International Conference on Computer and Computational Sciences (ICCCS)

that kept important information about the image. It uses it becomes an important feature for efficient
delicacy in the image data, calculation of the new value is demarcation.
based on averaging of brightness values in some
neighborhood 0. Smallest component of a digital image is IV. SVM (SUPPORT VECTOR MACHINE) FOR
pixels [8]. Each pixels carries some intensity, mean to CLASSIFICATION OF HYPER PLANES
characterize the color of a small rectangular segment.
Debluring is an iterative process, you might need to repeat SVM (Support Vector Machine) is a better alternative for
the debluring process many times, varying the parameters Multilayer Preceptor Network [13]. SVM algorithm is also
you specify to the debluring function with each iteration [8]. used to calculate data and clustering and recognization of
patterns, used for classification and regression analysis. In
Morphological Closing: The optic disc which is bright has common it is used for linear-separation or classification of
similar features when compared to exudates, and thus can one class or category from another.
give false recognition; so it becomes necessary to remove it
[8]. In fundus images, the optic disc is marginally separated Sequential minimal optimization algorithm (SMO)[14]
with presence of blood cells at the extreme corner of the which break the problem down into two sub parts or we can
disc resulting in extremely close fragmented portions as say sub problems. There are so many advantages of using
seen in figure 11. In order to group them together dilation is SMO for SVM implementation.
performed, and then it is followed by erosion to separate the
optic disc from the exudates (close operator). The 1. Quadratic Programming (QP) SVM breaks into sub
structuring element used is ‘disc’ since it results in proper problems which we say as QP problems.
dilation of disjointed components of optic disc in a circular
fashion [9]. 2. Later on these QP problems solved analytically

Elimination of Largest Area and Detection of 3. Total amount of memory required for SMO is liner
Exudates:[1] Finally, using the region props each which permit SMO[15] to handle very huge training
connected component in the image is formulated with set
respect to their areas. The region with the maximum area
(optic disc) is found and then eliminated in order to get the 4. SMO is faster for linear SVM’s and sparse data set.
rest of the binary images just containing the exudates.

1) Feature Extraction
We calculate three different parameters of feature extraction
after all the above steps are followed:

1. Size of ON pixels: With reference to blood vessels and


hemorrhages detection, the total sum of white pixels
with value as ‘1’ on the binary image helps us to
differentiate between different stages of diabetic
retinopathy.

2. Mean: It is a highly possible that the images are of


uneven resolutions or sizes. Area of on pixels becomes
unreliable as it could give less sum values of small
fundus images with many hemorrhages as compared to
bigger fundus images with no hemorrhages. Thus, Here is this class diagram a hyper plane is used to separate
there is a need to find out the arithmetic average which to classes from each other and later on the margin for this
would then bring both the images at par during error is taken as training error or test error.
comparison. Fig 14. SVM class division diagram.

Mean = (Sum of ON pixels) The training, validation and testing was carried out with
(Total no. of ON + Black pixels) following details:
No. of input on the basis of different category - 3
3. Sum of exudates: The total area of exudates present in Total no. of sample images -96
the image will also help us during classification of the No. of images for testing- 54
disease. With exudates prominently present in NPDR, Iteration for boundary testing -36

236
2015 International Conference on Computer and Computational Sciences (ICCCS)

V. RESULTS AND DISCUSSION [3] Eye Fundus Image Analysis for Automatic Detection of Diabetic
Retinopathy, Tomi Kauppi, Thesis for the degree of Doctor of
Science (Technology) presented at Student Union House at
Several features were extracted by image processing Lappeenranta University of Technology, Lappeenranta, Finland on
approach and insert as input to the classifier with analyzed the 12th of December, 2010, pp 25-29.
results. The results of SVM classification are “shown in [4] Review of automated diagnosis of diabetic retinopathy using the
Table” and thus, we can show that our classifier identifies support vector machine: Priya.R, Aruna.P. International Jornal Of
all the normal and PDR tested images whereas in the case of Applied Engineering Research, Dindigul, Volume 1, No 4, 2011.
NPDR it was unable to identify 4 images correctly because [5] R. Gonzalez and R. Woods (1992) Digital Image Processing.
Retrieved from World Wide Web,
of the size of exedutes which is greater than the size of optic
[6] http://users.dcc.uchile.cl/~jsaavedr/libros/dip_gw.pdf.
disk.
[7] Vallabha, D.; Dorairaj, R.; Namuduri, K.; Thompson, H., "Automated
detection and classification of vascular abnormalities in diabetic
TABLE I: Result of SVM Classification retinopathy, " Signals, Systems and Computers, 2004. Conference
Record of the Thirty-Eighth Asilomar Conference on, vol.2, no.,
correctly pp.1625, 1629 Vol.2, 7-10 Nov. 2004
Trained Tested Accuracy
classified [8] Sivakumar, R.; Ravindran, G.; Muthayya, M.; Lakshminarayanan, S.;
Images Images (%)
images Velmurughendran, C.U., "Diabetic retinopathy classification,
96 54 50 92.6% "TENCON 2003. Conference on Convergent Technologies for the
Asia-Pacific Region, vol.1, no., pp.205, 208 Vol.1, 15-17 Oct. 2003
[9] T. Walter, J. C. Klein, and P. Massin, “A Contribution of image
VI. CONCLUSION AND FUTURE WORK processing to the diagnosis of diabetic retinopathy detection of
exudates in colour fundus images of the human retina, ” IEEE
This paper provides a basis of classification of Normal, Trans.Med. Imaging, 21, pp. 1236-43, 2002.
NPDR or PDR affected eye with high accuracy percentage [10] Detection of Exudates in Retinal Images Using a Pure Splitting
of 92.6%. These results strengthen the idea that SVM can be Technique: Hussain F. Jaafar, Asoke K. Nandi, and Waleed Al-
used efficiently and efficiently as a classifier for detecting Nuaimy.32nd Annual International Conference of the IEEE EMBS
Buenos Aires, Argentina, August 31 - September 4, 2010
eye related diseases causes by diabetic. Even with this good
[11] Automated Identification of Diabetic Retinopathy Stages Using
results and progress, our machine would not give desired Digital Fundus Images - Jagadish Nayak & P Subbanna Bhat &
results in case the exudates areas at a particular section in Rajendra Acharya U & C. M. Lim & Manjunath Kagathi. Springer
fundus exceed that of optical disc size. With these Science + Business Media, LLC 2007.
limitations and results, work should be carried on to derive [12] K. Mehrotra, C.K. Mohan & Sanjay Ranka, “Elements of ANN”,
several more options and develop more efficient systems. MIT Press, 1997.
[13] Simon Haykin, ”Neural Networks – A comprehensive foundation”,
Macmillan Publishing Company, New York, 1994.
REFERENCES [14] Text Categorization with Support Vector Machines: Learning with
Many Relevant Features Thorsten Joachims Universitat Dortmund
[1] Kanth, S.; Jaiswal, A.; Kakkar, M., "Identification of different stages Informatik LS8, Baroper Str. 301 44221 Dortmund, Germany
of Diabetic Retinopathy using artificial neural network, "
[15] Drucker, H.; Wu, S.; Vapnik, V.N., "Support vector machines for
Contemporary Computing (IC3), 2013 Sixth International Conference
spam categorization, " Neural Networks, IEEE Transactions on,
on, vol., no., pp.479, 484, 8-10 Aug. 2013
vol.10, no.5, pp.1048, 1054, Sep 1999
[2] Eye Smart - What Is Diabetic Retinopathy?, © 2013 American
[16] Chapelle, O.; Haffner, P.; Vapnik, V.N., "Support vector machines
Academy of Ophthalmology.
for histogram-based image classification, " Neural Networks, IEEE
Transactions on, vol.10, no.5, pp.1055, 1064, Sep 1999

237

Vous aimerez peut-être aussi