key: cord-238782-z9nb8cwt authors: Rajinikanth, Venkatesan; Kadry, Seifedine; Thanaraj, Krishnan Palani; Kamalanand, Krishnamurthy; Seo, Sanghyun title: Firefly-Algorithm Supported Scheme to Detect COVID-19 Lesion in Lung CT Scan Images using Shannon Entropy and Markov-Random-Field date: 2020-04-14 journal: nan DOI: nan sha: doc_id: 238782 cord_uid: z9nb8cwt The pneumonia caused by Coronavirus disease (COVID-19) is one of major global threat and a number of detection and treatment procedures are suggested by the researchers for COVID-19. The proposed work aims to suggest an automated image processing scheme to extract the COVID-19 lesion from the lung CT scan images (CTI) recorded from the patients. This scheme implements the following procedures; (i) Image pre-processing to enhance the COVID-19 lesions, (ii) Image post-processing to extract the lesions, and (iii) Execution of a relative analysis between the extracted lesion segment and the Ground-Truth-Image (GTI). This work implements Firefly Algorithm and Shannon Entropy (FA+SE) based multi-threshold to enhance the pneumonia lesion and implements Markov-Random-Field (MRF) segmentation to extract the lesions with better accuracy. The proposed scheme is tested and validated using a class of COVID-19 CTI obtained from the existing image datasets and the experimental outcome is appraised to authenticate the clinical significance of the proposed scheme. The proposed work helped to attain a mean accuracy of>92% during COVID-19 lesion segmentation and in future, it can be used to examine the real clinical lung CTI of COVID-19 patients. The recent developments in science and technology helped the human community to get improved medical facility for disease detection and treatment execution process. Further, most of the life threatening diseases in humans are controlled due to prescreening and vaccination procedures. Even though a substantial amount of preventive methods are taken; the spread of the infectious diseases are rising globally due to various circumstances and the communicable illness called the Coronavirus Disease (COVID-19) is one such disease; causing severe impact globally [1] [2] [3] . Because of its severity; the infection rate due to COVID-19 is growing rapidly and has affected large human communities irrespective of their age, gender and race [4] [5] [6] . The cause of COVID-19 is due to a virus named Severe Acute Respiratory Syndrome-Corona Virus-2 (SARS-CoV-2) and this disease originally originated in Wuhan, China, in December 2019 [7] . Outbreak of this disease has emerged as a global challenge and a significant number of research works are initiated to discover the solution to control the infection rate and the spread of COVID-19 [8] [9] [10] . Further, the recent research works related to; (i) disease detection [11] [12] [13] [14] [15] [16] , (ii) treatment planning [17] [18] [19] [20] [21] and (iii) disease prediction [6, 22, 23] has helped to get insight regarding COVID-19. The earlier research and the clinical detection revealed that, COVID-19 causes infection in the respiratory tract and initiates severe pneumonia. Further, the research also revealed that, the early symptoms of COVID-19 are subclinical and it requires a dedicated clinical procedure to detect and confirm the disease. The common clinical level diagnosis involves in; (i) Sample assisted analysis of COVID-19 using Reverse Transcription-Polymerase Chain Reaction (RT-PCR) and (ii) Image assisted evaluation using lung Computed-Tomography (CT) scan images and/or Chest radiographs (Chest X-ray). During the disease screening process, biological samples are initially collected from the patient and the RT-PCR test is performed. When the test result is positive, then the patient is admitted into the hospital for the further diagnosis and treatment. When the patient is admitted for treatment, the physician will initiate the treatment process to cure the patient using the prescribed treatment procedure which will reduce the impact of the pneumonia [24] [25] [26] . For the COVID-19 pneumonia patients, the pulmonologist will suggest a sequence of investigative tests to identify the origin, location, and severity of the pneumonia. Initially, the preliminary tests, such as blood count, blood-gas examination and pleural-fluid assessment [13] are performed. The image supported practices are also regularly performed to trace the infection in lung, which can be additionally inspected by a skilled doctor or a computerized arrangement to recognize the harshness of the pneumonia. Compared to the chest X-ray, the CT scan Image (CTI) is commonly used due to its merit and the three-dimensional view support. The recent research work published on COVID-19 also verified the advantage of the CT in detecting the infection in the respiratory tract and pneumonia [20] [21] [22] [23] [24] [25] . Recently, a number of methodologies are implemented for the clinical level detection of COVID-19 using the RT-PCR and the imaging methods [11] [12] [13] . Most of these earlier works are combined the RT-PCR along with the imaging procedure to confirm and treat the disease [9, [18] [19] [20] . The CTI is commonly used as the prescribed modality and the axial as well as the coronal views are analyzed to detect the severity of the infection and based on the outcome, effective treatment is suggested to treat the disease with suitable drug. The recent work of Rajinikanth et al. [27] developed a computer assisted methodology to assess the COVID-19 lesion using the lung CTI of coronal-view using a series of procedures. This work implemented few operator assisted steps to achieve superior outcome during the COVID-19 evaluation. The intention of the proposed research is to develop a computerized scheme to extract and evaluate the COVID-19 lesions from the lung CTI. The recent studies on COVID-19 pneumonia also verify that, the estimation of infection severity level is necessary to arrange for a suitable treatment plan to cure the patients. In a real-time situation, lung infection due to COVID-19 initiated pneumonia is evaluated by a skilled doctor and based on the suggestion; probable healing actions are suggested and implemented to reduce the infection level. The personal recognition using a doctor will be a tedious job when the number of patients is more and hence, it is essential to propose a computerized image examination practice to assist the physician during the pneumonia diagnosis. This scheme will significantly lessen the diagnostic burden of the physician and will assist the physician to track the changes in the lesions (reduction/progress in infection) when the treatment is implemented. The aim of this research is to develop a computerized COVID-19 lesion detection system to reduce the diagnostic burden of the pulmonologist responsible for the investigation of the CTI to discover the pneumonia level in lungs. The proposed research executes a sequence of techniques, such as artifact removal, Firefly Algorithm and Shannon-Entropy (FA+SE) based multi-thresholding, Markov-Random-Field (MRF) segmentation and validation of the proposed system using a comparison with respect to the Ground-Truth-Image (GTI). In this work, the COVID-19 dataset available in [28] is considered for the initial assessment. This dataset consists of one hundred numbers of COVID-19 images with dimension 512x512x1 pixels and all the images are associated with the GTI. In the proposed work, 50 images of the benchmark dataset are considered for the assessment and the average accuracy of >92% is attained with the proposed technique. The performance of the proposed system is finally validated using the clinical grade CTI of the Radiopaedia database [29] and achieved better result. This research is arranged as follows; section 2 presents the methodology and section 3 outlines the attained results. Section 4 and 5 presents the discussions and the conclusion of the present research work. This section of the research presents the methodology implemented to detect the lung lesions due to COVID-19. The structure of the proposed examination procedure is depicted in Figure 1 . Initially, the essential two-dimensional (2D) slices of the CTI (gray scale) are collected for the examination. The organ of interest is the lung and in the CTI, the lung is associated with various artifact sections, such as the heart, bone and other body parts and these artifacts are to be removed for the efficient assessment of lung and its infection. In this research, the stripping methodology discussed by Palani et al. [30] and Rajinikanth et al. [31] is executed to remove the artifacts with a bi-level threshold filter. The separated lung segment is then considered for image pre-processing and post-processing methodology. The image pre-processing step implements a three-level threshold to separate the image into; the background, normal lung section and the pneumonia lesion. In this work, the image enhancement is achieved using the Firefly-Algorithm (FA) guided Shannon-Entropy (SE) thresholding. The enhanced pneumonia lesion in the lung is then extracted by implementing Markov-Random-Field (MRF) segmentation. Finally, the extracted COVID-19 lesion is compared against the Ground-Truth-Image (GTI) and based on the attained performance values; the superiority of the proposed image processing tool is confirmed. The pneumonia infection due to COVID-19 is generally appraised in hospitals using the chest Xray/CTI [9] [10] [11] [12] . The visibility of CTI is better compared to chest X-ray and hence, this research considers the CTI for the experimental investigation. The COVID-19 is a novel disease and the availability of the images for the research is very limited due to various constraints. This work considered the COVID-19 pneumonia image dataset of [28] to test the performance of the proposed image processing method. This database consists of 100 CTI with dimensions 512x512x1 pixels and all the existing images are associated with related Ground-Truth-Images (GTI). This research considered 50 numbers of 2D slices recorded with the axial-view for the assessment and the sample images considered in this research is depicted in Figure 2 . Test Image The initial level of investigation of COVID-19 lesions is performed using the considered 50 numbers of CTI. After confirming its performance based on a comparative assessment with the GTI, its significance is then validated using the clinical grade images attained from the Radiopaedia database and the sample trial images of this database is depicted in Figure 3 . During the validation practice, 45 numbers of axialview 2D CTI (3 patients x 15 slices = 45 slices) are considered and the attained results are evaluated. Case20 [34] Case22 [35] Case25 [36] Preprint Submitted to: Entropy on 14 th April 2020 The artifact elimination is the initial procedure implemented to separate the lung region from other sections using the artifact-elimination procedure discussed in [30, 31] . Later, the visibility of COVID-19 infection in the lung is enhanced by implementing the pre-processing procedure based on the Firefly-Algorithm (FA) assisted threshold technique discussed in [31] . The enhancement attained with the Tsallis-Entropy based tri-level thresholding is very poor and hence the Shannon's Entropy (SE) thresholding is implemented to improve the pneumonia infection due to COVID-19 [32] . The entropy assisted image processing is normally considered to identify the abnormalities in the image for further examination. The SE considered in this work is discussed below; Where, Eqn (3) depicts the optimal value of the SE, which is to be maximized based on the chosen threshold value during the multi-thresholding operation. In this work, max T for the chosen test image with a dimension AxB is achieved using the FA. This work implemented a Brownian walk assisted FA as discussed in [31] . The expression of the FA implemented in this work is depicted below; In this work, the FA is employed to identify max T ; with the help of a heuristic search operation. The FA parameters are assigned as discussed by Rajinikanth et al. [31] and the tuned FA is allowed to randomly vary the threshold values until the maximized SE is attained. The performance of the image based disease evaluation depends mainly on the outcome of the postprocessing technique, which helps to extract the pneumonia infected section from the lung CTI. In this work, the Markov-Random-Field (MRF) segmentation technique discussed by the work of Palani et al. [30] and Rajinikanth et al. [31] is adopted. This procedure consists of the morphology based enhancement and clustering assisted segmentation of the image. This procedure works based on the MRF-Expectation Maximization (MRF-EM) idea and the information on this procedure is clearly discussed in the above said works. Let, a grayscale image has the following representation; where I represents the intensity of the image with pixel distribution ) Y , X ( . During the segmentation operation, MRF will estimate the pattern of every pixel by grouping it into a set of random variables; like In the implemented work, the essential labels for the MRF-EM segmentation is assigned as three, which segregated the image into background, normal section and COVID-19 infection. In this work, the assigned labels are arranged as follows; In MRF-EM technique, the segmentation process initially enhances the image by minimizing the energy function and then implements a segmentation technique; which separates the enhanced image into three sections. Other essential information on MRF-EM segmentation can be found in [30, 31] . During the medical data assessment, the merit of the computerized disease inspection systems are usually authenticated based on the performance measures attained during the testing and validation using a benchmark datasets. The regular measures considered include; Jaccard, Dice, accuracy, precision, sensitivity, specificity, and Negative Predictive Value (NPV). If attained values are better (closer to unity or nearer to 100%), then the implemented disease examination scheme is confirmed as a better procedure. Further, the clinical significance of the considered scheme is to be validated using the medical data attained from real patients. In the proposed work also, similar procedure is followed to authenticate the performance of the proposed COVID-19 lesion detection system. Initially, the developed scheme is tested using the benchmark dataset existing with the GTI and later, its performance is tested by considering the clinical grade CTI collected from COVID-19 infected patients. The mathematical expressions are depicted below [31] [32] [33] ; where GI=ground-truth-image, SI=segmenteCOVID-19 lesion, T+ve, T-ve, F+ve and F-ve denotes true-positive, true-negative, false-positive and false-negative correspondingly. This section of the research depicts the investigational outcome attained using the proposed scheme. This scheme is implemented using following workstation; Intel i5 2.GHz processor with 8GB RAM and 2DB VRAM equipped with the MATLAB software. Experimental results of this study confirm that this scheme requires a mean time of 41 sec to process a CTI image with a dimension of 512x512x1 pixels. The advantage of this scheme is that it is a fully automated practice and requires the operator's assistance only for; (i) Preliminary tuning of the FA parameters and (ii) Fixing the number of iterations for the MRF-EM segmentation process. The proposed scheme is initially tested using the benchmark images available in [28] . The chosen COVID-19 CTI and the related results attained with the proposed scheme is depicted in Figure 4 . Figure 4 (i). Finally, Figure 4 (j) depicts the GTI of the test image shown in Figure 4(a) . Finally, a relative assessment between Figure 4 (i) and (j) is executed and the essential performance measures discussed in sub-section 3.4 are computed and by using these values, a confusion matrix is formed as illustrated in Figure 5 . For the chosen CTI, the proposed method helped to achieve better value of Jaccard (87.43%) and Dice (93.29%). Further, the segmentation accuracy achieved with the proposed method is 98.48%. This result also confirms that, proposed method is efficient in extracting the COVID19 with better accuracy. Similar procedure is then executed using other test images of the benchmark dataset considered in the proposed work, and the mean value of the performance measures obtained is considered for the validation process. The values depicted in Figure 7 confirm that, proposed procedure offered better performance measure values. The clinical importance of the proposed system is verified using the clinical grade CTI of the Radiopaedia database. In this work, the COVID-19 pneumonia images of three patients are considered for the assessment and from every patient, 15 numbers of 2D slices are extracted for the assessment. This work considered 45 grayscale images for the assessment and the attained result of this work confirmed that, proposed practice helps to segment the COVID-19 lesions with better accuracy. The result attained for a sample test image is depicted in Figure 8 . Figure 8 (a) presents the chosen trial image; Figure 8 (b) depicts the convergence of the EM search, Figure 8 (c) and (d) depicts the initial and the final labels. Figure 8 (e) and (f) presents the extracted infected section and its smoothened binary image respectively. Similar procedure is applied on other lung CTI and the attained result is confirmed with the physical verification. The experimental outcome confirms that, the proposed image examination offered superior results on the considered images of the Radiopaedia case studies of Case20 [34] , Case22 [35] , and Case25 [36] . Starting from the date of its origin in Wuhan-China, COVID-19 has led to a major health crisis throughout the world and caused a considerable numbers of the infection as well as the morbidity rate [4]. One of the unusual features of the SARS-CoV-2 infection is that the virus infects both the upper and the lower respiratory tract. Most of the COVID-19 infected patients exhibit symptoms such as fever, dry cough and dyspnoea. Bilateral ground-glass opacities have been commonly reported in the CT scans of the COVID-19 infected patients. This specific infection has exhibited an unusually high level of pathogenecity leading to excessive lung damage [37] . With the number of infections rising every day, a need for the rapid testing of the respiratory specimens and a computer based automated analysis of the CT scans need to be performed in routine. Due to the high burden on the health care system, systems for automated analysis and screening need to be rapidly employed in health care facilities. In this regard, a need seems to have arisen for the identification and testing of effective algorithms for the automated segmentation and processing of CT scan images. Since such procedures have an implication towards the reduction in the burden of healthcare workers, researchers need to rapidly test and ascertain various algorithms which have high efficiency towards extractions of lesions formed due to COVID-19. At present, several countries have implemented a "lockdown" intervention in the form of restrictions on travel and gatherings. This scenario has already posed a huge burden on the economy in addition to the already existing burden on the healthcare system due to the high case loads. In this regard, a mass screening facility for the screening of CT images as proposed in this research work will have a huge impact in terms of the reduction of this burden. The objective of this research is to propose an automated image examination scheme to detect and extract the COVID-19 lesions from the lung CT scan images. This work implemented a sequence of procedures to extract the COVID-19 lesion with greater accuracy. This work employed the image processing methods, such as artifact removal, FA and SE based three-level thresholding to enhance the image, MRF-EM segmentation to extract the COVID-19 lesion and a relative assessment of the extracted binary image with the GTI to compute the performance measures. This work initially considered the 2D CTI of benchmark COVID-19 dataset as well as the clinical-grade 2D slices for the experimental investigation. The initial result attained with the benchmark dataset offered a mean segmentation accuracy of >92% on 50 images of dimension 512x512x1 pixels. The results attained with the clinical grade CTI also offered better segmentation of the COVID-19 lesion. The experimental results attained from this study confirmed the superiority of the proposed scheme and in future, this scheme can be used to examine the clinically obtained lung CTI of COVID-19 patients. Author Contributions: Conceptualization, Data curation, methodology, formal analysis, writingoriginal draft preparation, validation, V.R.; Conceptualization, writing-original draft preparation, supervision, validation, writing-review and editing, project administration ,S.K; software, validation, K.P.T; writing-original draft preparation, validation, K.K. All authors have read and agreed to the published version of the manuscript. Funding: This research received no external funding Estimates of the severity of coronavirus disease 2019: a model-based analysis. The Lancet Infectious Diseases Early transmission dynamics in Wuhan, China, of novel coronavirus-infected pneumonia Real-time estimation of the risk of death from novel coronavirus (COVID-19) infection: inference using exported cases Novel Coronavirus Infection (COVID-19) in Humans: A Scoping Review and Meta-Analysis CT image visual quantitative evaluation and clinical classification of coronavirus disease (COVID-19) Emerging Coronavirus 2019-nCoV Pneumonia CT Imaging Features of Novel Coronavirus (2019-nCoV) Chest CT Findings in Coronavirus Disease-19 (COVID-19): Relationship to Duration of Infection Tools for Coronavirus Outbreak: Need of Active Learning and Cross-Population Train/Test Models on Multitudinal/Multimodal Data Temporal Changes of CT Findings in 90 Patients with COVID-19 Pneumonia: A Longitudinal Study. Thoracic Imaging Radiological findings from 81 patients with COVID-19 pneumonia in Wuhan, China: a descriptive study Sensitivity of chest CT for COVID-19: comparison to RT-PCR Performance of radiologists in differentiating COVID-19 from viral pneumonia on chest CT The role of CT in case ascertainment and management of COVID-19 pneumonia in the UK: insights from high-incidence regions CT manifestations of coronavirus disease-2019: A retrospective analysis of 73 cases by disease severity Finding an Accurate Early Forecasting Model from Small Dataset: A Case of 2019-nCoV Novel Coronavirus Outbreak Composite Monte Carlo Decision Making under High Uncertainty of Novel Coronavirus Epidemic Using Hybridized Deep Learning and Fuzzy Rule Induction Chest CT Severity Score: An Imaging Tool for Assessing Severe COVID-19 Coronavirus disease 2019: initial chest CT findings Chest Radiographic and CT Findings of the 2019 Novel Coronavirus Disease (COVID-19): Analysis of Nine Patients Treated in Korea 2020) Harmony-Search and Otsu based System for Coronavirus Disease (COVID-19) Detection using Lung CT Scan Images Segmentation of brain regions by integrating meta heuristic multilevel threshold with Markov random field Firefly algorithm assisted segmentation of tumor from brain MRI using Tsallis function and Markov random field Entropy based segmentation of tumor from brain MR images-a study with teaching learning based optimization Deep-learning framework to detect lung abnormality-A study with chest X-Ray and lung CT scan images CASE20 (Case courtesy of Dr Kenan Cetinoglu, Radiopaedia.org, rID: 75281) (Last accessed date CASE22 (Case courtesy of Dr Domenico Nicoletti, Radiopaedia.org, rID: 75345) (Last accessed date CASE25 (Case courtesy of Dr Domenico Nicoletti, Radiopaedia.org, rID: 75344) (Last accessed date Clinical features of patients infected with 2019 novel coronavirus in Wuhan Acknowledgments: The authors of this paper would like to thank Medicalsegmentation.com and Radiopaedia.org for sharing the clinical grade COVID-19 images. The authors declare no conflict of interest.