Skip to main content

Deep Learning Based Early Diagnosis for SARS-CoV-2 Using Chest X-Ray Images

  • Conference paper
  • First Online:
Proceedings of the International Conference on Advanced Intelligent Systems and Informatics 2021 (AISI 2021)

Abstract

Although Vaccines seem like the first ray of hope in a long time, it is still far too early to assume that this pandemic calamity is over. The corona virus is a persistent and highly contagious disease which can evolve faster than most self-acclaimed SoundCloud Rappers’ dying careers. Fortunately, computed tomography (CT) and X-Ray chest images have been proven to be very effective in diagnosing pneumonia. Although, CT scans are more accurate, they are slower, less available and more expensive than X-Ray. Chest X-Ray diagnosis requires a highly experienced medical expert, though. The popularity of Deep Learning has been sky rocketing ever since 2012’s ImageNet Large Scale Visual Recognition Challenge (ILSVRC). Accordingly, deep learning techniques can provide an alternate computer aided diagnosis given that enough data is available for the machine learning process. This paper proposes 2 early COVID19 diagnosis deep learning models through transfer learning using frontal X-ray Chest Images, one for binary (as COVID19 and Normal) and another for multi-class (as COVID19, Normal and Viral Pneumonia) classification. The models are proposed after a comparative study on the performance of several state of the art Convolutional Neural Networks is made on both classification types. The images’ quality is first enhanced with Contrast Limited Adaptive Histogram Equalization (CLAHE) algorithm and augmented. After having its Hyper Parameter optimized, each model is fine tuned to fit the data. The recall, precision, specificity, f1 Score, and accuracy are used to evaluated the performance of the models. The results indicate that the fined tuned VGG16 performed the best in multi-class classification with 96.7% and 97.8% COVID19 f1 score and testing accuracy respectively. In binary classification, ResNet50 displayed superior results with COVID19 f1 score and testing accuracy of 96.4% and 98.3% respectively.

