Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Feb;129(2):139-146.
doi: 10.1016/j.ophtha.2021.07.033. Epub 2021 Aug 2.

Differentiation of Active Corneal Infections from Healed Scars Using Deep Learning

Affiliations

Differentiation of Active Corneal Infections from Healed Scars Using Deep Learning

Mo Tiwari et al. Ophthalmology. 2022 Feb.

Abstract

Purpose: To develop and evaluate an automated, portable algorithm to differentiate active corneal ulcers from healed scars using only external photographs.

Design: A convolutional neural network was trained and tested using photographs of corneal ulcers and scars.

Participants: De-identified photographs of corneal ulcers were obtained from the Steroids for Corneal Ulcers Trial (SCUT), Mycotic Ulcer Treatment Trial (MUTT), and Byers Eye Institute at Stanford University.

Methods: Photographs of corneal ulcers (n = 1313) and scars (n = 1132) from the SCUT and MUTT were used to train a convolutional neural network (CNN). The CNN was tested on 2 different patient populations from eye clinics in India (n = 200) and the Byers Eye Institute at Stanford University (n = 101). Accuracy was evaluated against gold standard clinical classifications. Feature importances for the trained model were visualized using gradient-weighted class activation mapping.

Main outcome measures: Accuracy of the CNN was assessed via F1 score. The area under the receiver operating characteristic (ROC) curve (AUC) was used to measure the precision-recall trade-off.

Results: The CNN correctly classified 115 of 123 active ulcers and 65 of 77 scars in patients with corneal ulcer from India (F1 score, 92.0% [95% confidence interval (CI), 88.2%-95.8%]; sensitivity, 93.5% [95% CI, 89.1%-97.9%]; specificity, 84.42% [95% CI, 79.42%-89.42%]; ROC: AUC, 0.9731). The CNN correctly classified 43 of 55 active ulcers and 42 of 46 scars in patients with corneal ulcers from Northern California (F1 score, 84.3% [95% CI, 77.2%-91.4%]; sensitivity, 78.2% [95% CI, 67.3%-89.1%]; specificity, 91.3% [95% CI, 85.8%-96.8%]; ROC: AUC, 0.9474). The CNN visualizations correlated with clinically relevant features such as corneal infiltrate, hypopyon, and conjunctival injection.

Conclusions: The CNN classified corneal ulcers and scars with high accuracy and generalized to patient populations outside of its training data. The CNN focused on clinically relevant features when it made a diagnosis. The CNN demonstrated potential as an inexpensive diagnostic approach that may aid triage in communities with limited access to eye care.

Keywords: Artificial intelligence; Corneal scar; Corneal ulcer; Deep learning; Infectious keratitis.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None of the authors have a proprietary/financial interest to disclose.

Figures

Figure 1.
Figure 1.
Architecture diagram for convolutional neural network VGG-16.
Figure 2.
Figure 2.
Test Set 1 Receiver operating characteristic curve (2a), Precision-Recall curve (2b), and calibration curve (2c). Test Set 2 Receiver operating characteristic curve (2d), Precision-Recall curve (2e), and calibration (2f) curve.
Figure 3.
Figure 3.
Examples of Grad-CAM visualizations.
Figure 4.
Figure 4.
Comparison of a manually annotated photograph of a corneal ulcer and its corresponding Grad-CAM heatmap with good agreement.
Figure 5.
Figure 5.
Comparison of a manually annotated photograph of a corneal ulcer and its corresponding Grad-CAM heatmap with poor overlap.

Similar articles

Cited by

References

    1. Austin A, Lietman T, Rose-Nussbaumer J. Update on the Management of Infectious Keratitis. Ophthalmology. 2017;124(11):1678–1689. - PMC - PubMed
    1. India - number of ophthalmologists 2005–2020. https://www.statista.com/statistics/953172/india-number-of-ophthalmologi.... Accessed December 22, 2020.
    1. Access to eye care, uptake of services are issues in India. https://www.healio.com/news/ophthalmology/20120225/access-to-eye-care-up.... Accessed December 22, 2020.
    1. Esteva A, Kuprel B, Novoa RA, et al. Dermatologist-level classification of skin cancer with deep neural networks [published correction appears in Nature. 2017 Jun 28;546(7660):686]. Nature. 2017;542(7639):115–118. - PMC - PubMed
    1. Strodthoff N, Strodthoff C. Detecting and interpreting myocardial infarction using fully convolutional neural networks. Physiol Meas. 2019;40(1):015001. - PubMed

Publication types

MeSH terms