Introduction

Fuchs’ Endothelial Corneal Dystrophy (FECD) is a bilateral, asymmetric, and low progression corneal disease characterized by morphologic changes in the endothelial cells (pleomorphism or polymegatism), the presence of guttae (excrescences from the Descemet Membrane) as its main hallmark, and edema in the severe stages1,2,3. The ophthalmologist Ernst Fuchs was the first to observe central corneal clouding in 1910th, who described this event as epithelial dystrophy4. Later studies based on this observation found that the endothelium had the predominant role because of the referred guttae1,5,6. This disease usually appears at the age of fifty years, and its progression will take 10-20 years, being more common in females than in males7,8,9. The literature states that it is associated with inherence and other ocular conditions such as glaucoma, keratoconus, or keratitis, while the prevalence varies among endemic populations, being higher in Caucasians than in the Asian population8,10. Although in mild stages the treatment is hypertonicity drops or pomade to reduce the appearance of edema, corneal transplantation is the procedure that restores the correct vision and reduces gradual complications7.

The usual exploration of this disease is performed using the slit-lamp to evaluate the status of the cornea (the presence of guttae, bullae, or corneal scarring). This device is employed to gradate the severity of the FECD by stages based on Krachmer’s classification regarding the number of guttae observed and their confluence, such as the presence of edema in the most severe stage11,12, as can be seen in Figure 2 of the Matthaei’s work13. Nevertheless, this classification depends on the subjective physician’s criteria and the illumination method. This fact decreases the diagnosis accuracy and viability, and highlights the importance of additional objective techniques to determine severity12,14,15. Several authors expressed the relevance of a quantitative observation of guttae distribution due to its benefit in the diagnosis and prognostic purposes, the effect of guttae on the quality of vision, and determining surgical indications for endothelial surgery in eyes with mild FECD16,17. Therefore, many studies have quantitatively assessed the distribution of guttae using slit-lamp images15,18, applying imaging treatment and morphological segmentation algorithms.

Additionally, another instrument commonly used in clinical practice for the evaluation of corneal status with this pathology is the specular microscope, which is also used to assess the endothelial cell morphology and guttae influence3,8,13, acquiring images of the endothelial cells mosaic of a concrete area of the cornea of 0.2 x 0.5 mm19. Many studies have quantitatively assessed the distribution of guttae using these sections16,17,20, but, when the disease is in its moderate stage, the guttae are so confluent that the specular microscope images are not valid.

Furthermore, some of these works enhance the relevance of guttae distribution on the quality of vision17,21, which is being explored through ocular aberrations22,23,24. Consequently, these studies reveal increased trefoil, coma, and high-order aberrations in FECD eyes using the estimated values from Pentacam elevation results (anterior and posterior corneal aberrations). Still, they report that the sources of the posterior corneal surface are unknown and are not able to distinguish whether guttae are the cause of this25. In the current literature, studies on aberrations in the FECD treat the phase only using Zernike polynomials (up to 6th or 8th order), and most are reconstructed from elevation data and not from direct phase measurements, leaving details hidden behind these orders that may be of utmost importance.

Recently, studies have been published using the WaveFront Phase Imaging (WFPI) sensor to compare keratoconic eyes with healthy eyes, which, apart from showing good reliability to obtain Zernike coefficients of up to 10th order26, is also able to discover in the ocular phase characteristic structures of these pathological eyes (banding patterns) that are not appreciated in healthy eyes, also analyzed quantitatively27. Hence, evaluating different ocular conditions is motivated because of its high lateral resolution (8.55 \(\upmu\)m), and its reproducibility and repeatability already demonstrated against the gold-standard Hartmann-Shack28. Also, the technique implemented in this device has been validated in other sectors such as semiconductor metrology29, optical quality assessment30, and phase microscopy applied to biological samples31. All these fields require a high measurement precision that this sensor meets since it is capable of measuring Optical Path Differences (OPD) of a few nanometers caused by manufacturing defects or small refractive index changes on the same structure. Therefore, FECD is a clear candidate to be evaluated with this high-resolution sensor to unravel questions about how guttae affect the ocular wavefront phase.

The aim of this work is to objectively evaluate the applicability of the mentioned sensor using a custom-designed Automatic Guttae Detection Method (AGDM) capable of distinguishing between healthy and pathological eyes with FECD using phase information (concretely using the high-pass filter map).

