Classification of Batik Types (Hand-Written, Stamped, and Printed) Using Gray Level Co-Occurrence Matrix Feature Extraction and Support Vector Machine

Authors

Keywords:

Batik, Computer Vision, GLCM, SVM, Image Classification

Abstract

Batik is one of Indonesia's cultural heritages that has various production techniques, including hand-drawn batik, stamped batik, and printed batik. Despite having different production processes, these three types of batik often display similar motifs, making it difficult for the general public to distinguish them through visual observation alone. The identification process, which still relies on manual observation, also requires specialized knowledge and experience, potentially leading to errors in determining the type of batik. Therefore, a technology-based approach is needed that can perform identification more objectively and consistently. This study aims to build a classification model for batik types by utilizing digital image processing and machine learning techniques. The research stages include image preprocessing, texture feature extraction using the Gray Level Co-occurrence Matrix (GLCM), and the classification process using the Support Vector Machine (SVM) algorithm. The dataset used consists of 300 batik images grouped into three classes: hand-drawn batik, stamped batik, and printed batik. The extracted texture features include contrast, correlation, energy, and homogeneity, which are then used as input attributes in the classification model. The test results show that the developed model is able to achieve an accuracy value of 90.00%, a precision of 90.25%, a recall of 90.00%, and an F1-score of 90.05%. These findings indicate that the combination of GLCM and SVM methods is effective in representing the texture characteristics of batik images and is able to distinguish batik types automatically with a good level of accuracy. This research is expected to support the use of computer vision technology in the batik identification process and contribute to efforts to preserve Indonesian culture through the application of digital technology.

Downloads

Download data is not yet available.

References

[1] N. N. P. Sharmistha and F. C. Sinambela, “Inovasi Batik Berbasis Teknologi dan Kinerja Adaptif: Membangun Keberlanjutan Industri Batik,” … Kerajinan dan Batik, 2023, [Online]. Available: https://proceeding.batik.go.id/index.php/SNBK/article/view/238

[2] N. Zalfa, S. Wiratma, and ..., “Penciptaan Outer Batik Dengan Teknik Batik Tulis, Shibori dan Ecoprint,” Realis. Ilmu Pendidik. …, 2025, [Online]. Available: https://journal.asdkvi.or.id/index.php/Realisasi/article/view/571

[3] L. Zhong, H.-X. Yu, J. Wu, and Y. Li, “Reconstruction and Simulation of Elastic Objects with Spring-Mass 3D Gaussians,” ArXiv, 2024, doi: 10.48550/arXiv.2403.09434.

[4] N. Hroub, A. N. Alsannaa, M. Alowaifeer, M. Alfarraj, and E. Okafor, “Explainable deep learning diagnostic system for prediction of lung disease from medical images,” Comput. Biol. Med., vol. 170, p. 108012, 2024, doi: 10.1016/j.compbiomed.2024.108012.

[5] M. Sherif, H. Attar, M. A. Hafez, J. Ababneh, and ..., “Multi-class classification algorithm for ocular diseases classification based GLCM texture features,” … Arab Conf. …, 2024, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10877001/

[6] B. Jhansi, M. Ramesh, A. Deepak, and ..., “Evaluating Textural Changes of Lung in CT Images using GLCM in Comparison with GLRLM,” 2022 2nd Int. …, 2022, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/9988577/

[7] I. Rendra et al., “Penyusunan Peta Potensi Desa dengan Pemetaan Partisipatif di Desa Kedungsari Kecamatan Temayang Kebupaten Bojonegoro,” J. SOLMA, 2025, doi: 10.22236/solma.v14i2.18337.

[8] S. I. Patty, D. Nurdiansah, M. P. Rizqi, N. Akbar, and R. Huwae, “Analysis of Mangrove Vegetation Index Using Landsat 8 Images in Dodinga Bay, West Halmahera,” J. Ilm. Platax, 2025, doi: 10.35800/jip.v13i1.60830.

[9] A. Wulandari, Batik Nusantara: Makna filosofis, cara pembuatan, dan industri batik. books.google.com, 2022. [Online]. Available: https://books.google.com/books?hl=en&lr=&id=mm13EAAAQBAJ&oi=fnd&pg=PR5&dq=batik+batik&ots=fFptX9aK-m&sig=pPoV3stLQAeUHHqlZBbc3XiUjKI

