journal article·2025-05-06Open access

Boundary-Aware Transformer for Optic Cup and Disc Segmentation in Fundus Images

Soohyun Wang, Byoungkug Kim, Doo-Seop Eom

Applied Sciences· Volume 15· Issue 9

Abstract

Segmentation of the Optic Disc (OD) and Optic Cup (OC) boundaries in fundus images is a critical step for early glaucoma diagnosis, but accurate segmentation is challenging due to low boundary contrast and significant anatomical variability. To address these challenges, this study proposes a novel segmentation framework that integrates structure-preserving data augmentation, Boundary-aware Transformer Attention (BAT), and Geometry-aware Loss. We enhance data diversity while preserving vascular and tissue structures through truncated Gaussian-based sampling and colormap transformations. BAT strengthens boundary recognition by globally learning the inclusion relationship between the OD and OC within the skip connection paths of U-Net. Additionally, Geometry-aware Loss, which combines the normalized Hausdorff Distance with the Dice Loss, reduces fine-grained boundary errors and improves boundary precision. The proposed model outperforms existing state-of-the-art models across five public datasets—DRIONS-DB, Drishti-GS, REFUGE, G1020, and ORIGA—and achieves Dice scores of 0.9127 on Drishti-GS and 0.9014 on REFUGE for OC segmentation. For joint segmentation of the OD and OC, it attains high Dice scores of 0.9892 on REFUGE, 0.9782 on G1020, and 0.9879 on ORIGA. Ablation studies validate the independent contributions of each component and demonstrate their synergistic effect when combined. Furthermore, the proposed model more accurately captures the relative size and spatial alignment of the OD and OC and produces smooth and consistent boundary predictions in clinically significant regions such as the region of interest (ROI). These results support the clinical applicability of the proposed method in medical image analysis tasks requiring precise, boundary-focused segmentation.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Retinal Imaging and Analysis · Medical Imaging and Analysis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

AI Development Team, Sensorway, 140 Tongil-ro, Deogyang-gu, Goyang-si 10594, Republic of Korea

Division of Computer Science and Engineering, Sahmyook University, 815 Hwarang-ro, Nowon-gu, Seoul 01795, Republic of Korea

Institute of Convergence Science, Korea University, 145 Anam-ro, Seongbuk-gu, Seoul 02841, Republic of Korea

References (31)