Material and methods

Device: t\(\cdot\)eyede aberrometer

In this study, the ocular phase is measured using the WFPI sensor (Wooptix S.L., La Laguna, Tenerife, Spain) implemented in the t\(\cdot\)eyede aberrometer thoroughly described in previous works28,32,33. The sensor captures two intensity images shifted at the same distance (6.35 mm) on both sides of the conjugated pupil plane to recover the ocular phase, as shown in Fig. 1. The main advantage of this wavefront phase sensor is its 8.55 \(\upmu\)m of lateral resolution obtained according to the number of pixels of a Charged-coupled device (CCD) sensor, which are converted into reliable measurement points. The system has also been optimized to prevent spurious light and speckle from reaching the sensor, and the numerous iterations performed by the algorithm make the phase recovery resistant to noise28,31.

Fig. 1
figure 1

WFPI sensor principle applied in ocular aberrometry.

This device uses a Superluminescent Diode (SLD) as a light source with a wavelength of 780 nm and an exposure time in the pupil plane of 30 ms with a power of 0.78 mW (value under the security limit of the ANSI rules). A Badal system is included to correct patient defocus over a range of − 10.00 to +10.00 D. Five measurements are taken with a few seconds of difference during the phase capture session, so the patient must look at the Maltese Cross used as the fixation target and may rest on the chin-rest provided on the set-up. Examples of an intensity image of both healthy and FECD eyes were shown in Fig. 2.

Fig. 2
figure 2

One of the intensity images of a healthy eye (a), and eye with FECD (b).

Once the measurement is completed, the intensity images are processed using the WFPI software, which recovers the ocular phase of the patient’s natural pupil with high resolution. This process has been detailed (and exemplified) in the previous study with healthy eyes and with keratoconus27. In summary, from this phase is extracted a phase map composed of the first 65th Zernike’s polynomials without the coefficients of piston, tip/tilt, and defocus (this map is considered as Low-Order Map). Moreover, the rest of the phase displayed (from the 66th coefficient and beyond) is what we name the Extremely High-Order Map because this phase map contains the high-frequencies. Then, a Gaussian high-pass filter with a cut-off frequency of 25 \(\upmu\)m is applied to the whole raw phase (the same filter is used for all eyes to ensure comparability), obtaining hence the High-Pass Filter Map (HPFM). This study is based on the latter map, as it represents the OPD caused by small ocular structures not visible due to the main wavefront change due to low-order ocular aberrations.

Patients and measurement protocol

This study includes both healthy (control group) and FECD eyes (pathological group) according to five ophthalmologists. The pathological group is composed of: isolated FECD, FECD with cataracts, and FECD with Monofocal Intraocular Lens (IOL) cases. Dilated and undilated pupils were measured, in case of dilated pupils, it was on purpose for their previous ophthalmologic consultation and not for the t\(\cdot\)eyede study. The measurements were performed at the Hospital Universitario Fundación Jiménez Díaz (Madrid, Spain). Its Institutional Review Board approved the study protocol that complied with the tenets of the Declaration of Helsinki. Informed consent was voluntarily obtained from the subjects after the explanation of the nature of the study previous t\(\cdot\)eyede measurements. The exclusion criteria were presenting other ocular pathologies, being under the legal age, being currently pregnant or breastfeeding, or participating in another interventional study within 30 days before the start of this study.

To include patients within this study, ophthalmologists relied on slit lamp examination and specular microscope sections. With the slit lamp they determined whether an eye was pathological or not according to the appearance of guttae and their distribution along the cornea, and if so, some ophthalmologists graded its severity according to Krachmer’s classification. Also, they evaluated the state of the corneal endothelium with the specular microscope, where, through its algorithm, the number of endothelial cells that remain is counted (as an example of this algorithm is shown in Fig. 3b). Since the Hospital Fundación Jiménez Díaz is a clinic external to Wooptix, what it was able to provide to the company for performing this study were the slit lamp examination descriptions and some specular microscope images (examples of different cases with the stages assigned by the ophthalmologists presented in Fig. 3).

Fig. 3
figure 3

