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
. 2023 Mar 13;13(3):519.
doi: 10.3390/jpm13030519.

Automatic Diagnosis of Infectious Keratitis Based on Slit Lamp Images Analysis

Affiliations

Automatic Diagnosis of Infectious Keratitis Based on Slit Lamp Images Analysis

Shaodan Hu et al. J Pers Med. .

Abstract

Infectious keratitis (IK) is a common ophthalmic emergency that requires prompt and accurate treatment. This study aimed to propose a deep learning (DL) system based on slit lamp images to automatically screen and diagnose infectious keratitis. This study established a dataset of 2757 slit lamp images from 744 patients, including normal cornea, viral keratitis (VK), fungal keratitis (FK), and bacterial keratitis (BK). Six different DL algorithms were developed and evaluated for the classification of infectious keratitis. Among all the models, the EffecientNetV2-M showed the best classification ability, with an accuracy of 0.735, a recall of 0.680, and a specificity of 0.904, which was also superior to two ophthalmologists. The area under the receiver operating characteristics curve (AUC) of the EffecientNetV2-M was 0.85; correspondingly, 1.00 for normal cornea, 0.87 for VK, 0.87 for FK, and 0.64 for BK. The findings suggested that the proposed DL system could perform well in the classification of normal corneas and different types of infectious keratitis, based on slit lamp images. This study proves the potential of the DL model to help ophthalmologists to identify infectious keratitis and improve the accuracy and efficiency of diagnosis.

Keywords: automatic classification; deep learning; infectious keratitis; slit lamp image.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Representative slit lamp images of the normal cornea (Normal), viral keratitis (VK), fungal keratitis (FK), and bacterial keratitis (BK), from top to bottom. Each image was from a different eye, and each category of keratitis showed a different degree of infection.
Figure 2
Figure 2
(A) The flowchart of the DL diagnostic system for IK based on slit lamp images. Firstly, the input images were preprocessed and divided into three data sets. Next, data augmentation and data processing were performed on the images. Then, various DL algorithms were used for model development, optimization, and evaluation. Finally, the results of the models were output in the form of heatmaps and class labels. (B) The architecture of EfficientNetV2. It was mainly composed of several Fused-MBConv blocks and MBConv blocks. Early features were extracted using Fused-MBConv blocks, which used 1 × 1 Conv, 3 × 3 Conv and SE layers. It used depthwise convolution to extract from MBConv blocks. Compared with the traditional convolution widely used in other models, depthwise convolution had fewer parameters and computation.
Figure 2
Figure 2
(A) The flowchart of the DL diagnostic system for IK based on slit lamp images. Firstly, the input images were preprocessed and divided into three data sets. Next, data augmentation and data processing were performed on the images. Then, various DL algorithms were used for model development, optimization, and evaluation. Finally, the results of the models were output in the form of heatmaps and class labels. (B) The architecture of EfficientNetV2. It was mainly composed of several Fused-MBConv blocks and MBConv blocks. Early features were extracted using Fused-MBConv blocks, which used 1 × 1 Conv, 3 × 3 Conv and SE layers. It used depthwise convolution to extract from MBConv blocks. Compared with the traditional convolution widely used in other models, depthwise convolution had fewer parameters and computation.
Figure 3
Figure 3
The macro-average ROC curves and AUCs of six DL models. The AUCs of the models ranged from 0.81–0.86.
Figure 4
Figure 4
The macro-average ROC curves and AUCs of the EffecientNetV2-M model and two ophthalmologists (A). The ROC curves for each category of the EffecientNetV2-M model (B), Doctor 1 (C) and Doctor 2 (D).
Figure 5
Figure 5
The confusion matrix of the EffecientNetV2-M model (A) and the average results of two ophthalmologists (B) in the test set. The column denotes the predicted labels, and the row indicates the true labels.
Figure 6
Figure 6
The heatmaps generated by the EffecientNetV2-M model. From top to bottom, each row corresponds to the images of viral keratitis (VK), fungal keratitis (FK) and bacterial keratitis (BK). Columns (A,C) are different original image examples of images of each category, while column (B) are the heatmaps generated by column (A), and column (D) are the heatmaps generated by column (C).

References

    1. Flaxman S.R., Bourne R.R.A., Resnikoff S., Ackland P., Braithwaite T., Cicinelli M.V., Das A., Jonas J.B., Keeffe J., Kempen J.H., et al. Global causes of blindness and distance vision impairment 1990–2020: A systematic review and meta-analysis. Lancet Glob. Health. 2017;5:E1221–E1234. doi: 10.1016/S2214-109X(17)30393-5. - DOI - PubMed
    1. Ung L., Bispo P.J.M., Shanbhag S.S., Gilmore M.S., Chodosh J. The persistent dilemma of microbial keratitis: Global burden, diagnosis and antimicrobial resistance. Surv. Ophthalmol. 2019;64:255–271. doi: 10.1016/j.survophthal.2018.12.003. - DOI - PMC - PubMed
    1. Gopinathan U., Garg P., Fernandes M., Sharma S., Athmanathan S., Rao G.N. The epidemiological features and laboratory results of fungal keratitis: A 10-year review at a referral eye care center in South India. Cornea. 2002;21:555–559. doi: 10.1097/00003226-200208000-00004. - DOI - PubMed
    1. Clemens L.E., Jaynes J., Lim E., Kolar S.S., Reins R.Y., Baidouri H., Hanlon S., McDermott A.M., Woodburn K.W. Designed Host Defense Peptides for the Treatment of Bacterial Keratitis. Investig. Ophthalmol. Vis. Sci. 2017;58:6273–6281. doi: 10.1167/iovs.17-22243. - DOI - PMC - PubMed
    1. Leck A., Burton M. Distinguishing fungal and bacterial keratitis on clinical signs. Community Eye Health. 2015;28:6–7. - PMC - PubMed

LinkOut - more resources