Lesion-Aware Binary Diabetic Retinopathy Detection in an Imbalanced Fundus Image Dataset

Authors

  • Hafsah Mahmood Capital University of Science and Technology
  • Nadeem Anjum Capital University of Science and Technology

Keywords:

Diabetic retinopathy, retinal fundus images, convolutional neural networks, data augmentation, adaptive preprocessing

Abstract

Diabetic retinopathy (DR) is one of the leading causes of vision impairment in the world. Early diagnosis is needed to prevent permanent vision loss. Despite being shown to perform well on benchmark DR datasets, class imbalance and loss of smaller lesion features in preprocessing often lead to performance degradation of convolutional neural networks (CNNs) on real-world, imbalanced, multi-disease datasets. Precise lesion identification is particularly important is particularly important in multi-disease datasets, in which DR-related lesions can be small and easily overlooked, since it has a direct impact on sensitivity and clinical reliability. This work uses the imbalanced multi-disease Retinal Fundus Multi-disease Image Dataset (RFMiD) to evaluate a baseline CNN pipeline, originally designed on the balanced Messidor dataset. We propose two targeted augmentation techniques: rotation and photometric transformations (contrast adjustment, sharpening, color shifting), along with an improved preprocessing pipeline that incorporates Difference of Gaussian (DoG) and Dilated DoG (DDoG) to address decreased sensitivity and improve lesion visibility. The proposed lesion-aware preprocessing approach was tested using six different pretrained CNN architectures, such as AlexNet, ResNet-18, VGGNet-S, VGGNet-16, VGGNet-19, and GoogleNet. The application of rotation augmentation along with the proposed preprocessing pipeline resulted in considerable improvements in the performance metrics for each network architecture, where sensitivity increased to 95.16% (VGGNet-19), showing an increase of 13.7%. At the same time, the increase in accuracy (91.72%) and AUC (0.9605) values also increased. Moreover, the results obtained through photometric augmentation and proposed preprocessing showed significant improvement in the robustness of the models, with maximum sensitivity recorded as 91.94% (VGGNet-16), increased by 8.9%, and AUC scores increasing to 0.9646 (VGGNet-19). The PSNR value of 31.26dB and SSIM of 0.88 further confirm the efficacy of the proposed preprocessing pipeline. In summary, lesion-aware image preprocessing alongside rotations and photometric data augmentation methods has significantly increased the accuracy of various pretrained CNN models in diagnosing diabetic retinopathy.

Author Biography

Nadeem Anjum, Capital University of Science and Technology

Head of the Department of Software Engineering at CUST

References

R. Abbasi et al., “Diabetic retinopathy detection using adaptive deep convolutional neural networks on fundus images,” Sci. Reports 2025 151, vol. 15, no. 1, pp. 24647-, Jul. 2025, doi: 10.1038/s41598-025-09394-0.

R. Kumar, V. Kohli, R. K. Singh, and R. K. Ratnesh, “Multi-label Deep Learning Framework for Early Detection of Diabetic Retinopathy Diseases,” IEEE Int. Conf. Next Gener. Inf. Syst. Eng. NGISE 2025, 2025, doi: 10.1109/NGISE64126.2025.11085237.

A. R. Majeed, W. A. Awan, N. Ul Hassan, M. A. Asghar, and M. J. Khan, “Retinal Fundus Image Refinement with Contrast Limited Adaptive Histogram Equalization, Noise Filtration and Intensity Adjustment,” Proc. - 2020 23rd IEEE Int. Multi-Topic Conf. INMIC 2020, Nov. 2020, doi: 10.1109/INMIC50486.2020.9318104.

Muhammad Hassaan Ashraf, Muhammad Nabeel Mehmood, “HIRD-Net: An Explainable CNN-Based Framework with Attention Mechanism for Diabetic Retinopathy Diagnosis Using CLAHE-D-DoG Enhanced Fundus Images,” Life, vol. 15, no. 9, p. 1411, 2025, doi: https://doi.org/10.3390/life15091411.

