Prediction of Diabetic Retinopathy using Deep Learning with Preprocessing


  • S Balaji Bharath Institute of Higher Education and Research
  • B Karthik Bharath Institute of Higher Education and Research
  • D Gokulakrishnan SRM Institute of Science and Technology image/svg+xml



Diabetic Retinopathy, Convolutional Neural Network, Classification, Pre-processing, Filters


INTRODUCTION: When Diabetic Retinopathy (DR) is not identified promptly; it frequently results in sight impairment. To properly diagnose and treat DR, preprocessing of picture methods and precise prediction models are essential. With the help of numerous well-liked filters and a Deep CNN (Convolutional Neural Network) model, the comprehensive method for DR image preparation and prognosis presented in this research is described. Using the filters that focus boundaries and contours in the ocular pictures is the first step in the initial processing stage. This procedure tries to find anomalies linked to DR. By the usage of filters, the excellence of pictures can be developed and minimize disturbances, preserving critical information. The Deep CNN algorithm has been trained to generate forecasts on the cleaned retinal pictures following the phase of preprocessing. The filters efficiently eliminate interference without sacrificing vital data. Convolutional type layers, pooling type layers, and fully associated layers are used in the CNN framework, which was created especially for image categorization tasks, to acquire data and understand the relationships associated with DR.

OBJECTIVES: Using image preprocessing techniques such as the Sobel, Wiener, Gaussian, and non-local mean filters is a promising approach for DR analysis. Then, predicting using a CNN completes the approach. These preprocessing filters enhance the images and prepare them for further examination. The pre-processed images are fed into a CNN model. The model extracts significant information from the images by identifying complex patterns. DR or classification may be predicted by the CNN model through training on a labeled dataset.

METHODS: The Method Preprocessing is employed for enhancing the clarity and difference of retina fundus picture by removing noise and fluctuation. The preprocessing stage is utilized for the normalization of the pictures and non-uniform brightness adjustment in addition to contrast augmentation and noise mitigation to remove noises and improve the rate of precision of the subsequent processing stages.

RESULTS: To improve image quality and reduce noise, preprocessing techniques including Sobel, Wiener, Gaussian, and non-local mean filters are frequently employed in image processing jobs. For a particular task, the non-local mean filter produces superior results; for enhanced performance, it may be advantageous to combine it with a CNN. Before supplying the processed images to the CNN for prediction, the non-local mean filter can assist reduce noise and improve image details.

CONCLUSION: A promising method for DR analysis entails the use of image preprocessing methods such as the Sobel, Wiener, Gaussian, and non-local mean filters, followed by prediction using a CNN. These preprocessing filters improve the photos and get them ready for analysis. After being pre-processed, the photos are sent into a CNN model, which uses its capacity to discover intricate patterns to draw out important elements from the images. The CNN model may predict DR or classification by training it on a labeled dataset. The development of computer-aided diagnosis systems for DR is facilitated by the integration of CNN prediction with image preprocessing filters. This strategy may increase the effectiveness of healthcare workers, boost patient outcomes, and lessen the burden of DR.


Download data is not yet available.


Kishor A, Chakraborty C. Early and accurate prediction of diabetics based on FCBF feature selection and SMOTE. International Journal of System Assurance Engineering and Management. 2021; 3(12):1–9. DOI:

Sosale B, Aravind SR, Murthy H, Narayana S, Sharma U, Gowda SGV, Naveenam M. Simple Mobile-based Artificial intelligence algorithm in the detection of diabetic Retinopathy (SMART) study. BMJ Open Diabetes Research & Care. 2020; 8(1):1–6. DOI:

Bhatti UA, Huang M, Wu D, Zhang Y, Mehmood A, Han H. Recommendation system using feature extraction and pattern recognition in clinical care systems. Enterprise Information Systems.2018;13(3):329–351. DOI:

Goh JKH, Cheung CY, Sim SS, Tan PC, Tan GSW, Wong TY. Retinal imaging techniques for diabetic retinopathy screening. Journal of Diabetes Science and Technology. 2016;10(2):282–294. DOI:

Leena Nesamani S, Nirmala S, Josphine M, S Jacinth Salome J. Deep Learning-Based Mammogram Classification for Breast Cancer Diagnosis Using Multi-Level Support Vector Machine. Springer Lecture Notes in Electrical Engineering.2021;700(2): 371-383. DOI:

