Skip to Content
DiagnosticsDiagnostics
  • Article
  • Open Access

1 December 2026

31 Pages

Deep Learning Segmentation of Corneal Layers in Anterior Segment OCT: Fuzzy Kappa Reliability and Layer-Specific Biomarkers for Keratoconus Detection

,
,
,
,
and
1
Department of Biostatistics, Faculty of Medicine, Erciyes University, 38030 Kayseri, Türkiye
2
Quality and Strategy Development Center, Kayseri University, 38280 Kayseri, Türkiye
3
Department of Biostatistics, Faculty of Medicine, Sakarya University, 54290 Sakarya, Türkiye
4
Department of Ophthalmology, Faculty of Medicine, Erciyes University, 38030 Kayseri, Türkiye

Abstract

Background/Objectives: Clinical anterior segment optical coherence tomography (AS-OCT) software reports total corneal thickness and epithelial thickness; it does not separate out Bowman’s layer or the Descemet–endothelium complex. In this study, we developed a deep learning pipeline that segments the corneal layers in routine swept-source AS-OCT sections, compared its reliability with that of clinicians and its measurements with those of the device software, and tested whether layer-resolved biomarkers add to standard tomographic biomarkers in keratoconus detection. Methods: A U-Net that segments the anterior tear-film band, epithelium, Bowman’s layer, stroma and Descemet–endothelium complex was locked before the cohort analyses. Agreement with three ophthalmologists was measured with Cohen’s κ and spatially tolerant (fuzzy) κ. Sections exported without refraction correction were corrected by ray tracing. Forty-nine predefined biomarkers (standard tomographic, layer × ring-zone thickness and composite indices) were used in gradient-boosted decision trees, tested with leave-one-person-out cross-validation in the development set (83 persons, 165 eyes) and then, without retraining, tested in a person-disjoint set from the same centre (independent set; 97 persons, 189 eyes). The refraction correction was introduced after the classification errors in this set had been reviewed; its evaluation is therefore an internal assessment in a single centre with separate participants. Results: In layer segmentation, the model’s agreement with clinicians (fuzzy κ 0.960) was slightly above the agreement of clinicians with one another (fuzzy κ 0.928). Layer-wise agreement was lowest for Bowman’s layer (fuzzy κ 0.844). Total corneal thickness showed close agreement with the device software (104 eyes; bias within ±1.5 µm). Twenty-three biomarkers remained significant after person-clustered testing with false discovery rate correction. The full model reached an area under the receiver operating characteristic curve (AUC) of 0.903 in the development set and 0.962 in the independent set. The AUC gain from adding layer × ring-zone thicknesses to the standard biomarkers had a 95% confidence interval that excluded zero only in the independent set (+0.027; +0.001 to +0.059; not adjusted for multiple comparisons). In this set, the intervals included zero when only wide-format eyes (exported with refraction correction) were analysed and in the comparison with the standard pachymetric and keratometric parameters alone. Conclusions: Layer-resolved AS-OCT segmentation, including Bowman’s layer and the Descemet–endothelium complex, agrees with clinicians at the level of their agreement with one another, and the measurements derived from it are anatomically coherent. The added value of layer-resolved biomarkers over standard tomographic biomarkers was small and should be regarded as preliminary. Diagnostic performance was achieved predominantly in manifest keratoconus. External validation across devices and evaluation in subclinical disease are required.

1. Introduction

Keratoconus is a progressive non-inflammatory corneal ectasia. Regional thinning of the stroma and forward protrusion distort the corneal surface and reduce vision [1]. The pooled prevalence is approximately one in a thousand and is markedly higher in some populations [2]. Untreated eyes steepen measurably within one year; progression is fastest in the youngest patients and in the steepest corneas [3]. Corneal cross-linking halts progression but reverses established steepening only to a limited extent [4]. The value of a diagnostic test therefore depends on how early and how reliably it distinguishes an ectatic cornea from a normal one.
In routine practice, this distinction relies on the shape of the corneal surfaces. Consensus criteria evaluate abnormal steepening of the anterior and/or posterior corneal surface together with the distribution of corneal thickness [5]. The ABCD grading system was developed because grading based on anterior curvature alone is anatomically incomplete [6]. The limit of surface-based diagnosis is known: in eyes whose fellow eye has keratoconus, ectasia cannot be adequately detected by tomography alone [7]; a sensitivity of 80.2% and a specificity of 78.5% have been reported for the Belin–Ambrósio tomographic criteria [8]. Measurement precision also declines as the disease advances: thinnest pachymetry (corneal thickness) and keratometry (corneal curvature) are less repeatable in thin and advanced cones [9].
The cornea is not a single tissue, and its layers do not change together in keratoconus. The epithelial thickness map shows thinning over the cone and a ring of thickening around it [10]. Because the epithelium and stroma change differently, total pachymetry merges two separate signals into a single number [11]. The epithelium remodels in response to the curvature of the underlying stromal surface and can mask stromal irregularity from anterior surface topography [10,12]; this compensatory change may contribute to reduced sensitivity of anterior surface-based tests in early disease. Epithelial thickness can be mapped with optical coherence tomography (OCT) [13]; epithelial abnormalities are also found in topographically normal eyes [14]. The epithelium is not the only informative layer. Regional thinning of Bowman’s layer distinguishes keratoconus [15]; combining epithelial and Bowman profiles increases discrimination [16]; layer-resolved thickness mapping reveals processes that differ by stage and by layer [17].
Anterior segment optical coherence tomography (AS-OCT) makes this anatomy visible in routine practice. AS-OCT is a non-contact method widely used in corneal assessment [18]. The swept-source device used in this study measures corneal thickness and keratometry in healthy eyes with intraclass correlation coefficients above 0.98 [19] and produces repeatable epithelial thickness maps in keratoconic corneas [20]. However, the clinician receives a limited, fixed set of measurements chosen by the manufacturer. The standard clinical output does not provide automated, layer-by-layer and region-specific measurements from each section.
Artificial intelligence has long been used in keratoconus detection; however, it has mostly been applied not to segmented anatomy but to Scheimpflug or Placido data and colour-coded summary maps [21]. Deep networks can separate the corneal layers in OCT sections [22]; the network in that study, like the Bowman’s layer thickness maps used in keratoconus [15,16], was developed with research-grade ultra-high-resolution OCT, which is not available in routine practice. A recent open-source framework has subjected corneal segmentation to cross-device external validation; however, it segments the cornea not layer by layer but as a single full-thickness region [23]. A large meta-analysis of diagnostic deep learning has emphasised that limited independent validation may make reported accuracy appear higher than it is [24]. A layer-resolved pipeline must therefore satisfy two conditions together: the segmentation must be accurate enough to make the measurements meaningful, and the diagnostic model built on these measurements must be evaluated in a way that does not make it look better than it is. Unlike architecture-benchmarking studies, the present work primarily evaluates the reliability of layer-resolved segmentation on routine clinical AS-OCT, the agreement of the derived measurements with the device software and their incremental diagnostic information; it does not seek to rank neural-network architectures.
The aim of this study was to develop a layer-resolved measurement pipeline for routine swept-source AS-OCT sections and to evaluate it in four consecutive stages, each of which depends on the previous one. (1) Labelling reliability: Three ophthalmologists labelled a common image set, and their agreement was measured with Cohen’s κ, which counts every displaced pixel as a disagreement, and with a spatially tolerant (fuzzy) κ, which counts small boundary shifts as partial agreement. This coefficient, developed for comparing categorical maps, is adapted here to corneal OCT. (2) Segmentation: A U-Net that segments four corneal layers and the anterior tear-film band was trained and locked (fixed, with no later change), and its agreement with the clinicians was compared, as that of an additional rater, with the agreement of the clinicians with one another. (3) Measurement: The locked masks were converted into layer and ring-zone thickness and curvature measurements, and total thickness and keratometry, which the device also reports, were compared with those of the device software. (4) Diagnostic value: In total, 49 biomarkers defined before the cohort analysis, including an epithelial remodelling index that expresses the contrast between the epithelium at the apex and that of the whole section [10], were used to test whether layer × ring-zone thicknesses and composite indices add discrimination for keratoconus to the standard tomographic biomarkers (pachymetry, keratometry and the position of the thinnest point). The classifier was evaluated with leave-one-person-out cross-validation in a development set and then, without retraining and with the threshold unchanged, in a person-disjoint independent set. The study was not designed to detect early or subclinical keratoconus, to propose a new segmentation architecture or to compare image-based classifiers. We chose U-Net as an established biomedical image-segmentation architecture to provide a consistent segmentation method for these evaluations, rather than as a candidate for a claim of architectural superiority. The segmentation, measurement and classification steps were combined in a research web application (CorneApp). CorneApp is presented as a research prototype, not as a clinically validated diagnostic device.

2. Materials and Methods

2.1. Study Design and Ethics

This single-centre retrospective study was conducted at a tertiary ophthalmology centre (Department of Ophthalmology, Erciyes University, Kayseri, Türkiye). The analysis followed a sequential, locked chain: (i) manual layer segmentation and a multi-rater reliability sub-study; (ii) training and locking of the deep learning segmentation network; (iii) automated layer measurement, with refraction correction of the sections exported without it, and computation of the biomarkers; (iv) keratoconus classification with person-level cross-validation; (v) evaluation in the person-disjoint independent set (Figure 1A). Steps (i), (ii) and (iii) correspond to the first three stages of the aim (Section 1), and steps (iv) and (v) to the fourth. The study was approved by the Erciyes University Health Sciences Research Ethics Committee (5 February 2025, decision no. 2025/42) and was conducted in accordance with the principles of the Declaration of Helsinki; informed consent was not sought because of the retrospective design. Persons were represented by codes in all outputs. Additional methodological details and supplementary analyses are provided in the Supplementary Materials (Tables S1–S11 and Figures S1 and S2).
Figure 1. (A) Locked analysis chain. (B) Participant and image flow in the four partially overlapping samples; the overlaps between the samples are given in Section 2.2. KC, keratoconus; H, healthy.

2.2. Participants and Data Sets

Keratoconus was diagnosed by a single corneal specialist (M.U.) on the basis of clinical examination and Scheimpflug–Placido corneal topography (Sirius; CSO, Florence, Italy) [25]. The diagnosis was based on a maximum keratometry (Kmax) greater than 48 D and a compatible topographic pattern (asymmetric, inferiorly displaced steepening). In healthy controls, Kmax was ≤48 D and there was no clinical or topographic evidence of ectasia. Eyes with corneal scarring or a history of acute hydrops were not included, and healthy controls had not worn contact lenses in the two weeks before imaging and had no history of corneal surgery. The diagnosis was made at the eye level. In this cohort, the imaged eyes of a person always belonged to the same class, so no clinically unaffected fellow eye of a keratoconic patient was included among the healthy eyes. Keratoconic and healthy eyes were selected from separate diagnostic lists, so the design is a case–control design. Both eyes of a participant could be included; in all validation designs, the unit of clustering is the person. Topography and OCT imaging were performed at the same visit. Topographic data were used only as the reference standard; they did not enter the analysis pipeline.
Four partially overlapping samples were used (Figure 1B): the common image set of the reliability sub-study (7 persons, 14 eyes, 27 images; Section 2.4); the segmentation pool, labelled by the fourth rater and used to train and test the network (29 persons, 53 eyes, 674 images; Section 2.5); the classification cohort, consisting of persons with a known clinical diagnosis (180 persons, 354 eyes, 3512 images); and the device-agreement sample, selected from the ANTERION measurement record (104 eyes of 104 persons; Section 2.7). Because a person could belong to more than one sample, the numbers cannot be summed across samples: 22 of the 27 common-set images were also in the segmentation pool, all 29 persons of the segmentation pool were in the classification cohort, and 94 of the 104 persons of the device-agreement sample were in the classification cohort. The classification cohort was divided at the person level, by a fixed rule computed from the person identifier, into a development set and a person-disjoint independent validation set (according to whether the hash value of the person code was odd or even); the two sets shared no person, and the second is referred to below as the independent set. The split was not stratified by diagnostic class or by export format (the image geometry of the export; Section 2.3). Because the rule was applied to the person, all eyes, series and sections of a person, including repeated acquisitions, fell into the same set. Of the classification cohort, 21 persons of the development set and 33 of the independent set had also been in the segmentation pool (11 and 18) or in the exploratory analyses (20 and 31) that were carried out before the final cohort was fixed and in which the biomarker definitions were developed. The device-agreement sample included 41 persons of the development set and 53 of the independent set, and the common thickness scale factor was derived from the original 27 calibration eyes, leaving a fixed set of 77 eyes for the non-calibration agreement analysis (Section 2.7). The sample size was not calculated in advance; the cohort consisted of persons with a known clinical diagnosis and available images during the study period. The export format and the diagnostic class were not independent: 46 of the 68 narrow-format eyes were keratoconic (22 of 30 in the development set and 24 of 38 in the independent set; Table 1).
Table 1. Characteristics of the development and independent validation sets (classification cohort).

