An Open-Source Deep Learning Framework for Automated Corneal Segmentation in Anterior Segment Optical Coherence Tomography With Cross-Device External Validation

PURPOSE: To develop a deep learning model-Cornea nnU-Net Extractor (CUNEX)-for full-thickness corneal segmentation of anterior segment optical coherence tomography (AS-OCT) images and evaluate its utility in artificial intelligence research. METHODS: CUNEX was developed and evaluated using our Moorfields AS-OCT dataset of 194,599 scans from 37,499 patients, from which 100 normal, 100 keratoconus, and 100 Fuchs endothelial corneal dystrophy eyes were selected for model training. External validation was performed without fine-tuning using AS-OCT images acquired on 4 different OCT devices: Casia SS-1000, Anterion, Visante, and a ultrahigh-resolution custom build. CUNEX was benchmarked against 2 established models, CorneaNet and ScLNet. We then evaluated whether CUNEX-based segmentation influenced downstream deep learning classification of age, sex, and disease staging. RESULTS: On the internal MS-39 validation set, CUNEX achieved Dice similarity coefficient (DSC) and intersection over union (IoU) scores of 94% to 95% and 88% to 91% across healthy, keratoconus, and Fuchs endothelial corneal dystrophy eyes, comparable to ScLNet (within 3%) and superior to CorneaNet (8%-35% lower). On external datasets, CUNEX was the only model to produce anatomically meaningful segmentations across devices (DSC and IoU >70%), whereas ScLNet and CorneaNet showed substantial performance degradation (DSC and IoU <20%). Segmentation minimally affected classification accuracy except for sex prediction, where accuracy dropped from 81% to 68%, suggesting sex-related features may lie outside the cornea. CONCLUSIONS: CUNEX delivers the first open-source AS-OCT corneal segmentation model evaluated across multiple independent OCT platforms. It offers a reproducible foundation for integrating segmentation into clinical and artificial intelligence research workflows. The code and pretrained weights are available at https://github.com/lkandakji/CUNEX.

Authors

Institutions

Publication Details

Journal
Cornea
Published
2026-04-10
DOI
https://doi.org/10.1097/ico.0000000000004130
Primary Topic
Corneal surgery and disorders
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Open-Source Deep Learning Framework for Automated Corneal Segmentation in Anterior Segment Optical Coherence Tomography With Cross-Device External Validation

Stephen J. Tuft, Siyin Liu, Bruce Allan, Ismail Moghul et al.
Cornea
Corneal surgery and disorders
article

An Open-Source Deep Learning Framework for Automated Corneal Segmentation in Anterior Segment Optical Coherence Tomography With Cross-Device External Validation

Stephen J. Tuft, Siyin Liu, Bruce Allan, Ismail Moghul, Shafi Balal, Nikolas Pontikos, Lynn Kandakji, Daniel Gore
article en

Abstract

PURPOSE: To develop a deep learning model-Cornea nnU-Net Extractor (CUNEX)-for full-thickness corneal segmentation of anterior segment optical coherence tomography (AS-OCT) images and evaluate its utility in artificial intelligence research. METHODS: CUNEX was developed and evaluated using our Moorfields AS-OCT dataset of 194,599 scans from 37,499 patients, from which 100 normal, 100 keratoconus, and 100 Fuchs endothelial corneal dystrophy eyes were selected for model training. External validation was performed without fine-tuning using AS-OCT images acquired on 4 different OCT devices: Casia SS-1000, Anterion, Visante, and a ultrahigh-resolution custom build. CUNEX was benchmarked against 2 established models, CorneaNet and ScLNet. We then evaluated whether CUNEX-based segmentation influenced downstream deep learning classification of age, sex, and disease staging. RESULTS: On the internal MS-39 validation set, CUNEX achieved Dice similarity coefficient (DSC) and intersection over union (IoU) scores of 94% to 95% and 88% to 91% across healthy, keratoconus, and Fuchs endothelial corneal dystrophy eyes, comparable to ScLNet (within 3%) and superior to CorneaNet (8%-35% lower). On external datasets, CUNEX was the only model to produce anatomically meaningful segmentations across devices (DSC and IoU >70%), whereas ScLNet and CorneaNet showed substantial performance degradation (DSC and IoU <20%). Segmentation minimally affected classification accuracy except for sex prediction, where accuracy dropped from 81% to 68%, suggesting sex-related features may lie outside the cornea. CONCLUSIONS: CUNEX delivers the first open-source AS-OCT corneal segmentation model evaluated across multiple independent OCT platforms. It offers a reproducible foundation for integrating segmentation into clinical and artificial intelligence research workflows. The code and pretrained weights are available at https://github.com/lkandakji/CUNEX.

Cornea
Moorfields Eye Hospital NHS Foundation Trust (GB), Moorfields Eye Hospital (GB), University College London (GB)
Frost Foundation, Amazon Web Services, National Institute for Health and Care Research, Fight for Sight UK, Moorfields Eye Charity, National Institute for Health Research Biomedical Research Centre at Moorfields Eye Hospital NHS Foundation Trust and UCL Institute of Ophthalmology
Openalex Percentile: Top 18%
Corneal surgery and disorders
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.