Application of Gray Level Co-Occurrence Matrix and Histogram Feature Extraction Methods for Batik Image Classification
Keywords:
Batik; GLCM; Histogram; K-NNAbstract
Batik is the art of integrating cultural elements like symbols and techniques into cotton and silk clothes. The Indonesian population has traditionally used batik in their daily lives. Each location has distinctive designs, patterns, and colors that reflect its meanings and philosophical perspectives. There are many different motifs on batik fabric, including geometric, geometrical, animal, and other designs. Batik motifs are frequently employed to convey social rank. The variety of batik designs and motifs is challenging for machine learning-based pattern detection and classification. This research applies the Gray Level Co-occurrence Matrix (GLCM) feature extraction method and Histogram feature extraction on batik images and the K-Nearest Neighbor (KNN) classifier. This study focuses on 4 batik patterns (motifs), namely Lereng, Nitik, Kawung, and Tambal. Dissimilarity, Correlation, Contrast, Homogeneity, and Energy from various angles and distances are the GLCM features employed, and their sum equals 1. Mean, standard deviation, smoothness, skewness, energy, and entropy are the histogram features employed. This work uses 120 batik image data—90 training data and 30 test data—. The findings indicate that at k=15 and k=17, accuracy attained using GLCM feature extraction is 77%, while Precision and Recall are 77%. Comparatively, the histogram feature extraction accuracy, Precision, and Recall are 53%, 54%, and 53%, respectively, with a value of k=27. This outcome demonstrates how feature extraction using GLCM can more accurately portray batik.
Downloads
References
UNESCO, “Indonesia Batik,†2013. .
C. S. K. Aditya, M. Hani’ah, R. R. Bintana, and N. Suciati, “Batik Classification using Neural Network with Gray Level Co-occurence Matrix and Statistical Color Feature Extraction,†Int. Conf. Information, Commun. Technol. Syst., pp. 163–168, 2015, doi: 10.1109/ICTS.2015.7379892.
M. H. Purnomo and A. Muntasa, Konsep Pengolahan Citra Digital dan Ekstraksi Fitur. Yogyakarta: Graha Ilmu, 2010.
Y. Kusumawati, A. Susanto, I. Utomo, W. Mulyono, and D. P. Prabowo, “Klasifikasi Batik Kudus Berdasarkan Pola Menggunakan K-NN dan GLCM,†LPPM-Universitas Muhammadiyah Purwokerto, pp. 509–514, 2020.
B. Zaman, A. Rifai, and M. B. Hanif, “Komparasi Metode Klasifikasi Batik Menggunakan Neural Network Dan K-Nearest Neighbor Berbasis Ekstraksi Fitur Tekstur,†J. Inf. Syst. Informatics, vol. 3, no. 4, pp. 582–595, 2021, doi: 10.51519/journalisi.v3i4.213.
C. Jatmoko and D. Sinaga, “Ektraksi Fitur Glcm Pada K-Nn Dalam Mengklasifikasi Motif Batik,†Pros. SENDI_U 2019, pp. 978–979, 2019.
I. Amalia, “Ekstraksi Fitur Citra Songket Berdasarkan Tekstur Menggunakan Metode Gray Level Co-occurrence Matrix (GLCM),†J. Infomedia, vol. 3, no. 2, pp. 64–68, 2018, doi: 10.30811/jim.v3i2.715.
G. T. Situmorang, A. W. Widodo, and M. A. Rahman, “Penerapan Metode Gray Level Co-occurrence Matrix ( GLCM ) untuk ekstraksi ciri pada telapak tangan,†J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 3, no. 5, pp. 4710–4716, 2019.
K. Novar Setiawan and I. M. Suwija Putra, “Klasifikasi Citra Mammogram Menggunakan Metode K-Means, GLCM, dan Support Vector Machine (SVM),†J. Ilm. Merpati (Menara Penelit. Akad. Teknol. Informasi), vol. 6, no. 1, p. 13, 2018, doi: 10.24843/jim.2018.v06.i01.p02.
M. I. . Lamabelawa and P. Katemba, “Ekstraksi Fitur Berbasis Histogram Untuk Identifikasi Citra Tenun Ikat NTT,†pp. 31–36, 2015.
S. Agustiani, Y. Tajul Arifin, A. Junaidi, S. Khotimatul Wildah, and A. Mustopa, “Klasifikasi Penyakit Daun Padi menggunakan Random Forest dan Color Histogram 1,*),†vol. 10, no. 1, p. 2022, 2022, [Online]. Available: https://www.kaggle.com/vbookshelf/rice-leaf-.
R. Rudi and D. Avianto, “Implementasi Ekstraksi Ciri Histogram dan K-Nearest Neighbor untuk Klasifikasi Jenis Tanah di Kota Banjar, Jawa Barat,†J. Buana Inform., vol. 10, no. 2, p. 85, 2019, doi: 10.24002/jbi.v10i2.2141.
A. Muntasa, Pengenalan Pola. Yogyakarta: Graha Ilmu, 2015.
D. Putra, Pengolahan Citra Digital. Yogyakarta: Andi Offset, 2010.
S. Suyanto, Machine Learning. Bandung: Informatika, 2018.
K. K. Purnamasari and N. I. Widiastuti, “Perbandingan Algoritma K-Means Dan K-Nearest Neighbors Pada Sistem Peringkasan Otomatis,†Komputa J. Ilm. Komput. dan Inform., vol. 6, no. 2, pp. 57–66, 2017, doi: 10.34010/komputa.v6i2.2478.
A. U. Fitriyadi, “Algoritma K-Means dan K-Medoids Analisis Algoritma K-Means dan K-Medoids Untuk Clustering Data Kinerja Karyawan Pada Perusahaan Perumahan Nasional,†Kilat, vol. 10, no. 1, pp. 157–168, 2021, doi: 10.33322/kilat.v10i1.1174.
Published
How to Cite
Issue
Section
License
Copyright (c) 2022 Jurnal Teknik Informatika C.I.T Medicom

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

