A Hybrid Attention-Based ML–DL Framework with Uncertainty Quantification for Automated Segmentation of Cotton Wool Spots and Major Conjunctiviti
DOI:
https://doi.org/10.22399/ijcesen.4891Keywords:
cotton wool spots, conjunctiva nevus, major conjunctivitis, U-Net++, swin/ViTAbstract
Human day to day activities and air pollution are the major cause for eye diseases which troubles from infant to old age persons. The ratio between the Ophthalmologists [3] and the number of patients suffering from eye diseases are increasing day by day, this leads technology to develop automatic technique for detection of eye diseases. In this paper a novel eye image segmentation technique has been discussed using AIML and deep learning algorithms, the proposed method is customized by deep learning U-Net++, CNN and Monte-Carlo Dropouts [1,2], and is built to segment CWS [4], lesions and enhances feature extraction in color fundus image. The architecture comprises of encoder and decoder with depth layer and various resolutions which are able to extract low and high level grained characteristics. A deep learning model is constructed for segmentation of conjunctiva nevus and major conjunctivitis by transformer Encoder (Swin/ViT) [6], Attention-U-Net++ Decoder using conjunctiva images or digital eye images. The segmentation includes diseases like cotton wool spots, conjunctiva nevus and major conjunctivitis using conjunctiva images and fundus images. Data augmentation is considered to ensure reliable results and to avoid over fitting of the model by increasing generalization capability. The segmentation model achieved a accuracy of about 96.32% and a dice coefficient of 88.60% in lesions segmentation for fundus images. The segmentation model for conjunctiva images provide test accuracy of 82.40% with a specificity of 94.55%.
References
[1] Aadil Qamar, M. (2025). Artificial Intelligence in Diagnosing Conjunctivitis – A Step towards Smarter Eye Care. International Journal of Clinical Studies and Medical Case Reports, 52(5). https://doi.org/10.46998/ijcmcr.2025.52.001300 Artificial Intelligence Applications in Ophthalmology. (2025). JMA Journal, 8(1), 66–75. https://doi.org/10.31662/jmaj.2024-0139
[2] Bawa, R. K., & Koul, A. (n.d.). 3 Automated detection of conjunctivitis using convolutional neural network.
frai-08-1579375. (n.d.).
[3] Gunay, M., Kucukoglu, I., Goceri, E., Danisman, T., & Alturjman, F. (2016a). Automated detection of adenoviral conjunctivitis disease from facial images using machine learning. Proceedings - 2015 IEEE 14th International Conference on Machine Learning and Applications, ICMLA 2015, 1204–1209. https://doi.org/10.1109/ICMLA.2015.232
[4] Gunay, M., Kucukoglu, I., Goceri, E., Danisman, T., & Alturjman, F. (2016b). Automated detection of adenoviral conjunctivitis disease from facial images using machine learning. Proceedings - 2015 IEEE 14th International Conference on Machine Learning and Applications, ICMLA 2015, 1204–1209. https://doi.org/10.1109/ICMLA.2015.232
[5] Marouf, A. al, Mottalib, M. M., Ridi, S. S., Jafarullah, O., Rokne, J., & Alhajj, R. (2025). Eye-XAI: an explainable artificial intelligence approach for eye disease detection using symptom analysis. BMC Medical Informatics and Decision Making, 25(1). https://doi.org/10.1186/s12911-025-03253-8
[6] Nusair, O., Asadigandomani, H., Farrokhpour, H., Moosaie, F., Bibak-Bejandi, Z., Razavi, A., Daneshvar, K., & Soleimani, M. (2025). Clinical Applications of Artificial Intelligence in Corneal Diseases. In Vision (Switzerland) (Vol. 9, Issue 3). Multidisciplinary Digital Publishing Institute (MDPI). https://doi.org/10.3390/vision9030071
[7] Umamaheswari, E., Devi V, K., Sruthakeerthi, B., Bacanin, N., & Mathur, T. (2024). System and method to diagnose conjunctivitis in the eye of a user. In Heliyon (Vol. 10, Issue 17). Elsevier Ltd. https://doi.org/10.1016/j.heliyon.2024.e36248
[8] Wong, D., Ng, Y., Eppenberger, L. S., Cherecheanu, A. P., Anghelache, A., Toma, E., Coroleuca, R., Garcia-Feijoo, J., Garhöfer, G., & Schmetterer, L. (2025). Toward automated assessment of conjunctival hyperemia: A semisupervised artificial intelligence approach. Annals of the New York Academy of Sciences, 1551(1), 201–209. https://doi.org/10.1111/nyas.70009
[9] Al, P. S. (2020). 5986 www.etasr.com Saeed: A Machine Learning based Approach for Segmenting Retinal Nerve Images using Artificial … A Machine Learning based Approach for Segmenting Retinal Nerve Images using Artificial Neural Networks Alotaibi Najm Saeed. In Technology & Applied Science Research (Vol. 10, Issue 4). www.etasr.com
[10] Bali, J., & Bali, O. (2021). Artificial intelligence in ophthalmology and healthcare: An updated review of the techniques in use. In Indian Journal of Ophthalmology (Vol. 69, Issue 1, pp. 8–13). Wolters Kluwer Medknow Publications. https://doi.org/10.4103/ijo.IJO_1848_19
[11] Biswas, A., & Banik, R. (n.d.). RESEARCH ARTICLE Advancements in Fundus Image Analysis: A Comprehensive Method of AI-Based Classification and Segmentation Technique. Artificial Intelligence and Applications Yyyy, XX, 1–5. https://doi.org/10.47852/bonview42022106
[12] Cengil, E. (2024a). Multi-Region Detection of eye Conjunctiva Images Using DNCNN and YOLOv8 Algorithms. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, 13(4), 1181–1193. https://doi.org/10.17798/bitlisfen.1539250
[13] Cervantes, Jair, Cervantes, Jared, García-Lamont, F., Yee-Rendon, A., Cabrera, J. E., & Jalili, L. D. (2023). A comprehensive survey on segmentation techniques for retinal vessel segmentation. Neurocomputing, 556. https://doi.org/10.1016/j.neucom.2023.126626
[14] Chandra Joshi, R., Kumar Sharma, A., & Kishore Dutta, M. (2024). VisionDeep-AI: Deep learning-based retinal blood vessels segmentation and multi-class classification framework for eye diagnosis. Biomedical Signal Processing and Control, 94. https://doi.org/10.1016/j.bspc.2024.106273
[15] Flores-Fuentes, W., Herrera-Chavez, A. I., Rodríguez-Martínez, E. A., Montiel-Ross, O. H., García-Gallegos, J. C., Rodríguez-Quiñonez, J. C., Sergiyenko, O. Y., Hernández-Balbuena, D., Ochoa de la Paz, L. D., & Velo-Silvestre, A. A. (2025). Artificial Intelligence-Powered Retinal Fundus Image Evaluation and Synthesis for Ocular Disease Diagnosis and Prevention. Cureus Journal of Computer Science. https://doi.org/10.7759/s44389-025-03317-w
frai-8-1579375. (n.d.).
[16] Gandal, J., Ayadi, W., Farhat, Y., Metkewar, P. S., Bhat, S. A., & Rather, A. A. (2025). A Novel Method for Viral Conjunctivitis Detection using CNN-Based Image Analysis. In International Journal of Statistics in Medical Research (Vol. 14).
[17] Grzybowski, A., Jin, K., Zhou, J., Pan, X., Wang, M., Ye, J., & Wong, T. Y. (2024). Retina Fundus Photograph-Based Artificial Intelligence Algorithms in Medicine: A Systematic Review. In Ophthalmology and Therapy (Vol. 13, Issue 8, pp. 2125–2149). Adis. https://doi.org/10.1007/s40123-024-00981-4
[18] Jeong, Y., Hong, Y. J., & Han, J. H. (2022). Review of Machine Learning Applications Using Retinal Fundus Images. In Diagnostics (Vol. 12, Issue 1). Multidisciplinary Digital Publishing Institute (MDPI). https://doi.org/10.3390/diagnostics12010134
[19] Jin, K., Huang, X., Zhou, J., Li, Y., Yan, Y., Sun, Y., Zhang, Q., Wang, Y., & Ye, J. (2022). FIVES: A Fundus Image Dataset for Artificial Intelligence based Vessel Segmentation. Scientific Data, 9(1). https://doi.org/10.1038/s41597-022-01564-3
[20] Li, P., Tao, J., Yuan, Q., Zhang, R., & Gao, P. (2025). Research progress in deep learning-based fundus image analysis for the diagnosis and prediction of hypertension-related diseases. In Frontiers in Cell and Developmental Biology (Vol. 13). Frontiers Media SA. https://doi.org/10.3389/fcell.2025.1608994
[21] Shen, Z., Jiang, X., & Huang, X. (2023). Deep Learning-based Interpretable Detection Method for Fundus Diseases: Diagnosis and Information Mining of Diseases based on Fundus Photography Images. ACM International Conference Proceeding Series, 305–309. https://doi.org/10.1145/3592686.3592741
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 International Journal of Computational and Experimental Science and Engineering

This work is licensed under a Creative Commons Attribution 4.0 International License.