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:66:1201-1210.
doi: 10.1016/j.matpr.2022.05.003. Epub 2022 May 8.

CNN supported automated recognition of Covid-19 infection in chest X-ray images

Affiliations

CNN supported automated recognition of Covid-19 infection in chest X-ray images

S Padmakala et al. Mater Today Proc. 2022.

Abstract

Automatic recognition of lung system is use to identify normal and covid infected lungs from chest X-ray images of the people. In the year 2020, the coronavirus forcefully pushed the entire world into a freakish situation, the foremost challenge is to diagnosis the coronavirus. We have got standard diagnosis test called PCR test which is complex and costlier to check the patient's sample at initial stage. Keeping this in mind, we developed a work to recognize the chest X-ray image automatically and label it as Covid or normal lungs. For this work, we collected the dataset from open-source data repository and then pre-process each X-ray images from each category such as covid X-ray images and non-covid X-ray images using various techniques such as filtering, edge detection, segmentation, etc., and then the pre-processed X-ray images are trained using CNN-Resnet18 network. Using PyTorch python package, the resnet-18 network layer is created which gives more accuracy than any other algorithm. From the acquired knowledge the model is correctly classifies the testing X-ray images. Then the performance of the model is calculated and analyzed with various algorithms and hence gives that the resnet-18 network improves our model performance in terms of specificity and sensitivity with more than 90%.

Keywords: Canny algorithm; Chest X-ray; PyTorch; Resnet18.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Figures

Fig. 1
Fig. 1
Entire workflow of the lung recognition model.
Fig. 2
Fig. 2
Raw dataset images are collected from open-source data repository nearly 1500 X-ray images of both covid and non-covid lungs for the further process.
Fig. 3
Fig. 3
Pre-processing the input data from each category one image is taken to perform various per-processing technique for example, like this all the image will be pre-processed before training the image to the model. The X-Ray image(1.a and 2.a) is taken to remove the unwanted noise from the image using median filter(1.b and 2.b), then edges of the image is detected using Canny algorithm(1.c and 2.c) and segmented using binary threshold(1.d and 2.d) and finally the image is contour(1.e and 2.e) for the better understanding of the image.
Fig. 3
Fig. 3
Pre-processing the input data from each category one image is taken to perform various per-processing technique for example, like this all the image will be pre-processed before training the image to the model. The X-Ray image(1.a and 2.a) is taken to remove the unwanted noise from the image using median filter(1.b and 2.b), then edges of the image is detected using Canny algorithm(1.c and 2.c) and segmented using binary threshold(1.d and 2.d) and finally the image is contour(1.e and 2.e) for the better understanding of the image.
Fig. 4
Fig. 4
Basic and Standard structure of Res Net18 Architecture.
Fig. 5
Fig. 5
Detailed view of Single Residual Function.
Fig. 6
Fig. 6
Testing the image after training the model.
Fig. 7
Fig. 7
Accuracy and loss of the ResNet18 model during validation.

References

    1. Yujin O.h., Park Sangjoon, Chul Ye Jong. Deep Learning COVID-19 Features on CXR Using Limited Training Data Sets. IEEE Trans. Med. Imaging. August 2020;39(8):2688–2700. - PubMed
    1. Hsia S.-C., Wang S.-H., Chang C.-Y. Convolution neural network with low operation FLOPS and high accuracy for image recognition. J. Real-Time Image Process. August 2021;18(4):1309–1319.
    1. Sethi R., Mehrotra M., Sethi D. Second International Conference on Inventive Reach in Computing Applications(ICIRCA-2020) September 2020. Deep Learning based Diagnosis Recommendation for COVID-19 using Chect X-ray Images; pp. 1–4.
    1. Zamzami N.h., Koochemeshkian P., Bouguila N. IEEE 21st International Conference on Information Reuse and Integration for Data Science (IRI) September 2020. A Distribution-based Regression for Real-time COVID-19 Cases Detection from Chest X-ray and CT Images; pp. 104–111.
    1. Ping He, Study on epidemic prevention and control strategy of COVID-19 based on personnel flow prediction, in: International Conference on Urban Engineering and Management Science (ICUEMS), pp.688–691, July 2020.

Further reading

    1. João Victor S. das Chagas, Douglas de A. Rodrigues, Roberto F. Ivo, Mohammad Mehedi Hassan, Victor Hugo C. de Albuquerque, and Pedro P. Rebouças Filho, A new approach for the detection of Pneumonia in children using CXR images Based on an real-time IoT system, J. Real-Time Image Process.,18(4), pp.1099–1114, August 2021. - PMC - PubMed
    1. Chamola V., Hassija V., Gupta V., Guizani M. A Comprehensive Review of the COVID-19 Pandemic and the Role of IoT, Drones, AI, Blockchain, and 5G in Managing Its Impact. IEEE Access. May 2020;8:90225–90265.
    1. Ker J., Wang L., Rao J., Lim T. Deep learning applications in medical image analysis. IEEE Access. March 2018;8:9375–9389.
    1. Gaung Li, Lu Bai, Chuanwei Zhu, Enhe Wu, Ruibing Ma, A novel method of synthetic CT generation from MR image based on Convolutional Neural Networks, in: 11th International Congress on Image and signal processing, Biomedical Engineering and Informatics(CISP-BMEI), pp.1–5, Dec 2018.

LinkOut - more resources