Detection of COVID-19 Lung Lesions in Computed Tomography Images Using Deep Learning




COVID-19, Lung Lesions, Classification, Deep Learning, Computed Tomography


The novel coronavirus (COVID-19) is a disease that mainly affects the lung tissue. The detection of lesions caused by this disease can help to provide an adequate treatment and monitoring its evolution. This research focuses on the binary classification of lung lesions caused by COVID-19 in images of computed tomography (CT) using deep learning. The database used in the experiments comes from two independent repositories, which contains tomographic scans of patients with a positive diagnosis of COVID-19. The output layers of four pre-trained convolutional networks were adapted to the proposed task and re-trained using the fine-tuning technique. The models were validated with test images from the two database’s repositories. The model VGG19, considering one of the repositories, showed the best performance with 88% and 90.2% of accuracy and recall, respectively. The model combination using the soft voting technique presented the highest accuracy (84.4%), with a recall of 94.4% employing the data from the other repository. The area under the receiver operating characteristic curve was 0.92 at best. The proposed method based on deep learning represents a valuable tool to automatically classify COVID-19 lesions on CT images and could also be used to assess the extent of lung infection.


Download data is not yet available.


Rothan H, Byrareddy S. The epidemiology and pathogenesis of coronavirus disease (COVID-19) outbreak. J Autoimmun [Internet]. 2020;109:102433. Available from:

Palacios Cruz M, Santos E, Velázquez Cervantes MA, León Juárez M. COVID-19, a worldwide public health emergency. Rev Clin Esp [Internet]. 2021;221(1):55–61. Available from:

World Health Organization. Coronavirus Disease (COVID-19) Dashboard [Internet]. WHO Coronavirus Disease (COVID-19) Dashboard; 2021. Available from:

Instituto Mexicano del Seguro Social. Algoritmos interinos para la atención del COVID-19. Gobierno de México [Internet]. 2020; 1–31. Available from:

He JL, Luo L, Luo ZD, Lyu JX, et al. Diagnostic performance between CT and initial real-time RT-PCR for clinically suspected 2019 coronavirus disease (COVID-19) patients outside Wuhan, China. Respir Med [Internet]. 2020;168:105980. Available from:

Ai T, Yang Z, Hou H, Zhan C, et al. Correlation of Chest CT and RT-PCR Testing for Coronavirus Disease 2019 (COVID-19) in China: A Report of 1014 Cases. Radiology [Internet]. 2020;296(2):E32–40. Available from:

Rubin GD, Ryerson CJ, Haramati LB, Sverzellati N, et al. The Role of Chest Imaging in Patient Management During the COVID-19 Pandemic: A Multinational Consensus Statement From the Fleischner Society. Radiology [Internet]. 2020;296(1):172-180. Available from:

Shen M, Zhou Y, Ye J, AL-maskri AAA, et al. Recent advances and perspectives of nucleic acid detection for coronavirus. J Pharm Anal [Internet]. 2020;10(2):97–101. Available from:

Araujo Oliveira B, Campos de Oliveira L, Cerdeira Sabino E, Okay TS. SARS-CoV-2 and the COVID-19 disease: A mini review on diagnostic methods. Rev Inst Med Trop Sao Paulo [Internet]. 2020;62:e44. Available from:

Uysal E, Kilinçer A, Cebeci H, Özer H, et al. Chest CT findings in RT-PCR positive asymptomatic COVID-19 patients. Clin Imaging [Internet]. 2021;77:37–42. Available from:

Tahamtan A, Ardebili A. Real-time RT-PCR in COVID-19 detection: issues affecting the results. Expert Rev Mol Diagn [Internet]. 2020;20(5):453–4. Available from:

Li X, Zeng W, Li X, Chen H, et al. CT imaging changes of corona virus disease 2019(COVID-19): A multi-center study in Southwest China. J Transl Med [Internet]. 2020;18:154. Available from:

Yang X, He X, Zhao J, Zhang Y, et al. COVID-CT-Dataset: A CT Scan Dataset about COVID-19. arXiv:2003.13865 [Preprint]. 2020. Available from:

Bernheim A, Mei X, Huang M, Yang Y, et al. Chest CT findings in coronavirus disease 2019 (COVID-19): Relationship to duration of infection. Radiology [Internet]. 2020;295(3):685–91. Available from:

Naudé W. Artificial intelligence vs COVID-19: limitations, constraints and pitfalls. AI Soc [Internet]. 2020;35(3):761–765. Available from:

Bullock J, Luccioni A, Pham KH, Lam C, et al. Mapping the Landscape of Artificial Intelligence Applications against COVID-19. arXiv:2003.11336 [Preprint]. 2020;1–32. Available from:

