International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 07 Issue: 03 | Mar 2020
p-ISSN: 2395-0072
www.irjet.net
Early Percentage of Blindness Detection in a Diabetic Person using CNN and Fuzzy Logic Poonam Kumari1, Dipti Kadam2, Yashraj Singh3, Prof. Satish Kuchiwale 1,2,3Smt. Indira Gandhi College of Engineering, Navi Mumbai, Maharashtra, India 4Smt. Indira Gandhi College of Engineering, Navi Mumbai, Maharashtra, India
---------------------------------------------------------------------***----------------------------------------------------------------------
Abstract - Diabetic retinopathy is the most common cause
of vision loss among people with diabetes and a leading cause of vision loss among working-age adults .Early detection of this condition is critical for good prognosis. In this we will use convolution neural network (CNN) on color fundus images for the recognition task of diabetic retinopathy staging .Fuzzy logic will be used to give the percentage of the blindness. Key Words: Diabetic Retinopathy, Convolutional Neural Network, Fuzzy Logic.
1. INTRODUCTION The ophthalmology is one of the branches of the medicine, which is the combination of application of information technologies and artificial intelligence. Diabetes is a chronic condition which is associated with the high level of sugar in the affected person’s blood. Human body’s pancreas produce some Insulin which help to reduce the glucose level in the blood. The reduction or absence of this Insulin in the body, or inability to use this Insulin causes diabetes. Every age group of people gets affected by this disease. A variety of diseases can affect the eye and the symptoms from them can be shown in various different ways. One of these diseases is diabetic retinopathy which causes specific changes on the eye retina. It is characterized with different stages (nonproliferative and proliferative) and different anomalies in each of them which affect the blood vessels in the retina. The screening of diabetic patients enables early detection and appropriate treatment. But DR can cause blindness if not treated on time.
The condition can lead to blindness if left untreated. Early blindness due to diabetic retinopathy (DR) is usually preventable with routine checks and effective management of the underlying diabetes. Diabetic retinopathy generally starts without any noticeable change in vision. However, an ophthalmologist, or eye specialist, can detect the signs. It is crucial for people with diabetes to have an eye examination at least once or twice annually, or when recommended by a physician. Non-proliferative diabetic retinopathy (NPDR): This is the milder form of diabetic retinopathy and is usually symptomless. Proliferative diabetic retinopathy (PDR): PDR is the most advanced stage of diabetic retinopathy and refers to the formation of new, abnormal blood vessels in the
|
3. Analysis Our study is based on convolutional neural networks and various retinal images.
3.1 Objectives 1. 2. 3. 4. 5.
The project’s objective is to build an web application which will detect early blindness at initial stage during diabetes. Eyes will be scanned and help to predict and discover the blindness. Accurate percentage of blindness will be shown. It is easy to handle. The application will give results quite early
3.2 Scope 1. 2. 3.
The application will be based on python. The concept of CNN is used. Target audience is limited to people who are detected with diabetes.
3.3 Challenges
2. Problem statement
© 2020, IRJET
retina. In this we will use convolutional neural network (CNN) on color fundus images for the recognition task of diabetic retinopathy staging .Fuzzy logic will be used to give the percentage of the blindness The project’s objective is to build an web application which will detect early blindness at initial stage during diabetes.
Impact Factor value: 7.34
|
1. 2.
The dataset must contain large number of retinal images so that the system can be trained. The system should be able to handle large dataset.
ISO 9001:2008 Certified Journal
|
Page 5460
International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 07 Issue: 03 | Mar 2020
p-ISSN: 2395-0072
www.irjet.net
4. Design 3.
Flowchart
subregions (usually with a 2x2 size) and keeps only the maximum values. Fully connected layer takes all neurons from the previous layers are connected to the next layers. The CNN will classify the label according to the features from the convolutional layers and reduced with the pooling layer.
Fig. 2.Cnn Layers
4.2. Diabetic Retinopathy Prediction 4.2.1. Data Preprocessing The images were captured using different variants of fundus cameras, each having their unique recording method, due to which the exposure and lighting varied. In addition, images were also too large to be trained with CNN directly. The following pre-processing steps were followed: 1. 2. 3.
Fig.1. Flowchart
4. Algorithm
4.2.2. Network Training
4.1 CNN A CNN uses filters on the raw pixel of an image to learn details pattern compare to global pattern with a traditional neural net. To construct a CNN, we will define:
Deep learning is the process of training a neural network to perform a given task. The deep learning algorithm (CNN) computes DR severity by analyzing the pixel intensities over each channel separately. 1.
1.
2.
A convolutional layer will Apply n number of filters to the feature map. After the convolution, you need to use a reLU activation function to add non-linearity to the network. Pooling layer will reduce the dimensionality of the feature map to prevent overfitting and improve the computation speed. Max pooling is the conventional technique, which divides the feature maps into
© 2020, IRJET
Cropping the image – The images will be cropped by distinguishing the foreground from background. Resizing the image – The images will be resized to 256x256. Normalizing the channels – ZMUV (Zero Mean Unit Variance) was performed on each channel.
|
Impact Factor value: 7.34
|
2. 3.
Input - holds the raw pixel values of the image. Here, an image having the width of 448, height of 448, and three color channels R, G, B (depth = 3). Convolution – computes a dot product between the filter weights and a small region they are connected to in the input volume. Max pool – performs a down sampling operation along the width and height. A max pool of 3x3 will obtain the maximum of the local region of size 3x3.
ISO 9001:2008 Certified Journal
|
Page 5461
4. 5. 6.
International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 07 Issue: 03 | Mar 2020
p-ISSN: 2395-0072
www.irjet.net
Dropout – used to prevent overfitting. Nodes were randomly dropped with a probability, p= 0.5. Fully connected – each neuron in this layer will be connected to all the inputs from the previous layer. Feature pool – It is an activation function which is the max of the inputs. In our case, we use a pool size of 2.
4.2.3. Fuzzy Logic The proposed algorithm consists of following six steps. INPUT- Fuzzy set of no, mild, moderate and severe DR are taken as input. OUTPUT- Fuzzy set DM Step 1: Input crisp values of the diabetic retinopathy. Step 2: Set the triangular membership function for the fuzzy number. Step 3: Build the fuzzy numbers. Step 4: Execute Fuzzy inference method. Step 4.1: Input the rules and calculate the matching degree of rule with ‘OR’ fuzzy disjunction for fuzzy input set Step 4.2: Calculate the aggregation of the fired rules for fuzzy output set DM. Step 5: De-fuzzify into the crisp values. Step 6: Present the knowledge in the form of human nature language. Our model was train and converged to an accuracy of about 80%. We took around 35000 images to completely train the model.
Fig. 4.2.Output Page
5. Conclusion This study helps in the detection of diabetic retinopathy at an early stage more accurately with the help of fuzzy logic we come to know the exact percentage. Also using advanced architectures like inception v3 will boost up the accuracy and help predicting with minimized True negatives. This work will be useful for technical persons and researchers who need to use this ongoing research in this area. This can be used in hospitals, labs in future
REFERENCES [1]
[2]
[3]
Fig. 3. Model Accuracy
[4]
This is how the web application looks like. [5]
[6]
Fig. 4.1.Upload image page [7]
© 2020, IRJET
|
Impact Factor value: 7.34
|
Mobeen-ur-Rehman, Khan, S. H., Abbas, Z.,& Danish Rizvi, S. M. (2019). Classification of Diabetic Retinopathy Images Based on Customised CNN Architecture. 2019 Amity International Conference on Artificial Intelligence (AICAI). doi:10.1109/aicai.2019.8701231 Wang, X., Lu, Y., Wang, Y., & Chen, W.-B. (2018). Diabetic Retinopathy Stage Classification Using Convolutional Neural Networks. 2018 IEEE Herliana, A., Arifin, T., Susanti, S., & Hikmah, A. B. (2018). Feature Selection of Diabetic Retinopathy Disease Using Particle Swarm Optimization and Neural Network. 2018 6th International Conference on Cyber and IT Service Management (CITSM). Kapur, A. D. Harries, K. Lonnroth, P. Wilson, and L. S. Sulistyowati, “Diabetes and tuberculosis co-epidemic: the bali declaration,” The lancet Diabetes & endocrinology, vol. 4, no. 1, pp. 8–10, 2016. Tuttolomondo, C. Maida, and A. Pinto, “Diabetic foot syndrome as a possible cardiovascular marker in diabetic patients,” Journal of diabetes research, vol. 2015, 2015. O. Faust, R. Acharya, E. Y.-K. Ng, K.-H. Ng, and J. S. Suri, “Algorithms for the automated detection of diabetic retinopathy using digital fundus images: a review,” Journal of medical systems, vol. 36, no. 1, pp. 145– 157, 2012. T. A. Soomro, J. Gao, M. A. Khan, T. M. Khan, and M. Paul, “Role of image contrast enhancement technique for ophthalmologist as diagnostic tool for diabetic
ISO 9001:2008 Certified Journal
|
Page 5462
International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 07 Issue: 03 | Mar 2020
p-ISSN: 2395-0072
www.irjet.net
retinopathy,” in Digital Image Computing: Techniques and Applications (DICTA), 2016 International Conference on. IEEE, 2016, pp. 1–8. [8] M. ur Rehman, Z. Abbas, S. H. Khan, S. H. Ghani et al., “Diabetic retinopathy fundus image classification using discrete wavelet trans-form,” in 2018 2nd International Conference on Engineering Innovation (ICEI). IEEE, 2018, pp. 75–80. [9] A.Sopharak, B.Uyyanonvara, S. Barman et al., “Automatic microa-neurysm detection from non-dilated diabetic retinopathy. [10] T.Rakshitha, D. Devaraj, and S. P. Kumar, “Comparative study of imaging transforms on diabetic retinopathy images,” in Recent Trends in Electronics, Information & Communication Technology (RTEICT), IEEE International Conference on. IEEE, 2016, pp. 118–122.
© 2020, IRJET
|
Impact Factor value: 7.34
|
ISO 9001:2008 Certified Journal
|
Page 5463