Heliyon (Mar 2023)
COVID-19 chest X-ray image analysis by threshold-based segmentation
Abstract
COVID-19 is a severe acute respiratory syndrome that has caused a major ongoing pandemic worldwide. Imaging systems such as conventional chest X-ray (CXR) and computed tomography (CT) were proven essential for patients due to the lack of information about the complications that could result from this disease. In this study, the aim was to develop and evaluate a method for automatic diagnosis of COVID-19 using binary segmentation of chest X-ray images. The study used frontal chest X-ray images of 27 infected and 19 uninfected individuals from Kaggle COVID-19 Radiography Database, and applied binary segmentation and quartering in MATLAB to analyze the images. The binary images of the lung were split into four quarters; Q1 = right upper quarter, Q2 = left upper quarter, Q3 = right lower, and Q4 = left lower. The results showed that COVID-19 patients had a higher percentage of attenuation in the lower lobes of the lungs (p-value < 0.00001) compared to healthy individuals, which is likely due to ground-glass opacities and consolidations caused by the infection. The ratios of white pixels in the four quarters of the X-ray images were calculated, and it was found that the left lower quarter had the highest number of white pixels but without a statistical significance compared to right lower quarter (p-value = 0.102792). This supports the theory that COVID-19 primarily affects the lower and lateral fields of the lungs, and suggests that the virus is accumulated mostly in the lower left quarter of the lungs. Overall, this study contributes to the understanding of the impact of COVID-19 on the respiratory system and can help in the development of accurate diagnostic methods.