Impact of Retinal Image Preprocessing on Diabetic Retinopathy Classification Using Prototypical Networks

Authors

  • Budi Mukhamad Mulyo Universitas Pembangunan Nasional Veteran Jawa Timur
  • Faisal Muttaqin Universitas Pembangunan Nasional Veteran Jawa Timur
  • Abi Eka Putra Wulyono UPN Veteran Jawa Timur

DOI:

https://doi.org/10.37859/coscitech.v7i1.11126
Keywords: diabetic retinopathy, prototypical network, circle crop, green channel, few-shot learning diabetic retinopathy, prototypical network, circle crop, green channel, few-shot learning

Abstract

Diabetic retinopathy is a diabetes complication that can lead to progressive retinal damage and permanent blindness. Early detection through automated fundus image classification is essential but challenged by varying image quality, background noise, and color dominance that reduces lesion visibility. Prototypical networks have demonstrated good performance in few-shot learning settings, yet specialized preprocessing is rarely explored. This study proposes a prototypical network enhanced with modified circle crop to remove irrelevant regions and enhanced green channel to improve microvascular lesion contrast. Experiments were conducted on the APTOS 2019 dataset consisting of 3,662 images, split into 2,929 training and 733 testing samples, using a 5-way 5-shot configuration. The proposed preprocessing increases accuracy from 64.53 percent to 71.35 percent and improves quadratic weighted kappa from 0.5712 to 0.6990. These results indicate that preprocessing enhances feature representation and classification performance under limited data conditions.

Downloads

Download data is not yet available.

References

R. Singh, A. Walia, J. Kaur, P. Kumar, I. Verma, and N. Rani, “Diabetic Retinopathy - Pathophysiology to Treatment: A Review,” Curr. Diabetes Rev., vol. 21, no. 3, Mar. 2025, doi: 10.2174/0115733998259940231105200251.

M. Kropp et al., “Diabetic retinopathy as the leading cause of blindness and early predictor of cascading complications—risks and mitigation,” EPMA Journal, vol. 14, no. 1, pp. 21–42, Feb. 2023, doi: 10.1007/s13167-023-00314-8.

A. Rahimah, A. C. Siregar, and M. W. Pangestika, “Prediction of Diabetes Mellitus Using the Case-Based Reasoning Method,” Jurnal CoSciTech (Computer Science and Information Technology), vol. 6, no. 3, pp. 516–522, Dec. 2025, doi: 10.37859/coscitech.v6i3.10266.

C. Mohanty et al., “Using Deep Learning Architectures for Detection and Classification of Diabetic Retinopathy,” Sensors, vol. 23, no. 12, p. 5726, Jun. 2023, doi: 10.3390/s23125726.

J. Snell, K. Swersky, and R. S. Zemel, “Prototypical Networks for Few-shot Learning,” Jun. 2017, [Online]. Available: http://arxiv.org/abs/1703.05175

A. Ouahab and O. Ben Ahmed, “ProtoMed: Prototypical networks with auxiliary regularization for few-shot medical image classification,” Image Vis. Comput., vol. 154, p. 105337, Feb. 2025, doi: 10.1016/j.imavis.2024.105337.

H. Quan, X. Li, D. Hu, T. Nan, and X. Cui, “Dual-Channel Prototype Network for Few-Shot Pathology Image Classification,” IEEE J. Biomed. Health Inform., vol. 28, no. 7, pp. 4132–4144, Jul. 2024, doi: 10.1109/JBHI.2024.3386197.

C. Suedumrong, S. Phongmoo, T. Akarajaka, and K. Leksakul, “Diabetic Retinopathy Detection Using Convolutional Neural Networks with Background Removal, and Data Augmentation,” Applied Sciences, vol. 14, no. 19, p. 8823, Sep. 2024, doi: 10.3390/app14198823.

L. Arora et al., “Ensemble deep learning and EfficientNet for accurate diagnosis of diabetic retinopathy,” Sci. Rep., vol. 14, no. 1, p. 30554, Dec. 2024, doi: 10.1038/s41598-024-81132-4.

M. Sushith, A. Sathiya, V. Kalaipoonguzhali, and V. Sathya, “A hybrid deep learning framework for early detection of diabetic retinopathy using retinal fundus images,” Sci. Rep., vol. 15, no. 1, p. 15166, Apr. 2025, doi: 10.1038/s41598-025-99309-w.

S. Karthik; Maggie; Dane, “APTOS 2019 Blindness Detection,” Kaggle. Accessed: Oct. 21, 2025. [Online]. Available: https://www.kaggle.com/competitions/aptos2019-blindness-detection