Specular Microscope sections of: (a) Healthy, (b) FECD Grade 2, and (c) FECD Grade 5 eyes according to the ophthalmologists’ criteria.

The control group is formed by 43 healthy eyes of 25 patients (range age: 27–56 years; Gender: 11 Males, 14 Females) and the pathological group has 204 eyes of 120 patients (range age: 40–93 years; Gender: 39 Males, 81 Females). We do not consider any other demographic data relevant to this study.

Automatic Guttae detection method

As all the eyes diagnosed with FECD by the ophthalmologist presented a dark spots pattern in the HPFM, in order to objectivate the evaluation of this disease using the WFPI technique, we have developed an Automatic Detection Method based on image processing by morphological segmentation. Due to the number of images per eye (up to five valid images in the same session) and the large number of guttae per image, this method was made up with three objectives in mind: that the number and location of guttae detected for an eye should coincide in the different measures, that the method should work for the several levels of evolution of the disease, and that it should not require excessive parameters whose fine-tuning would affect the repeatability of the measurements.

Fig. 4
figure 4

Diagram depicting the internal processes, I/O and parameters of the Automatic Guttae Detection Method.

The flow of operations of the method and the parameters that govern it are shown in the diagram in Fig. 4. It depends on several fixed internal parameters but only on two external modifiable ones, Minimum Brightness and CrossCorrelation Threshold. The entire experiment was performed on all images and for a wide range of combinations of both parameters. Those parameters that gave the best results were retained. In this manner, the method is self-adjusted to the depth absolute values that t\(\cdot\)eyede provides without user intervention.

The first part of the method consists of cutting the pupil diameter to 5 and/or 3 mm, as well as applying masks to cover unwanted reflections that may affect the phase representation in the HPFM, called preprocessing because it is prior to the image processing performed by the algorithm. The next step consists of thresholding the input image to select the pixels with an intensity lower than the self-adjusted parameter Minimum Brightness. Those pixels are then segmented into neighboring zones, from which the area is calculated. Zones whose areas lie between the 10th and 40th percentiles are clearly considered guttae. A gutta profile model is formed for the eye in consideration by averaging the areas that have passed the filters described up to this point. Then, a normalized cross-correlation is performed between the gutta model and the eye image. The cross-correlation output is thresholded with the second self-adjusted parameter of the method: CrossCorrelation Treshold. Finally, a non-maximal suppression is applied to keep the central location of each detected gutta.

Fig. 5
figure 5

A depiction of the inner workings of the method advancing from top to bottom. See text for details.

Figure 5 shows the different stages of the method. Firstly, Fig. 5a is an input eye image with the region of interest surrounded by a red rectangle (subsequently analyzed in detail), whereas Fig. 5b ghts those zones whose intensity is superior to the Minimum Brightness. Figure 5c shows the clear guttae candidates. Figure 5d represents the gutta shape model. Figure 5e shows the output of the normalized cross-correlation of the eye image with the gutta model and highlights the zones that exceed the parameter CrossCorrelation Threshold. Notice that depending on that threshold, the number of final guttae can be greater or lower than the clear guttae candidates. As previously discussed, the method self-adjusted this parameter. Finally, Fig. 5f reveals each peak that succeeds in the non-maximal values suppression, that is, the final location of each gutta center. Hence, the surroundings of the guttae centers are analyzed to extract the metrics reported below.

Metrics description and analysis

A set of metrics is extracted to quantitatively compare healthy and pathological eyes, as well as to train an automatic binary classification model between both groups using pupil sizes of 3 and 5 mm. The calculated metrics are: the Root Mean Square error (RMS) (mrad) considering the values inside the pupil of the HPFM, the Number of Guttae Detected (accounts), Guttae Density (calculated as the number of guttae per \({mm^{2}}\)), Mean Guttae Diameter \((\mu m)\), Mean Guttae Area \(({\mu m^{2}})\), OPD Height (OPDH) (mrad) considered as the difference between the highest and the lowest point of the guttae profile, and Phase Roughness (mrad) calculated by equation 1 based on the Verma’s work equation to obtaining the roughness in ablation in corneas with Laser Vision Correction34.

$$\begin{aligned} Phase Roughness = \frac{RMS}{\sqrt{OPDH}} \end{aligned}$$
(1)