2.3. Imaging and Preprocessing

All sections were acquired during routine clinical imaging with a swept-source anterior segment OCT device (ANTERION, acquisition module software version 1.4.4.0; Heidelberg Engineering, Heidelberg, Germany) between November 2023 and June 2026 and were exported as DICOM. The scan was radial: a series contained either 21 meridians at intervals of approximately 8.6° or six meridians at intervals of 30°, and every exported meridian entered the pipeline. The number of images per eye varied because some eyes had more than one series. Each section is an image of the cornea through a single meridian; eye-level values are means taken over meridians and repeated series.
Pixel sizes were read from the sampling intervals in the DICOM header. The data contained three export geometries, which were divided into two format groups: two narrow-format geometries and one wide-format geometry (Table S1). The format label describes the geometry of the exported image, not the width of the scanned area. In preprocessing, the width of each image was brought to 1024 columns and a 640 × 640-pixel window was cropped around the cornea: 640 rows beginning about 60 rows above the top of the cornea and the central 640 of the 1024 columns, so that the image was cropped rather than reduced. The lateral pixel spacing was rescaled accordingly (original spacing × original width/1024). Intensities were then scaled to the range 0–1 between the 1st and 99th percentiles. The network was trained on images with their own axial sampling, most commonly 9.243 µm. When the locked model was applied to the classification cohort, images whose axial interval differed from 9.243 µm by more than 5% (the wide-format geometry, 7.79 µm) were resampled in the axial direction to 9.243 µm before segmentation, whereas the 9.35 µm geometry (a difference of 1.2%) was left unchanged.
In our data, the two format groups also differed in their optics. Sections exported from the Imaging application of the device (the narrow format) did not include refraction correction: their axial dimension represented the optical path length, so that distances inside the cornea appeared larger by a factor equal to the group refractive index and structures below the inclined anterior surface were displaced laterally [26,27,28]. Sections exported from the Metrics application (the wide format) were refraction-corrected and resampled laterally. The export type was determined from the image itself rather than from the file name or the DICOM fields: the correlation between neighbouring columns was computed in the high-pass-filtered upper half of the image, and images whose correlation was below a threshold of 0.5, fixed in advance, were classified as uncorrected (speckle is correlated between neighbouring columns in laterally resampled exports but not in uncorrected ones). The uncorrected images were corrected by ray tracing before measurement [26,27]. Each of these images was first resampled to a lateral interval of 15.74 µm and segmented with the locked model to locate the anterior corneal surface, whose profile was smoothed with a Savitzky–Golay filter (41 pixels, third order) [29] to obtain its local slope. Assuming telecentric scanning, each ray was refracted at the anterior surface according to Snell’s law and propagated in a straight line through a medium with a group refractive index of ng = 1.389 [28]. A pixel at an optical path length ℓ below the surface was moved to the tissue position at a distance ℓ/ng along the refracted ray, so that structures below the surface moved both upwards and towards the corneal axis. The image was resampled to these positions by linear interpolation, the region above the anterior surface was left unchanged, and the corrected image was segmented again with the same locked model, from whose masks all measurements were made; the network itself was not changed.

2.4. Manual Segmentation and Reliability Sub-Study

Each pixel was assigned to one of six classes: background, anterior tear-film band and four corneal layers (epithelium, Bowman’s layer, stroma and Descemet–endothelium complex). Because Descemet’s membrane and the endothelium could not be separated reliably at this axial sampling, they were counted as a single class. The tear-film band is the bright band a few pixels wide at the air–tear–epithelium boundary; it was used only to define the anterior surface and did not enter any thickness measurement. Labelling was performed pixel by pixel according to boundary definitions explained to all raters before labelling. All raters used the same custom labelling interface built on the napari image viewer [30]: a region of interest was first outlined around the cornea, and each band was then painted with a brush. Reference lines 5 mm on either side of the image centre were displayed, and contrast enhancement was available for display only. All raters worked independently of one another and were blinded to the clinical diagnosis and to the topographic data.
In the reliability sub-study, a common set of 27 images from 7 persons was used. Each of the three ophthalmologists labelled this set in three separate sessions, without access to the other clinicians’ masks or to their own masks from earlier sessions; thus, both inter-observer and intra-observer agreement were obtained from the same images. A fourth rater, who was not a clinician and had been trained in the protocol, labelled the same set. After this rater’s agreement with the most consistent clinician was shown to be at the level of the clinicians’ agreement among themselves, this rater produced all training labels for the network. The clinicians’ masks were used only in the reliability analysis. They were not merged into a consensus or majority-vote mask; disagreements were therefore quantified rather than resolved. Agreement was measured in two ways: pixel-level Cohen’s κ [31], which counts every displaced pixel as a disagreement, and spatially tolerant (fuzzy) κ (improved fuzzy kappa for two raters, IFK-2) [32,33], a coefficient developed for comparing categorical maps in which a small positional displacement should not count as a full disagreement. It is used here because a layer mask is such a map, and it uses a Gaussian tolerance of σ = 2 pixels (≈ 18.5 µm). In this coefficient, the membership of a pixel in a class decreases with its distance d from the nearest pixel of that class in the same mask as exp(−d2/2σ2), so that a boundary displaced by one or two pixels is weighted 0.88 or 0.61 instead of zero. Anatomically adjacent classes are counted as half-similar, and the observed agreement is corrected for the agreement expected by chance from the class proportions and the spatial structure of each mask, so that the coefficient reduces to Cohen’s κ when the spatial tolerance and the class similarity are removed. Fuzzy κ counts boundary differences of one or two pixels as partial agreement. A shift of this size is within the uncertainty with which a boundary can be placed at this sampling; for the thinnest layer it is not negligible (Section 3.4), so the coefficient measures agreement on boundary position, not the accuracy of a layer thickness. Fleiss’ κ [34] was also computed for the three clinicians considered jointly and for the three sessions of each clinician. The coefficients were computed separately for each image and each pair of masks in the central ±5 mm region labelled in both masks. The point estimate is the simple mean of these values, and the clustering of images within persons was taken into account in the confidence intervals (CIs) by person-clustered bootstrap. Model–clinician agreement was also computed after leaving out the images of the common set that were in the network’s training or validation split. In persons unseen in training, agreement between the model and manually drawn reference masks was computed layer by layer with fixed, class-specific tolerances of 1–3 pixels; some of these reference masks contain only a subset of the layers (Table S4).

2.5. Segmentation Network and Model Locking

The corneal layers were segmented with a four-level U-Net [35] (Figure 2). The network is a conventional U-Net encoder–decoder with deep supervision at two decoder levels (Figure 2B) and is not presented as a contribution of this study. Its configuration was chosen for thin layers arranged in a fixed order: only the image width was rescaled in preprocessing, because reducing both dimensions would have brought the axial pixel size of the wide format to about 16 µm and Bowman’s layer below one pixel; the 640-pixel input is divisible by 16, as four pooling levels require; and the position channels, the loss function and the patch sampling described below were adapted to the layers. U-Net was selected as a widely established and well-characterised baseline for biomedical image segmentation [35]. The goal was to obtain fixed, anatomically interpretable layer masks that could be assessed against expert annotations and converted into measurements, rather than to optimise or benchmark neural-network architectures. The network was developed from scratch (without pretrained weights) with all 674 manually labelled images of the segmentation pool (29 persons; Section 2.2). The images were divided at the person level into training (439 images, 16 persons), validation (84 images, 2 persons) and held-out test (151 images, 11 persons) splits, and no person appeared in two splits. The test persons were set aside before training so that performance could be estimated in persons never seen by the network. The validation split was used only for early stopping and model selection, and the image proportions follow from the unequal number of images per person. All 29 persons of the segmentation pool also belonged to the classification cohort: 11 to the development set (6, 2 and 3 in the training, validation and test splits of the network) and 18 to the independent set (10 in the training split and 8 in the held-out test split). The network never saw a diagnostic label, so this overlap cannot pass diagnostic labels to the classifier; its possible effect through more accurate masks in persons seen in training was examined in a sensitivity analysis (Section 3.4). Because the layers are arranged in a fixed anatomical order in the image, the input carried normalised position channels in addition to the grey level. Each level of the encoder and the decoder consists of two 3 × 3 convolutions, each followed by batch normalisation and ReLU activation; the encoder downsamples by 2 × 2 max pooling and the decoder upsamples by 2 × 2 transposed convolution. The encoder levels have 48, 96, 192 and 384 channels and the bottleneck has 768 (17.46 million parameters in total; Figure 2B). The input is a 640 × 640 × 3 array (the grey level, scaled to 0–1, and the horizontal and vertical position, scaled to the range −1 to +1), and a 1 × 1 convolution followed by softmax gives the probability map of the six classes at 640 × 640. The two deep-supervision outputs (160 × 160 and 320 × 320, with loss weights of 0.4 and 0.2) were used only in training. Because Bowman’s layer is only about 2 pixels thick at this sampling, the loss function combined region-based terms (focal Tversky and Dice) with hard-example mining [36,37], and Bowman-centred patches were used in 40% of the training iterations. These three terms were summed with equal weights: the focal Tversky loss with the class-specific parameters given in Figure 2C, the Dice loss and the mean cross-entropy of the 25% of pixels with the highest loss in each batch. The total loss also contained a signed-distance boundary term (weight 0.1) and a continuity term for Bowman’s layer (weight 0.05). A code review after training showed that these two terms made no meaningful contribution (the continuity term was computed on a thresholded map and was therefore not differentiable, and the contribution of the boundary term was negligible compared with that of the Dice term), so the effective loss consisted of the three terms above. Images with a large proportion of Bowman’s layer were sampled more often, and the Bowman-centred patches measured 256 × 256 pixels. Training used the AdamW optimiser (learning rate 10−4, weight decay 10−4) with a cosine learning-rate schedule, a batch size of 4 (8 for Bowman-centred patches), a maximum of 80 epochs, mixed-precision computation and gradient clipping (threshold 1.0). The weights were initialised with the default initialisation of the library (Kaiming uniform for the convolutions). Online augmentation comprised horizontal flipping (probability 0.5), changes in brightness and contrast (factor 0.85–1.15, shift ±0.1; probability 0.7), Gaussian noise (σ = 0.02; probability 0.3) and elastic deformation (α = 60, σ = 8; probability 0.4). The model was selected according to the macro-Dice value (the mean Dice coefficient of the five non-background classes) in the validation split [38]: training stopped at epoch 51, after 15 epochs without improvement, and the weights of the best epoch (epoch 36) were locked. Locking means that the network was fixed at this point, so that the segmentation could not be adapted to the cohort in which the biomarkers and the classifier were later evaluated. The same locked network was used, without retraining or fine-tuning, for the model–clinician comparison and for the segmentation of every cohort image, and neither its weights nor the post-processing was changed thereafter. The diagnostic labels of the classification cohort were not used in training or selecting the network. All images in the cohort were measured with the masks of the locked model. Each mask passed through a column-level quality filter based on geometric and physiological criteria: a column was used only if the Descemet–endothelium band was present and the total perpendicular thickness was 0.5–1.5 times the median of the image and between 0.25 and 1.10 mm, and images with fewer than 150 valid columns were not measured. All measurements were computed on the 640 × 640 network grid with the physical pixel spacing derived from the DICOM header and adjusted for the rescaling and resampling of Section 2.3.
Figure 2. Segmentation network and model locking. (A) Preprocessing. (B) Four-level U-Net. (C) Loss function and Bowman-centred patch sampling. (D) Training and model locking.