V. Singh, M. Pencina, A. J. Einstein, J. X. Liang, D. S. Berman, and P. Slomka, “Impact of train/test sample regimen on performance estimate stability of machine learning in cardiovascular imaging,” Sci. Rep., vol. 11, no. 1, p. 14490, Jul. 2021, doi: 10.1038/s41598-021-93651-5.

R. Sarki, K. Ahmed, H. Wang, Y. Zhang, J. Ma, and K. Wang, “Image Preprocessing in Classification and Identification of Diabetic Eye Diseases,” Data Sci. Eng., vol. 6, no. 4, pp. 455–471, Dec. 2021, doi: 10.1007/s41019-021-00167-z.

T. B. Nguyen-Tat, T. Q. Hung, P. T. Nam, and V. M. Ngo, “Evaluating pre-processing and deep learning methods in medical imaging: Combined effectiveness across multiple modalities,” Alexandria Engineering Journal, vol. 119, pp. 558–586, Apr. 2025, doi: 10.1016/j.aej.2025.01.090.

A.-O. Asia et al., “Detection of Diabetic Retinopathy in Retinal Fundus Images Using CNN Classification Models,” Electronics (Basel)., vol. 11, no. 17, p. 2740, Aug. 2022, doi: 10.3390/electronics11172740.

K. Oh, H. M. Kang, D. Leem, H. Lee, K. Y. Seo, and S. Yoon, “Early detection of diabetic retinopathy based on deep learning and ultra-wide-field fundus images,” Sci. Rep., vol. 11, no. 1, p. 1897, Jan. 2021, doi: 10.1038/s41598-021-81539-3.

J. E. Widyaya and S. Budi, “Pengaruh Preprocessing Terhadap Klasifikasi Diabetic Retinopathy dengan Pendekatan Transfer Learning Convolutional Neural Network,” Jurnal Teknik Informatika dan Sistem Informasi, vol. 7, no. 1, Apr. 2021, doi: 10.28932/jutisi.v7i1.3327.

M. Hayati et al., “Impact of CLAHE-based image enhancement for diabetic retinopathy classification through deep learning,” Procedia Comput. Sci., vol. 216, pp. 57–66, 2023, doi: 10.1016/j.procs.2022.12.111.

S. Rasta, M. Partovi, H. Seyedarabi, and A. Javadzadeh, “A comparative study on preprocessing techniques in diabetic retinopathy retinal images: Illumination correction and contrast enhancement,” J. Med. Signals Sens., vol. 5, no. 1, p. 40, 2015, doi: 10.4103/2228-7477.150414.

P. Macsik, J. Pavlovicova, S. Kajan, J. Goga, and V. Kurilova, “Image preprocessing‐based ensemble deep learning classification of diabetic retinopathy,” IET Image Process., vol. 18, no. 3, pp. 807–828, Feb. 2024, doi: 10.1049/ipr2.12987.

S. Masoudi et al., “Quick guide on radiology image pre-processing for deep learning applications in prostate cancer research,” Journal of Medical Imaging, vol. 8, no. 01, Jan. 2021, doi: 10.1117/1.JMI.8.1.010901.

D. P. Kingma and J. Ba, “Adam: A Method for Stochastic Optimization,” Jan. 2017, [Online]. Available: http://arxiv.org/abs/1412.6980

D. Lakens, “Calculating and reporting effect sizes to facilitate cumulative science: a practical primer for t-tests and ANOVAs,” Front. Psychol., vol. 4, 2013, doi: 10.3389/fpsyg.2013.00863.

M. J. Warrens, A. de Raadt, R. J. Bosker, and H. A. L. Kiers, “Weighted Kappa for Interobserver Agreement and Missing Data,” Mach. Learn. Knowl. Extr., vol. 7, no. 1, p. 18, Feb. 2025, doi: 10.3390/make7010018.

M. C. Cieslak, A. M. Castelfranco, V. Roncalli, P. H. Lenz, and D. K. Hartline, “t-Distributed Stochastic Neighbor Embedding (t-SNE): A tool for eco-physiological transcriptomic analysis,” Mar. Genomics, vol. 51, p. 100723, Jun. 2020, doi: 10.1016/j.margen.2019.100723.

R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization,” in 2017 IEEE International Conference on Computer Vision (ICCV), IEEE, Oct. 2017, pp. 618–626. doi: 10.1109/ICCV.2017.74.

Downloads

Published

2026-04-19

How to Cite

Mulyo, B. M., Muttaqin, F., & Wulyono, A. E. P. (2026). Impact of Retinal Image Preprocessing on Diabetic Retinopathy Classification Using Prototypical Networks. Jurnal CoSciTech (Computer Science and Information Technology), 7(1), 30–39. https://doi.org/10.37859/coscitech.v7i1.11126