S. M. ElGhamrawy---Senior IEEE Member.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Knowable Magazine Staff: Pandemics in recent history. https://knowablemagazine.org/article/health-disease/2020/pandemics-recent-history

  2. Coronavirus cases. https://www.worldometers.info/coronavirus/

  3. Huang, C., et al.: Clinical features of patients infected with 2019 novel coronavirus in Wuhan, China. Lancet 395(10223), 497–506 (2020)

    Article  Google Scholar 

  4. Elghamrawy, S.M., Hassnien, A.E., Snasel, V.: Optimized deep learning-inspired model for the diagnosis and prediction of covid-19. CMC-Comput. Mater. Continua 67(2), 2353–2371 (2021)

    Article  Google Scholar 

  5. Allen, J.N., Davis, W.B.: Eosinophilic lung diseases. Am. J. Respir. Crit. Care Med. 150(5), 1423–1438 (1994)

    Article  Google Scholar 

  6. Fourcade, A., Khonsari, R.: Deep learning in medical image analysis: a third eye for doctors. J. Stomatol. Oral Maxillofac. Surg. 120(4), 279–288 (2019)

    Article  Google Scholar 

  7. Sethi, R., Mehrotra, M., Sethi, D.: Deep learning based diagnosis recommendation for covid-19 using chest X-rays images. In: 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), pp. 1–4. IEEE (2020)

    Google Scholar 

  8. Punn, N.S., Agarwal, S.: Automated diagnosis of covid-19 with limited posteroanterior chest X-ray images using fine-tuned deep neural networks. Appl. Intell. 1–14 (2020)

    Google Scholar 

  9. Sitompul, O.S., Nababan, E.B., et al.: Biased support vector machine and weighted-smote in handling class imbalance problem. Int. J. Adv. Intell. Inform. 4(1), 21–27 (2018)

    Article  Google Scholar 

  10. Chawla, N.V., Bowyer, K.W., Hall, L.O., Kegelmeyer, W.P.: Smote: synthetic minority over-sampling technique. J. Artif. Intell. Res. 16, 321–357 (2002)

    Article  Google Scholar 

  11. Horry, M.J., et al.: Covid-19 detection through transfer learning using multimodal imaging data. IEEE Access 8, 149 808–149 824 (2020)

    Google Scholar 

  12. Zuiderveld, K.: Contrast limited adaptive histogram equalization. Graphics Gems 474–485 (1994)

    Google Scholar 

  13. Jain, G., Mittal, D., Thakur, D., Mittal, M.K.: A deep learning approach to detect covid-19 coronavirus with X-ray images. Biocybern. Biomed. Eng. 40(4), 1391–1405 (2020)

    Article  Google Scholar 

  14. Cohen, J.P., Morrison, P., Dao, L., Roth, K., Duong, T.Q., Ghassemi, M.: Covid-19 image data collection: prospective predictions are the future. arXiv preprint arXiv:2006.11988 (2020)

  15. Rahman, T.: Covid-19 radiography database (2020). https://www.kaggle.com/tawsifurrahman/covid19-radiography-database

  16. http://www.image-net.org/index

  17. Jain, R., Gupta, M., Taneja, S., Hemanth, D.J.: Deep learning based detection and analysis of covid-19 on chest X-ray images. Appl. Intell. 51(3), 1690–1700 (2021)

    Article  Google Scholar 

  18. Shahriari, B., Swersky, K., Wang, Z., Adams, R.P., De Freitas, N.: Taking the human out of the loop: a review of Bayesian optimization. Proc. IEEE 104(1), 148–175 (2015)

    Article  Google Scholar 

  19. El-Ghamrawy, S.M.: A knowledge management framework for imbalanced data using frequent pattern mining based on bloom filter. In: 2016 11th International Conference on Computer Engineering & Systems (ICCES), pp. 226–231. IEEE, December 2016

    Google Scholar 

  20. K. Team: Keras documentation: Grad-cam class activation visualization. https://keras.io/examples/vision/gradcam/

  21. Paulgavrikov: paulgavrikov/visualkeras. https://github.com/paulgavrikov/visualkeras/

  22. Weinstock, M.B., et al.: Chest X-ray findings in 636 ambulatory patients with covid-19 presenting to an urgent care center: a normal chest X-ray is no guarantee. J. Urgent Care Med. 14(7), 13–18 (2020). Normal Chest X-ray Doesn’t Rule Out COVID-19 – Medscape – 18 April 2020

    Google Scholar 

  23. Wang, N., Liu, H., Xu, C.: Deep learning for the detection of covid-19 using transfer learning and model integration. In: 2020 IEEE 10th International Conference on Electronics Information and Emergency Communication (ICEIEC), pp. 281–284. IEEE (2020)

    Google Scholar 

  24. Padma, T., Kumari, C.U.: Deep learning based chest X-ray image as a diagnostic tool for covid-19. In: 2020 International Conference on Smart Electronics and Communication (ICOSEC), pp. 589–592. IEEE (2020)

    Google Scholar 

  25. Dansana, D., et al.: Early diagnosis of covid-19 affected patients based on X-Ray and computed tomography images using deep learning algorithm. Soft Comput. 1–9 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sally M. ElGhamrawy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Attia, A.R.M., ElGhamrawy, S.M. (2022). Deep Learning Based Early Diagnosis for SARS-CoV-2 Using Chest X-Ray Images. In: Hassanien, A.E., Snášel, V., Chang, KC., Darwish, A., Gaber, T. (eds) Proceedings of the International Conference on Advanced Intelligent Systems and Informatics 2021. AISI 2021. Lecture Notes on Data Engineering and Communications Technologies, vol 100. Springer, Cham. https://doi.org/10.1007/978-3-030-89701-7_1

Download citation

Publish with us

Policies and ethics