Proceedings of the 8th International Conference on Applied Engineering (ICAE 2025)

X-Ray Image Classification Using Support Vector Machine Based on Histogram of Oriented Gradients and Local Binary Patterns Feature Extraction

Authors
Budi Sugandi1, *, Muhammad Naufal Abdurrahman Faiz1
1Electrical Engineering Department, Batam State Polytechnic, Batam, Indonesia
*Corresponding author. Email: budi_sugandi@polibatam.ac.id
Corresponding Author
Budi Sugandi
Available Online 29 December 2025.
DOI
10.2991/978-94-6463-982-7_38How to use a DOI?
Keywords
X-ray Image classification; HOG; LBP; SVM; Feature Extraction
Abstract

This study aims to compare the effectiveness of two feature extraction methods, namely Histogram of Oriented Gradients (HOG) and Local Binary Patterns (LBP), in classifying X-ray images using Support Vector Machine (SVM) as the classification algorithm. In this research, the X-ray images were first processed through a preprocessing stage to enhance image quality. The features of each image were then extracted using the HOG and LBP methods, which were subsequently used as input for the SVM model to classify the X-ray images. We used a 3500 dataset with a balanced distribution of 700 images for each of the five classes, which are Normal, Covid-19, Pneumonia-Bacterial, Pneumonia-Viral, and Tuberculosis. The data was divided using the K-Fold Cross Validation method with 5 folds, where in each iteration, one fold was used as test data 20% (700 images), and the remaining four folds 80% (2800 images) were used as training data. The experiment was done in three scenarios to compare the effectiveness of three features: HOG, LBP, and a combination of HOG and LBP. The first experiment using the HOG feature has results as follows: average of accuracy is 84%, precision 84%, recall 84% and F1 score 84%. By using LBP, the performance of classification decreased with an average accuracy of 68%, precision 68%, recall 68% and F1 score 68%. The combination of HOG and LBP has a good result with an average accuracy of is 84%, precision 84%, recall 84% and F1 score 84%.

Copyright
© 2025 The Author(s)
Open Access
Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.

Download article (PDF)

Volume Title
Proceedings of the 8th International Conference on Applied Engineering (ICAE 2025)
Series
Advances in Engineering Research
Publication Date
29 December 2025
ISBN
978-94-6463-982-7
ISSN
2352-5401
DOI
10.2991/978-94-6463-982-7_38How to use a DOI?
Copyright
© 2025 The Author(s)
Open Access
Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/), which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.

Cite this article

TY  - CONF
AU  - Budi Sugandi
AU  - Muhammad Naufal Abdurrahman Faiz
PY  - 2025
DA  - 2025/12/29
TI  - X-Ray Image Classification Using Support Vector Machine Based on Histogram of Oriented Gradients and Local Binary Patterns Feature Extraction
BT  - Proceedings of the  8th International Conference on Applied Engineering (ICAE 2025)
PB  - Atlantis Press
SP  - 652
EP  - 666
SN  - 2352-5401
UR  - https://doi.org/10.2991/978-94-6463-982-7_38
DO  - 10.2991/978-94-6463-982-7_38
ID  - Sugandi2025
ER  -