In addition, Delaunay Triangulation (DT) is obtained regarding the guttae position, extracting as quantitative metrics the mean triangle area and the mean triangle area calculated after applying the Convex Hull algorithm. This mathematical tool consists of constructing triangles from a set of points (in this case, the located position of guttae) where the circumcircle of each triangle that forms the mesh must not contain any vertex of another triangle35. Therefore, when guttae are distant and scattered, the triangle area would increase (like in a healthy eye) whereas, if guttae are agglomerated (like in a FECD eye), the triangle area would decrease due to the small distance between guttae. Moreover, the Convex Hull algorithm is implemented to not ponder those external points of the map considered as false negative values.

Once the values have been obtained, the results of both groups and both sizes of students are statistically compared. For this purpose, first the Shapiro-Wilk test is used to assess the normality of each sample, and then the Mann-Whitney U test is used in case any of the samples do not meet the normality distribution. Statistical analysis was performed using the package scipy.stats (v.1.7.1) of Python (v. 3.9).

Automatic binary classifier model

As a further consideration, this work proposes the Support Vector Machine (SVM) tool from Matlab (v.R2022b) to create an automatic classifier to distinguish between healthy and pathological eyes. This method is applied to both pupil diameter analyses.

Previously, in order to avoid redundant information from the nine previous variables that can correlate with each other (like Mean Guttae Diameter and Mean Guttae Area), the Principal Component Analysis (PCA) was applied to generate a new set of variables (Principal Components(PC)) as a result of linear and orthogonal combinations of the original variables based on finding the maximum variance among the data set36,37, so the principal components will be ordered according to the largest amount of variance among the initial metrics. The number of PC is equal to that of the original set, and each eye (input) would be characterized by the scores of each PC. In this study, the SVM model’s behavior is evaluated using three and five Principal Components.

With the new representation of the sample, to train the SVM model, it is necessary to enter a training data set (composed of the 50% of each group) where each input was labeled as healthy or pathological (ophthalmologist criterion). As at least five measures per eye were taken during the measurement session, only one measure is randomly chosen to avoid the same eye appearing in both sets. Once the model is trained, it is applied to a test data set (the remaining 50%) to be the model itself which classifies each new input as healthy or pathological38,39.

Then, to compare if there are statistical differences between both classifications for the same eye, McNemar’s test is used. That is a statistical test for paired nominal data (the same eye has two independent classifications with the options: Healthy or FECD) where its null hypothesis states that the performance of both classifiers is equal (accepted when the p-value is higher than 0.05)40; also it is recommended to use when the machine learning model is only once fitted, like in the model example presented41. In addition, taking doctors’ diagnoses as the reference classification, to quantify the model hits and misses, the subsequent evaluation metrics for binary classification are obtained according to the equations presented in Rainio’s work42: Accuracy, defined as the proportion of correctly classified instances by the SVM model in the set of all the instances; Sensitivity, defined as the proportion of the truely positive instances from those cases that are pathological according to the doctors’ criteria; and Precision, defined as the instances classified as positive from those cases that are predicted as pathological by the SVM model.

Results

Qualitative evaluation of the Fuchs’ endothelial corneal dystrophy

Since part of the pathological eyes has not been graded into stages by ophthalmologists, it has been decided to present examples of Healthy eyes and FECD with and without severity grade in Fig. 6 to demonstrate the agreement between what the ophthalmologists described in their slit-lamp evaluations with what is observed in the HPFM, expressing both comparisons below. Figure 6a is a healthy eye with no remarkable event according to the ophthalmologist and any characteristic pattern in the HPFM; Fig. 6b is an isolated FECD eye with grade 2 and inferior-paracentral guttae (2 mm area) as reported by the doctor, also in the HPFM slight agglomeration of dark spots in the 2 mm below the center appear; Fig. 6c corresponds to an isolated FECD eye with grade 5 (any other comment from the ophthalmologist), while in the HPFM there are dark spots concentrated in aproximately the whole pupil (less frequent at the lower edge); Fig. 6d is another isolated FECD case with grade 5 with guttae in central 4–5 mm according to the slit-lamp exploration, as well as in the HPFM there are dark spots extended over approximately the entire pupil (edges less affected); Fig. 6e is a FECD eye with undefined grade and IOL, but the doctors referred central guttae, as can be seen in the HPFM, where dark spots are extended in the centre of the pupil with a zone of slight roughness change (right side) surrounded by the dark spots; at last, Fig. 6f is a FECD eye with undefined grade and incipient cataract without any comment from the ophthalmologist, but in the HPFM there are dark spots extended in the centre of the pupil with a zone of moderate roughness change (right side) surrounded by the dark spots.

