Klasifikasi Daun Herbal Berbasis Integrasi Fitur LBP dan Bentuk Menggunakan Random Forest

AMALIA PUTRI UTAMI, DOLLY INDRA, FITRIYANI UMAR

Sari


Abstrak

Identifikasi daun herbal secara manual sering mengalami kendala akibat kemiripan visual antarspesies yang berpotensi menimbulkan kesalahan pemanfaatan. Penelitian ini bertujuan mengklasifikasikan sepuluh jenis daun herbal menggunakan kombinasi fitur tekstur Local Binary Pattern (LBP) dan fitur bentuk, yaitu aspect ratio, eccentricity, circularity, dan convexity. Dataset terdiri dari 500 citra yang dibagi menjadi 400 data latih dan 100 data uji dengan rasio 80:20. Tahap pre-processing meliputi resize, konversi ke grayscale, dan Gaussian Blur untuk mengurangi noise. Segmentasi dilakukan menggunakan Otsu thresholding untuk memperoleh objek daun dan Canny Edge Detection untuk menonjolkan struktur tekstur. Proses klasifikasi menerapkan algoritma Random Forest dengan pengujian beberapa kombinasi parameter guna memperoleh model optimal. Hasil terbaik diperoleh pada model dengan n_estimators=200, max_features=2, max_depth=none, dan min_samples_leaf=2, yang menghasilkan akurasi 92%, precision 92%, recall 92%, dan F1-score 92%.

Kata kunci: Daun Tanaman Herbal; Fitur Bentuk; Fitur Tekstur; Klasifikasi Citra; Local Binary Pattern; Random Forest

Abstract

Manual identification of herbal leaves often encounters challenges due to visual similarities among species, which can potentially lead to errors in their utilization. This study aims to classify ten types of herbal leaves using a combination of Local Binary Pattern (LBP) texture features and shape features, namely aspect ratio, eccentricity, circularity, and convexity. The dataset consists of 500 images divided into 400 training data and 100 testing data with an 80:20 ratio. The preprocessing stage includes resizing, grayscale conversion, and Gaussian Blur to reduce noise. Segmentation was performed using Otsu thresholding to extract the leaf object and Canny Edge Detection to enhance texture structures. The classification process applies the Random Forest algorithm with testing of several parameter combinations to obtain the optimal model. The best results were achieved with a model using n_estimators=200, max_features=2, max_depth=none, and min_samples_leaf=2, yielding an accuracy of 92%, precision of 92%, recall of 92%, and F1-score of 92%.

Keywords: Herbal Plant Leaves, Texture Features, Shape Features, Image Classification, Local Binary Pattern; Random Forest


Teks Lengkap:

PDF

Referensi


Abuya, T. K., Rimiru, R. M., & Okeyo, G. O. (2023). applied sciences An Image Denoising Technique Using Wavelet-Anisotropic Gaussian Filter-Based Denoising Convolutional Neural Network for CT Images.

Agustiani, S., Tajul Arifin, Y., Junaidi, A., Khotimatul Wildah, S., & Mustopa, A. (2022). Klasifikasi Penyakit Daun Padi menggunakan Random Forest dan Color Histogram. Jurnal Komputasi, 10(1). https://doi.org/10.23960/komputasi.v10i1.2961

Ainun, S., Munsarif, M., & Sam’an, M. (2023). Sistem Klasifikasi Tahu Non-Formalin Menggunakan Metode Random Forest. Jurnal Komputer Dan Teknologi Informasi, 1(2), 32–47. https://doi.org/10.26714/jkti.v1i2.12861

Azzahra, A. R., Purnawansyah, Darwis, H., & Widyawati, D. (2023). Klasi&ikasi Daun Herbal Menggunakan Metode CNN dan Naïve Bayes dengan Fitur GLCM. 12(1).

Basri, H., Purnawansyah, P., Darwis, H., & Umar, F. (2023). Klasifikasi Daun Herbal Menggunakan K-Nearest Neighbor dan Convolutional Neural Network dengan Ekstraksi Fourier Descriptor. Jurnal Teknologi Dan Manajemen Informatika, 9(2), 79–90. https://doi.org/10.26905/jtmi.v9i2.10350

Florentina Tatrin Kurniati, & Dian Pramana. (2023). Identifikasi Objek Menggunakan Random Forest dan Multi-Fitur. Jurnal Sistem Dan Informatika (JSI), 17(2), 130–136. https://doi.org/10.30864/jsi.v17i2.590

Herdiansah, A., Borman, R. I., Nurnaningsih, D., Sinlae, A. A. J., & Al Hakim, R. R. (2022). Klasifikasi Citra Daun Herbal Dengan Menggunakan Backpropagation Neural Networks Berdasarkan Ekstraksi Ciri Bentuk. JURIKOM (Jurnal Riset Komputer), 9(2), 388. https://doi.org/10.30865/jurikom.v9i2.4066

