| Literature DB >> 35572043 |
S Padmakala1, S Revathy1, K Vijayalakshmi1, M Mathankumar2.
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%.Entities:
Keywords: Canny algorithm; Chest X-ray; PyTorch; Resnet18
Year: 2022 PMID: 35572043 PMCID: PMC9080056 DOI: 10.1016/j.matpr.2022.05.003
Source DB: PubMed Journal: Mater Today Proc ISSN: 2214-7853
Comparison table between the corona virus and various viral infected diseases such as flu, Ebola virus, SARS under various aspects.
| Wuhan city, China at December 2019. | United States at 1918–1919 | Central Africa in Democratic Republic of Congo in a village near Ebola River at 1976 | Emerged in China at the end of February 2003. | |
| Coronaviridae- family of viruses | Influenza viruses | Ebola virus | SARS-associated coronavirus | |
| An infected person’s mouth or nose in small liquid particles when they speak, cough, sneeze or breath. The particle ranges from larger respiratory droplets to smaller aerosols. | Droplets produced while coughing or sneezing. | Body fluid like blood, saliva or feces. | Droplets or touching the virus contaminated objects. | |
| Fever, cough, headache is most common. Chest pain, oxygen level saturation is serious | Fever, chill, runny nose, sore throat, vomiting or diarrhea. | Joint pain, weakness and fatigue, loss of appetite, unexplained hemorrhaging, bleeding. | Fever (greater than 38 degree C), dry cough, shortness of breath | |
| Nucleic Acid Amplification Tests (NAATs), antigen tests and antibody test (serology test) | Viral culture, serology, rapid antigen testing, RT-PCR, immunofluorescence assays and rapid molecular assays. | PCR test is the most common test to detect virus is present in the blood. | PCR test and Antibody testing |
Classification results of four architectures.
| 0.82 | 0.75 | 0.91 | 0.82 | |
| 0.93 | 0.96 | 0.90 | 0.93 | |
| 0.93 | 0.88 | 0.99 | 0.93 | |
| 0.96 | 0.96 | 0.90 | 0.96 | |
Fig. 1Entire workflow of the lung recognition model.
Fig. 2Raw 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. 3Pre-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. 4Basic and Standard structure of Res Net18 Architecture.
Fig. 5Detailed view of Single Residual Function.
Performance value of each trained model classes along with its accuracy.
| 0.96 | 0.90 | 0.96 | 30 | |
| 0.91 | 0.97 | 0.94 | 30 | |
| 0.96 | 60 | |||
| 0.95 | 0.96 | 0.96 | 60 | |
| 0.95 | 0.96 | 0.96 | 60 |
Fig. 6Testing the image after training the model.
Fig. 7Accuracy and loss of the ResNet18 model during validation.
Data pre-processing Job |
Data Cleaning task |
For each record R1 in dataset D1: |
If R1(‘finding’)== “Covid”: |
Extract only the image and save it in Covid-folder(S1) |
Else: |
Do nothing |
For each record R2 in dataset D2: |
If R1(‘finding’)== “Normal”: |
Extract only the image and save it in Normal-folder(S1) |
Else: |
Do nothing |
Data Integration task |
Join Both the folder |
Dataset(D) = Covid-folder(S1) U Normal-folder(S2) |
Image pre-processing Job |
Scaling Task |
For each image I in dataset D: |
Resize(I(width, height)) |
Filtering Task |
For each image I in dataset D: |
For each pixels P in image I: |
P = Median Value[Pi], where i = neighbouring pixel value of P |
Edge Detection Task |
For each image I in dataset D: |
Canny(I, width, height) |
Region-based Segmentation Task |
For each image I in dataset D: |
Threshold(I,threshold_value,255,binary-inverter-threshold) |
Classification Job |
Training and Testing Task |
Create ResNet18 model |
For each image I in traning dataset T1: |
Train(I,epochs) |
Test the image I with trained model |