Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Syed Efath Hamid Andrabi, Mr. Ankur Gupta
DOI Link: https://doi.org/10.22214/ijraset.2022.45939
Certificate: View Certificate
The diabetes disease known as diabetic retinopathy damages the retinal blood vessels, which has an impact on the eyes. It may initially show no symptoms or cause cyclical vision problems. Both eyes are affected as the illness becomes worse, which can lead to partial or complete vision loss. When the blood sugar level is out of control, it often occurs. A person with diabetes mellitus is therefore always at risk of developing the disease. If early discovery is done, the potential of total and permanent blindness can be averted. Therefore, a reliable screening technique is needed. The current study examines a deep learning technique that can be utilized to identify diabetic retinopathy early, particularly a Densely Connected Convolutional Network (DenseNet-201). There are four categories it uses to categorize fundus images: No DR, Mild, Moderate, Severe, and Proliferative DR. Both of the datasets utilized in this study—Aptos 2019 Blindness Detection and Diabetic Retinopathy Detection 2015—were acquired from Kaggle. The proposed method entails several processes, including data collecting, preprocessing, augmenting, and modeling. Our recommended model was able to achieve an accuracy rate of 90%. Regression modeling was also applied, and the accuracy rate was 78%. The main objective of this research is to offer a trustworthy way for identifying different DR.
I. Introduction
Diabetes is one of the most common diseases, and it is becoming more common everywhere. As a result of improper metabolic processes and difficulties including cardiovascular disease, renal failure, neurological disorders, and diabetic retinopathy (vision loss), among others, it is mostly associated with the body's production of insulin and high blood sugar levels [1]. A dangerous eye condition called diabetic retinopathy results in permanent visual loss that cannot be prevented or treated. People who have had diabetes before are more likely to obtain it; whether a person has type 1 or type 2 diabetes, their chance of getting the disease rises with age [2]. According to the WHO, DR is a serious eye condition that requires rapid response on a global scale. According to a study, 60 million diabetics in India receive visual care from about 12,000 ophthalmologists. The fact that so many individuals lack awareness of their disease is the main factor contributing to the huge number of sufferers. They exhibit a lack of awareness and prudence when it comes to this illness as well. Around 18% of diabetics have DR, and a diabetic is 25 times more likely to develop DR than a healthy individual [3]. . Due to its asymptomatic nature or its mild symptoms, which can leave a person in the dark and progressively impair their eyesight, it is challenging to identify this ailment early on. As a result, preventing the disorder's complexity requires early detection of DR. Experts and professionals that encourage advancements in improving the prognosis of this problem must employ highly effective technology and methods to diagnose this condition..
Images of a normal retina and a retina affected by diabetic retinopathy, respectively, are shown in Figures 1 and 2 [4]. The severity degree of DR must be classified and avoided, hence a reliable automatic detection method is necessary. Prior to the difficulty of manual feature extraction, the majority of DR research relied on feature extraction using machine learning approaches. This led researchers to resort to deep learning. A spate of computer-aided technologies, including data mining, image processing, machine learning, and deep learning, were made possible by more medical research. . On the other hand, deep learning has become more popular recently in fields including sentiment analysis, handwriting recognition, stock market prediction, and medical image analysis, among others. CNN in deep learning often produces effective results for categorizing images. The architecture of CNN and its many layers are shown in Figure 3[5].
The current work use deep learning technology, namely CNN variant DenseNet 201, which extracts segmentation results instead of manually, to categorize fundus (eye) photographs depending on severity degree. Kaggle's "Diabetic Retinopathy Detection" 2015 data set and Kaggle's "Aptos 2019 Blindness Detection" data set were merged for this investigation.
II. OBJECTIVES
The goal of our thesis is to identify diabetic retinopathy and determine the severity level. The thesis has the following specific objectives:
III. Literature review
One of the first to suggest neural networks for DR detection was Gardner et al. (1996) [42], who used them to recognize minute patches of the original image. After an ophthalmologist classified the patches' properties, the information was fed into the SVM. In 2000, Ege et al. [43] proposed utilizing k-nearest neighbors and Bayesian classifiers to identify DR..
In order to calculate the size of locations with specific DR symptoms such haemorrhages, micro-aneurysms, oedema, and blood vessels, Acharya et al. (2008) [44] and Adarsh et al. (2013) [45] employed SVM.
Roychowdhury et al. (2014) [46] used a two-level model using a Gaussian mixture model (GMM), kNN, and support vector machine. (SVM). These methods, on the other hand, have the disadvantage of only using a small number of properties. The attention has shifted to convolutional neural networks as a result of Alex Krizhevsky et alhugevictory .'s in the ImageNet Large Scale Visual Recognition Challenge in 2012 [47]. (CNNs)
IV. Methodology
A. Diabetes mellitus
The main energy source in the human body is glucose. It is necessary for all immune cells, muscles, and organs, and the body's metabolism may transform it into more intricate structures.
A healthy adult employs a variety of control mechanisms during routine activity to maintain blood glucose levels between 4 and 5 mmol/l. After eating, the levels can increase to 10 mmol/l, and they can decrease to around 3 mmol/l after exercise or hunger...
One of the most crucial mechanisms for controlling blood glucose is the insulin mechanism. The pancreatic islets of Langerhans' beta cells produce the protein known as insulin. Blood glucose levels fall when glucose is released into the circulation and reaches the cells. The body's primary energy supply, glucose, is exhausted when the islets of Langerhans are disrupted, and catabolic processes take over. These processes can result in acid-base imbalance, dehydration, and hyperglycemia (shift of pH out of the normal range) A long-term metabolic disorder called diabetes mellitus is characterized by hyperglycemia brought on by insulin production and cognitive issues. According to predictions, the number of people with diabetes mellitus will increase from 382 million in 2013 to 592 million by 2035 [1]. Diabetes can have several negative effects, including microvascular (retinopathy, neuropathy, and nephropathy) and macrovascular (stroke, infarction) vascular problems [2].
2. Classification
Beta cell loss is a distinctive feature of type 1 diabetes, which causes complete insulin insufficiency and a lifetime need on insulin injection. When the pancreas is unable to produce any insulin, glucose is still present in the bloodstream. An autoimmune response, which commonly results in the death of beta cells in genetically susceptible individuals, is triggered by a viral infection (such as influenza, rubella, or herpes) [3]..
Type 2 is the most typical. The most prevalent sign is insulin resistance, however it can also be accompanied with a partial decrease in beta-cell insulin production. Glucose remains in the blood because body cells are unable to respond to insulin properly. Type 2 diabetes is mostly brought on by consuming too many calories, eating poorly, engaging in little to no physical activity, being stressed out, and smoking. The onset of type 2 diabetes often happens around the age of 40, and it advances slowly without manifesting any symptoms. The use of prescription insulin may or may not be necessary for patients [3], [4].
B. The eye
The human eye is a sophisticated organ that allows our view. It has a circumference between 69 and 85 mm and a diameter between 22 and 27 mm [5]. The organ is protected by the orbits. The eye, the optical nerve, the ocular muscles, and the lacrimal apparatus are all protected by a pair of structures in the skull called the orbits (tear production). Each orbit contains seven bones. [6]. Three intrinsic muscles aid in concentration, whereas six extraocular muscles aid in eye movement. Blood is supplied through a branch of the internal carotid artery [5]. The three levels of the eye anatomy are depicted in Figure 2.1.
2. Medium Layer: Nutrient Function
3. Inner layer: .
4. Retina
The retina is a thin, translucent structure thatmain purpose is to provide photosensitive receptors. It has 10 layers [6] that range in thickness from 0.1 to 0.5 mm. It is attached to by the choroid and retinal pigment epithelium on the inner eyewall [10].
Two kinds of photosensitive receptors are distinguished.
5. Diabetic Eye Diseases
Diabetic ophthalmopathy is a term used to describe a number of ocular problems that can be brought on by diabetes mellitus [13]. As a result, people with diabetes may develop diabetic retinopathy, diabetic maculopathy, iris rubeosis, secondary glaucoma, complicated cataracts, diabetic neuropathy of the cerebral nerves supporting the ocular muscles, and diabetic neuropathy of the optic nerves. The most devastating of the aforementioned diseases is diabetic retinopathy [13].
C. Diabetic retinopathy
The most prevalent microvascular consequence of diabetes is diabetic retinopathy (DR) [14].
It is a common chronic progressive microvascular diabetes complication and the main reason for blindness in working-age individuals in industrialized nations [6]. Retinal cells undergo morphological and functional changes as a result of long-term hyperglycemia in the small retinal arteries and capillaries [15].
The number of patients with diabetes is rising [6]. More than 858 thousand individuals in the Czech Republic had diabetes mellitus as of 2016 [16], including 95 100 people who had diabetic retinopathy and 2 267 people who had lost their sight as a result of the condition. Around 4.2 million people worldwide are affected by it. In the US, there will be 16.0 million people with DR by 2050, 3.4 million of whom would have diabetic retinopathy that might impair their eyesight. DR is a major public health issue that costs $492 million USD in direct medical bills each year, as well as $492 million USD in lost productivity and income [8].
2. Symptoms
Patients who have DR describe varied degrees of symptoms. This is because until the macula is compromised, the patient might not experience any subjective symptoms. The most typical signs [16] are as follows:
. blurry or distorted vision that makes it challenging to read or watch television. challenges with balancing
increased sensitivity to light
being unable to see in the dark
3. Clinical signs
Clinical indications (seen in Figure 2.3) comprise:
microaneurysms: Early signs of DR include small, circular red lesions in the retina that are not optically concerning and often go away in three to four months.
Retinal hemorrhages: In distinct retinal layers, hemorrhages can be of varied sizes and shapes.
Lipid and protein depositions appear as yellow, irregularly shaped lesions with sharp edges (hard (lipid) exudates). This is an indication of diabetic macular edema, which often affects the macula, when it is coupled with retinal thickness. Clinical indications (seen in Figure 2.3) comprise:
microaneurysms: Early signs of DR include small, circular red lesions in the retina that are not optically concerning and often go away in three to four months.
Retinal hemorrhages: In distinct retinal layers, hemorrhages can be of varied sizes and shapes.
Lipid and protein depositions appear as yellow, irregularly shaped lesions with sharp edges (hard (lipid) exudates). This is an indication of diabetic macular edema, which often affects the macula, when it is coupled with retinal thickness. .
V. System architecture
The creation of a trustworthy and noise-tolerant approach for identifying diabetic retinopathy is the main objective of this study. Based on the severity level, diabetic retinopathy is diagnosed in this study using deep learning technology (No DR, Mild, Moderate, Severe and Proliferative DR). The photographs through a variety of processes before being shared to the network. In this work, we trained two models—our proposed model and the regression model—and compared the accuracy of the two models' predictions. Despite the fact that the regression model performed better than our proposed strategy. Figure 4 shows the suggested approach..
A. Data Source
This study's data originates from the kaggle projects Diabetic Retinopathy Detection 2015[21] and APTOS 2019 Blindness Detection [22]. Each database contains hundreds of retinal images taken in diverse settings. Each participant will receive photographs of both eyes, left and right. due to the fact that the photos come from several sources, including various cameras and camera brands. It requires a number of preprocessing steps because it has a lot of noise that has to be removed. The diabetic retinopathy linked to each image was rated on a scale of 0 to 4 as follows:
? 0 - No DR
? 1 - Mild
? 2 – Moderate
? 3 - Severe
? 4 - Proliferative DR
Figure 5 depicts retinal pictures with severity levels ranging from 0 to 1.
B. Data Preprocessing
We need to preprocess the photos in the dataset to convert them to the conventional format since they include a lot of pollution, such as out-of-focus images, images with a lot of exposure, images with extra lighting, images with a dark background, etc. The following activities are finished in the preparatory step::
Figure 6 shows the images obtained after preprocessing was carried out.
???????D??????? ???????.Modelling
We used a Simple regression and a DenseNet-201 (Densely connected CNN model) for training. In DenseNet-201, weights are communicated to the brain without the need of a top or final layer. When first simulating the network, there is no final layer. With Global Average Pooling 2D, a Dropout layer set to 0.5, and a five-node output for each class, we built this layer. Global Average Pooling 2D operates similarly to 2D pooling, with the exception that it uses the whole input block size as the pool size. A multilayer perceptron deals with overfitting. The Adam optimization method is used to optimize the weights for training this model. Using a sequential modeling approach, convolutional, dropout, dense, optimizer, and other layers are added and altered..
The deep DenseNet-201 model is depicted in figure 10 [24], which has three Dense blocks and three transition layers, including a pooling and convolution layer.
5. Implementation: The implementation was done in Python utilizing a variety of libraries for image processing and learning about the convolutional neural network generation technologies, such as DenseNet-201. The library utilized for image management (such rotation and scaling) and preprocessing was OpenCV [25]. The mathematical operations required for the implementation were carried out using NumPy [26]. Additionally, Scikit-learn [28] and TensorFlow [27] were used for quick deep learning model building and model maintenance. The model's implementation uses a GPU-capable device to benefit from easier and quicker processing.
VI. Simulation and results
We used a combination of kaggle datasets from Diabetic Retinopathy Detection 2015[21] and APTOS 2019 blindness detection [22] to train our proposed model using DenseNet-201. Pre-processing was necessary because the dataset provided a lot of noisy images. To make the fundus picture the primary emphasis, the black borders and corners of the photos were removed during pre-processing. The images were also resized to a common size of 256*256 pixels in both width and height. To remove the Gaussian noise, the images were finally blurred using a Gaussian blur.
After pre-processing, we found that the distribution of the data across the severity classes was noticeably unequal, with the majority of the data falling into class "0," i.e., no DR. We used data augmentation to address this issue, which gave us 7000 images from each severity class and balanced the data. After pre-processing and image augmentation, data were sent to the DenseNet-201 to train the model. We were able to get a training accuracy of 0.953 and a validation accuracy of 0.9034 after evaluating our model.
Numerous research have been done to automate the detection process using machine learning and deep learning techniques because the conventional approach for detecting DR is time-consuming, challenging, and expensive. In this research, we reviewed all existing methods for automatically detecting diabetic retinopathy and tried to provide our own deep learning solution for retinal early diagnosis using a DenseNet-201 model (which is a new CNN architecture, having many deep layers). The kaggle datasets were used for this inquiry. The 2015 and 2019 versions of APTOS were integrated to identify diabetic retinopathy. There was a lot of pre-processing and augmentation done in order to organize the data in a desirable way and eliminate the undesirable noise. To compare the outcomes, we used a regression model in addition to the DenseNet-201 classifier. The proposed approach was also contrasted with machine learning classifiers including SVM, DT, and KNN. The proposed model classifies the images into a broader variety of categories and has the highest accuracy of all. The regression model fared worse than our advised model, only achieving a 78 percent accuracy compared to our suggested model\'s 90 percent accuracy. A. Future Scope Techniques that not only retain all the little vital details while also enabling for successful pre-processing should be employed since there are several photographs acquired under various situations that need to go through a lot of pre-processing and augmentation. Additionally, many photos should be provided for each patient rather than just two, since this will increase the likelihood that the images will be correctly classified because more data can be gathered. The capacity to tweak hyper-parameters is continuously improving with the introduction of new neural networks and enhanced pooling techniques. Future study should look into these techniques to determine if there are any methods to boost performance in this area.
[1] International Diabetes Federation—Facts & Figures. Available online: https://www.idf.org/aboutdiabetes/what-is-diabetes/ facts-figures.html (accessed on 13 November 2020). [2] Diabetes. Available online: https://www.who.int/news-room/fact-sheets/detail/diabetes (accessed on 13 November 2020) [3] Diabetes Treatment: Using Insulin to Manage Blood Sugar—Mayo Clinic. Available online: https://www.mayoclinic.org/ diseases-conditions/diabetes/in-depth/diabetes-treatment/art-20044084 (accessed on 13 November 2020) [4] Diabetic Retinopathy Data and Statistics | National Eye Institute. Available online: https://www.nei.nih.gov/learn-about-eye- health/resources-for-health-educators/eye-health-data-and-statistics/diabetic-retinopathy-data-and-statistics (accessed on 13 November 2020) [5] Diabetes and You: Healthy Eyes Matter! 2014. Available online: https://www.cdc.gov/diabetes/ndep/pdfs/149-healthy-eyes- matter.pdf (accessed on 13 November 2020) [6] National Diabetes Statistics Report, 2020 | CDC. Available online: https://www.cdc.gov/diabetes/data/statistics-report/index. html (accessed on 13 November 2020). [7] Key Facts About Diabetic Retinopathy [Infographic] | Welch Allyn. Available online: https://www.welchallyn.com/en/ education-and-research/research-articles/key-facts-about-diabetic-retinopathy-infographic.html (accessed on 5 March 2021) [8] Islam, M.M.; Yang, H.-C.; Poly, T.N.; Jian, W.-S.; Li, Y.-C. Deep Learning Algorithms for Detection of Diabetic Retinopathy in Retinal Fundus Photographs: A Systematic Review and Meta-Analysis. Comput. Methods Programs Biomed. 2020, 191, 105320. [CrossRef [9] Hemanth, D.J.; Deperlioglu, O.; Kose, U. An enhanced diabetic retinopathy detection and classification approach using deep convolutional neural network. Neural Comput. Appl. 2020, 32, 707–721. [CrossRef] [10] Shankar, K.; Sait, A.R.W.; Gupta, D.; Lakshmanaprabu, S.K.; Khanna, A.; Pandey, H.M. Automated detection and classification of fundus diabetic retinopathy images using synergic deep learning model. Pattern Recognit. Lett. 2020, 133, 210–216. [CrossRef [11] Gayathri, S.; Gopi, V.P.; Palanisamy, P. A lightweight CNN for Diabetic Retinopathy classification from fundus images. Biomed. Signal Process. Control 2020, 62, 102115. [CrossRef] [12] Liu, H.; Yue, K.; Cheng, S.; Pan, C.; Sun, J.; Li, W. Hybrid model structure for diabetic retinopathy classification. J. Healthc. Eng. 2020, 2020, 8840174. [CrossRef]
Copyright © 2022 Syed Efath Hamid Andrabi, Mr. Ankur Gupta. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET45939
Publish Date : 2022-07-23
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here