Skip to main content
QUICK REVIEW

[Paper Review] Classification of COVID-19 X-ray Images Using a Combination of Deep and Handcrafted Features

Weihan Zhang, Bryan Pogorelsky|arXiv (Cornell University)|Jan 19, 2021
COVID-19 diagnosis using AIMedicine29 references13 citations
TL;DR

This paper proposes a hybrid classification framework that fuses handcrafted features (308 total from texture, GLCM, GLDM, FFT, wavelet, and LBP transforms) with deep features from pre-trained VGG16 and ResNet50 networks for diagnosing COVID-19, pneumonia, and healthy cases in X-ray images. The combined features are fed into an SVM classifier, achieving 98.8% accuracy—surpassing both standalone CNNs (98.3%) and SVM with handcrafted features alone (96.3%).

ABSTRACT

Coronavirus Disease 2019 (COVID-19) demonstrated the need for accurate and fast diagnosis methods for emergent viral diseases. Soon after the emergence of COVID-19, medical practitioners used X-ray and computed tomography (CT) images of patients' lungs to detect COVID-19. Machine learning methods are capable of improving the identification accuracy of COVID-19 in X-ray and CT images, delivering near real-time results, while alleviating the burden on medical practitioners. In this work, we demonstrate the efficacy of a support vector machine (SVM) classifier, trained with a combination of deep convolutional and handcrafted features extracted from X-ray chest scans. We use this combination of features to discriminate between healthy, common pneumonia, and COVID-19 patients. The performance of the combined feature approach is compared with a standard convolutional neural network (CNN) and the SVM trained with handcrafted features. We find that combining the features in our novel framework improves the performance of the classification task compared to the independent application of convolutional and handcrafted features. Specifically, we achieve an accuracy of 0.988 in the classification task with our combined approach compared to 0.963 and 0.983 accuracy for the handcrafted features with SVM and CNN respectively.

Motivation & Objective

  • To improve the accuracy of COVID-19 detection in X-ray images by combining handcrafted and deep learning features.
  • To address the limitations of small datasets and overfitting in pure CNN models by integrating complementary feature types.
  • To evaluate whether feature fusion can outperform standalone deep learning or handcrafted feature approaches in classifying three lung conditions: healthy, pneumonia, and COVID-19.
  • To validate the effectiveness of SVM as a robust classifier for fused features in medical image classification.

Proposed method

  • Preprocessing includes resizing X-ray images to 224×224 and applying adaptive histogram equalization to enhance local contrast.
  • 308 handcrafted features are extracted using 14 statistical measures (e.g., mean, standard deviation, entropy, energy) across six transform types: texture, GLCM, GLDM, FFT, wavelet, and LBP.
  • Deep features are extracted from the fully connected layers of pre-trained VGG16 and ResNet50 models, fine-tuned with frozen ImageNet weights.
  • Kernel PCA reduces deep feature dimensionality to 1,000 components to align with handcrafted feature count and reduce redundancy.
  • Features from both sources are concatenated and fed into a linear SVM classifier using a one-vs-all strategy.
  • The model is trained and tested on a balanced dataset of 5,143 X-ray images (1,143 COVID-19, 2,000 normal, 2,000 pneumonia), split 80/20 for training and testing.

Experimental results

Research questions

  • RQ1Can the fusion of handcrafted and deep features improve classification accuracy for COVID-19, pneumonia, and healthy X-ray images compared to using either feature type alone?
  • RQ2How does the performance of an SVM classifier trained on combined features compare to standard CNNs (VGG16, ResNet50) in diagnosing lung conditions from X-ray images?
  • RQ3Which individual handcrafted feature group (e.g., wavelet, GLCM, LBP) contributes most significantly to classification performance?
  • RQ4Does the proposed hybrid model reduce false positive and false negative rates compared to baseline models?

Key findings

  • The combined feature SVM model achieved 98.8% accuracy with VGG16-based deep features and handcrafted features, significantly outperforming the best standalone method (ResNet50 at 98.3%).
  • The SVM trained solely on handcrafted features achieved 96.3% accuracy, which was surpassed by all fusion models.
  • The wavelet transform contributed the highest individual accuracy (94.0%) among handcrafted feature groups, followed by GLDM (90.0%) and GLCM (89.6%).
  • The confusion matrices for both fusion models showed extremely low false negative (0.41%) and false positive (0.13%) rates, indicating high reliability.
  • The F1-score for the VGG16 + handcrafted features fusion model reached 0.989, indicating strong balance between precision and recall across all three classes.
  • The ResNet50-based fusion model achieved 98.7% accuracy and 0.988 F1-score, confirming consistent high performance across different backbone networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.