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 18;12(2):310.
doi: 10.3390/jpm12020310.

COVID-19 Detection in CT/X-ray Imagery Using Vision Transformers

Affiliations

COVID-19 Detection in CT/X-ray Imagery Using Vision Transformers

Mohamad Mahmoud Al Rahhal et al. J Pers Med. .

Abstract

The steady spread of the 2019 Coronavirus disease has brought about human and economic losses, imposing a new lifestyle across the world. On this point, medical imaging tests such as computed tomography (CT) and X-ray have demonstrated a sound screening potential. Deep learning methodologies have evidenced superior image analysis capabilities with respect to prior handcrafted counterparts. In this paper, we propose a novel deep learning framework for Coronavirus detection using CT and X-ray images. In particular, a Vision Transformer architecture is adopted as a backbone in the proposed network, in which a Siamese encoder is utilized. The latter is composed of two branches: one for processing the original image and another for processing an augmented view of the original image. The input images are divided into patches and fed through the encoder. The proposed framework is evaluated on public CT and X-ray datasets. The proposed system confirms its superiority over state-of-the-art methods on CT and X-ray data in terms of accuracy, precision, recall, specificity, and F1 score. Furthermore, the proposed system also exhibits good robustness when a small portion of training data is allocated.

Keywords: COVID-19; X-ray images; computed tomography; deep learning; vision transformer.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
The overall structure of the proposed model.
Figure 2
Figure 2
Samples of patients from the COVIDx dataset: (a) healthy (normal), (b) pneumonia, and (c) COVID-19.
Figure 3
Figure 3
Samples of patients from the CT dataset: (a) non-COVID-19 and (b) COVID-19.
Figure 4
Figure 4
Confusion matrix for the evaluation on test set of COVIDx dataset, where the labels 0, 1, and 2 represents the normal, COVID-19, and pneumonia classes, respectively.
Figure 5
Figure 5
Heat maps of the COVIDx images: (a) COVID-19 and (b) pneumonia.
Figure 6
Figure 6
Heat maps of CT images of COVID-19 cases.

Similar articles

Cited by

References

    1. Jacofsky D., Jacofsky E.M., Jacofsky M. Understanding Antibody Testing for COVID-19. J. Arthroplast. 2020;35:S74–S81. doi: 10.1016/j.arth.2020.04.055. - DOI - PMC - PubMed
    1. Tahamtan A., Ardebili A. Real-Time RT-PCR in COVID-19 Detection: Issues Affecting the Results. Expert Rev. Mol. Diagn. 2020;20:453–454. doi: 10.1080/14737159.2020.1757437. - DOI - PMC - PubMed
    1. Lan L., Xu D., Ye G., Xia C., Wang S., Li Y., Xu H. Positive RT-PCR Test Results in Patients Recovered From COVID-19. JAMA. 2020;323:1502. doi: 10.1001/jama.2020.2783. - DOI - PMC - PubMed
    1. False-Negative Results of Initial RT-PCR Assays for COVID-19: A Systematic Review. [(accessed on 14 February 2021)]. Available online: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0242958. - PMC - PubMed
    1. Loeffelholz M.J., Tang Y.-W. Laboratory Diagnosis of Emerging Human Coronavirus Infections—The State of the Art. Emerg. Microbes Infect. 2020;9:747–756. doi: 10.1080/22221751.2020.1745095. - DOI - PMC - PubMed

LinkOut - more resources