Fig. 6
figure 6

HPFM of eyes regarding the opthtalmologist criteria: (a) Healthy left eye (OS), (b) FECD grade 2 right eye (OD), (c) FECD grade 5 left eye, (d) FECD grade 5 right eye, (e) FECD left eye (undefined grade) with Monocular Intraocular Lens, (f) FECD left eye (undefined grade) with incipient nuclear cataract. Representation with the patient’s natural pupil.

Furthermore, these maps can be directly comparable to those slit-lamp captures shown in Figure 2 of Matthaei and collegues13, and in slit-lamp retroilluminated images from other studies15,18,43.

Metrics results and comparisons

Regarding the metrics descriptors, their results are presented in Table 1. The values are obtained for both groups (Healthy and FECD) for both pupil diameter analyses (3 and 5 mm). The study of 3 mm includes 247 eyes (43 Healthy and 204 FECD), while the 5 mm analysis has 149 eyes (39 Healthy and 110 FECD). In this last case, the sample is lower because the patient’s natural pupil is smaller than such diameter.

Table 1 Mean and standard deviation of all the metrics for both Healthy and FECD groups, and for both pupil diameter analyses (3 and 5 mm).

The samples have been evaluated statistically using the Shapiro-Wilk test to check their normality distribution. As most cases presented a p-value lower than 0.05, the hypothesis that the samples tend to the normal distribution is rejected, and the U Mann-Whitney test is applied to compare them between groups and pupil diameters. When both groups are compared using the same pupil diameter, the p-value is lower than 0.05 for all the metrics, indicating significant statistical differences between healthy and pathological eyes in both pupil diameters. Otherwise, when different pupil diameters are compared for the same group, the statistical differences are represented in Table 1 with the * mark.

In addition, to show the stability of the phase in the same capture session (five measures with a few seconds of difference), we add an example of a healthy eye, two FECD eyes at different stages of the disease, an one ungraded FECD eye according to the ophthalmologist criteria. Therefore, three HPFM of each eye are presented in Fig. 7, and Table 2 quantitatively demonstrates the variation between the different measurements of the same eye in the same session.

Fig. 7
figure 7

HPFM of different measures from the same eye in a single session: (a) Healthy eye, (b) FECD grade 2, (c) FECD grade 5, (d) FECD undefined grade with Monofocal Intraocular Lenses. Pupil size of 5 mm.

Table 2 Mean and Standard Deviation of a set of metrics calculated from the three images of each eye (different severity examples) in Fig. 7 to show the stability between measures using a pupil diameter of 5 mm. FECD, RMS, and DT are the abbreviations of Fuchs’ Endothelial Corneal Dystrophy, Root Mean Square error, and Delaunay Triangulation, respectively.

Automatic binary classifier model evaluation

An example of the PCA results comparing the first three dimensions using the pupil diameter of 3 mm is represented in Fig. 8. In this case, the first principal component is mostly influenced by the results obtained with the metrics of Delaunay Triangulation (associated with the guttae distribution), the second principal component with the metric of Mean Guttae Area, and the third component is mostly influenced by the metric Number of Guttae Detected.

Fig. 8
figure 8

(a) 3D Plot of the first PCA dimensions; (b) Scores for the \(1^{st}\) against the \(2^{nd}\) PCA dimensions; (c) Scores for the \(1^{st}\) against the \(3^{rd}\) PCA dimensions.

Regarding the statistical comparison between both classifications applying McNemar’s test, the p-values obtained for the 3 mm pupil size were 0.67 and 0.51 using 3 and 5 PCs respectively, meanwhile for the 5 mm pupil size using 3 PCs was 0.56 and 0.66 with the 5 PCs. Then, the null hypothesis is accepted for all the cases, indicating that there are no statistical differences between both classifications.

