1
st
Mihaela Miron
Department of Computer Science and
Information Technology
Faculty of Automation, Computers,
Electrical Engineering and Electronics,
Dunarea de Jos University of Galati
Galati, Romania
[email protected].
2
nd
Anisia Culea-Florescu
Department of Electronics and
Telecommunications,
Faculty of Automation, Computers,
Electrical Engineering and Electronics,
Dunarea de Jos University of Galati
Galati, Romania
[email protected].
3
rd
Simona Moldovanu
Department of Computer Science and
Information Technology
Faculty of Automation, Computers,
Electrical Engineering and Electronics,
Dunarea de Jos University of Galati
Galati, Romania
[email protected].
Abstract— Diabetic Retinopathy (DR) is a condition caused
by diabetes that affects the blood vessels in the retina. Detecting
the disease early and providing appropriate treatment are
crucial in slowing its progression. Therefore, there is great
potential in utilizing Machine Learning (ML) to improve the
identification and monitoring of DR development in patients.
Our study aims to explore the performance of six ML
algorithms, namely Random Forest (RF), Adaptive Boosting
(AB), K-Nearest Neighbor (K-NN), Gaussian Naive Bayes
(GNB), Support Vector Machine (SVM), and Qu adratic
Discriminant Analysis (QDA), in two binary classifications
involving three classes: non-diabetic retinopathy (NoDR),
moderate retinopathy (MR), and severe retinopathy (SV). These
ML algorithms were applied to ten features extracted using local
binary patterns (LBP). The first classification task involved
distinguishing between NoDR and MR, while the second task
involved differentiating between NoDR and SV. The RF
technique achieved the highest classification accuracy, with
0.912 for the first task and 0.94 for the second task.
Keywords— diabetic retinopathy, machine learning, accuracy
I.INTRODUCTION
Diabetic retinopathy (DR) is one of the most common
microvascular conditions affecting the eyes caused by
diabetes and can lead to vision loss if left untreated. Studies
show that people in Europe are affected by this complication
in percentages between 3%-4%, while the increased risk is for
patients with type 1 diabetes compared to type 2 [1-3].
Non-Proliferative Diabetic Retinopathy (NPDR) and
Proliferative Diabetic Retinopathy (PDR) are the two main
phases of the DR [4]. The initial stage exhibits micro-
aneurysms (MA), which are small circular red dots at the end
of blood vessels, and the intermediate stage shows flame-
shaped hemorrhages in the retina when MAs get ruptured. The
DR in the initial phases is known as NPDR and can be
classified into Mild, Moderate, and Severe. Due to the lack of
healing, the severe stage displays the development of new scar
tissue.
Retinal images, typically obtained from fundus
photography or optical coherence tomography (OCT), are
used to diagnose DR. Because medical images are complex,
the manual analysis is time- and money-consuming because it
can only be completed by highly qualified experts in the field.
Consequently, the number of methods used in assisting
clinical decision-making has been steadily growing in recent
years.
The classification of medical images in recent papers is
based on the extraction and analysis of textural information
from the images, along with machine learning algorithms.
Machine learning algorithms often require a set of
representative features to learn from. In the case of diabetic
retinopathy, features can be extracted from the retinal images
using various methods such as edge detection, texture
analysis, and vessel segmentation. R. Priya et al. [5] analyzed
the efficiency of three ML architectures: support vector
machine (SVM), probabilistic neural network (PNN), and
Bayesian Classification. A small dataset of images was used
because they manually extracted features in these
architectures to categorize the images into binary classes.
Their accuracy results are 97.6%, 94.4%, and 89.6% for SVM,
PNN, and Bayesian Classification, respectively.
While comparing the performance of the common
classifiers KNN, SVM, and PNN—Yadav et al. [6] and Amin
et al. [7] discovered that SVM has the highest accuracy among
them.
Instead of using an ophthalmoscope, N. Kashyap et al. [8]
proposed that the retina eye image be captured using a phone
camera with an external lens. Once the image is captured, they
carry out their feature extraction and predictions using the
method of Discrete Wavelet Transform and ML Euclidean
distance calculation. And for binary classification, their result
was Precision 63% and Recall 57%.
In this study for diabetic retinopathy image classification
the performances of six classifiers: Random Forest (RF),
Adaptive Boosting (AB), K-Nearest Neighbor (K-NN),
Gaussian Naive Bayes (GNB), Support Vector Machine
(SVM), and Quadratic Discriminant Analysis (QDA) are
analyzed. The methodology was applied to ten features
extracted with local binary patterns.
As a result of our study, a high accuracy classification
between noDR vs. MR and between noDR vs. SV could be
very useful for detecting diabetic retinopathy in the early
stage.
The next sections of this paper are structured as follows:
Section II presents an overview of the image database,
hardware, and software used in the study. Section III provides
a detailed explanation of the local binary pattern. Section IV
elaborates on the various machine-learning techniques
employed in this research. In Section V, experimental results Diabetic Retinopathy Image Classification Using
Machine Learning
and Local Binary Patterns
Features 136
979-8-3503-0167-0/23/$31.00 ©2023 IEEE
2023 8th International Symposium on Electrical and Electronics Engineering (ISEEE) | 979-8-3503-0167-0/23/$31.00 ©2023 IEEE | DOI: 10.1109/ISEEE58596.2023.10310398
Authorized licensed use limited to: KLE Technological University. Downloaded on April 15,2024 at 10:21:17 UTC from IEEE Xplore. Restrictions apply.