SlideShare a Scribd company logo
2
Most read
19
Most read
23
Most read
DIABETIC RETINOPATHY
DETECTION USING DEEP
LEARNING
UNDER THE GUIDANCE OF
DR.SUJATA MALLAPUR
BY
HAFSAH KULSUM
SW22SCS003
CONTENTS
1. Abstract
2. Introduction
3. Existing System and Disadvantages
4. Proposed System and Advantages
5. Literature Survey
6. System Requirements
7. Modules
8. System architecture(Flow Chart)
9. Methodology
10.Output
11.Conclusion
12.References
ABSTRACT
 Diabetic retinopathy is a disease caused by uncontrolled chronic diabetes
and it can cause complete blindness if not timely treated. Therefore early
medical diagnosis of diabetic retinopathy and it medical cure is essential
 Manual detection of diabetic retinopathy by ophthalmologist take plenty of
time and patients need to suffer a lot at this time.
 This study proposes a machine learning method for extracting three features
like exudates, hemorrhages, and micro aneurysms and classification using
hybrid classifier which is a combination of SVM,KNN, random forest,
logistic regression, multilayer perceptron network
INTRODUCTION
 Diabetic Retinopathy is a complication that affect the eye due to the result of
high blood glucose called diabetes. It can cause vision loss and in severe
condition can lead to complete blindness.
 Early symptoms of diabetic retinopathy includes blurred vision, darker areas
of vision, eye floaters and difficulty in perceiving colours. Proper detection of
diabetic retinopathy in early stage is extremely important to prevent complete
blindness.
 Available physical tests to detect diabetic retinopathy includes pupil dilation,
visual acuity test, optical coherence tomography, etc. But they are time
consuming and patients need to suffer a lot.
FIGURE 1: (a) PDR (b) Severe NPDR (c) Moderate NPDR (d) Mild NPDR
(e) Normal Retina [7].
EXISTING SYSTEM
 Besides a binocular model for the five class DR detection task is also trained
and evaluated to further prove the effectiveness of the binocular design.
 The result shows that, on a 10% validation set, the binocular model achieves a
kappa score of 0.829 which is higher than that of existing non ensemble
model.
DISADVANTAGES
1. Classification performance is poor
2. accuracy is less
PROPOSED SYSTEM
 For a deep learning model, the most important parts that should be
focused on are data set, network architecture and training method.
 In the proposed method we are implementing hybrid classifier. That is
we are using combination of five classifiers, SVM, KNN Random
forest. Each classifier will classify the total 244 images into either
normal or abnormal image.
ADVANTAGES
 Perfect classification
 Give more accuracy
LITERATURE SURVEY
 [Saravanan, 2013] proposed an automated system for the red lesion
diabetic retinopathy detection based on microaneurysms using GMM
classifier [1].
 [Venkatalakshmi, 2011] described automated system for hard exudate
detection using sharp edge and colour highlights as two features. Methods
involved in the detection process were colour based classification, sharp
edge detection, and extraction of optic disc. [2]
SYSTEM SPECIFICATION AND DESIGN
3.1 HARDWARE CONFIGURATION
Processor : Pentium Core I5 11th
Gen
RAM : 4GB or more.
Hard Disk : 500GB or more.
Monitor : 21 inch Color Monitor
Keyboard : 102/104 Keys
Mouse : Optical Mouse
3.2 SOFTWARE CONFIGURATION
Operating System :Windows 10 /11
Front End :Python
Framework : Pycharm
MODULES
 DATASET
The database was created with images taken from publicly available retinopathy
detection datasets. The Kaggle dataset contain 1000 images From the total images
we have chosen 122 images with diabetic retinopathy and 122 normal images.
 MEDIAN FILTERING
The presence of diabetic retinopathy is based on the appearance, number, spread
and size, area of exudates, microaneurysms, and hemorrhages
 PRE-PROCESSING
In image pre-processing, to find exudates, initially image from dataset is converted
to HSV image. It is useful to extract yellow coloured exudates from RGB image
when we convert RGB to HSV.
 IMAGE SEGMENTATION
After image pre-processing, to segment exudates we have done smoothing,
masking and bit-wise AND. Smoothing is employed to remove high spatial
frequency noise from image. Image blurring is achieved by convolving the
image with a low-pass filter kernel.
 FEATURE EXTRACTION
For binary classification, here we are using 2 features, ie, number of
exudates as first parameter and number of hemorrhages and micro
aneurysms as second parameter.
 CLASSIFICATION