2.6. Layer Measurements, Ring Zones and Biomarkers

The purpose of the layer measurements was to convert each locked mask into thickness and curvature values for each layer and ring zone, from which the candidate biomarkers were derived. Measurements were made relative to the vertex of a conic fitted to the anterior surface. Five rings (z1–z5, at 1 mm intervals from the centre outwards) were defined by horizontal distance from the vertex; in a single-meridian section, each ring is the union of two symmetric bands on either side of the centre (Figure 3C,D). Layer thickness was measured perpendicular to the anterior surface, as t⊥ = tv cos θ, where tv is the vertical extent of the layer in a column and θ is the local slope of the median-filtered anterior surface. Thus, curvature does not artificially increase thickness towards the periphery (Figure 3D). The thinnest point is where the smoothed total thickness is smallest. The apex window is the region within ±0.5 mm of this thinnest point (not of the vertex), and all apex values are means over this window. The distance of the thinnest point from the image centre is the horizontal distance between the thinnest-point column and the middle column of the image. A version of this distance measured from the vertex of the conic fit correlated with it at r = 0.991 at the eye level, so the two definitions rank the eyes in the same way. The biomarker is defined and reported as the distance from the image centre. The asymmetry indices are the unsigned differences between the mean thicknesses on either side of the vertex column (Table S2). Total corneal thickness was taken from the anterior epithelial surface to the posterior endothelial surface, in accordance with the clinical definition of pachymetry. Posterior and interface keratometry were computed from the apical radius R of conics fitted to the posterior surface and to the three layer interfaces, using K = (1.3375 − 1)/R. Anterior keratometry was computed from the axial curvature of the anterior surface over the central 3 mm zone, in which the device computes simulated keratometry [39]: a fourth-order polynomial was fitted to the anterior surface within ±2.5 mm of the vertex, the axial radius of curvature was computed 1.5 mm on either side of its apex, and the two keratometry values were averaged.
Figure 3. Segmentation and measurement geometry. (A) AS-OCT B-scan. (B) Layer segmentation. (C) Ring zones z1–z5, vertex (dashed line) and thinnest point (solid line). (D) Measurement geometry: perpendicular thickness, ring zones, apex window, thinnest-point distance from the image centre (in this schematic, the image centre coincides with the vertex) and left–right asymmetry.
Forty-nine candidate biomarkers were defined in three groups before the cohort analysis (Table S2). They were not selected on the basis of the cohort results (the exploratory analyses in which their definitions were developed are described in Section 2.2), and all 49 were tested. The groups correspond to the standard tomographic and curvature parameters (group A), the regional thickness of each layer (group B) and the relations between layers, including epithelial remodelling (group C) [10,11,12]. Group A comprises 11 tomographic and interface parameters: thinnest, apex and global pachymetry, anterior and posterior keratometry and their ratio, three interface keratometry values, the distance of the thinnest point from the image centre, and pachymetric left–right asymmetry. Group B comprises 32 layer × ring-zone thicknesses: for each of the four layers, five ring means, the apex window, the global mean and an asymmetry index. Group C comprises six composite indices: four indices that take ratios of layer thicknesses and two indices that multiply anterior keratometry by epithelial thickness. After refraction correction, the thickness biomarkers of both export formats were multiplied by a single common scale factor, which aligns the thickness scale of the masks with that of the device software (Section 2.7). Image-level values were averaged to the eye level; values that could not be computed in any image of an eye were coded as missing (no eye of the development set and two eyes of the independent set had missing values).

2.7. Comparison with Device Software

CorneApp measurements were compared at the eye level with the outputs of the ANTERION software itself in the device-agreement sample. The sample consisted of one eye of each person whose ANTERION measurement record could be matched with images and who had a wide-format six-meridian scan (Figure 1B). Four quantities were compared: thinnest pachymetry, central pachymetry (apex window in the pipeline, central corneal thickness in the device), anterior keratometry as mean simulated K, and posterior keratometry. The two central measurements differ in definition: according to the user manual of the device, its central corneal thickness is the perpendicular distance between the anterior and posterior corneal surfaces at the anterior corneal vertex, averaged over the six sections, whereas the apex window is the mean perpendicular thickness within ±0.5 mm of the thinnest point of each section (Section 2.6). The two are expected to agree when the thinnest point lies near the vertex and to diverge as it moves away from it. Pearson and Spearman correlations, the Bland–Altman bias and the 95% limits of agreement were used [40]; proportional bias was tested by linear regression of the difference on the mean of the two measurements. For this comparison, the anterior and posterior corneal boundaries were located with sub-pixel precision at the intensity peak of the reflection band, as in the web application, whereas the cohort biomarkers were measured from the mask boundaries (Section 2.6); the eye-level value was the mean of the valid wide-format sections of the eye (most often six). The common scale factor in Section 2.6 was derived from a comparison of raw mask thicknesses with ANTERION outputs in 27 eyes of the device-agreement sample. Because these 27 eyes are within the comparison, the closeness of the bias to zero is partly an expected result in these eyes; the limits of agreement also depend on the scale factor, whereas the Pearson correlation does not. To evaluate agreement independently of the scale-factor derivation, Bland–Altman bias and 95% limits of agreement were calculated for both pachymetry comparisons in the original, fixed 77-eye non-calibration subset (104 eyes minus the original 27 calibration eyes). The scale factor estimated from the original 27 eyes was retained without recalculation; no calibration eyes were reselected and no random subsampling was performed. A common multiplicative factor does not change the ranking of the eyes on any biomarker. When the classification was repeated with the scale factor removed, that is, with the raw mask thicknesses, the predicted probabilities of all 354 eyes were identical to those of the main analysis, so the classification depends neither on the factor nor on the eyes from which it was derived.

2.8. Keratoconus Classification and Validation Design

The primary analysis is person-based leave-one-person-out (LOPO) cross-validation at the eye level in the development set: at each step, all eyes of one person were held out, the classifier was trained on the remaining persons, and probabilities were generated for the eyes of the held-out person (out-of-fold probabilities). LOPO was chosen because the two eyes of a person are not independent: holding out all eyes of a person prevents the fellow eye from informing the prediction, every person is tested exactly once, and the estimate does not depend on a random partition of the 83 persons. The classifier is an ensemble of gradient-boosted decision trees (XGBoost [41]; 200 trees, maximum depth 3, learning rate 0.1, row and column subsampling ratios of 0.9, missing values coded as −999, a constant below the range of every biomarker, which the trees treat as an ordinary value, and a fixed random seed). The classifier operates on the eye-level biomarkers rather than on the images, because the aim was to test whether layer-resolved measurements add diagnostic information to standard tomographic geometry. An image-based classifier would not show which layer or region carries the information and, in these data, could also learn the export format, which was associated with the diagnostic class (Section 2.2). Gradient-boosted trees suit a small set of tabular features and, with the depth limited to three, model interactions among a few biomarkers while limiting overfitting. The hyperparameters were fixed before the analysis and not tuned, because selecting them with the same cross-validation that estimates performance gives optimistic estimates [42] and a nested tuning loop would have been unstable with 83 persons. The dependence of the result on the classifier was examined afterwards (Table S8). Seven feature arms were formed from the three biomarker groups: A (11 biomarkers), B (32), C (6), A+B (43), A+C (17), B+C (38) and A+B+C (49). The added value of the new biomarkers was tested against the standard tomographic group A with three paired comparisons defined in advance: A+B − A (layer × ring-zone thicknesses), A+C − A (composite indices) and A+B+C − A (both). The contribution of the layer × ring-zone thicknesses to a model that already contained the composite indices was examined with A+B+C − A+C. No data-driven feature selection was performed; univariate values of the area under the receiver operating characteristic (ROC) curve (AUC) were descriptive only. Performance was summarised at the eye level by the AUC with 95% confidence intervals from a person-clustered bootstrap (2000 resamples). The arms were compared by paired person-clustered bootstrap AUC differences, and an added value was considered supported when the 95% confidence interval of the difference excluded zero. For each arm, the decision threshold was the Youden point [43] of the pooled out-of-fold probabilities of the development set, and the final model was trained on the whole development set. The final models and their thresholds were applied to the independent set with the locked segmentation model and the measurement chain, without retraining and without changing the thresholds. The refraction correction (Section 2.3) was introduced after the classification errors in this set had been reviewed, and all measurements and models were then recomputed; no classifier hyperparameter or decision threshold was selected on this set. The evaluation is therefore an internal assessment in a single centre with separate participants. Because the development-set threshold was selected on the same data, the primary measure is the AUC. In CLAIM (Checklist for Artificial Intelligence in Medical Imaging) 2024 terms, this design is a single-centre internal test; no external test was performed at another centre or on another device [44].

2.9. Statistical Analysis and Software