J. R. Balashunmugam, M. M. R. Sindha, A. Makkie, and U. M. Pandiyan, “Image enhancement techniques for fundus images - A review,” AIP Conf. Proc., vol. 2857, no. 1, Aug. 2023, doi: 10.1063/5.0164304.

Chaichana Suedumrong, Suriya Phongmoo, “Diabetic Retinopathy Detection Using Convolutional Neural Networks with Background Removal, and Data Augmentation,” Appl. Sci., vol. 14, no. 19, p. 8823, 2024, doi: https://doi.org/10.3390/app14198823.

Israa Y. Abushawish, Sudipta Modak, “Deep Learning in Automatic Diabetic Retinopathy Detection and Grading Systems: A Comprehensive Survey and Comparison of Methods,” IEEE Access, 2024, doi: 10.1109/ACCESS.2024.3415617.

Zubair Khan, Fiaz Gul Khan, “Diabetic Retinopathy Detection Using VGG-NIN a Deep Learning Architecture,” IEEE Access, 2021, doi: 10.1109/ACCESS.2021.3074422.

Chun Ling Lin, Kun Chi Wu, “Development of revised ResNet-50 for diabetic retinopathy detection,” BMC Bioinformatics, vol. 24, no. 1, p. 157, 2023, [Online]. Available: https://pubmed.ncbi.nlm.nih.gov/37076790/

S. Das, A. Lasker, M. Ghosh, S. M. Obaidullah, and K. Roy, “A Deep Learning-based Approach for Detecting Diabetic Retinopathy in Retina Images,” Internet Things-Based Mach. Learn. Healthc. Technol. Appl., pp. 85–95, Jan. 2024, doi: 10.1201/9781003391456-5/DEEP-LEARNING-BASED-APPROACH-DETECTING-DIABETIC-RETINOPATHY-RETINA-IMAGES-SAHANA-DAS-ASIFUZZAMAN-LASKER-MRIDUL-GHOSH-SK-MD-OBAIDULLAH-KAUSHIK-ROY.

H. Naz and N. J. Ahuja, “A novel contrast enhancement technique for diabetic retinal image pre-processing and classification,” Int. Ophthalmol., vol. 45, no. 1, Dec. 2024, doi: 10.1007/S10792-024-03377-2.

R. Alaguselvi and K. Murugan, “Quantitative analysis of Fundus Image Enhancement in the Detection of Diabetic Retinopathy Using Deep Convolutional Neural Network,” IETE J. Res., vol. 69, no. 9, pp. 6315–6325, Sep. 2023, doi: 10.1080/03772063.2021.1997356.

C. Shorten and T. M. Khoshgoftaar, “A survey on Image Data Augmentation for Deep Learning,” J. Big Data, vol. 6, no. 1, pp. 1–48, Dec. 2019, doi: 10.1186/S40537-019-0197-0/FIGURES/33.

E. Goceri, “Medical image data augmentation: techniques, comparisons and interpretations,” Artif. Intell. Rev., vol. 56, no. 11, pp. 12561–12605, Nov. 2023, doi: 10.1007/s10462-023-10453-z.

F. M.Javed Mehedi Shamrat, Rashiduzzaman Shakil, “An advanced deep neural network for fundus image analysis and enhancing diabetic retinopathy detection,” Healthc. Anal., vol. 5, p. 100303, 2024, doi: https://doi.org/10.1016/j.health.2024.100303.

Downloads

Published

2026-05-19

How to Cite

Mahmood, H., & Anjum, N. (2026). Lesion-Aware Binary Diabetic Retinopathy Detection in an Imbalanced Fundus Image Dataset. International Journal of Innovations in Science & Technology, 8(3), 674–693. Retrieved from https://journal.50sea.com/index.php/IJIST/article/view/1806