In the proposed method we are implementing hybrid classifier. That is we are
using combination of five classifiers, Support vector machines, K nearest
neighbours, Random forest. Each classifier will classify the total 244 images
into either normal or abnormal image.
 SVM
Support Vector Machine is a supervised machine learning algorithm which is
extensively used for both classification and regression day to day problems .It
is mostly used in classification problems rather than regression problems. In
the SVM algorithm, we will have n number of features.
 KNN: The k-nearest neighbors (KNN) algorithm is a simple and it is easy-to-
implement focused on supervised machine learning algorithm. It is mainly
used to solve both classification and regression problems KNN captures the
idea of similarity which is often called distance / proximity / closeness.
 RANDOM FOREST: Random forest implies it consists of a large number of
individual decision trees. Decision trees are drawn upside down with its root
at the top. In a decision tree, it contains condition/internal node, based on
which the tree splits into branches/ edges.
 VOTING: It is the simplest method of combining the outputs from multiple
machine learning algorithms. Initially we create two or more standalone
machine learning models with our training dataset.
The above system architecture, accepts eye image, applies pre-processing which
converts the image into gray scale and de-noises the image, then applies feature
extraction using canny edge algorithm which finds the edges of the image and
divides the image into number of parts using segmentation. Further detects
retinopathy and classifies the retinopathy using the classifiers such as Decision
tree, svm, random forest and CNN.
SYSTEM ARCHITECTURE
METHODOLOGY
CANNY EDGE ALGORITHM
The Canny edge detector is an edge detection operator that uses a multi-
stage algorithm to detect a wide range of edges in images
The Canny edge detection algorithm is composed to 5 steps:
1. Noise reduction;
2. Gradient calculation;
3. Non-maximum suppression;
4. Double threshold;
5. Edge tracking by hysteresis.
 RANDOM FOREST ALGORITHM
Step 1: Select random samples from a given data or training set.
Step 2: This algorithm will construct a decision tree for every training
data.
Step 3: Voting will take place by averaging the decision tree.
Step 4: Finally, select the most voted prediction result as the final
prediction result.
 DECISION TREE
Step-1: Begin the tree with the root node, says S, which contains the complete
dataset.
Step-2: Find the best attribute in the dataset using Attribute Selection Measure
(ASM).
Step-3: Divide the S into subsets that contains possible values for the best
attributes.
Step-4: Generate the decision tree node, which contains the best attribute.
Step-5: Recursively make new decision trees using the subsets of the dataset
created in step -3. Continue this process until a stage is reached where you
cannot further classify the nodes and called the final node as a leaf node.
SVM ALGORITHM
OUTPUT
FIGURE 2: INPUT IMAGE FIGURE 3: MEDIAN FILTERING (PREPROCESSING) FIGURE 4: FEATURE EXTRACTION
FIGURE 5: SEGMENTATION FIGURE 6: Classification FIGURE 7: Model Accuracy
CONCLUSION
 For diabetic retinopathy detection, count the number for MA occurred, count
the number of hemorrhages occurred and count the number of exudates
occurred in the image so we can decide the condition of image.
 Then features are calculated and feed to svm, decision tree , Random Forest
classifier. Voting of three classifiers are chosen as final prediction . So from the
extracted feature it directly concludes the disease grade as normal or abnormal.
So earlier detection and diagnosis of diabetic retinopathy help the patients from
blindness and also the severe effects of disease can be decreases.
REFERENCES
 Farrikh Alzami, Abdussalam, Rama Arya Megantara and
Ahmad Zainul Fanani, Diabetic Retinopathy Grade
Classification based on Fractal Analysis and Random Forest,
International Seminar on Application for Technology of
Information and Communication, 2019.
 2. Dinial Utami Nurul Qomariah, Handayani Tjandrasa and
Chastine Fatichah, Classification of Diabetic Retinopathy and
Normal Retinal Images using CNN and SVM, 12th International
Conference on Information and Communication Technology
and System, 2019.
 3. Shailesh Kumar and Basant Kumar Diabetic
Retinopathy Detection by Extracting Area and Number
of Microaneurysms from Colour Fundus Images, 5th
International Conference on Signal Processing and
Integrated Networks, 2018.
 4. Mohamed Chetoui, Moulay A Akhloufi, Mustapha
Kardoucha , Diabetic Retinopathy Detection using
Machine Learning and Texture Features, IEEE Canadian
Conference on Electrical and Computer Engineering,
2018.
THANK YOU

More Related Content