[10] A. Kusrianto, Batik filosofi, motif dan kegunaan. books.google.com, 2024. [Online]. Available: https://books.google.com/books?hl=en&lr=&id=_5P3EAAAQBAJ&oi=fnd&pg=PR4&dq=batik+batik&ots=mFKtqTl6vc&sig=kPJdDti3CgpdaacQ1wn0ZuCpLXk

[11] R. Szeliski, Computer vision: algorithms and applications. books.google.com, 2022. [Online]. Available: https://books.google.com/books?hl=en&lr=&id=QptXEAAAQBAJ&oi=fnd&pg=PR9&dq=computer+vision+computer+vision&ots=BNCbC1UDuj&sig=yAqnEbWaZPEAkjtHCZXtP5Ng5FI

[12] S. A. Althubiti, S. Paul, R. Mohanty, and ..., “Ensemble learning framework with GLCM texture extraction for early detection of lung cancer on CT images,” … Methods Med., 2022, doi: 10.1155/2022/2733965.

[13] H. Veisi, “Introduction to SVM,” … Kernel Classif. Support Vector Mach. Theory …, 2023, doi: 10.1007/978-981-19-6553-1_1.

[14] A. Kazemi, R. Boostani, M. Odeh, and ..., “Two-layer SVM, towards deep statistical learning,” … Electr. Energy …, 2022, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10050469/

[15] K. Kusnadi, “Exploring character education through batik Pekalongan local wisdom: An innovative approach to character learning,” J. Civ. Media Kaji. Kewarganegaraan, 2023, [Online]. Available: https://scholarhub.uny.ac.id/civics/vol20/iss2/3/

[16] S. Mulyana, M. AS, A. Warjaya, I. Muthmainnah, S. I. Al Idrus, and Z. Indra, “Identifikasi Penyakit Tanaman Berdasarkan Citra Daun Berbasis Web dengan Pendekatan Algoritma Convolutional Neural Network,” SKANIKA Sist. Komput. dan Tek. Inform., 2025, doi: 10.36080/skanika.v8i2.3573.

[17] F. Findry and R. A. Saputra, “Klasifikasi Kanker Kulit Berdasarkan Data Citra Benign Dan Malignant Menggunakan Convolutional Neural Network,” J. Mhs. Tek. Inform., 2024, doi: 10.35473/jamastika.v3i1.2417.

[18] M. A. F. Muthrofin, D. Erwanto, and I. Yanuartanti, “Convolutional Neural Network untuk Klasifikasi Batik Tenun Ikat Bandar Berdasarkan Fitur Warna dan Tekstur,” J. Electr. Eng. Comput., 2024, doi: 10.33650/jeecom.v6i1.8060.