Univariate discrimination was summarised by the AUC at the eye level in the development set. Because both eyes of a person entered the analysis, the Rosner–Glynn–Lee clustered Wilcoxon rank-sum test, which treats the person as the cluster, was used in two-group comparisons [45]; a Benjamini–Hochberg false discovery rate (FDR) correction, which controls the expected proportion of false findings among the biomarkers declared significant, was applied across the family of 49 biomarkers [46] (q < 0.05). The eye-level Mann–Whitney U test was also reported for comparison. Age was compared with the Mann–Whitney U test and sex distribution with the χ2 test with continuity correction. The predefined epithelial pattern (apex–periphery) analysis compared, at the eye level in the development set, the apex-window and peripheral (ring 4) epithelial thickness, the apex stromal and total thickness, the global pachymetry and the epithelial remodelling index (Table S2) between classes. The share of each layer in the difference in apex thickness between healthy and keratoconic eyes was computed as the difference in its mean apex thickness divided by the sum of these differences over the four layers. As the model-level counterpart of this analysis, pachymetry-only biomarkers (the four thickness biomarkers of group A) and epithelium-only biomarkers (the eight epithelial features of group B) were compared with LOPO. For model explainability, SHAP (SHapley Additive exPlanations) values of the A+B+C model were computed with the tree algorithm [47] in each LOPO fold only for the held-out person, so that, like the predictions, the explanations are out-of-fold, and were summarised as the mean absolute value of each biomarker. Because the classifier operates on eye-level biomarkers rather than on pixels, pixel-level saliency maps are not applicable. To show where on the section the evidence of the model is measured, the 12 biomarkers with the highest SHAP importance were mapped onto the measurement geometry (Figure S1). In a sensitivity analysis, the dependence of the classification on the Bowman’s layer boundaries was examined in the independent set with the saved A+B+C model and its locked threshold (the threshold carried from the development set). The Bowman’s layer thickness biomarkers (rings 1–5, apex and global) were changed by one axial pixel of the 9.243 µm measurement grid in either direction: alone, together with a compensating change in the stroma (posterior boundary shift) or in the epithelium (anterior boundary shift), or with a random sign for each eye in 1000 draws; the composite indices were recomputed, and the model was not retrained. Further analyses examined the dependence of the result on the classifier and on the export format. The classifier was also trained with the eight standard pachymetric and keratometric parameters alone (group A without the interface keratometries, which are measured at layer boundaries), with the same persons, settings and threshold rule, and compared with the full model by the paired person-clustered bootstrap (Section 3.4). The full set was also classified with L2-regularised logistic regression (median imputation, standardised features) and with a random forest (300 trees, minimum leaf size 2) (Table S8). Performance was reported separately for narrow- and wide-format eyes (an eye was assigned to the format of the majority of its sections). The seven arms and the eight standard parameters were retrained and evaluated in wide-format eyes alone, with the same paired comparisons, and the discrimination of the export format and of missing values, used alone and combined as predictors, was computed (Table S9). In healthy eyes only, so that disease could not contribute, the separation of the two export formats by each biomarker was summarised by the AUC, as a check of the refraction correction (Table S10). Performance was also computed in the persons of the independent set who had not been in the exploratory analyses that preceded the final cohort and, among them, in those who were not in the segmentation pool, including sensitivity and specificity at the locked threshold with person-clustered confidence intervals. In the held-out test split of the segmentation network, the masks of the model and of the reference were also compared column by column for Bowman’s layer and the Descemet–endothelium complex. The absolute axial distance between the two masks at the anterior and at the posterior boundary of the layer and the signed difference in layer thickness (model − reference) were averaged over the columns of each image in which the layer was present in both masks and bounded by labelled pixels in the reference, and then over the images (Table S11). Confidence intervals for AUC, κ, Dice and the column-wise boundary measures were computed with the person-clustered bootstrap; the confidence interval of the Bland–Altman bias was computed with the t distribution. The study was reported in accordance with the 2024 update of the CLAIM checklist [44]; the completed checklist is provided as Supplementary Material. Analyses were performed with fixed seeds in Python 3.10.12 (PyTorch 2.14.0, XGBoost 3.2.0, scikit-learn 1.7.2, SciPy 1.15.3, SHAP 0.49.1) and R 4.3.3 (clusrank 1.0-4) environments. The locked segmentation model and measurement chain are provided in a bilingual web application (CorneApp, build 39.0; https://corneapp.com) as a research prototype, not as a clinical decision tool. The classifier in the application was trained on the same development set and 49 biomarkers but with different settings (300 trees, learning rate 0.05) and with biomarker values before refraction correction, so the AUC values reported here refer to the analysis in Section 2.8, not to the classifier in the application. The source code of the pipeline is available at https://github.com/bsragnys/corneal-layer-segmentation-keratoconus (accessed on 30 October 2026; Data Availability Statement).

3. Results

3.1. Cohorts

The classification cohort consisted of 180 persons, 354 eyes and 3512 images, after 266 images had been excluded: 41 because of image quality or missing pixel-scale information, 12 duplicate records, and 213 sections of four healthy eyes of two persons in the independent set that had been exported with a third export type of the device, whose physical scale could not be verified. These four eyes were measured from their other sections, so the numbers of persons and eyes did not change. The characteristics of the development and independent validation sets are given in Table 1. Both diagnostic classes were represented in both sets. Patients with keratoconus were younger than healthy participants in the development set but not in the independent set; sex distribution did not differ between classes in either set (Table 1).

3.2. Observer Reliability and Segmentation Performance

Agreement among the three ophthalmologists was high with Cohen’s κ and higher still with the spatially tolerant coefficient (Table 2, Figure 4A). This difference shows that most of the disagreement is not tissue misclassification but a boundary shift of one or two pixels. The agreement of the fourth, non-clinician rater with the most consistent clinician (fuzzy κ 0.968; Cohen’s κ 0.927) was at the level at which the clinicians agreed with one another; this supported the production of the training labels by a single rater. In the same 27 images, the agreement of the locked model with the clinicians (fuzzy κ 0.960 [0.944–0.969]; Cohen’s κ 0.887 [0.864–0.901]) was slightly above the agreement of the clinicians among themselves (fuzzy κ 0.928 [0.890–0.955]). Fleiss’ κ was 0.830 [0.747–0.886] for the three clinicians and 0.837 [0.761–0.888] for the three sessions of each clinician. Because 10 of the 27 images of the common set were in the network’s training or validation split, this comparison is descriptive; in the remaining 17 images, model–clinician agreement was at the same level (fuzzy κ 0.969; Cohen’s κ 0.901). Layer by layer, the ranking was the same in all three comparisons: agreement was highest in the tear-film band and lowest in Bowman’s layer (fuzzy κ: intra-observer 0.804, inter-observer 0.798, model–clinician 0.844; Table S3).
Table 2. Inter-observer, intra-observer and model–clinician agreement on the 27-image common set.
Figure 4. Observer reliability. (A) Cohen’s and fuzzy κ for the clinicians, the fourth rater and the locked model in the common set (estimate and 95% confidence interval; grey band, clinician–clinician 95% confidence interval). (B) Layer-wise model–reference mask agreement in persons unseen in training (spatially tolerant κ, %; dots are mask pairs; line is the median; n, healthy/keratoconus mask pairs).
Because the common set is small, layer-wise agreement was also measured against manually drawn reference masks of persons never seen in training (25 mask pairs from 8 healthy persons of the held-out test split and 20 mask pairs from 8 persons with keratoconus outside the segmentation pool). Agreement was high for the whole mask, epithelium, stroma and Descemet–endothelium complex; it was lowest in Bowman’s layer, which is about 2 pixels thick (Table S4, Figure 4B). The macro-Dice value of the locked model was 0.885 in the validation split and 0.882 in the held-out test split (151 images, 11 persons; Table S6); the lowest per-layer Dice value was in Bowman’s layer in both splits (0.743 and 0.720). Because overlap coefficients penalise thin structures, the boundaries of the two thinnest layers were also compared column by column in the test split (Table S11). The mean absolute axial distance between the model and the reference was 5.4 µm (0.58 pixels) at the anterior and 5.5 µm (0.60 pixels) at the posterior boundary of Bowman’s layer, and 7.0 µm (0.77 pixels) and 0.9 µm (0.10 pixels) at those of the Descemet–endothelium complex. The mean signed thickness error (model − reference) was +1.7 µm [+0.3; +3.3], or +15.0% of the reference thickness (mean of the per-image percentages), for Bowman’s layer and +2.6 µm [+0.8; +5.6], or +10.1%, for the Descemet–endothelium complex, so that both layers were slightly thicker in the model than in the reference. In the test split, macro-Dice was similar in keratoconic and healthy images (0.878 and 0.888). A representative section and its segmentation are shown in Figure 3A,B.

3.3. Agreement with Device Software

Eye-level agreement between CorneApp and the ANTERION software was close for the two thickness quantities and weaker for the two keratometry values in 104 eyes, one eye per person (Table 3). For the thickness measurements, the bias was small (within ±1.5 µm; although the confidence intervals excluded zero, it was clinically insignificant), the width of the limits of agreement was less than 20 µm and the Pearson correlations were above 0.99. In keratometry, there were small systematic shifts on both surfaces (−0.14 D on the anterior surface and −0.18 D on the posterior surface). The limits of agreement of anterior keratometry (−1.14 to +0.87 D) were wider than the ±0.5 D that Herber et al. defined as clinically acceptable in a comparison of this device with Scheimpflug tomography [39], whereas those of thinnest pachymetry were within the ±10 µm defined in the same study. In the original 77 eyes not used to derive the scale factor, the Bland–Altman bias for thinnest pachymetry was −1.1 µm, with 95% limits of agreement of −9.0 to +6.7 µm. For central pachymetry, the bias was +1.5 µm, with 95% limits of agreement of −7.3 to +10.1 µm. These estimates used the factor calculated from the original 27 calibration eyes, without recalibration. Agreement in eyes not used for the factor was thus similar to that in the whole sample.
Table 3. Eye-level agreement between CorneApp measurements and ANTERION software outputs in the device-agreement sample (104 eyes, one eye per person).
The export type determined from the image agreed with the application recorded in the DICOM header in all 3498 sections in which the application was recorded (1728 sections without and 1770 with refraction correction; neighbouring-column correlation at most 0.47 and at least 0.53, respectively). After ray tracing, thinnest pachymetry no longer separated the two formats in healthy eyes (22 narrow-format and 196 wide-format eyes; AUC 0.554; mean 522.5 µm and 527.0 µm), nor did global epithelial thickness (AUC 0.502). In four eyes with sections in both export types, the ratio of thinnest pachymetry between them was 0.99–1.04. Eleven of the 49 biomarkers still separated the formats in healthy eyes with an AUC above 0.70: five Descemet–endothelium thicknesses, five keratometry values and one Bowman’s layer thickness (highest, Descemet–endothelium ring 3, 0.838; Table S10).

3.4. Keratoconus Detection

In the development set with LOPO, the AUC was 0.878 [0.799–0.939] with the standard tomographic biomarkers (A), 0.903 [0.836–0.959] with the layer × ring-zone thicknesses alone (B) and 0.858 [0.781–0.927] with the composite indices alone (C). Among the combined arms, it was 0.899 [0.830–0.955] for A+B, 0.895 [0.824–0.955] for A+C, 0.904 [0.839–0.959] for B+C and 0.903 [0.835–0.959] for the full model (A+B+C) (Table 4, Figure 5A). In the person-disjoint independent set, with the thresholds carried over and without retraining, the full model reached an AUC of 0.962 [0.934–0.983], with a sensitivity of 0.84 (59/70; 95% CI 0.76–0.92) and a specificity of 0.92 (109/119; 0.85–0.97) at the carried threshold (Table 4, Figure 5B). In the paired comparisons defined in advance, adding the layer × ring-zone thicknesses to group A (A+B − A) changed the AUC by +0.022 [−0.025; +0.067] in the development set and by +0.027 [+0.001; +0.059] in the independent set. Adding both new groups (A+B+C − A) changed it by +0.025 [−0.018; +0.071] and +0.031 [+0.006; +0.064], and adding the composite indices alone (A+C − A) changed it by +0.018 [−0.026; +0.059] and −0.008 [−0.036; +0.019]. The confidence interval excluded zero only in the independent set and only for the arms that added the layer × ring-zone thicknesses. These thicknesses also improved the model that already contained the composite indices in the independent set (A+B+C − A+C, +0.039 [+0.010; +0.073]) but not in the development set (+0.008 [−0.021; +0.037]). Used alone, the layer × ring-zone thicknesses discriminated about as well as group A (B − A, +0.026 [−0.025; +0.077] and +0.003 [−0.035; +0.045]). Because group A includes three keratometry values measured at layer interfaces, the comparison was also made with the eight standard pachymetric and keratometric parameters alone (Table 4): their AUC was 0.871 [0.799–0.934] in the development set and 0.935 [0.884–0.975] in the independent set, and the full model exceeded them by +0.032 [−0.009; +0.071] and +0.027 [−0.005; +0.069], with confidence intervals that included zero.
Table 4. Keratoconus detection by feature arm: development (LOPO) and independent validation.
Figure 5. ROC curves of the feature arms A, A+C, A+B and A+B+C (all seven arms are given in Table 4). (A) Development set, leave-one-person-out cross-validation, with Youden operating points. (B) Independent set, with the operating points of the carried thresholds.
By export format (Table S9), the full model reached an AUC of 0.971 [0.944–0.992] in the 151 wide-format eyes of the independent set, with a sensitivity of 0.87 (40/46) and a specificity of 0.93 (98/105), and 0.893 [0.764–0.978] in the 38 narrow-format eyes, with a sensitivity of 0.79 (19/24) and a specificity of 0.79 (11/14). The development set contained only eight healthy narrow-format eyes (four persons). Used alone as a predictor, the export format discriminated keratoconus with an AUC of 0.626 [0.541–0.716] in the development set and 0.613 [0.526–0.703] in the independent set. Missing values occurred only in two narrow-format keratoconic eyes of the independent set, both of which were classified as keratoconus; used alone, missingness did not discriminate keratoconus (AUC 0.514 [0.500–0.537]). When the seven arms were retrained and evaluated in wide-format eyes alone, the full model reached an AUC of 0.928 [0.867–0.976] in the development set and 0.966 [0.923–0.991] in the independent set, and group A reached 0.870 [0.767–0.958] and 0.954 [0.904–0.990]. The paired differences were +0.028 [−0.025; +0.082] and +0.012 [−0.013; +0.042] for A+B − A, and +0.057 [+0.006; +0.116] and +0.011 [−0.020; +0.045] for A+B+C − A. Thus, in wide-format eyes alone, the increment of the full model over group A was significant in the development set but not in the independent set, and that of A+B over A in neither.
In the 66 persons of the independent set (128 eyes; 46 keratoconic) who had not been in the exploratory analyses, the full model reached an AUC of 0.970 [0.938–0.992], with a sensitivity of 0.87 (40/46; 95% CI 0.76–0.96) and a specificity of 0.91 (75/82; 0.83–0.98) at the locked threshold. In the 64 of them (124 eyes; 46 keratoconic) who were also not in the segmentation pool, and who thus took part neither in the development of the segmentation network nor in that of the biomarker definitions, the AUC was 0.969 [0.935–0.992], with the same sensitivity (the same 46 keratoconic eyes; 40/46) and a specificity of 0.91 (71/78; 0.82–0.98). Because the common thickness scale factor does not change any prediction (Section 2.7), the overlap with the device-agreement sample was not excluded in this analysis.
A one-pixel change in the Bowman’s layer boundaries left the discrimination of the saved full model almost unchanged in every scenario (AUC 0.960–0.965, largest change 0.003; random change per eye, median 0.960, 2.5th–97.5th percentiles 0.954–0.967), but it moved the operating point at the locked threshold: sensitivity ranged from 0.79 to 0.96 and specificity from 0.70 to 0.98, and the shifts in the anterior boundary moved it most (Table S7, Figure S2).
With the same 49 biomarkers, logistic regression reached an AUC of 0.921 and 0.951 and a random forest 0.920 and 0.937 in the development and independent sets, respectively (Table S8).

3.5. Biomarkers and Epithelial Pattern

Of the 49 predefined biomarkers, 23 remained significant after the person-clustered test and FDR correction (25 with the eye-level Mann–Whitney U test; Table S5). The strongest univariate discriminators were thinnest and apex pachymetry (AUC 0.925 and 0.923) and apex stromal thickness (0.916), followed by the stromal ring thicknesses, global pachymetry and the apex stroma/pachymetry ratio (Table 5, Figure 6A). In keratoconus, pachymetry, the stromal thicknesses, Descemet–endothelium ring 5 thickness and apex epithelial thickness were lower, and the anterior, posterior and interface keratometry values, Bowman’s layer asymmetry, Descemet–endothelium apex and ring 2 thickness and the epithelial remodelling index were higher. Among the Bowman’s layer biomarkers, only asymmetry was significant; ring 1 thickness was not (AUC 0.591). The thinnest point was closer to the image centre in keratoconus than in healthy eyes (eye-level median 0.69 mm versus 0.85 mm).
Table 5. The ten strongest candidate biomarkers significant in the person-clustered test after FDR correction (development set; 165 eyes: 99 healthy, 66 keratoconus).
Figure 6. Biomarkers. (A) The 23 biomarkers significant in the person-clustered test after FDR correction, ordered by eye-level AUC (95% confidence interval) (development set, 165 eyes). (B) Out-of-fold SHAP importance of the A+B+C model.
In the predefined epithelial pattern analysis, keratoconic eyes were thinner than healthy eyes in the apex window by 78.6 µm in the development set and 73.1 µm in the independent set, and 96% [94–99%] of the summed difference in the four layers was in the stroma (94% [89–98%] in the independent set; 97% in wide-format eyes of the development set). Apex stromal and total thickness were strong discriminators (AUC 0.916 and 0.923), whereas apex epithelial thickness, which was lower in keratoconus, discriminated less (0.652), and peripheral (ring 4) epithelial thickness did not differ between the classes (0.551). The epithelial remodelling index was higher in keratoconus but discriminated less than apex pachymetry (0.702 [0.599–0.794] versus 0.923; paired difference −0.221 [−0.339; −0.103]); the same was seen in the independent set (0.676 versus 0.915; −0.240 [−0.357; −0.134]). Global pachymetry (0.866) was a weaker discriminator than the focal apex measurements; the global mean dilutes focal thinning. At the model level, pachymetry-only biomarkers (four features; LOPO AUC 0.879 [0.802–0.942]) discriminated better than epithelium-only biomarkers (eight features; 0.739 [0.651–0.818]; difference −0.140 [−0.239; −0.036]). Adding the epithelial remodelling index and the apex epithelium/pachymetry ratio to the epithelial biomarkers raised the AUC to 0.852 [0.779–0.914], which no longer differed significantly from pachymetry alone (−0.027 [−0.092; +0.046]).
In the combined model, the features with the highest out-of-fold SHAP importance were thinnest pachymetry, stromal ring 1 thickness and the epithelial remodelling index. These were followed by apex pachymetry, the keratometry ratio, Bowman’s layer asymmetry, Descemet–endothelium ring 5 thickness and posterior keratometry (Figure 6B). Thinnest pachymetry carried the largest share, but the model also used curvature, the epithelial pattern and layer asymmetry. Of the 12 most important SHAP features, 3 were among the top 12 by univariate ranking; because correlated biomarkers share their contribution, the SHAP ranking should not be read as a ranking of independent effects. Figure S1 maps these 12 biomarkers onto the regions of the section in which they are measured. The evidence used by the model lies in the total thickness at the thinnest point and in the apex window, in the central stroma and central Bowman’s layer, in the curvature of the two surfaces, in the contrast between the apex and the whole-section mean of the epithelium, in the left–right asymmetry of the epithelium, Bowman’s layer and the Descemet–endothelium complex, and in the Descemet–endothelium complex in the outermost ring and as a whole.

4. Discussion

We trained and locked a U-Net that segments the anterior tear-film band and four corneal layers in routine swept-source AS-OCT sections. From the locked masks, we computed 49 predefined biomarkers positioned relative to the anterior surface of each section. In persons unseen in training, the model’s agreement with the reference masks was high in all layers except Bowman’s layer; in a common image set, its agreement with three ophthalmologists was slightly above the agreement of the clinicians among themselves. Total thickness showed close agreement with the device software; there were small systematic shifts in keratometry. The biomarkers were consistent with the focal, predominantly stromal thinning known in keratoconus. The model built with these biomarkers distinguished keratoconic eyes from healthy eyes in the person-disjoint independent set; the layer-resolved thicknesses added a small increment over the standard tomographic biomarkers, supported in the independent set only. The main result is not diagnostic: layer-resolved segmentation of a single clinical section agrees with clinicians at the level of their agreement with one another, and the measurements derived from it are anatomically coherent, within the limits that the sampling interval sets for the thinnest layers (Section 3.2 and Section 3.4).
Whether the measurements are meaningful depends on whether the masks underlying them are reliable; reliability was therefore established before the cohort analyses. In persons never seen in training, agreement between the locked model and the reference masks was high for the whole mask, epithelium, stroma and Descemet–endothelium complex, and lowest for Bowman’s layer. This pattern arises from the anatomy, not from the model: the clinicians also agreed least on Bowman’s layer, both with one another and in their own repeat sessions. Bowman’s layer occupies about two pixels at this axial sampling; a boundary shift of one pixel changes its apparent thickness by half. For manual measurement of Bowman’s layer thickness on spectral-domain OCT, an inter-observer intraclass correlation of only 0.48 has been reported [48]. In a new method that separates five layers, a test–retest intraclass correlation of 0.53–0.64 was found for the thin-layer complexes and 0.97 for the whole cornea [49]. Overlap metrics magnify the problem, because in structures a few pixels thick, a one-pixel difference changes the Dice coefficient disproportionately [50]. Biomarkers derived from thin layers should therefore be read not as absolute thickness but as regional trends. The sensitivity analysis makes this concrete: a one-pixel change in the Bowman’s layer boundaries, systematic or random per eye, left the ranking of the eyes almost unchanged but moved the operating point of the full model at the carried threshold (sensitivity 0.79–0.96, specificity 0.70–0.98). Decision thresholds that depend on the absolute thickness of a layer at the resolution limit should therefore be calibrated on the device and format in which they are used.
Reporting Cohen’s κ and the spatially tolerant coefficient together separates two kinds of disagreement. Cohen’s κ counts every displaced pixel as an error; the spatially tolerant coefficient tolerates a displacement of one or two pixels. The principle of not counting small boundary shifts as errors underlies the surface Dice coefficient used in clinical segmentation [51]. The coefficient used here adapts the fuzzy kappa developed for comparing categorical maps [32,33] and, to our knowledge, has not previously been used in corneal OCT. The difference between the two coefficients was large for every rater, including the clinicians. That is, most of the apparent disagreement was not tissue misclassification but boundary placement within one or two pixels, a distance that is small for the thick layers but not for Bowman’s layer (Section 3.4).
Clinical AS-OCT software divides the cornea into two compartments. The device used here provides total pachymetry and an epithelial thickness map; stromal thickness is obtained by subtraction. Other swept-source and spectral-domain platforms used in routine practice likewise provide pachymetry and epithelial thickness maps [18,20]. Bowman’s layer and the Descemet–endothelium complex are not segmented; the epithelial map is also presented as fixed regional means. Bowman’s layer thickness mapping has therefore mostly been performed with research-grade ultra-high-resolution OCT, which is not available in routine practice [15,16]. Methods that separate five corneal interfaces or layers exist; however, they were developed on a research spectral-domain device on the basis of graph search [52] or in dedicated ultra-high-resolution systems in endothelial disease [49], not on a routine swept-source clinical device. For the graph-search method, the reported mean unsigned boundary error between the algorithm and trained operators (0.89 pixels) was close to that between the operators themselves (0.77 pixels) [52]. On a clinical device and with a different metric, the agreement of the locked model with the clinicians was likewise at the level of the clinicians’ agreement with one another (fuzzy κ 0.960 and 0.928; Table 2). Several of the features carrying the most weight in the combined model, such as stromal ring 1 thickness, Bowman’s layer asymmetry and Descemet–endothelium ring 5 thickness, are not reported by the software of the device that acquired the images. This is the gap the pipeline fills: it reproduces the total corneal thickness reported by the device, in close agreement with the device, and adds layer quantities that the device does not report. Agreement with the device shows that total thickness is reproduced after the thickness scale has been aligned to the device, whereas posterior keratometry follows the device values with a small systematic and proportional shift (Table 3). Because the 27 eyes from which the scale factor was derived are within the comparison, this agreement is not a fully independent validation. The agreement in the fixed 77-eye non-calibration subset was similar to that in the whole sample (Section 3.3). Anterior keratometry from single-meridian sections showed a small bias but limits of agreement wider than ±0.5 D, consistent with the different definitions (a single section and the epithelial surface, against the central two-dimensional data of the device [39]). Keratometry was therefore used to rank eyes, not to replace the device values. The basis for the inner boundaries, however, is layer-wise agreement with clinicians. Clinically, this means that Bowman’s layer and the Descemet–endothelium complex can be measured, within the resolution limits discussed above, on scans already acquired in routine practice, without a research device or an additional acquisition. Whether these measurements improve the detection of early disease or the monitoring of progression has not been tested here.
The biomarker findings are consistent with what is known about how the keratoconic cornea remodels; this supports the view that the pipeline measures the anatomy it is intended to measure. Apex stromal and total thickness discriminated strongly, and almost all of the apex thinning was in the stroma. This is consistent with very-high-frequency ultrasound, in which the absolute thinning at the thinnest point of keratoconic corneas is greater in the stroma than in the epithelium [11]. Apex epithelial thickness was lower in keratoconus, consistent with the central arm of the epithelial compensation pattern, in which the epithelium thins over the cone and a ring of thickening surrounds it [10,11]. Fourier-domain OCT mapping has also shown epithelial thinning over the cone [13]. The peripheral arm of the pattern could not be demonstrated here: ring 4 epithelial thickness did not differ between the classes. The epithelium remodels in response to the curvature of the underlying stromal surface [10,12]; epithelial thinning lies in the same region as the highest posterior elevation [14]. The epithelial remodelling index discriminated keratoconic from healthy eyes, but clearly less than apex pachymetry in both sets. A recent study comparing control, subclinical and manifest keratoconic eyes also found epithelial patterns alone insufficient and stromal measurements superior [53]; this is also the ranking we observed. Focal apex measurements were better than global means; this is consistent with the recently described stage-dependent and layer-specific behaviour [17] and with total thickness being the strongest single discriminator among the layers measured centrally [54].
Bowman’s layer behaved only partly as the ultra-high-resolution literature predicts. Central Bowman’s layer thinning has been reported in keratoconus [16]; here, ring 1 Bowman’s layer thickness did not differ significantly in the person-clustered test (AUC 0.591; Section 3.5), and among the Bowman’s layer biomarkers only asymmetry was significantly higher in keratoconus (0.618). Wide-field polarisation-sensitive OCT has shown that the thinnest sector of Bowman’s layer, not its mean, is the best discriminator [55]; in our data, likewise, the only Bowman’s layer biomarker that reached significance was a regional difference (asymmetry), not a mean thickness, although the two AUCs were close and were not compared directly. The undetectability of collagen type XII in the keratoconic Bowman’s layer is a molecular finding that may be related to the fragility of this layer [56]. The direction of the change in Bowman’s layer thickness appears to depend on stage: in the clinically unaffected fellow eyes of unilateral keratoconus, Bowman’s layer has been reported to be thicker than in healthy eyes [57]. Because our cohort is dominated by manifest disease, the differences observed should not be generalised to earlier stages.
One result was less expected. Descemet–endothelium ring 5 thickness ranked high in out-of-fold SHAP importance despite its moderate univariate AUC. Shapley-based importance describes the contribution of a feature to the model output; it does not by itself carry a causal or biological meaning [58]. The regional thickness of the Descemet–endothelium complex can be measured and is diagnostically informative in Fuchs dystrophy [59]; in a previous study, central thickness did not differ significantly between keratoconic and healthy eyes [54]. In our cohort, however, apex and ring 2 thicknesses were greater in keratoconus (AUC 0.631 and 0.663; Table S5), a finding subject to the same measurement uncertainties described below. We found no published data on its peripheral thickness in keratoconus. Measurement of one of the two thinnest segmented layers in the periphery is where a small, systematic segmentation bias is hardest to rule out. In a separate specular microscopy study, endothelial measurements could not be obtained in stage 4 keratoconus [60]; this finding does not establish the accuracy of our OCT segmentation. In addition, the Descemet–endothelium thicknesses were among the biomarkers that still separated the two export formats in healthy eyes after refraction correction (Section 3.3), so part of their contribution to the model may be related to the format. We therefore treat this feature not as an independent biological finding but as a feature that contributes to a multivariable model and as a hypothesis.
The combined model reached an AUC of 0.962 in the independent set (Table 4, Figure 5). This value should be read bearing in mind that it was obtained in a cohort with manifest keratoconus. Near-ceiling performance is common in manifest disease: deep learning on swept-source AS-OCT colour maps has reached 0.99 accuracy [61]. An epithelial thickness index measured with the device used here reached an AUC of 0.99 in manifest keratoconus but fell to 0.75 in tomographically normal fellow eyes [62]. This drop within the same study is the true measure of the problem; the sensitivity of 80.2% and specificity of 78.5% reported for tomographic criteria [8] and the epithelial abnormalities seen even in topographically normal eyes [14] also show this. Distinguishing manifest keratoconus from a normal cornea is not in itself a difficult problem, and we do not present it as one. A meta-analysis of deep learning in keratoconus found high pooled accuracy but judged study quality to be limited because of inadequate reporting of patient selection and inadequate reference standards [63]. The emphasis here is therefore not on the size of the result but on how it was obtained.
The informative comparisons are the internal comparisons. Adding the layer × ring-zone thicknesses to the standard tomographic biomarkers increased the AUC by about 0.03 in the independent set, with confidence intervals that excluded zero but had lower limits close to it. In the development set, the increases were in the same direction but not significant, and no increment was supported for the composite indices in either set. The evidence that layer-resolved thicknesses carry information beyond standard tomographic geometry is therefore limited, and the increment is small. In wide-format eyes alone, the increment in the independent set was smaller and its confidence interval included zero (Table S9). This analysis has fewer eyes and less power; however, because some biomarkers retained a format signature after the correction (Table S10), a residual contribution of the export format to the increment in the whole cohort cannot be excluded. Against the eight standard pachymetric and keratometric parameters alone, the differences were of similar size and their confidence intervals included zero (Table 4), and the AUC of the full set was of similar size to that of logistic regression and a random forest (Table S8). A small increment is plausible: almost all of the apex thinning was stromal, stromal thickness carries largely the same information as total thickness, and total thickness is already a strong discriminator in a cohort dominated by manifest disease. Its discrimination has been reported to be lower in subclinical keratoconus [54]. Used alone, the layer × ring-zone thicknesses discriminated about as well as group A; that is, similar discrimination was reached without total pachymetry and keratometry. Whether the layer measurements add value in early disease must be tested separately.
The export format required separate handling. Models in medical imaging can learn features of image acquisition rather than of the disease [64,65]. In sections exported without refraction correction, the cornea appears thicker by a factor of about the group refractive index, and structures below the inclined anterior surface are displaced [26,27,28]. When such sections are pooled with refraction-corrected ones, even hand-defined anatomical biomarkers carry information about the export type, and in this cohort the export format was associated with the diagnostic class. We therefore determined the export type from the image itself, corrected the uncorrected sections by ray tracing and checked the correction in healthy eyes only. After correction, thinnest pachymetry was measured at a similar level in healthy eyes of both formats; the format alone was a weak predictor of keratoconus, and discrimination remained high in wide-format eyes alone; however, a format signature remained in some biomarkers, mainly the Descemet–endothelium thicknesses and keratometry, and specificity at the carried threshold was lower in narrow-format eyes. Pipelines that pool OCT exports of different geometries or from different applications are open to this risk; identifying the export type from the image and checking format separation in healthy eyes are inexpensive ways to detect it.
As noted in the Introduction, limited independent validation may make reported accuracy appear higher than it is [24]. The design here was built with this risk in mind: person-level clustering at every stage, biomarker definitions fixed before the cohort analysis, no data-driven feature selection, thresholds carried unchanged, no use of independent-set labels for classifier parameter selection or threshold tuning, and reporting according to the CLAIM checklist [44]. The segmentation network saw no diagnostic label; the classifier saw no data from the independent set.
This study has limitations. The study is retrospective, single-centre and based on a single device; the independent set is disjoint with respect to persons, not with respect to centre or device; generalisability across devices and populations has not been tested. The refraction correction was introduced after the classification errors in the independent set had been reviewed, so the results in this set are an internal assessment with separate participants and not an untouched confirmation of the full processing chain. The segmentation network was trained on images of 16 persons, and the reliability sub-study comprised 27 images from 7 persons; because the training labels were produced by a single rater, the variability among raters was not represented in training. The classification cohort was not sized by an a priori calculation. Although performance was maintained in persons never seen in training and in the person-disjoint independent set, larger and more varied data sets are needed. The segmentation architecture was not compared with alternatives and the network was not cross-validated; the reported segmentation performance refers to a single trained network. Because of the diagnostic criterion, the cohort consists predominantly of manifest keratoconus and says nothing about subclinical or forme fruste disease, that is, the situation in which a layer-resolved test would be most valuable. The reference standard was determined by a single corneal specialist and a single topography device. Keratoconic and healthy eyes were selected from separate diagnostic lists (case–control design). Because the Scheimpflug–Placido device served as the reference standard and no Pentacam data were available, the classifier could not be compared with the Belin–Ambrósio display or the ABCD grading. The comparison was therefore made within the pipeline: with the standard tomographic group A (Table 4) and with the eight standard pachymetric and keratometric parameters alone (Table 4). Patients with keratoconus were younger than healthy participants in the development set; because corneal and epithelial thickness change with age, a contribution of age to the univariate biomarker differences cannot be ruled out. Images were acquired in two export types, one of which was without refraction correction, and most narrow-format eyes had keratoconus. Although the uncorrected sections were corrected by ray tracing, some biomarkers retained a format signature, specificity at the carried threshold was lower in narrow-format eyes (11 of the 14 healthy narrow-format eyes of the independent set were classified correctly), and the correction could not be compared with device measurements, because the device comparison was available only for wide-format exports. Because Descemet’s membrane and the endothelium could not be separated at this axial sampling, they were treated as a single class; Bowman’s layer, as the agreement metrics show, is at the limit of resolution (Section 3.2 and Section 3.4). Measurements are made in single-meridian sections; averaging over radial meridians mitigates this but is not equivalent to a three-dimensional map. The asymmetry indices measure how different the two halves are; they do not show which side is thicker. The epithelial pattern analysis is cross-sectional; it describes a pattern consistent with compensation and makes no causal or temporal claim. The 95% confidence intervals of the paired feature-arm comparisons are nominal and were not adjusted for multiple comparisons; borderline positive increments should be interpreted cautiously. No head-to-head comparison of segmentation architectures was performed, because architectural ranking was not a prespecified objective.
The next requirement is external validation across devices and centres, preferably with the same framework as that applied to full-thickness corneal segmentation [23]. That study reported Dice coefficients of 0.94–0.95 for a full-thickness segmentation model in internal validation and above 0.70 on four other devices, including the ANTERION, whereas two earlier models, one of them CorneaNet [22], fell below 0.20 [23]. A similar loss of performance across devices cannot be excluded for a layer-resolved network trained on a single device. Because specificity was lower in narrow-format eyes and some biomarkers retained a format signature after correction, absolute thicknesses and decision thresholds should be calibrated for each export format and device with a protocol defined in advance at the target centre. The ray-tracing correction should be verified against device measurements for exports without refraction correction, and studies that pool different export geometries should determine the export type from the image and check format separation in healthy eyes. Transfer of the pipeline to another AS-OCT platform (for example, CASIA 2 or MS-39) does not require a new biomarker set, because the 49 biomarkers are defined geometrically and in physical units. It requires four steps: segmentation on the target device must be verified against manual labels, and the network may need fine-tuning with labelled images from that device, because its training images came from a single device, most of them at an axial sampling of 9.243 µm; the thickness scale must be aligned to the target device in the same way as the common scale factor was derived here; the decision thresholds must be recalibrated, because they were selected in the development set of this device; and only then can the classifier be evaluated on that device without retraining. Because the training labels came from a single rater and 16 persons, the network should also be tested on a public corneal AS-OCT data set, with the differences in class scheme and pixel spacing reported, and trained on larger data sets labelled by more than one rater. This should be followed by evaluation in subclinical and fellow-eye cohorts, in which surface-based diagnosis is known to be limited [7,14] and the direction of layer-specific change may differ from that in manifest disease. Longitudinal imaging will test whether layer-resolved measurements track progression earlier than curvature does and whether the epithelial compensation pattern behaves as the mechanistic explanation predicts [12]. The same data should test the epithelial remodelling index and the peripheral Descemet–endothelium thickness, which we treat here as a hypothesis. The locked segmentation and measurement chain can be used as a research prototype in the web application to support such studies. The CorneApp implementation should be considered a research-oriented tool for reproducible segmentation and measurement, pending prospective, multicentre evaluation of its intended clinical use.

5. Conclusions

A deep learning pipeline can segment four corneal layers and the anterior tear-film band in routine swept-source AS-OCT sections with agreement at the level of ophthalmologists labelling the same images. The total thickness measurements it produces agree with the device software; the layer measurements give, from a single clinical scan, a pattern of focal, predominantly stromal thinning with epithelial thinning over the cone. Biomarkers derived from these layers (including Bowman’s layer and the Descemet–endothelium complex, which current clinical software does not segment) added a small increment in discrimination to standard tomographic biomarkers, shown only in the independent set. This increment is preliminary: its confidence interval was not adjusted for multiple comparisons, and in the independent set the intervals included zero in wide-format eyes alone and in the comparison with the standard pachymetric and keratometric parameters alone. When exports with and without refraction correction are pooled, the export type should be identified and the uncorrected exports corrected, and the remaining format signature should be checked in healthy eyes. The contribution is not the demonstration that manifest keratoconus can be detected but a layer-resolved measurement capability with documented reliability and demonstrated agreement with the device. External validation across devices and evaluation in subclinical disease are the necessary next steps. The research web application is a proof of implementation of the segmentation and measurement workflow; it should not be interpreted as independent evidence of clinical diagnostic efficacy.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/diagnostics16234037/s1: Table S1: Image export geometries and pixel sampling intervals; Table S2: The 49 predefined candidate biomarkers; Table S3: Layer-wise agreement on the 27-image common set: intra-observer, inter-observer and model–clinician (fuzzy κ, IFK-2); Table S4: Layer-wise model–reference mask agreement in persons unseen in training (spatially tolerant κ, %); Table S5: The 23 candidate biomarkers significant in the person-clustered test after FDR correction, ordered by AUC (development set; 165 eyes: 99 healthy, 66 keratoconus); Table S6: Layer-wise segmentation performance of the locked model in the person-disjoint held-out test split (151 images, 11 persons); Table S7: Sensitivity of the classification to a ±1-pixel shift of the Bowman’s layer boundaries in the independent set (189 eyes, 97 persons): saved full model (A+B+C) and locked threshold; Figure S1: Where on the section the evidence of the model is measured; Figure S2: Sensitivity of the classification to a ±1-pixel shift of the Bowman’s layer boundaries in the independent set (189 eyes), with the saved full model (A+B+C) and its locked threshold; Table S8: Classification with the standard pachymetric and keratometric parameters alone and with other classifiers (development set 165 eyes, independent set 189 eyes); Table S9: Classification by export format (development set 165 eyes, independent set 189 eyes); Table S10: Separation of the two export formats by each biomarker in healthy eyes after refraction correction (218 healthy eyes of both sets: 22 narrow-format, 196 wide-format); Table S11: Column-wise comparison of the model and reference masks for the two thinnest layers in the held-out test split (151 images, 11 persons); the completed CLAIM 2024 checklist.

Author Contributions

Conceptualization, A.B.G.S. and H.S.; methodology, A.B.G.S., D.G. and A.O.; software, A.B.G.S.; validation, A.B.G.S., D.G. and A.O.; formal analysis, A.B.G.S.; investigation, A.B.G.S., H.S., M.U. and F.O.; resources, H.S. and M.U.; data curation, A.B.G.S. and M.U.; writing—original draft preparation, A.B.G.S. and H.S.; writing—review and editing, D.G., A.O., H.S., M.U. and F.O.; visualization, A.B.G.S.; supervision, D.G. and A.O.; project administration, A.B.G.S. and H.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Erciyes University Health Sciences Research Ethics Committee (decision no. 2025/42, 5 February 2025).

Data Availability Statement

The web application described in this study (CorneApp) is available for research use at https://corneapp.com. The source code for preprocessing, network training and inference, the measurement chain, biomarker computation, classification, and evaluation, together with the configuration settings and the data-partitioning protocol, is available at https://github.com/bsragnys/corneal-layer-segmentation-keratoconus (accessed on 30 October 2026). The trained model weights are not publicly available because of personal-data and ethical restrictions and because the software is still under development. Raw OCT images cannot be shared because of patient privacy.

Acknowledgments

This article is derived from the doctoral thesis of A.B.G.S., conducted at the Department of Biostatistics, Erciyes University, under the supervision of D.G. The authors thank Murat Akpulat (Department of Software Engineering, Erciyes University, Kayseri, Türkiye) for his guidance.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Gomes, J.A.P.; Tan, D.; Rapuano, C.J.; Belin, M.W.; Ambrósio, R., Jr.; Guell, J.L.; Malecaze, F.; Nishida, K.; Sangwan, V.S. Global consensus on keratoconus and ectatic diseases. Cornea 2015, 34, 359–369. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Hashemi, H.; Heydarian, S.; Hooshmand, E.; Saatchi, M.; Yekta, A.; Aghamirsalim, M.; Valadkhan, M.; Mortazavi, M.; Hashemi, A.; Khabazkhoob, M. The prevalence and risk factors for keratoconus: A systematic review and meta-analysis. Cornea 2020, 39, 263–270. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Ferdi, A.C.; Nguyen, V.; Gore, D.M.; Allan, B.D.; Rozema, J.J.; Watson, S.L. Keratoconus natural progression: A systematic review and meta-analysis of 11,529 eyes. Ophthalmology 2019, 126, 935–945. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Wittig-Silva, C.; Chan, E.; Islam, F.M.A.; Wu, T.; Whiting, M.; Snibson, G.R. A randomized, controlled trial of corneal collagen cross-linking in progressive keratoconus: Three-year results. Ophthalmology 2014, 121, 812–821. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Gomes, J.A.P.; Hafezi, F.; Ambrósio, R., Jr.; Henriquez, M.A.; Campos, M.; Kinoshita, S.; Nkurikiye, J.; Koh, S.; Watson, S.; Mazzotta, C.; et al. Global consensus on keratoconus and ectatic diseases—Edition 2. Cornea 2026, 45, 888–908. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Belin, M.W.; Duncan, J.K. Keratoconus: The ABCD grading system. Klin. Monbl. Augenheilkd. 2016, 233, 701–707. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Ambrósio, R., Jr.; Lopes, B.T.; Faria-Correia, F.; Salomão, M.Q.; Bühren, J.; Roberts, C.J.; Elsheikh, A.; Vinciguerra, R.; Vinciguerra, P. Integration of Scheimpflug-based corneal tomography and biomechanical assessments for enhancing ectasia detection. J. Refract. Surg. 2017, 33, 434–443. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Bamdad, S.; Sedaghat, M.R.; Yasemi, M.; Vahedi, A. Sensitivity and specificity of Belin Ambrosio enhanced ectasia display in early diagnosis of keratoconus. J. Ophthalmol. 2020, 2020, 7625659. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Wadhwa, H.; Gokul, A.; Li, Y.; Cheung, I.; Angelo, L.; McGhee, C.N.J.; Ziaei, M. Repeatability of Scheimpflug based corneal tomography parameters in advanced keratoconus with thin corneas. Eye 2023, 37, 3429–3434. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Reinstein, D.Z.; Archer, T.J.; Gobbe, M. Corneal epithelial thickness profile in the diagnosis of keratoconus. J. Refract. Surg. 2009, 25, 604–610. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Reinstein, D.Z.; Gobbe, M.; Archer, T.J.; Silverman, R.H.; Coleman, D.J. Epithelial, stromal, and total corneal thickness in keratoconus: Three-dimensional display with Artemis very-high frequency digital ultrasound. J. Refract. Surg. 2010, 26, 259–271. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Reinstein, D.Z.; Archer, T.J.; Gobbe, M. Rate of change of curvature of the corneal stromal surface drives epithelial compensatory changes and remodeling. J. Refract. Surg. 2014, 30, 799–802. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Li, Y.; Tan, O.; Brass, R.; Weiss, J.L.; Huang, D. Corneal epithelial thickness mapping by Fourier-domain optical coherence tomography in normal and keratoconic eyes. Ophthalmology 2012, 119, 2425–2433. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Temstet, C.; Sandali, O.; Bouheraoua, N.; Hamiche, T.; Galan, A.; El Sanharawi, M.; Basli, E.; Laroche, L.; Borderie, V. Corneal epithelial thickness mapping using Fourier-domain optical coherence tomography for detection of form fruste keratoconus. J. Cataract Refract. Surg. 2015, 41, 812–820. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Abou Shousha, M.; Perez, V.L.; Fraga Santini Canto, A.P.; Vaddavalli, P.K.; Sayyad, F.E.; Cabot, F.; Feuer, W.J.; Wang, J.; Yoo, S.H. The use of Bowman’s layer vertical topographic thickness map in the diagnosis of keratoconus. Ophthalmology 2014, 121, 988–993. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Xu, Z.; Jiang, J.; Yang, C.; Huang, S.; Peng, M.; Li, W.; Cui, L.; Wang, J.; Lu, F.; Shen, M. Value of corneal epithelial and Bowman’s layer vertical thickness profiles generated by UHR-OCT for sub-clinical keratoconus diagnosis. Sci. Rep. 2016, 6, 31550. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Koh, S.; Inoue, R.; Ambrósio, R., Jr.; Lopes, B.; Matsuo, R.; Maeno, S.; Maeda, N.; Nishida, K. Corneal layer thickness mapping with optical coherence tomography in different stages reveals pathologic processes of keratoconus. Cornea 2025, 44, 1142–1150. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Chong, Y.J.; Azzopardi, M.; Hussain, G.; Recchioni, A.; Gandhewar, J.; Loizou, C.; Giachos, I.; Barua, A.; Ting, D.S.J. Clinical applications of anterior segment optical coherence tomography: An updated review. Diagnostics 2024, 14, 122. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Schiano-Lomoriello, D.; Hoffer, K.J.; Abicca, I.; Savini, G. Repeatability of automated measurements by a new anterior segment optical coherence tomographer and biometer and agreement with standard devices. Sci. Rep. 2021, 11, 983. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Feng, Y.; Reinstein, D.Z.; Nitter, T.; Archer, T.J.; McAlinden, C.; Bertelsen, G.; Stojanovic, A. Epithelial thickness mapping in keratoconic corneas: Repeatability and agreement between CSO MS-39, Heidelberg Anterion, and Optovue Avanti OCT devices. J. Refract. Surg. 2023, 39, 474–480, Erratum in J. Refract. Surg. 2024, 40, e62. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Hashemi, H.; Doroodgar, F.; Niazi, S.; Khabazkhoob, M.; Heidari, Z. Comparison of different corneal imaging modalities using artificial intelligence for diagnosis of keratoconus: A systematic review and meta-analysis. Graefes Arch. Clin. Exp. Ophthalmol. 2024, 262, 1017–1039. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Aranha dos Santos, V.; Schmetterer, L.; Stegmann, H.; Pfister, M.; Messner, A.; Schmidinger, G.; Garhofer, G.; Werkmeister, R.M. CorneaNet: Fast segmentation of cornea OCT scans of healthy and keratoconic eyes using deep learning. Biomed. Opt. Express 2019, 10, 622–641. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Kandakji, L.; Liu, S.; Balal, S.; Moghul, I.; Allan, B.; Tuft, S.; Gore, D.; Pontikos, N. An open-source deep learning framework for automated corneal segmentation in anterior segment optical coherence tomography with cross-device external validation. Cornea 2026. published online ahead of print. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Aggarwal, R.; Sounderajah, V.; Martin, G.; Ting, D.S.W.; Karthikesalingam, A.; King, D.; Ashrafian, H.; Darzi, A. Diagnostic accuracy of deep learning in medical imaging: A systematic review and meta-analysis. npj Digit. Med. 2021, 4, 65. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Gharieb, H.M.; Othman, I.S.; Oreaba, A.H.; Abdelatif, M.K. Topographic, elevation, and keratoconus indices for diagnosis of keratoconus by a combined Placido and Scheimpflug topography system. Eur. J. Ophthalmol. 2021, 31, 1553–1562. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Westphal, V.; Rollins, A.; Radhakrishnan, S.; Izatt, J. Correction of geometric and refractive image distortions in optical coherence tomography applying Fermat’s principle. Opt. Express 2002, 10, 397–404. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Ortiz, S.; Siedlecki, D.; Grulkowski, I.; Remon, L.; Pascual, D.; Wojtkowski, M.; Marcos, S. Optical distortion correction in optical coherence tomography for quantitative ocular anterior segment by three-dimensional imaging. Opt. Express 2010, 18, 2782–2796. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Lin, R.C.; Shure, M.A.; Rollins, A.M.; Izatt, J.A.; Huang, D. Group index of the human cornea at 1.3-µm wavelength obtained in vitro by optical coherence domain reflectometry. Opt. Lett. 2004, 29, 83–85. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Savitzky, A.; Golay, M.J.E. Smoothing and differentiation of data by simplified least squares procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef] [Scilit]
  30. Sofroniew, N.; Lambert, T.; Bokota, G.; Nunez-Iglesias, J.; Sobolewski, P.; Sweet, A.; Gaifas, L.; Evans, K.; Burt, A.; Doncila Pop, D.; et al. napari: A Multi-Dimensional Image Viewer for Python; Zenodo: Geneva, Switzerland, 2019. [Google Scholar] [CrossRef] [Scilit]
  31. Cohen, J. A coefficient of agreement for nominal scales. Educ. Psychol. Meas. 1960, 20, 37–46. [Google Scholar] [CrossRef] [Scilit]
  32. Hagen, A. Fuzzy set approach to assessing similarity of categorical maps. Int. J. Geogr. Inf. Sci. 2003, 17, 235–249. [Google Scholar] [CrossRef] [Scilit]
  33. Hagen-Zanker, A. An improved Fuzzy Kappa statistic that accounts for spatial autocorrelation. Int. J. Geogr. Inf. Sci. 2009, 23, 61–73. [Google Scholar] [CrossRef] [Scilit]
  34. Fleiss, J.L. Measuring nominal scale agreement among many raters. Psychol. Bull. 1971, 76, 378–382. [Google Scholar] [CrossRef] [Scilit]
  35. Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional networks for biomedical image segmentation. In Proceedings of the Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015, Munich, Germany, 5–9 October 2015; Navab, N., Hornegger, J., Wells, W.M., Frangi, A.F., Eds.; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2015; Volume 9351, pp. 234–241. [Google Scholar] [CrossRef] [Scilit]
  36. Abraham, N.; Khan, N.M. A novel focal Tversky loss function with improved attention U-Net for lesion segmentation. In Proceedings of the 2019 IEEE 16th International Symposium on Biomedical Imaging (ISBI 2019), Venice, Italy, 8–11 April 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 683–687. [Google Scholar] [CrossRef] [Scilit]
  37. Shrivastava, A.; Gupta, A.; Girshick, R. Training region-based object detectors with online hard example mining. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 761–769. [Google Scholar] [CrossRef] [Scilit]
  38. Dice, L.R. Measures of the amount of ecologic association between species. Ecology 1945, 26, 297–302. [Google Scholar] [CrossRef] [Scilit]
  39. Herber, R.; Lenk, J.; Pillunat, L.E.; Raiskup, F. Comparison of corneal tomography using a novel swept-source optical coherence tomographer and rotating Scheimpflug system in normal and keratoconus eyes: Repeatability and agreement analysis. Eye Vis. 2022, 9, 19. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Bland, J.M.; Altman, D.G. Statistical methods for assessing agreement between two methods of clinical measurement. Lancet 1986, 327, 307–310. [Google Scholar] [CrossRef] [Scilit]
  41. Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD ’16), San Francisco, CA, USA, 13–17 August 2016; ACM: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
  42. Varma, S.; Simon, R. Bias in error estimation when using cross-validation for model selection. BMC Bioinform. 2006, 7, 91. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  43. Youden, W.J. Index for rating diagnostic tests. Cancer 1950, 3, 32–35. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  44. Tejani, A.S.; Klontzas, M.E.; Gatti, A.A.; Mongan, J.T.; Moy, L.; Park, S.H.; Kahn, C.E., Jr.; CLAIM 2024 Update Panel. Checklist for Artificial Intelligence in Medical Imaging (CLAIM): 2024 update. Radiol. Artif. Intell. 2024, 6, e240300. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  45. Rosner, B.; Glynn, R.J.; Lee, M.-L.T. Incorporation of clustering effects for the Wilcoxon rank sum test: A large-sample approach. Biometrics 2003, 59, 1089–1098. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  46. Benjamini, Y.; Hochberg, Y. Controlling the false discovery rate: A practical and powerful approach to multiple testing. J. R. Stat. Soc. Ser. B Methodol. 1995, 57, 289–300. [Google Scholar] [CrossRef] [Scilit]
  47. Lundberg, S.M.; Erion, G.; Chen, H.; DeGrave, A.; Prutkin, J.M.; Nair, B.; Katz, R.; Himmelfarb, J.; Bansal, N.; Lee, S.-I. From local explanations to global understanding with explainable AI for trees. Nat. Mach. Intell. 2020, 2, 56–67. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  48. López de la Fuente, C.; Sánchez-Cano, A.; Segura, F.; Orduna Hospital, E.; Pinilla, I. Evaluation of total corneal thickness and corneal layers with spectral-domain optical coherence tomography. J. Refract. Surg. 2016, 32, 27–32. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  49. Win, K.Y.; Wong, J.H.F.; Wong, Q.Y.; Chua, C.S.Q.; Chua, J.; Wong, D.; Ang, M.; Schmetterer, L.; Tan, B. Corneal layer segmentation in healthy and pathological eyes: A joint super-resolution generative adversarial network and adaptive graph theory approach. Transl. Vis. Sci. Technol. 2025, 14, 19. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  50. Reinke, A.; Tizabi, M.D.; Baumgartner, M.; Eisenmann, M.; Heckmann-Nötzel, D.; Kavur, A.E.; Rädsch, T.; Sudre, C.H.; Acion, L.; Antonelli, M.; et al. Understanding metric-related pitfalls in image analysis validation. Nat. Methods 2024, 21, 182–194. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  51. Nikolov, S.; Blackwell, S.; Zverovitch, A.; Mendes, R.; Livne, M.; De Fauw, J.; Patel, Y.; Meyer, C.; Askham, H.; Romera-Paredes, B.; et al. Clinically applicable segmentation of head and neck anatomy for radiotherapy: Deep learning algorithm development and validation study. J. Med. Internet Res. 2021, 23, e26151. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  52. Elsawy, A.; Gregori, G.; Eleiwa, T.; Abdel-Mottaleb, M.; Abou Shousha, M. Pathological-corneas layer segmentation and thickness measurement in OCT images. Transl. Vis. Sci. Technol. 2020, 9, 24. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  53. Dutra, B.A.L.; Hammoud, B.; Susanna, B.N.; Asroui, L.; Scarcelli, G.; Dupps, W.J., Jr.; Randleman, J.B. Epithelial mapping efficacy for subclinical keratoconus identification. Am. J. Ophthalmol. 2025, 274, 209–220. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  54. Heidari, Z.; Mohammadpour, M.; Hajizadeh, F.; Fotouhi, A.; Hashemi, H. Corneal layer thickness in keratoconus using optical coherence tomography. Clin. Exp. Optom. 2024, 107, 32–39. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  55. Pircher, N.; Beer, F.; Holzer, S.; Gschließer, A.; Donner, R.; Pircher, M.; Hitzenberger, C.K.; Schmidinger, G.; Lammer, J. Large field of view corneal epithelium and Bowman’s layer thickness maps in keratoconic and healthy eyes. Am. J. Ophthalmol. 2020, 209, 168–177. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  56. Rigi, M.; Son, H.-S.; Moon, L.; Matthaei, M.; Srikumaran, D.; Jun, A.S.; Eberhart, C.G.; Soiberman, U.S. Collagen type XII is undetectable in keratoconus Bowman’s layer. Br. J. Ophthalmol. 2024, 108, 343–348. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  57. Pircher, N.; Kilian, R.; Beer, F.; Donner, R.; Roberts, P.; Pircher, M.; Hitzenberger, C.K.; Aschauer, J.; Schmidinger, G.; Lammer, J. Diagnostic performance of corneal epithelium- and Bowman’s layer thickness mapping in patients with unilateral keratoconus. Graefes Arch. Clin. Exp. Ophthalmol. 2025, 263, 1383–1389. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  58. Kumar, I.E.; Venkatasubramanian, S.; Scheidegger, C.; Friedler, S. Problems with Shapley-value-based explanations as feature importance measures. In Proceedings of the 37th International Conference on Machine Learning (ICML 2020), Virtual Event, 13–18 July 2020; Daumé, H., III, Singh, A., Eds.; PMLR: Cambridge, MA, USA, 2020; Volume 119, pp. 5491–5500. [Google Scholar]
  59. Eleiwa, T.; Elsawy, A.; Tolba, M.; Feuer, W.; Yoo, S.; Abou Shousha, M. Diagnostic performance of 3-dimensional thickness of the endothelium–Descemet complex in Fuchs’ endothelial cell corneal dystrophy. Ophthalmology 2020, 127, 874–887. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  60. Shah, Z.; Shilpy, N.; Purohit, D.; Singh, S. Assessment and correlation of corneal endothelial cell changes in different stages of keratoconus in non-contact lens wearers. Optom. Vis. Sci. 2021, 98, 1295–1298. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  61. Kamiya, K.; Ayatsuka, Y.; Kato, Y.; Fujimura, F.; Takahashi, M.; Shoji, N.; Mori, Y.; Miyata, K. Keratoconus detection using deep learning of colour-coded maps with anterior segment optical coherence tomography: A diagnostic accuracy study. BMJ Open 2019, 9, e031313. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  62. Naujokaitis, T.; Khoramnia, R.; Friedrich, M.; Son, H.-S.; Auffarth, G.U.; Augustin, V.A. Inter-zonal epithelial thickness differences for early keratoconus detection using optical coherence tomography. Eye 2024, 38, 2968–2975. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  63. Bodmer, N.S.; Christensen, D.G.; Bachmann, L.M.; Faes, L.; Sanak, F.; Iselin, K.; Kaufmann, C.; Thiel, M.A.; Baenninger, P.B. Deep learning models used in the diagnostic workup of keratoconus: A systematic review and exploratory meta-analysis. Cornea 2024, 43, 916–931. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  64. Zech, J.R.; Badgeley, M.A.; Liu, M.; Costa, A.B.; Titano, J.J.; Oermann, E.K. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: A cross-sectional study. PLoS Med. 2018, 15, e1002683. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  65. Badgeley, M.A.; Zech, J.R.; Oakden-Rayner, L.; Glicksberg, B.S.; Liu, M.; Gale, W.; McConnell, M.V.; Percha, B.; Snyder, T.M.; Dudley, J.T. Deep learning predicts hip fracture using confounding patient and healthcare variables. npj Digit. Med. 2019, 2, 31. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.