Indra, D., Hasanuddin, T., Satra, R., & Wibowo, N. R. (2018). Eggs Detection Using Otsu Thresholding Method. Proceedings - 2nd East Indonesia Conference on Computer and Information Technology: Internet of Things for Industry, EIConCIT 2018, 2, 10–13. https://doi.org/10.1109/EIConCIT.2018.8878517

Kasim, N., Fadilah, M. B., Hidayat, W. Al, & Saputra, R. A. (2024). Klasifikasi Jenis Tanaman Herbal Berdasarkan Citra Menggunakan Metode Convolution Neural Network ( CNN ). Jurnal TEKNO KOMPAK, 19(1), 64–78. https://doi.org/https://doi.org/10.33365/jtk.v19i1

Kumar, S., Sagar, V., & Punetha, D. (2023). A comparative study on facial expression recognition using local binary patterns, convolutional neural network and frequency neural network. Multimedia Tools and Applications, 82(16), 24369–24385. https://doi.org/10.1007/s11042-023-14753-y

Lamasigi, Z. Y., Hasan, M., & Lasena, Y. (2020). Local Binary Pattern untuk Pengenalan Jenis Daun Tanaman Obat menggunakan K-Nearest Neighbor. ILKOM Jurnal Ilmiah, 12(3), 208–218. https://doi.org/10.33096/ilkom.v12i3.667.208-218

Mahmuda, S. (2024). Implementasi Metode Random Forest pada Kategori Konten Kanal Youtube. Jurnal Jendela Matematika, 2(01), 21–31. https://doi.org/10.57008/jjm.v2i01.633

Mekha, P., & Teeyasuksaet, N. (2021). Image Classification of Rice Leaf Diseases Using Random Forest Algorithm. 2021 Joint 6th International Conference on Digital Arts, Media and Technology with 4th ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunication Engineering, ECTI DAMT and NCON 2021, 165–169. https://doi.org/10.1109/ECTIDAMTNCON51128.2021.9425696

Melani Winandari, D., Wulanningrum, R., & Sinta Wahyuniar, L. (2023). Klasifikasi Daun Obat Berdasarkan Ekstraksi Tekstur GLCM. Prosiding SEMNAS INOTEK (Seminar Nasional Inovasi Teknologi), 7(2), 742–749. https://proceeding.unpkediri.ac.id/index.php/inotek/article/view/3492

Nugroho, C. W., Nurtanio, I., & Jalil, A. (2025). Penentuan Kualitas Kopra Berbasis Citra Kontur Menggunakan Metode Canny Edge Detection. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 5(1), 436–450. https://doi.org/10.57152/malcom.v5i1.1823

Rahmawati, F. N., Harmida, & Aminasih, N. (2021). Pemanfaatan Tumbuhan Obat Zingiberaceae Pada Suku Rawas Di Desa Ja-jaran Baru I Kecamatan Megang Sakti Kabupaten Musi Rawas. Sriwijaya Bioscientia, 2(1), 23–28. https://doi.org/10.24233/sribios.2.1.2021.212

Thohari, A. N. A., & Ramadhani, R. D. (2019). Sistem Pengawasan Berbasis Deteksi Gerak Menggunakan Single Board Computer. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi (JNTETI), 8(1), 1. https://doi.org/10.22146/jnteti.v8i1.483

Wuryani, N., & Sarifah, A. (2022). Random Forest Classifier untuk Deteksi Penderita COVID-19 berbasis Citra CT Scan. Jurnal Teknik Komputer AMIK BSI, 8(2), 174–180. https://doi.org/10.31294/jtk.v4i2

Zhou, W., Ma, X., & Zhang, Y. (2020). Research on Image Preprocessing Algorithm and Deep Learning of Iris Recognition. Journal of Physics: Conference Series, 1621(1). https://doi.org/10.1088/1742-6596/1621/1/012008

Purnawansyah, Wibawa, A. P., Widyaningtyas, T., Haviluddin, Hasihi, C. E., Teng, M. F., & Darwis, H. (2023). Comparative Study of Herbal Leaves Classification using Hybrid of GLCM-SVM and GLCM-CNN. ILKOM Jurnal Ilmiah, 15(2), 382–389. https://doi.org/10.33096/ilkom.v15i2.1759.382-389




DOI: https://doi.org/10.26760/mindjournal.v11i1.44-59

Refbacks

  • Saat ini tidak ada refbacks.


____________________________________________________________

ISSN (Print): 2338-8323 | ISSN (Online): 2528-0902

Dipublikasikan oleh:
Program Studi Informatika, Institut Teknologi Nasional Bandung

Alamat:
Gedung 2 Informatika, Jl. PHH Mustofa No. 23, Bandung 40124, Indonesia

Kontak:
Telp: +62-22-7272215 (ext. 181) Fax: +62-22-7202892

Email: mind.journal@itenas.ac.id

______________________________

Statistik Pengunjung :

Flag Counter

  Web
Analytics Statistik Pengunjung

 Jurnal ini terlisensi oleh Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License