Li L, Qin L, Xu Z, Yin Y, et al. Using Artificial Intelligence to Detect COVID-19 and Community-acquired Pneumonia Based on Pulmonary CT: Evaluation of the Diagnostic Accuracy. Radiology [Internet]. 2020;296(2):E65–71. Available from:

Shah V, Keniya R, Shridharani A, Punjabi M, et al. Diagnosis of COVID-19 using CT scan images and deep learning techniques. Emerg Radiol [Internet]. 2021;28: 497–505. Available from:

Ma J, Wang Y, An X, Ge C, et al. Toward data-efficient learning: A benchmark for COVID-19 CT lung and infection segmentation. Med Phys [Internet]. 2021;48(3):1197-1210. Available from:

Jun M, Cheng G, Yixin W, Xingle A, et al. COVID-19 CT Lung and Infection Segmentation Dataset [Data set]. Zenodo. 2020. Available from:

Karimpanal TG, Bouffanais R. Self-organizing maps for storage and transfer of knowledge in reinforcement learning. Adapt Behav [Internet]. 2019;27(2):111–126. Available from:

Nefoussi S, Amamra A, Amarouche IA. A Comparative Study of Deep Learning Networks for COVID-19 Recognition in Chest X-ray Images. In 2020 2nd International Workshop on Human-Centric Smart Environments for Health and Well-being (IHSH) [Internet]. Boumerdes: IEEE; 2021:237–41. Available from:

Shazia A, Xuan ZT, Chuah JH, Usman J, et al. A comparative study of multiple neural network for detection of COVID-19 on chest X-ray. EURASIP J Adv Signal Process [Internet]. 2021;2021(1):50. Available from:

Perumal, V, Narayanan V, Rajasekar SJS. Detection of COVID-19 using CXR and CT images using Transfer Learning and Haralick features. Appl Intell [Internet]. 2021;51:341–358. Available from:

Rahaman MM, Li C, Yao Y, Kulwa F, et al. Identification of COVID-19 samples from chest X-Ray images using deep learning: A comparison of transfer learning approaches. J Xray Sci Technol [Internet]. 2020;28(5):821–39. Available from:

He K, Zhang X, Ren S, Sun J. Deep Residual Learning for Image Recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) [Internet]. Las Vegas: IEEE; 2016:770-778. Available from:

Simonyan K, Zisserman A. Very Deep Convolutional Networks For Large-Scale Image Recognition. arXiv:1409.1556 [Internet]. 2015. Available from: arXiv:1409.1556v6

Szegedy C, Ioffe S, Vanhoucke V, Alemi AA. Inception-v4, inception-ResNet and the impact of residual connections on learning. In Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence [Internet]. San Francisco:AAAI Pres; 2017:4278–4284. Available from:

Zoph B, Brain G, Vasudevan V, Shlens J, Le Google Brain Q V. Learning Transferable Architectures for Scalable Image Recognition. In 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition [Internet]. Salt Lake City :IEEE; 2018:8697-8710. Available from:

Sahlol AT, Kollmannsberger P, Ewees AA. Efficient Classification of White Blood Cell Leukemia with Improved Swarm Optimization of Deep Features. Sci Rep [Internet]. 2020;10(1):2536. Available from:

Russakovsky O, Deng J, Su H, Krause J, et al. ImageNet Large Scale Visual Recognition Challenge. Int J Comput Vis [Internet]. 2015;115:211–52. Available from:

Ahuja S, Panigrahi BK, Dey N, Rajinikanth V, et al. Deep transfer learning-based automated detection of COVID-19 from lung CT scan slices. Appl Intell [Internet]. 2021;51:571–585. Available from:

Dey N, Rajinikanth V, Fong SJ, Kaiser MS, et al. Social Group Optimization–Assisted Kapur’s Entropy and Morphological Segmentation for Automated Detection of COVID-19 Infection from Computed Tomography Images. Cogn Comput [Internet]. 2020;12:1011–1023. Available from:

Franquet, T. Diagnóstico por imagen de las enfermedades Pulmonares difusas: Signos y patrones diagnósticos básicos. Med respir. 2012;5(3):49-67




How to Cite

Arreola Minjarez, J. I., Díaz Román, J. D., Mederos Madrazo, B. J., Mejía Muñoz, J. M. ., Rascón Madrigal, L. H., & Cota Ruiz, J. de D. . (2022). Detection of COVID-19 Lung Lesions in Computed Tomography Images Using Deep Learning. Revista Mexicana De Ingenieria Biomedica, 43(1), 7–18.



Research Articles

Dimensions Citation