On the other hand, the evaluation metrics of the SVM model have also been calculated for these 4 analyses considering the physicians’ labels as true. The accuracy, sensitivity, and precision results for the 3 mm pupil analysis with 3 PCs were: 92.8%, 96.9%, and 94.8% respectively, meanwhile using 5 PCs the results were: 92.8%, 96.1%, and 95.2%. Also, for the 5 mm pupil analysis with 3 PCs the values were: 90.2%, 94.8%, and 92.1% respectively, and 90.7%, 94.8%, and 92.7% using the 5 PCs.

Discussions

This study illustrates the applicability of the WFPI Sensor to evaluate Fuchs’ Endothelial Dystrophy by means of a qualitative and quantitative analysis using metrics extracted from the ocular wavefront phase. The usefulness of the current sensor demonstrates the relevance of considering the phase beyond extreme orders to uncover minor details such as guttae. Reviewing the literature, no previous aberrometer has revealed a pattern like these from the wavefront phase, being one of their main disadvantages representing the phase up to the 10th order of Zernike’s polynomials as well as recalculating the corneal wavefront from elevation data.

First of all, examples of a healthy and FECD eyes HPFM with different corneal status according to the ophthalmologist’s description are shown in Fig. 6. In these cases, there is concordance between what is described by the ophthalmologist in his examination using the slit lamp (distribution of guttae) with the pattern of dots observed in the HPFM. Likewise, these patterns are similar to the distribution of guttae shown by other authors with slit-lamp15,18,43, and as clear examples are the comparisons between our maps (d) and (f) in Fig. 6 with the slit lamp images (c) and (e) in Figure 2 of Matthaei’s work respectively. In the first example, the guttae are agglomerated in the center of the pupil but do not exist in the periphery; while in the second case there is an area of changing roughness surrounded by guttae that Matthaei describes as a bullae. On the other hand, given the novelty of the sensor and its applicability in ophthalmology, but previously validated in artificial and human eyes27,28, it has been decided to show examples of stability of the wavefront phase measurement between 5 captures (taken consecutively a few seconds apart with blinks in between) to demonstrate that it is not random noise generated by the sensor or type or fluctuating structures such as tear deposits or vacuoles due to their variable position (Fig. 7). We have also calculated the mean and standard deviation of some metrics between the measurements for each eye, showing that the standard deviation is not critical (Table 2).

Regarding the statistical differences obtained in the metrics extracted from the Automatic Guttae Detection Method, we can hypothesize that: the metric Number of Guttae Detected increments when the pupil diameter increases, but the metric Guttae Density does not change in the Healthy group, indicating that in this group the regions detected are not dependent of the pupil diameter while in the FECD group the value was slightly decreased due to the highest concentration of guttae in the central region that tends to spread toward the periphery, as stated in all reviews1,3,7,8,9. The metrics Mean Guttae Diameter and Mean Guttae Area are statistically different between healthy and pathological eyes independently of pupil diameter, but, for the same group, the value remains regardless of pupil size, indicating that each group has its own characteristics. In this case, although no literature characterizes these parameters with wavefront phase information, these results can be compared with other studies that use different methods to calculate it: Soh and colleagues obtained a mean value of guttae size of 407 ± 155 \(\upmu\)m218, being closer to ours obtained in the healthy group rather than in the pathological group, and Dong and colleagues reported guttae diameters in a range of 20 to 60 \(\upmu\)m44 in agreement with our values obtained in both groups. Concerning the OPDH metric, there were statistical differences in the FECD group expressing that it decreases when the external area is evaluated, launching the hypothesis that this could be associated with the dystrophy severity, while this metric remains constant in healthy eyes between different pupil sizes. The Phase Roughness does not change in any of the groups despite pupil size but differs from group to group, as was also illustrated in Vaitinadapoulé’s work, demonstrating that the roughness increases in the FECD eyes against the healthy ones measuring corneal nanotopography by chromatic confocal microscopy45. The results with DT metric match with those of the Guttae Density, indicating that the guttae distribution changes tend to spread along the pupil (explaining the triangle area increment) in the FECD group meanwhile the distribution is uniform in healthy eyes. Otherwise, when Convex Hull method is applied, the DT mean area illustrates that removing external points affects the Healthy group (increasing the triangle area) but not the FECD eyes due to the high amount of guttae also in the periphery because these spots are not considered as outsiders. Nevertheless, due to the different methodologies of acquisition, the quantitative comparisons between works are not completely reliable, only tentative.