Show source-provided references
1. Vascular pathogenesis of normal-tension glaucoma: A possible pathogenetic factor, other than intraocular pressure, of glaucomatous optic neuropathy10.1016/S1350-9462(97)00009-8 ↗
2. Wang, S., Kim, B., Kang, J., and Eom, D.-S. (2024). Precision Diagnosis of Glaucoma with VLLM Ensemble Deep Learning. Appl. Sci., 14.10.3390/app14114588 ↗
3. Ronneberger, O., Fischer, P., and Brox, T. (2015, January 5–9). U-Net: Convolutional Networks for Biomedical Image Segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI), Munich, Germany.10.1007/978-3-319-24574-4_28 ↗
4. Oktay, O., Schlemper, J., Folgoc, L.L., Lee, M., Heinrich, M., Misawa, K., Mori, K., McDonagh, S., Hammerla, N.Y., and Kainz, B. (2018). Attention U-Net: Learning Where to Look for the Pancreas. arXiv.
5. A pneumonia outbreak associated with a new coronavirus of probable bat origin10.1038/s41586-020-2012-7 ↗
6. Long, J., Shelhamer, E., and Darrell, T. (2015, January 7–12). Fully Convolutional Networks for Semantic Segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA.10.1109/CVPR.2015.7298965 ↗
7. Glaucoma Detection Using Entropy Sampling and Ensemble Learning for Automatic Optic Cup and Disc Segmentation10.1016/j.compmedimag.2016.07.012 ↗
8. Optic Disc and Cup Segmentation Methods for Glaucoma Detection with Modification of U-Net Convolutional Neural Network10.1134/S1054661817030269 ↗
9. Phosphatidylinositol 4-kinase B is required for the ciliogenesis of zebrafish otic vesicle10.1016/j.jgg.2020.07.007 ↗
10. GDCSeg-Net: General Optic Disc and Cup Segmentation Network for Multi-Device Fundus Images10.1364/BOE.434841 ↗
11. CE-Net: Context Encoder Network for 2D Medical Image Segmentation10.1109/TMI.2019.2903562 ↗
12. TAC-UNet: Transformer-Assisted Convolutional Neural Network for Medical Image Segmentation10.21037/qims-24-1229 ↗
13. Heidari, M., Kazerouni, A., Soltany, M., Azad, R., Aghdam, E.K., Cohen-Adad, J., and Merhof, D. (2023, January 2–7). HiFormer: Hierarchical Multi-scale Representations Using Transformers for Medical Image Segmentation Supplementary Material. Proceedings of the 2023 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA.10.1109/WACV56688.2023.00614 ↗
14. Chen, J., Lu, Y., Yu, Q., Luo, X., Adeli, E., Wang, Y., Lu, L., Yuille, A.L., and Zhou, Y. (2021). TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation. arXiv.
15. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An Image is Worth 16×16 Words: Transformers for Image Recognition at Scale. arXiv.
16. Huang, Z., Wang, X., Huang, L., Huang, C., Wei, Y., and Liu, W. (November, January 27). CCNet: Criss-Cross Attention for Semantic Segmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Republic of Korea.
17. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021, January 11–17). Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows. Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada.10.1109/ICCV48922.2021.00986 ↗
18. Chen, L.C., Zhu, Y., Papandreou, G., Schroff, F., and Adam, H. (2018, January 8–14). Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_49 ↗
19. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014). Generative Adversarial Networks. arXiv.
20. Kingma, D.P., and Welling, M. (2013). Auto-Encoding Variational Bayes. arXiv.
21. Optic Disk Detection in Fundus Image Based on Structured Learning10.1109/JBHI.2017.2723678 ↗
22. Localization and Segmentation of Optic Disc in Retinal Images Using Circular Hough Transform and Grow-Cut Algorithm10.7717/peerj.2003 ↗
23. Fast Optic Disc Segmentation in Retina Using Polar Transform10.1109/ACCESS.2017.2723320 ↗
24. Yi, Y., Jiang, Y., Zhou, B., Zhang, N., Dai, J., Huang, X., Zeng, Q., and Zhou, W. (2023). C2FTFNet: Coarse-to-Fine Transformer Network for Joint Optic Disc and Cup Segmentation. Comput. Biol. Med., 164.10.1016/j.compbiomed.2023.107215 ↗
25. Joshi, A., and Sharma, K.K. (2022). Graph Deep Network for Optic Disc and Optic Cup Segmentation for Glaucoma Disease Using Retinal Imaging. Comput. Biol. Med., 148.10.1007/s13246-022-01154-y ↗
26. Bhattacharya, R., Hussain, R., Chatterjee, A., Paul, D., Chatterjee, S., and Dey, D. (2023). PY-net: Rethinking Segmentation Frameworks with Dense Pyramidal Operations for Optic Disc and Cup Segmentation from Retinal Fundus Images. Biomed. Signal Process. Control., 85.10.1016/j.bspc.2023.104895 ↗
27. Vangaveti, V., Kumar, M.P., and Mitra, K. (2024, January 20–23). Glaucoma Identification Using Convolutional Neural Networks Ensemble for Optic Disc and Cup Segmentation. Proceedings of the IEEE International Conference on Image Processing (ICIP), Singapore.
28. Refuge Challenge: A Unified Framework for Evaluating Automated Methods for Glaucoma Assessment from Fundus Photographs10.1016/j.media.2019.101570 ↗
29. Liu, B., Pan, D., and Song, H. (2021). Joint Optic Disc and Cup Segmentation Based on Densely Connected Depthwise Separable Convolution Deep Network. BMC Med. Imaging, 21.10.1186/s12880-020-00528-6 ↗
30. Zhou, W., Ji, J., Jiang, Y., Wang, J., Qi, Q., and Yi, Y. (2023). EARDS: EfficientNet and Attention-Based Residual Depthwise Separable Convolution for Joint OD and OC Segmentation. Front. Neurosci., 17.10.3389/fnins.2023.1139181 ↗
31. Almubarak, H., Bazi, Y., and Alajlan, N. (2020). Two-Stage Mask-RCNN Approach for Detecting and Segmenting the Optic Nerve Head, Optic Disc, and Optic Cup in Fundus Images. Appl. Sci., 10.10.3390/app10113833 ↗