Datasets
Due to its retrospective nature, informed consent was waived, and all data were anonymized. This project was approved by the human research ethics committee of the Chulabhorn Research Institute (research project code 167/2564) and complied with the Declaration of Helsinki. These COVID-19 patients were confirmed by RT-PCR acquired from Chulabhorn Hospital who underwent non-contrast enhanced axial chest CT as a part of routine clinical care throughout the pandemic.
In this study, we randomly selected 124 cases from the database. The selection contained 28 cases without lung lesions and 96 cases with lung lesions. According to TSS, experienced radiologists classified the cases with lung lesions as mild, moderate, and severe. We divided the selection into 3 groups, i.e., training set, test set 1, and test set 2. The training set was used in model training and validation for lung segmentation and lesion segmentation; test set 1 was for segmentation performance evaluation; and test set 2 was for TSS prediction evaluation. We also randomly selected these cases for each group. In addition, for the training set and test set 1, the numbers of cases across different severity types were set to be equal to prevent class imbalance in the training set (the class imbalance causing a potential bias in the trained model) and for a fair comparison in test set 1. The number of CT slices in these cases ranged from 92 to 208. This information was described in Table 1.
The lung CT data were saved in JPEG format with a resolution of 512512 pixels and labeled by a program called LabelME41 (version 4.5.12). The resulting labels were in JavaScript Object Notation (JSON) format. All labeled data were validated by four radiologists and then converted into matrices for model training and evaluation.
In the data preprocessing phase, CT scan images (JPEG format) and labeled data (JSON format) were resized using the cv2.resize function from 512512 pixels to 256256 pixels to minimize the required memory resources (RAM). The interpolation parameter was set to INTER_AREA for the CT scan images and INTER_NEAREST" for the label data because this solution prevented any alteration of the values specified in each pixel. In addition, our model input shape was fixed at a size of 128256256. The CT volumes were adjusted to 128 images per patient according to the following three conditions (Fig.1).
The first condition, if the CT volume comprised 128 or fewer images, a 256256 zero-padding matrix was added to increase the volume to 128 images.
The second condition, if the CT volume had between 129 and 175 CT images, 128 images from the CT volume's middle range were selected to train the model because both the lung parenchyma and lesions appear in this range.
The third condition, if the CT volume contained more than 175 CT images, we skipped the CT slice by selecting only odd-numbered images and adding a 256256 zero-padding matrix to reach a total of 128 images.
Overall pipeline of the data preprocessing.
A color adjustment method was applied to improve image contrast by using the contrast-limited adaptive histogram equalization (CLAHE) technique42, which is available in the OpenCV library43. The CLAHE parameters were set to a clipLimit of 3 and a tileGridSize of (8, 8). Models were trained/tested in two experiments: the first with original images (no color adjustment) and the second with CLAHE-adjusted images.
A 256-slice dual-energy CT scanner (Revolution CT with Gemstone Spectral Imaging (GSI) Xtream, GE Healthcare) at Chulabhorn Hospital was used in this study. An axial chest CT scan without contrast agent was applied. The protocol started with a scout view from lung apices to lung bases in anteriorposterior (AP) and lateral views, and followed by an axial chest scan covering lung apices through bases from inferior to superior. The parameters were quiet breath inspiration, 1.25mm thickness, 0.28s/rotation, 0.992 pitch, GSI calculated kVp, 190mA, lung window of (1550, 700), soft tissue window of (400, 40), and postprocessing multiplanar reconstruction. The scan time was less than 1.6s.
Two models were used in this study: (1) a lung lobe segmentation model and (2) a lesion segmentation model. Training set: 32 cases were split into 24 cases (75%) for model training and 8 cases (25%) for validation, where the dataset was divided equally at each severity type to prevent overfitting. According to related studies, a model that combines a 3D-UNet structure with a DenseNet or ResNet is effective in segmenting parts of the image precisely. Therefore, pre-trained DenseNet121, DenseNet169, DenseNet201, ResNet18, ResNet34, ResNet50, ResNet101, and ResNet152 models were obtained through a segmentation-models-3D package from Solovyev et al.44.
Lung lobe segmentation. A multiclass semantic segmentation model was used to segment the five lung lobes. Annotated labels consisted of six categories: 0, 1, 2, 3, 4, and 5, which indicate the background, right upper lobe (RUL), right lower lobe (RLL), right middle lobe (RML), left upper lobe (LUL), and left lower lobe (LLL), respectively.
Lesion segmentation. The lesion model was developed from a binary semantic segmentation model that outputs the value 1 for lesion areas and 0 for background areas. Images without extrapulmonary regions are preferred for lesion model training. The dataset used for model training was preprocessed as described in the data preparation section.
In the model training process, lung lobe and lesions segmentation models were trained on servers equipped with an Intel(R) Xeon(R) Gold 6126 CPU at 2.60GHz, 40GB of RAM, and an NVIDIA Tesla V100 SXM2 GPU. Figure2 shows the overall workflow. The models output is the predicted classfor each pixel, which is then used to compute the percentage area of lesions in each lung lobe for the CT score. This score is then used to calculate the TSS value for diagnosing the severity of the current pathology. For both models, Adam optimization was used, the loss function was a hybrid loss function (focal loss+Dice loss), the learning rate was set to 0.0001, a regularizer that applies L2 regularization was used with a value of 0.01, the batch size was set to 1, and the maximum number of epochs was 200. The lesion model activation function was set to sigmoid with a dropout rate of 0.4, whereas the pulmonary lobe model activation function was set to SoftMax with a dropout rate of 0.2. The hybrid loss technique45, which combined focal loss and Dice loss, was used to improve model performance.
Segmentation Model Workflow and Total Severity Score Calculation Protocol for Lung CT Scans.
The PI in each lung lobe was calculated by dividing the number of predicted lesion pixels by the total number of lung lobe pixels in the CT volume. The predicted lesion pixels were obtained from the output of the lesion segmentation model, whereas the predicted lung lobe pixels were derived from the output of the lung lobe segmentation model, in which the value of each pixel identifies the lobar type in the lung CT image. Therefore, the PI was calculated by performing the following equation.
$$Percentage, of{, Infection}_{lobe}= frac{Lesion, Area, (pixels)}{Lung ,Lobe, Area, (pixels)}times 100$$
The TSS proposed by Chung et al.20 was calculated from the sum of the five-lobe CT score, which was calculated from PI based on the criteria listed in Table 2. The severity of COVID-19 patients can be classified from the TSS value based on the severity criteria in Table 3 and the following equation:
$$TSS =CT ,Scor{e}_{RUL}+CT ,Scor{e}_{RML}+CT ,Scor{e}_{RLL}+CT, Scor{e}_{LUL}+CT, Scor{e}_{LLL}$$
The most commonly utilized measurement to evaluate image segmentation is the Dice similarity coefficient (DSC). The DSC calculated the relative overlap between the predicted area and ground truth, and it was used to choose the most appropriate model. The DSC was defined as follows:
$$DSC = frac{2TP}{2TP + FP + FN}$$
where the term true positive (TP) refers to an outcome such that the model correctly predicts the positive class, false positive (FP) is an outcome such that the model incorrectly predicts the positive class, and false negative (FN) is an outcome such that the model incorrectly predicts the negative class.
Hausdorff distance was proposed by Felix Hausdorff in 191446,47. The measure was applied to evaluate the models performance by measuring the distance between two images in pixels. The distance is defined as
$$Hleft(A,Bright)=mathrm{max}left(hleft(A,Bright), hleft(B,Aright)right)$$
$$hleft(A,Bright)={mathrm{max}}_{mathit{aepsilon A}}{mathrm{min}}_{bin B}||a-b||,$$
where A is a set containing p points (pixels on image A): ({{a}_{1},{a}_{2},dots ,{a}_{p}}) and B is a set containing q points (pixels on image B): ({{b}_{1},{b}_{2},dots ,{b}_{q}}). For implementation, we applied the function implemented in SciPy package48. Since the images used in this research were 256256 pixels, the Hausdorff distance range was ([0, 256sqrt{2}]).
Go here to see the original:
Segmentation of lung lobes and lesions in chest CT for the ... - Nature.com
- The Health Department website was attacked in the middle of the coronavirus pandemic - Vox.com [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Defining Coronavirus Symptoms: From Mild To Moderate To Severe : Goats and Soda - NPR [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- What Are the Symptoms of a Coronavirus Infection? - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Hotels Were Rolling Out Tools to Help Calm Travelers. Then Coronavirus Hit. - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- The Coronavirus, by the Numbers - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Opinion: Early Coronavirus Testing Failures Will Cost Lives - NPR [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus Cases Surge in U.S. and Europe - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Two Emergency Room Doctors Are in Critical Condition With Coronavirus - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus: Over 1000 Cases Now In U.S., And 'It's Going To Get Worse,' Fauci Says - NPR [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- China Spins Tale That the U.S. Army Started the Coronavirus Epidemic - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Everything to Know About the Coronavirus in the United States - The Cut [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus closed this school. The kids have special needs: 'You can't Netflix them all day.' - USA TODAY [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- How Long Can The Coronavirus Live On Surfaces? : Shots - Health News - NPR [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus Cost to Businesses and Workers: It Has All Gone to Hell - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- In the U.S., More Than 300 Coronavirus Cases Are Confirmed - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- How Jair Bolsonaro's Son, Eduardo, Confirmed His Father's Positive Coronavirus Test to Fox News, Then Lied About It - The Intercept [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- De Blasio Resisted on Coronavirus. Then Aides Said Theyd Quit. - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Trump Is Tested for Coronavirus, and Experts Ask: What Took So Long? - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Live Coronavirus Updates and Coverage - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus Threatens Americans With Underlying Conditions - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus Capitalism and How to Beat It - The Intercept [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- An essential reading guide to understand the coronavirus - Vox.com [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- N.Y.C.s Economy Could be Ravaged by Coronavirus Outbreak - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- 'A ticking time bomb': Scientists worry about coronavirus spread in Africa - Science Magazine [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- How coronavirus is affecting the restaurant business, in one chart - Vox.com [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus Map: How To Track Coronavirus Spread Across The Globe - Forbes [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Coronavirus Testing Website Goes Live and Quickly Hits Capacity - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Map: How Many Cases Of Coronavirus Are There In Each US State? : Shots - Health News - NPR [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- Live Coronavirus Updates and Coverage Globally - The New York Times [Last Updated On: March 16th, 2020] [Originally Added On: March 16th, 2020]
- This Is How the Coronavirus Will Destroy the Economy - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Every Star and Public Figure Diagnosed with COVID-19: A Running List - The Daily Beast [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Coronavirus: What you need to know - Fox News [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Travel updates: which countries have coronavirus restrictions and FCO warnings in place? - The Guardian [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Staff angered as Charter prohibits working from home despite spread of coronavirus - TechCrunch [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- If coronavirus scares you, read this to take control over your health anxiety - The Guardian [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- San Francisco and Bay Area will shelter in place to slow coronavirus spread - The Verge [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Coronavirus spreading fastest in UK in London - The Guardian [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Businesses Face a New Coronavirus Threat: Shrinking Access to Credit - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Welcome to Marriage During the Coronavirus - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Sweeping restrictions take effect in coronavirus response as health officials warn US is at a tipping point - CNN [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- How Long Will the Coronavirus Outbreak and Shutdown Last? - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- 201920 coronavirus pandemic - Wikipedia [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Coronavirus - World Health Organization [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- What Is Coronavirus? | HowStuffWorks [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Coronavirus | CISA [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Is there a cure for the new coronavirus? - Livescience.com [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Shelter in Place: Some Residents in Bay Area Ordered to Stay Home - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Tracking the Impact of the Coronavirus on the U.S. - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- 8 Things Parents Should Know About The Coronavirus: Life Kit - NPR [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Spain, on Lockdown, Weighs Liberties Against Containing Coronavirus - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- New Yorks Nightlife Shuttered to Curb Coronavirus - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- How best to fight the economic impact of the coronavirus pandemic - The Guardian [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Heres whos most at risk from the novel coronavirus - The Verge [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Closing Down the Schools Over Coronavirus - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- The U.S. Economy Cant Withstand the Coronavirus by Itself - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- U.S. Lags in Coronavirus Testing After Slow Response to Outbreak - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- U.K. Steps Up Coronavirus Prevention, But Its Hospitals Have Already Been Strained - NPR [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Coronavirus panic is clearing out grocery stores; heres how workers are handling it - Vox.com [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Tracking the Coronavirus: How Crowded Asian Cities Tackled an Epidemic - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Coronavirus Treatment: Hundreds of Scientists Scramble to Find One - The New York Times [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Coronavirus cases have dropped sharply in South Korea. What's the secret to its success? - Science Magazine [Last Updated On: March 17th, 2020] [Originally Added On: March 17th, 2020]
- Facebook was marking legitimate news articles about the coronavirus as spam due to a software bug - The Verge [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- The Single Most Important Lesson From the 1918 Influenza - The New York Times [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- How to Protect Older People From the Coronavirus - The New York Times [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Coronavirus Is Killing Iranians. So Are Trump's Brutal Sanctions. - The Intercept [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Is there a cure for coronavirus? Why Covid-19 is so hard to treat - Vox.com [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Coronavirus: The math behind why we need social distancing, starting right now - Vox.com [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Europeans Erect Borders Against Coronavirus, but the Enemy Is Already Within - The New York Times [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Some of the last people on earth to hear about the coronavirus pandemic are going to be told on live TV - CNN [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Why the US is still struggling to test for the coronavirus - The Verge [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- The Coronavirus Is Here to Stay, So What Happens Next? - The New York Times [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Coronavirus in the U.S. - The New York Times [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Watch the Footprint of Coronavirus Spread Across Countries - The New York Times [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Coronavirus Briefing: What Happened Today - The New York Times [Last Updated On: March 18th, 2020] [Originally Added On: March 18th, 2020]
- Why the Covid-19 coronavirus is worse than the flu, in one chart - Vox.com [Last Updated On: March 21st, 2020] [Originally Added On: March 21st, 2020]
- Fact-Checking 5 Trump Administration Claims On The Coronavirus Pandemic - NPR [Last Updated On: March 21st, 2020] [Originally Added On: March 21st, 2020]
- Trump has scoreboard obsession. It hasnt worked with coronavirus - POLITICO [Last Updated On: March 21st, 2020] [Originally Added On: March 21st, 2020]
- Here's What Is In The 'Families First' Coronavirus Aid Package Trump Approved - NPR [Last Updated On: March 21st, 2020] [Originally Added On: March 21st, 2020]
- Young Adults Come to Grips With Coronavirus Health Risks - The New York Times [Last Updated On: March 21st, 2020] [Originally Added On: March 21st, 2020]
- Which Country Has Flattened the Curve for the Coronavirus? - The New York Times [Last Updated On: March 21st, 2020] [Originally Added On: March 21st, 2020]