[19] S. Ramadani, M. Ridha, and S. Samsudin, “KLASIFIKASI PENYAKIT DAUN SINGKONG MENGGUNAKAN ARSITEKTUR EFFICIENTNET BERBASIS TRANSFER LEARNING,” J. CoSciTech (Computer Sci. Inf. Technol., 2026, doi: 10.37859/coscitech.v7i1.11335.

[20] R. A. Nindiaputra, Y. V. Via, and H. Maulana, “IMPLEMENTASI KNN DENGAN FITUR EKSTRAKSI HARALICK DAN LOCAL BINARY PATTERN UNTUK KLASIFIKASI PENYAKIT PNEUMONIA PADA CITRA X-RAY,” JATI (Jurnal Mhs. Tek. Inform., 2025, doi: 10.36040/jati.v9i6.16548.

[21] D. Y. Prakosa, R. Oktavian, and A. P. Kardana, “Klasifikasi Citra Sampah Daur Ulang Menggunakan Arsitektur MobileNetV2 dengan Strategi Fine-Tuning,” J. Inf. Syst. Appl. Dev., 2026, doi: 10.26905/jisad.v4i1.16740.

[22] M. H. Ramdhani, Fajriyanto, and R. Anisa, “ANALISIS SPASIAL TINGKAT KEKRITISAN LAHAN PADA DAERAH RESAPAN AIR MENGGUNAKAN TEKNOLOGI GEOSPASIAL (Studi Kasus: Kecamatan Kemiling, Kota Bandar Lampung),” J. Tekno Glob., 2024, doi: 10.36982/jtg.v13i02.4517.

[23] B. D. Suci, M. Musfiroh, S. P. Sefriani, S. Sumanto, R. Pakpahan, and I. Budiawan, “Klasifikasi Penyakit Daun Tanaman Berbasis Citra Menggunakan Convolutional Neural Network Data Augmentation,” Semnas Ristek (Seminar Nas. Ris. dan Inov. Teknol., 2026, doi: 10.30998/semnasristek.v10i1.8894.

[24] I. Nyoman, Y. Setiawan, L. Putu, and A. S. Tjahyanti, “Optimasi Sistem Pengenalan Wajah Dengan Teknik Pengolahan Citra Untuk Meningkatkan Akurasi dan Efisiensi,” KOMTEKS, 2024, doi: 10.37637/komteks.v3i1.2294.

[25] R. Akbar, “IDENTIFIKASI PERUBAHAN TUTUPAN LAHAN KABUPATEN KENDAL MENGGUNAKAN GOOGLE EARTH ENGINE,” Indones. J. Spat. Plan., 2025, doi: 10.26623/ijsp.v6i2.12806.

[26] Y. Azhar and D. R. Akbi, “Performance Comparison of GLCM Features and Preprocessing Effect on Batik Image Retrieval,” JOIV Int. J. Informatics Vis., 2024, [Online]. Available: https://joiv.org/index.php/joiv/article/view/2179

[27] J. Y. R. Al-Awadi, H. K. Aljobouri, and ..., “MRI Brain Scans Classification Using Extreme Learning Machine on LBP and GLCM.,” Int. J. …, 2023, [Online]. Available: https://search.ebscohost.com/login.aspx?direct=true&profile=ehost&scope=site&authtype=crawler&jrnl=26268493&AN=161916256&h=2XDyZ8hjFuL4pda%2BixLJSklZadervKWBfEXt2T9rBY%2FlEBsiG36Tsh5NdEW3DhKTuRCvrwNqgMU1ycc%2FiwDPTw%3D%3D&crl=c

[28] M. H. Daneshvari, E. Nourmohammadi, M. Ameri, and ..., “Efficient LBP-GLCM texture analysis for asphalt pavement raveling detection using eXtreme Gradient Boost,” … Build. Mater., 2023, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0950061823024479

[29] K. V Ranjitha and T. P. Pushphavathi, “Analysis on improved Gaussian-Wiener filtering technique and GLCM based feature extraction for breast cancer diagnosis,” Procedia Comput. Sci., 2024, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1877050924009499

[30] A. Tabbakh and S. S. Barpanda, “Evaluation of machine learning models for plant disease classification using modified GLCM and wavelet based statistical features,” 2022, academia.edu. [Online]. Available: https://www.academia.edu/download/103834048/39.06_02.pdf

[31] A. S. Vironicka and J. G. R. Sathiaseelan, “TEXTURE FEATURE EXTRACTION WITH MEDICAL IMAGE USING GLCM AND MACHINE LEARNING TECHNIQUES.,” 2022, ictactjournals.in. [Online]. Available: https://ictactjournals.in/paper/IJIVP_Vol_12_Iss_4_Paper_8_2735_2740.pdf

[32] P. Mohammadpour, D. X. Viegas, and C. Viegas, “Vegetation mapping with random forest using sentinel 2 and GLCM texture feature—A case study for Lousã region, Portugal,” 2022, mdpi.com. [Online]. Available: https://www.mdpi.com/2072-4292/14/18/4585

[33] M. O. Khairandish, M. Sharma, V. Jain, J. M. Chatterjee, and ..., “A hybrid CNN-SVM threshold segmentation approach for tumor detection and classification of MRI brain images,” Irbm, 2022, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S1959031821000713

[34] K. Vos, Z. Peng, C. Jenkins, M. R. Shahriar, and ..., “Vibration-based anomaly detection using LSTM/SVM approaches,” … Syst. Signal …, 2022, [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0888327021010682

[35] D. Banerjee, V. Kukreja, S. Hariharan, and ..., “Enhancing mango fruit disease severity assessment with cnn and svm-based classification,” 2023 IEEE 8th …, 2023, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10126397/

[36] S. Xia, X. Lian, G. Wang, X. Gao, Q. Hu, and ..., “Granular-ball fuzzy set and its implement in svm,” IEEE Trans. …, 2024, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10574194/

[37] R. Kurniawan, A. Halim, and H. Melisa, “Prediksi Hasil Panen Pertanian Salak di Daerah Tapanuli Selatan Menggunakan Algoritma SVM (Support Vector Machine),” 2023.

[38] H. Benbouhenni, N. Bizon, and I. Colak, “A Brief Review of Space Vector Modulation (SVM) Methods and a New SVM Technique Based on the Minimum and Maximum of the Three-Phase Voltages.,” 2022, sid.ir. [Online]. Available: https://www.sid.ir/fileserver/je/1613-288076-en-1388730.pdf

[39] H. I. H. Yusri, A. A. A. Rahim, S. L. M. Hassan, and ..., “Water quality classification using SVM and XGBoost method,” 2022 IEEE 13th …, 2022, [Online]. Available: https://ieeexplore.ieee.org/abstract/document/9845143/

[40] J. Zhou, M. Xiao, Y. Niu, and G. Ji, “Rolling bearing fault diagnosis based on WGWOA-VMD-SVM,” 2022, mdpi.com. [Online]. Available: https://www.mdpi.com/1424-8220/22/16/6281

[41] R. Udayakumar, P. B. K. Chowdary, T. Devi, and ..., “Integrated SVM-FFNN for fraud detection in banking financial transactions,” 2023, academia.edu. [Online]. Available: https://www.academia.edu/download/121445595/2_2023.I4.002.pdf

[42] K. Özkan, A. Mert, and S. Özdemir, “A new proposed GLCM texture feature: modified Rényi Deng entropy,” J. Supercomput., 2023, doi: 10.1007/s11227-023-05627-z.

[43] S. P. D. Kristiana, A. M. S. Asih, and A. Sudiarso, “Designing simulation to improve production efficiency of batik industry,” Simul. &Gaming, 2023, doi: 10.1177/10468781231205667.

[44] S. Rokhva, B. Teimourpour, and A. Soltani, “Computer Vision in the Food Industry: Accurate, Real-time, and Automatic Food Recognition with Pretrained MobileNetV2,” ArXiv, 2024, doi: 10.48550/arXiv.2405.11621.

[45] Y. Tarek, R. Elgohary, and M. Deif, “Brain tumor detection using GLCM and machine learning techniques,” Int. Integr. Intell. …, 2024, [Online]. Available: https://iiis.journals.ekb.eg/article_357817.html

[46] A. Gurunathan and B. Krishnan, “A hybrid CNN-GLCM classifier for detection and grade classification of brain tumor,” Brain Imaging Behav., 2022, doi: 10.1007/s11682-021-00598-2.

[47] A. Kurani, P. Doshi, A. Vakharia, and M. Shah, “A comprehensive comparative study of artificial neural network (ANN) and support vector machines (SVM) on stock forecasting,” Ann. Data Sci., 2023, doi: 10.1007/s40745-021-00344-x.

[48] D. Valero-Carreras, J. Alcaraz, and M. Landete, “Comparing two SVM models through different metrics based on the confusion matrix,” 2023, Elsevier. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0305054822003616

[49] G. Alfian, M. Syafrudin, I. Fahrurrozi, N. L. Fitriyani, and ..., “Predicting breast cancer from risk factors using SVM and extra-trees-based feature selection method,” 2022, mdpi.com. [Online]. Available: https://www.mdpi.com/2073-431X/11/9/136

[50] J. C. T. Gaytan, K. Ateeq, A. Rafiuddin, and ..., “AI‐based prediction of capital structure: Performance comparison of ANN SVM and LR models,” Comput. …, 2022, doi: 10.1155/2022/8334927.

Published

22-06-2026

How to Cite

Classification of Batik Types (Hand-Written, Stamped, and Printed) Using Gray Level Co-Occurrence Matrix Feature Extraction and Support Vector Machine. (2026). Karapan Network Journal : Journal Computer Technology and Mobile Ad Hoc Network, 2(03). https://ejournal.omahtabing.com/knj/article/view/656

Most read articles by the same author(s)