Deep Feature Extraction and Classification of Diabetic Retinopathy Images using a Hybrid Approach
Received: 10 January 2025 | Revised: 31 January 2025 | Accepted: 5 February 2025 | Online: 7 March 2025
Corresponding author: Dimple Saproo
Abstract
Hybrid approaches have improved sensitivity, accuracy, and specificity in Diabetic Retinopathy (DR) classification. Deep feature sets provide a more holistic analysis of the retinal images, resulting in better detection of premature signs of DR. Hybrid strategies for classifying DR images combine the strengths of extracted deep features using pre-trained networks and Machine Learning (ML)-based classifiers to improve classification accuracy, robustness, and efficiency. Perfect pre-trained networks VGG19, ResNet101, and Shuffle Net were considered in this work. The networks were trained using a transfer learning approach, the pre-trained networks were chosen according to their classification accuracy in conjunction with the Softmax layer. Enhanced characteristics were extracted from the pre-trained networks' last layer and were fed to the machine learning-based classifier. The feature reduction and selection methods are essential for accomplishing the desired classification accuracy. ML-based kNN classifier was used to classify DR and a PCA-based feature reduction approach was utilized to obtain optimized deep feature sets. The extensive experiments revealed that ResNet101-based deep feature extraction and the kNN classifier delivered enhanced classification accuracy. It is concluded that combining deep features and the ML-based classifier employing a hybrid method enhances accuracy, robustness, and efficiency. The hybrid approach is a powerful tool for the premature identification of DR abnormalities. The PCA-kNN classification algorithm, which employs features obtained from the ResNet101, attained a peak classification accuracy of 98.9%.
Keywords:
kNN, correlation-based feature selection, PCA, deep features, optimal feature setDownloads
References
V. Gulshan et al., "Development and Validation of a Deep Learning Algorithm for Detection of Diabetic Retinopathy in Retinal Fundus Photographs," JAMA, vol. 316, no. 22, pp. 2402–2410, Dec. 2016.
T. Chandrakumar and R. Kathirvel, "Classifying Diabetic Retinopathy using Deep Learning Architecture," International Journal of Engineering Research, vol. 5, no. 6, pp. 19–24, 2016.
H. Takahashi, H. Tampo, Y. Arai, Y. Inoue, and H. Kawashima, "Applying artificial intelligence to disease staging: Deep learning for improved staging of diabetic retinopathy," PLOS ONE, vol. 12, no. 6, May 2017, Art. no. e0179790.
S. Dutta, B. Manideep, S. M. Basha, R. Caytiles, and N. C. S. N. Iyenger, "Classification of Diabetic Retinopathy Images by Using Deep Learning Models," International Journal of Grid and Distributed Computing, vol. 11, no. 1, pp. 89–106, Jan. 2018.
P. Junjun, Y. Zhifan, S. Dong, and Q. Hong, "Diabetic Retinopathy Detection Based on Deep Convolutional Neural Networks for Localization of Discriminative Regions," in International Conference on Virtual Reality and Visualization, Qingdao, China, Oct. 2018, pp. 46–52.
F. Arcadu, F. Benmansour, A. Maunz, J. Willis, Z. Haskova, and M. Prunotto, "Deep learning algorithm predicts diabetic retinopathy progression in individual patients," npj Digital Medicine, vol. 2, Sep. 2019, Art. no. 92.
S. H. Kassani, P. H. Kassani, R. Khazaeinezhad, M. J. Wesolowski, K. A. Schneider, and R. Deters, "Diabetic Retinopathy Classification Using a Modified Xception Architecture," in IEEE International Symposium on Signal Processing and Information Technology, Ajman, United Arab Emirates, Dec. 2019, pp. 1–6.
V. Alcala-Rmz, V. Maeda-Gutierrez, L. A. Zanella-Calzada, A. Valladares-Salgado, J. M. Celaya-Padilla, and C. E. Galvan-Tejada, "Convolutional Neural Network for Classification of Diabetic Retinopathy Grade," in Mexican International Conference on Artificial Intelligence, Mexico City, Mexico, Oct. 2020, pp. 104–118.
S. Sheikh and U. Qidwai, "Smartphone-Based Diabetic Retinopathy Severity Classification Using Convolution Neural Networks," in SAI Intelligent Systems Conference, Amsterdam, Netherlands, Sep. 2021, pp. 469–481.
C. Bhardwaj, S. Jain, and M. Sood, "Diabetic retinopathy severity grading employing quadrant-based Inception-V3 convolution neural network architecture," International Journal of Imaging Systems and Technology, vol. 31, no. 2, pp. 592–608, 2021.
A. Bora et al., "Predicting the risk of developing diabetic retinopathy using deep learning," The Lancet Digital Health, vol. 3, no. 1, pp. e10–e19, Jan. 2021.
J. D. Bodapati, N. S. Shaik, and V. Naralasetti, "Composite deep neural network with gated-attention mechanism for diabetic retinopathy severity classification," Journal of Ambient Intelligence and Humanized Computing, vol. 12, no. 10, pp. 9825–9839, Oct. 2021.
A. Ayala, T. Ortiz Figueroa, B. Fernandes, and F. Cruz, "Diabetic Retinopathy Improved Detection Using Deep Learning," Applied Sciences, vol. 11, no. 24, Jan. 2021, Art. no. 11970.
C. Bhardwaj, S. Jain, and M. Sood, "Deep Learning–Based Diabetic Retinopathy Severity Grading System Employing Quadrant Ensemble Model," Journal of Digital Imaging, vol. 34, no. 2, pp. 440–457, Apr. 2021.
P.-N. Chen, C.-C. Lee, C.-M. Liang, S.-I. Pao, K.-H. Huang, and K.-F. Lin, "General deep learning model for detecting diabetic retinopathy," BMC Bioinformatics, vol. 22, no. 5, Nov. 2021, Art. no. 84.
S.-L. Yi, X.-L. Yang, T.-W. Wang, F.-R. She, X. Xiong, and J.-F. He, "Diabetic Retinopathy Diagnosis Based on RA-EfficientNet," Applied Sciences, vol. 11, no. 22, Jan. 2021, Art. no. 11035.
Z. Khan et al., "Diabetic Retinopathy Detection Using VGG-NIN a Deep Learning Architecture," IEEE Access, vol. 9, pp. 61408–61416, Jan. 2021.
S. Das, K. Kharbanda, S. M, R. Raman, and E. D. D, "Deep learning architecture based on segmented fundus image features for classification of diabetic retinopathy," Biomedical Signal Processing and Control, vol. 68, Jul. 2021, Art. no. 102600.
M. M. Butt, D. N. F. A. Iskandar, S. E. Abdelhamid, G. Latif, and R. Alghazo, "Diabetic Retinopathy Detection from Fundus Images of the Eye Using Hybrid Deep Learning Features," Diagnostics, vol. 12, no. 7, Jul. 2022, Art. no. 1607.
E. AbdelMaksoud, S. Barakat, and M. Elmogy, "A computer-aided diagnosis system for detecting various diabetic retinopathy grades based on a hybrid deep learning technique," Medical & Biological Engineering & Computing, vol. 60, no. 7, pp. 2015–2038, Jul. 2022.
Z. Mungloo-Dilmohamud, M. Heenaye-Mamode Khan, K. Jhumka, B. N. Beedassy, N. Z. Mungloo, and C. Peña-Reyes, "Balancing Data through Data Augmentation Improves the Generality of Transfer Learning for Diabetic Retinopathy Classification," Applied Sciences, vol. 12, no. 11, Jan. 2022, Art. no. 5363.
S. S. Mondal, N. Mandal, K. K. Singh, A. Singh, and I. Izonin, "EDLDR: An Ensemble Deep Learning Technique for Detection and Classification of Diabetic Retinopathy," Diagnostics, vol. 13, no. 1, Jan. 2023, Art. no. 124.
G. Alwakid, W. Gouda, and M. Humayun, "Enhancement of Diabetic Retinopathy Prognostication Using Deep Learning, CLAHE, and ESRGAN," Diagnostics, vol. 13, no. 14, Jan. 2023, Art. no. 2375.
S. Sunkari et al., "A refined ResNet18 architecture with Swish activation function for Diabetic Retinopathy classification," Biomedical Signal Processing and Control, vol. 88, Feb. 2024, Art. no. 105630.
P. Macsik, J. Pavlovicova, S. Kajan, J. Goga, and V. Kurilova, "Image preprocessing-based ensemble deep learning classification of diabetic retinopathy," IET Image Processing, vol. 18, no. 3, pp. 807–828, 2024.
H. Shakibania, S. Raoufi, B. Pourafkham, H. Khotanlou, and M. Mansoorizadeh, "Dual branch deep learning network for detection and stage grading of diabetic retinopathy," Biomedical Signal Processing and Control, vol. 93, Jul. 2024, Art. no. 106168.
D. Saproo, A. N. Mahajan, and S. Narwal, "Deep learning based binary classification of diabetic retinopathy images using transfer learning approach," Journal of Diabetes & Metabolic Disorders, vol. 23, no. 2, pp. 2289–2314, Dec. 2024.
N. Yadav, R. Dass, and J. Virmani, "Despeckling filters applied to thyroid ultrasound images: a comparative analysis," Multimedia Tools and Applications, vol. 81, no. 6, pp. 8905–8937, Mar. 2022.
N. Yadav, R. Dass, and J. Virmani, "Deep learning-based CAD system design for thyroid tumor characterization using ultrasound images," Multimedia Tools and Applications, vol. 83, no. 14, pp. 43071–43113, Apr. 2024.
N. Yadav, R. Dass, and J. Virmani, "A systematic review of machine learning based thyroid tumor characterisation using ultrasonographic images," Journal of Ultrasound, vol. 27, no. 2, pp. 209–224, Jun. 2024.
R. Dass and N. Yadav, "Image Quality Assessment Parameters for Despeckling Filters," Procedia Computer Science, vol. 167, pp. 2382–2392, Jan. 2020.
N. Yadav, R. Dass, and J. Virmani, "Machine learning-based CAD system for thyroid tumour characterisation using ultrasound images," International Journal of Medical Engineering and Informatics, vol. 16, no. 6, pp. 547–559, Jan. 2024.
"Diabetic Retinopathy Dataset." https://www.kaggle.com/datasets/sachinkumar413/diabetic-retinopathy-dataset.
P. Porwal et al., "Indian Diabetic Retinopathy Image Dataset (IDRiD): A Database for Diabetic Retinopathy Screening Research," Data, vol. 3, no. 3, Sep. 2018, Art. no. 25.
"APTOS-2019 dataset." https://www.kaggle.com/datasets/mariaherrerot/aptos2019.
Downloads
How to Cite
License
Copyright (c) 2025 Dimple Saproo, Aparna N. Mahajan, Seema Narwal, Niranjan Yadav

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.