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
. 2024 Jan 17;25(1):28.
doi: 10.1186/s12859-023-05427-5.

COVID-19 detection from chest X-ray images using CLAHE-YCrCb, LBP, and machine learning algorithms

Affiliations

COVID-19 detection from chest X-ray images using CLAHE-YCrCb, LBP, and machine learning algorithms

Rukundo Prince et al. BMC Bioinformatics. .

Abstract

Background: COVID-19 is a disease that caused a contagious respiratory ailment that killed and infected hundreds of millions. It is necessary to develop a computer-based tool that is fast, precise, and inexpensive to detect COVID-19 efficiently. Recent studies revealed that machine learning and deep learning models accurately detect COVID-19 using chest X-ray (CXR) images. However, they exhibit notable limitations, such as a large amount of data to train, larger feature vector sizes, enormous trainable parameters, expensive computational resources (GPUs), and longer run-time.

Results: In this study, we proposed a new approach to address some of the above-mentioned limitations. The proposed model involves the following steps: First, we use contrast limited adaptive histogram equalization (CLAHE) to enhance the contrast of CXR images. The resulting images are converted from CLAHE to YCrCb color space. We estimate reflectance from chrominance using the Illumination-Reflectance model. Finally, we use a normalized local binary patterns histogram generated from reflectance (Cr) and YCb as the classification feature vector. Decision tree, Naive Bayes, support vector machine, K-nearest neighbor, and logistic regression were used as the classification algorithms. The performance evaluation on the test set indicates that the proposed approach is superior, with accuracy rates of 99.01%, 100%, and 98.46% across three different datasets, respectively. Naive Bayes, a probabilistic machine learning algorithm, emerged as the most resilient.

Conclusion: Our proposed method uses fewer handcrafted features, affordable computational resources, and less runtime than existing state-of-the-art approaches. Emerging nations where radiologists are in short supply can adopt this prototype. We made both coding materials and datasets accessible to the general public for further improvement. Check the manuscript's availability of the data and materials under the declaration section for access.

Keywords: CLAHE; COVID-19; HE; LBP; Max–Min filter; YCrCb.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no competing interests.

Figures

Fig. 1
Fig. 1
Flowchart of the proposed model
Fig. 2
Fig. 2
Rowwise First row: Normal images. Second row: COVID-19 images. Third row: pneumonia images. Columnwise First column: not enhanced images. Second column: images enhanced with HE. Third column: images enhanced with CLAHE
Fig. 3
Fig. 3
The top first row corresponds to COVID-19, normal, and pneumonia chest X-Ray images. The second row corresponds to the LBP image transformation of COVID-19, normal, and pneumonia
Fig. 4
Fig. 4
The first row depicts the CXR image with annotated abnormal regions (yellow circle). The second row highlights their corresponding rainbow transformations
Fig. 5
Fig. 5
The first row depicts COVID-19 images. Whereas the second row shows normal images. These images were randomly selected from [16] dataset
Fig. 6
Fig. 6
Data distribution (dataset A [16], dataset B [43], and dataset C [44])
Fig. 7
Fig. 7
Receiver operating characteristic (ROC) curve
Fig. 8
Fig. 8
Confusion matrix portraying the plotted ROC in Fig. 7 using [16] dataset
Fig. 9
Fig. 9
Graphical plot of ROC curve
Fig. 10
Fig. 10
Confusion matrix portraying the plotted ROC in Fig. 9 using [16] dataset
Fig. 11
Fig. 11
Receiver operating characteristic (ROC) curve
Fig. 12
Fig. 12
Confusion matrix portraying the plotted ROC in Fig. 11 using [43] dataset
Fig. 13
Fig. 13
The receiver operating characteristic (ROC) curve
Fig. 14
Fig. 14
Confusion matrix portraying the plotted ROC in Fig. 13 using [44] dataset
Fig. 15
Fig. 15
Graphs a, b, c, and d correspond to section one, section two, and section 3 experiments, respectively
Fig. 16
Fig. 16
Graphs A and B, C and D correspond to the confidence interval and PR curve of the performed experiments, section one and three respectively

Similar articles

References

    1. Worldometer. COVID-19 corona virus pandemic: coronavirus cases. https://www.worldometers.info/coronavirus/. Accessed 28 March 2022.
    1. Aggarwal S, Gupta S, Alhudhaif A, Koundal D, Gupta R, Polat K. Automated COVID-19 detection in chest X-ray images using fine-tuned deep learning architectures. Expert Syst. 2022;39(3):12749. doi: 10.1111/exsy.12749. - DOI
    1. Kameswari S, Brundha M, Ezhilarasan D. Advantages and disadvantages of RT-PCR in COVID 19. Eur J Mol Clin Med. 2020;7:1174–1181.
    1. Purohit K, Kesarwani A, Ranjan Kisku D, Dalui M. Covid-19 detection on chest X-ray and CT scan images using multi-image augmented deep learning model. In: Proceedings of the seventh international conference on mathematics and computing. Springer; 2022. p. 395–413.
    1. Jones JL. Reverse transcription polymerase chain reaction. https://www.sciencedirect.com/topics/agricultural-and-biological-science.... Accessed 20 June 2022.