BilalSun G, Mazhar S. Diabetic Retinopathy detection using Weighted Filters and Classification using CNN. International Conference on Intelligent Technologies (CONIT). 2021;13(25): 1-6. DOI:

Rubina S, Khandakar A, Hua W, Yanchun Z, Jiangang M, Kate W. Image Preprocessing in Classification and Identification of Diabetic Eye Diseases. Springer Nature, Data Science and Engineering. 2021;6(4): 455–471. DOI:

Hanan A, Hosni M. Diabetic Retinopathy Progression Prediction Using a Deep Learning Model. Axioms.2021;11(21) :614-654. DOI:

Jaakko S, Joel J, Jyri Kivinen, Lauri Turunen, Esa Jaanio, Kustaa Hietala, Kimm oKaski. Deep Learning Fundus Image Analysis for Diabetic Retinopathy and Macular Edema Grading. Scientific Reports. 2019;9(3):34-52. DOI:

Posham U, Sweta B. Deep Learning and Medical Image Processing Techniques for Diabetic Retinopathy. A Survey of Applications Challenges, and Future Trends. 2023; 12(27): 28-39.

Hemalatha G, Sumathi C P. Preprocessing techniques of facial image with Median and Gabor filters. International Conference on Information Communication and Embedded Systems (ICICES). 2016; 32(45): 1-6. DOI:

Dilip S, Shruti N, Pooja K. Diabetic Retinal Fundus Images: Preprocessing and Feature Extraction for Early Detection of Diabetic Retinopathy. Biomedical and Pharmacology Journal. 2017; 10(2): 4-12. DOI:

Abdüssamed E, Necaattin B. An Effective Method for Detecting and Classifying Diabetic Retinopathy Lesions Based on Deep Learning. Automated and Semi-Automated Computational Intelligence Techniques for Medical Data Assessment. Hindawi Computational and Mathematical Methods in Medicine. 2021; 20(23): 5-14.

Shraddha T, Krishna K. Automatic Detection of Exudates in Retinal Fundus Images using Differential Morphological Profile. International Journal of Engineering and Technology. 2013; 5(3): 0975-1024.

Swathi C, Anoop B K, Anto S, Perumal S. Comparison of Different Image Preprocessing Methods Used for Retinal Fundus Images. Proceedings - IEEE Conference on Emerging Devices and Smart Systems. 2017; 8(16): 3-14. DOI:

Chen J. New insights into the noise reduction Wiener filter. IEEE/ACM Transactions on Audio, Speech, and Language Processing. 2006; 14(2): 1218–1234. DOI:

Buades A, Coll B, Morel J M. A non-local algorithm for image denoising. IEEE computer society conference on computer vision and pattern recognition. 2005; 2(4): 60–65. DOI:

Abirami, P, Nirmala S, Rajavarman V. Diagnosis of Tuberculosis Using Deep Learning Models. Mathematical Statistician and Engineering Applications. 2022; 71(4): 786-793.

Maheshan C M, Prasanna Kumar H. Performance of image pre-processing filters for noise removal in transformer oil images at different temperatures. Springer SN Applied Sciences. 2019: 2(3): 67-74. DOI:

Sastry SS, Kumari TV, Rao CN, Mallika K, Lakshminarayana S, Tiong HS. Transition temperatures of thermotropic liquid crystals from the local binary gray level cooccurrence matrix. Advances in Condensed Matter Physics. 2012; 2(8): 1–9. DOI:

Mohanaiah S, GuruKumar, Mohanaiah P, Sathyanarayana P, GuruKumar L. Image texture feature extraction using GLCM approach. International Journal of Scientific and Research Publications. 2013; 3(5): 290–294.

Lakshmana R, Shynu GP, S Kadry, Robertas D. Detection of diabetic retinopathy using a fusion of textural and ridgelet features of retinal images and sequential minimal optimization classifier. PeerJ Computer Science.2021; 7(2): 7-18. DOI:

Yasashvini R, Vergin R S M, Rukmani P, Graceline J S. Diabetic Retinopathy Classification Using CNN and Hybrid Deep Convolutional Neural Networks.2022; 14(9): 19-32. DOI:




How to Cite

Balaji S, Karthik B, Gokulakrishnan D. Prediction of Diabetic Retinopathy using Deep Learning with Preprocessing. EAI Endorsed Trans Perv Health Tech [Internet]. 2024 Feb. 22 [cited 2024 Apr. 25];10. Available from: