Jatilima : Jurnal Multimedia Dan Teknologi Informasi
Vol. 7 No. 03 (2025): Jatilima : Jurnal Multimedia Dan Teknologi Informasi

Classification of Hijab Types Based on Gray Level Co-occurrence Matrix Features and the K-Nearest Neighbor (KNN) Algorithm

Faradita, Nazwa Alya (Unknown)
M. Fakhriza (Unknown)



Article Info

Publish Date
20 Oct 2025

Abstract

This study aims to build an automatic classification system to address the challenge of visually identifying hijab types by utilizing digital image processing technology. The research scope is limited to two categories: pashmina and instant hijabs. The applied method involves the Gray Level Co-occurrence Matrix (GLCM) to extract texture features in four angular directions, which yields four primary feature values: Contrast, Energy, Correlation, and Homogeneity. These features are subsequently classified using the K-Nearest Neighbor (KNN) algorithm with the Euclidean Distance metric. The dataset used consists of 60 image samples, divided into 48 training data and 12 test data. Testing was conducted with varying K-values (1, 3, 5, and 7). The results show that the classification system using the GLCM and KNN combination is effective, achieving a peak accuracy of 83.33% at K-values of 3, 5, and 7. This outcome confirms the capability of GLCM-extracted texture features to distinguish between the two hijab types and highlights the potential application of this system in the field of Muslim fashion.

Copyrights © 2025






Journal Info

Abbrev

jatilima

Publisher

Subject

Computer Science & IT

Description

JATILIMA merupakan jurnal yang terbit dua nomor dalam satu volume (tahun), yaitu Peridoe I Bulan April dan Periode II Bulan Oktober. JATILIMA mempublikasikan tulisan-tulisan ilmiah hasil pemikiran, studi literatur, dan penelitian dalam bidang Ilmu Komputer. JATILIMA merupakan jurnal dengan sistem ...