PPTX
ML edddddddddddddddddddddddddxduated detection.pptx
PDF
Diabetic Retinopathy Detection
PPTX
Retinopathy
PDF
FEATURE EXTRACTION TO DETECT AND CLASSIFY DIABETIC RETINOPATHY USING FUNDAL I...
PPTX
DIABETIC RETINOPATHY FROM FUNDUS IMAGES_VIVA VOCE_MSA.pptx
PPTX
Automatic grading of diabetic retinopathy through machine learning
PDF
Extracting Features from the fundus image using Canny edge detection method f...
PDF
An Efficient Integrated Approach for the Detection of Exudates and Diabetic M...
ML edddddddddddddddddddddddddxduated detection.pptx
Diabetic Retinopathy Detection
Retinopathy
FEATURE EXTRACTION TO DETECT AND CLASSIFY DIABETIC RETINOPATHY USING FUNDAL I...
DIABETIC RETINOPATHY FROM FUNDUS IMAGES_VIVA VOCE_MSA.pptx
Automatic grading of diabetic retinopathy through machine learning
Extracting Features from the fundus image using Canny edge detection method f...
An Efficient Integrated Approach for the Detection of Exudates and Diabetic M...

Similar to Diabetic Retinopathy using image processing (20)

PDF
IRJET- Diagnosis of Diabetic Retinopathy using Machine Learning Algorithms
PDF
Detection of Diabetic Retinopathy using Convolutional Neural Network
PDF
Detection of Diabetic Retinopathy using Convolutional Neural Network
PPTX
A presentation on "Early Blindness Detection Based on Retinal Images Using En...
PDF
IRJET- Eye Diabetic Retinopathy by using Deep Learning
PDF
IRJET -An Automatated Learning Approach for Detection of Diabetic Retinopathy...
PDF
Deep Learning Radial Basis Function Neural Networks Based Automatic Detection...
PPTX
Diabetic Retinopathy.pptx
PPTX
Diabetic Retinopathy.pptx
PDF
A REVIEW PAPER ON THE DETECTION OF DIABETIC RETINOPATHY
PPTX
DR PPT[1]2[1].pptx - Read-Only.pptx
PDF
Diabetic Retinopathy detection using Machine learning
PDF
Diabetic Retinopathy Detection System from Retinal Images
PDF
IRJET- Automatic Detection of Diabetic Retinopathy Lesions
PPTX
Determining the Severity of Diabetic Retinopathy through Analyzing Retinal Im...
PDF
EYE DISEASE IDENTIFICATION USING DEEP LEARNING
PDF
IRJET - Detection of Diabetic Retinopathy using Local Binary Pattern
PDF
Fundus Image Classification Using Two Dimensional Linear Discriminant Analysi...
PDF
Diabetic Retinopathy Detection using Neural Networking
PDF
Rapid detection of diabetic retinopathy in retinal images: a new approach usi...
IRJET- Diagnosis of Diabetic Retinopathy using Machine Learning Algorithms
Detection of Diabetic Retinopathy using Convolutional Neural Network
Detection of Diabetic Retinopathy using Convolutional Neural Network
A presentation on "Early Blindness Detection Based on Retinal Images Using En...
IRJET- Eye Diabetic Retinopathy by using Deep Learning
IRJET -An Automatated Learning Approach for Detection of Diabetic Retinopathy...
Deep Learning Radial Basis Function Neural Networks Based Automatic Detection...
Diabetic Retinopathy.pptx
Diabetic Retinopathy.pptx
A REVIEW PAPER ON THE DETECTION OF DIABETIC RETINOPATHY
DR PPT[1]2[1].pptx - Read-Only.pptx
Diabetic Retinopathy detection using Machine learning
Diabetic Retinopathy Detection System from Retinal Images
IRJET- Automatic Detection of Diabetic Retinopathy Lesions
Determining the Severity of Diabetic Retinopathy through Analyzing Retinal Im...
EYE DISEASE IDENTIFICATION USING DEEP LEARNING
IRJET - Detection of Diabetic Retinopathy using Local Binary Pattern
Fundus Image Classification Using Two Dimensional Linear Discriminant Analysi...
Diabetic Retinopathy Detection using Neural Networking
Rapid detection of diabetic retinopathy in retinal images: a new approach usi...
Ad

Recently uploaded (20)

PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Welding lecture in detail for understanding
PPTX
additive manufacturing of ss316l using mig welding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Geodesy 1.pptx...............................................
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
DOCX
573137875-Attendance-Management-System-original
PPT
Project quality management in manufacturing
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Construction Project Organization Group 2.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
composite construction of structures.pdf
PDF
PPT on Performance Review to get promotions
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Welding lecture in detail for understanding
additive manufacturing of ss316l using mig welding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Geodesy 1.pptx...............................................
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Foundation to blockchain - A guide to Blockchain Tech
573137875-Attendance-Management-System-original
Project quality management in manufacturing
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Construction Project Organization Group 2.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
composite construction of structures.pdf
PPT on Performance Review to get promotions
Internet of Things (IOT) - A guide to understanding
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Ad

Diabetic Retinopathy using image processing

  • 1. DIABETIC RETINOPATHY DETECTION USING DEEP LEARNING UNDER THE GUIDANCE OF DR.SUJATA MALLAPUR BY HAFSAH KULSUM SW22SCS003
  • 2. CONTENTS 1. Abstract 2. Introduction 3. Existing System and Disadvantages 4. Proposed System and Advantages 5. Literature Survey 6. System Requirements 7. Modules 8. System architecture(Flow Chart) 9. Methodology 10.Output 11.Conclusion 12.References
  • 3. ABSTRACT  Diabetic retinopathy is a disease caused by uncontrolled chronic diabetes and it can cause complete blindness if not timely treated. Therefore early medical diagnosis of diabetic retinopathy and it medical cure is essential  Manual detection of diabetic retinopathy by ophthalmologist take plenty of time and patients need to suffer a lot at this time.  This study proposes a machine learning method for extracting three features like exudates, hemorrhages, and micro aneurysms and classification using hybrid classifier which is a combination of SVM,KNN, random forest, logistic regression, multilayer perceptron network
  • 4. INTRODUCTION  Diabetic Retinopathy is a complication that affect the eye due to the result of high blood glucose called diabetes. It can cause vision loss and in severe condition can lead to complete blindness.  Early symptoms of diabetic retinopathy includes blurred vision, darker areas of vision, eye floaters and difficulty in perceiving colours. Proper detection of diabetic retinopathy in early stage is extremely important to prevent complete blindness.  Available physical tests to detect diabetic retinopathy includes pupil dilation, visual acuity test, optical coherence tomography, etc. But they are time consuming and patients need to suffer a lot.
  • 5. FIGURE 1: (a) PDR (b) Severe NPDR (c) Moderate NPDR (d) Mild NPDR (e) Normal Retina [7].
  • 6. EXISTING SYSTEM  Besides a binocular model for the five class DR detection task is also trained and evaluated to further prove the effectiveness of the binocular design.  The result shows that, on a 10% validation set, the binocular model achieves a kappa score of 0.829 which is higher than that of existing non ensemble model. DISADVANTAGES 1. Classification performance is poor 2. accuracy is less
  • 7. PROPOSED SYSTEM  For a deep learning model, the most important parts that should be focused on are data set, network architecture and training method.  In the proposed method we are implementing hybrid classifier. That is we are using combination of five classifiers, SVM, KNN Random forest. Each classifier will classify the total 244 images into either normal or abnormal image. ADVANTAGES  Perfect classification  Give more accuracy
  • 8. LITERATURE SURVEY  [Saravanan, 2013] proposed an automated system for the red lesion diabetic retinopathy detection based on microaneurysms using GMM classifier [1].  [Venkatalakshmi, 2011] described automated system for hard exudate detection using sharp edge and colour highlights as two features. Methods involved in the detection process were colour based classification, sharp edge detection, and extraction of optic disc. [2]
  • 9. SYSTEM SPECIFICATION AND DESIGN 3.1 HARDWARE CONFIGURATION Processor : Pentium Core I5 11th Gen RAM : 4GB or more. Hard Disk : 500GB or more. Monitor : 21 inch Color Monitor Keyboard : 102/104 Keys Mouse : Optical Mouse 3.2 SOFTWARE CONFIGURATION Operating System :Windows 10 /11 Front End :Python Framework : Pycharm
  • 10. MODULES  DATASET The database was created with images taken from publicly available retinopathy detection datasets. The Kaggle dataset contain 1000 images From the total images we have chosen 122 images with diabetic retinopathy and 122 normal images.  MEDIAN FILTERING The presence of diabetic retinopathy is based on the appearance, number, spread and size, area of exudates, microaneurysms, and hemorrhages  PRE-PROCESSING In image pre-processing, to find exudates, initially image from dataset is converted to HSV image. It is useful to extract yellow coloured exudates from RGB image when we convert RGB to HSV.
  • 11.  IMAGE SEGMENTATION After image pre-processing, to segment exudates we have done smoothing, masking and bit-wise AND. Smoothing is employed to remove high spatial frequency noise from image. Image blurring is achieved by convolving the image with a low-pass filter kernel.  FEATURE EXTRACTION For binary classification, here we are using 2 features, ie, number of exudates as first parameter and number of hemorrhages and micro aneurysms as second parameter.
  • 12.  CLASSIFICATION In the proposed method we are implementing hybrid classifier. That is we are using combination of five classifiers, Support vector machines, K nearest neighbours, Random forest. Each classifier will classify the total 244 images into either normal or abnormal image.  SVM Support Vector Machine is a supervised machine learning algorithm which is extensively used for both classification and regression day to day problems .It is mostly used in classification problems rather than regression problems. In the SVM algorithm, we will have n number of features.
  • 13.  KNN: The k-nearest neighbors (KNN) algorithm is a simple and it is easy-to- implement focused on supervised machine learning algorithm. It is mainly used to solve both classification and regression problems KNN captures the idea of similarity which is often called distance / proximity / closeness.  RANDOM FOREST: Random forest implies it consists of a large number of individual decision trees. Decision trees are drawn upside down with its root at the top. In a decision tree, it contains condition/internal node, based on which the tree splits into branches/ edges.  VOTING: It is the simplest method of combining the outputs from multiple machine learning algorithms. Initially we create two or more standalone machine learning models with our training dataset.
  • 14. The above system architecture, accepts eye image, applies pre-processing which converts the image into gray scale and de-noises the image, then applies feature extraction using canny edge algorithm which finds the edges of the image and divides the image into number of parts using segmentation. Further detects retinopathy and classifies the retinopathy using the classifiers such as Decision tree, svm, random forest and CNN. SYSTEM ARCHITECTURE
  • 15. METHODOLOGY CANNY EDGE ALGORITHM The Canny edge detector is an edge detection operator that uses a multi- stage algorithm to detect a wide range of edges in images The Canny edge detection algorithm is composed to 5 steps: 1. Noise reduction; 2. Gradient calculation; 3. Non-maximum suppression; 4. Double threshold; 5. Edge tracking by hysteresis.
  • 16.  RANDOM FOREST ALGORITHM Step 1: Select random samples from a given data or training set. Step 2: This algorithm will construct a decision tree for every training data. Step 3: Voting will take place by averaging the decision tree. Step 4: Finally, select the most voted prediction result as the final prediction result.
  • 17.  DECISION TREE Step-1: Begin the tree with the root node, says S, which contains the complete dataset. Step-2: Find the best attribute in the dataset using Attribute Selection Measure (ASM). Step-3: Divide the S into subsets that contains possible values for the best attributes. Step-4: Generate the decision tree node, which contains the best attribute. Step-5: Recursively make new decision trees using the subsets of the dataset created in step -3. Continue this process until a stage is reached where you cannot further classify the nodes and called the final node as a leaf node.
  • 19. OUTPUT FIGURE 2: INPUT IMAGE FIGURE 3: MEDIAN FILTERING (PREPROCESSING) FIGURE 4: FEATURE EXTRACTION FIGURE 5: SEGMENTATION FIGURE 6: Classification FIGURE 7: Model Accuracy
  • 20. CONCLUSION  For diabetic retinopathy detection, count the number for MA occurred, count the number of hemorrhages occurred and count the number of exudates occurred in the image so we can decide the condition of image.  Then features are calculated and feed to svm, decision tree , Random Forest classifier. Voting of three classifiers are chosen as final prediction . So from the extracted feature it directly concludes the disease grade as normal or abnormal. So earlier detection and diagnosis of diabetic retinopathy help the patients from blindness and also the severe effects of disease can be decreases.
  • 21. REFERENCES  Farrikh Alzami, Abdussalam, Rama Arya Megantara and Ahmad Zainul Fanani, Diabetic Retinopathy Grade Classification based on Fractal Analysis and Random Forest, International Seminar on Application for Technology of Information and Communication, 2019.  2. Dinial Utami Nurul Qomariah, Handayani Tjandrasa and Chastine Fatichah, Classification of Diabetic Retinopathy and Normal Retinal Images using CNN and SVM, 12th International Conference on Information and Communication Technology and System, 2019.
  • 22.  3. Shailesh Kumar and Basant Kumar Diabetic Retinopathy Detection by Extracting Area and Number of Microaneurysms from Colour Fundus Images, 5th International Conference on Signal Processing and Integrated Networks, 2018.  4. Mohamed Chetoui, Moulay A Akhloufi, Mustapha Kardoucha , Diabetic Retinopathy Detection using Machine Learning and Texture Features, IEEE Canadian Conference on Electrical and Computer Engineering, 2018.