After this detailed analysis, the usability of the automatic method is supported by the number of metrics that are easy to interpret and are distinguishable between healthy and pathological eyes. Moreover, this method is able to directly acquire more features than conventional images, such as phase roughness. This parameter should be evaluated in more detail in future studies, as it has been seen in some pathological eyes as there is a change of roughness in certain regions, so it should be evaluated individually as it could be key in the early detection of the appearance of edema in mild cases that could be missed in slit lamp examination. There are already studies focused on this aspect using the Anterior Segment Spectral Domain Optical Coherence Tomography (OCT) technique46, where the presence of edema at different stages of the pathology is mainly evaluated by means of a specific number of corneal transversal sections. But in these cases, the distribution of the guttae is not relevant, which should be taken into account since it has been shown the relation between the guttae distribution and corneal edema47. Moreover, Soh and colleagues in their Figure 418 represent the area with greater accumulation of guttae regarding the laterality of the eye, being clearly superior in the inferotemporal pupil zone, which agrees with the regions where the HPFM changes the roughness in right eyes (on the left side of the map), and left eyes (on the right side of the map), like are exemplified in Fig. 6e, f. With this in mind, the device presented in this study could quantitatively monitor pathology over time based on the distribution of guttae and can assess when this change in roughness occurs.

Notice that throughout the paper we have been talking about the Optical Path Difference Height because we want to make it clear that we are not measuring the morphological height or depth of these per se, but the phase change they produce. That justifies the scale with which the HPFM is represented, together with the fact that when recovering the phase by measuring the intensity propagation, the details that are below the axis resolution of the system (not the lateral resolution) are mitigated but not disappeared, as vanDam refers in his work48.

Concerning the PCA and the SVM model, the example ploted in the Fig. 8 with the first 3 PCs for 3 mm pupil diameter shows that both groups are in two separate regions, and the principal components that distinguish between both groups are obtained from the metrics that would be easily interpreted by ophthalmologists: guttae distribution, guttae area, and regions detected. The pathologic group tends to be more crowded than the healthy group. Given the clear distribution of values of both groups, we have chosen to perform the automatic binary classification using the SVM method, thinking that it would be the best fit since it generates a plane that tries to separate both groups with the greatest possible difference. This model has achieved a sensitivity of approximately 95%, and there is no difference between its classification and that of the ophthalmologists, being more sensitive than other works with 91% using only images to train the classifier model49. However, the remaining percentage would be influenced by the fact that each eye has been evaluated by a single ophthalmologist, having participated five in total. So, the examination and diagnosis depend on the experience of each one, where it may be the case that incipient cases of FECD can be classified as healthy (False Negatives) or vice versa (False Positives). Also, we should consider that the recovered phase is from all the ocular media and not just from the cornea. Hence, particles, vacuoles, or pigment could be detected by the automatic method as guttae in a healthy eye, labeling it as FECD (False Positives). Moreover, the pathological sample includes patients with cataracts that could hide guttae where both media overlap and the method would classify an eye with FECD as a healthy eye (False Negatives).

On the other hand, this automatic classifier is trained only using metrics, but we are aware that these accuracy results can be improved by applying algorithms that allow training neural networks combining the results of the metrics together with the HPFM, and that is also able to distinguish between different pathologies by taking advantage of the results of previous studies, as other authors have already achieved using only images50. Despite this, the purpose of this study is to present the automatic gutta detection method, its development, and its ability to obtain objective results, leaving in the background the initial proposal of a binary classification model.

In summary, the objective quantification of guttae is an important prerequisite for the Fuchs’ Dystrophy assessment and treatment, and it would allow a better understanding of the origin of visual impairment, as the authors of the references advocate. In the same way, the literature raises the hypothesis that guttae are the source of the aberrations of the posterior corneal surface, although the cause is so far unknown. Because of the presented results, using this high-resolution sensor, it has been possible to process the phase so guttae could be extracted, demonstrating the relevance of analyzing the wavefront phase further low orders, as well as the impact of these protrusions in the ocular aberrations. Alongside this, a reliable objective analysis of the guttae could be performed with an automatic detection method, being a valid tool for the diagnosis and monitoring of the pathology over time.