Segmentasi Citra Daun Tomat untuk Klasifikasi Penyakit Tanaman Menggunakan Support Vector Machine (SVM)

Puteri Amelia Azli, Minarni Minarni, Anna Syahrani, Ganda Yoga Swara, Anisya Anisya

Abstract


Tomatoes are one of the most widely grown crops worldwide. In Indonesia, particularly in West Sumatra, tomato production has declined. This is due to extreme weather conditions and plant disease outbreaks. One solution to help with early identification of tomato plant diseases is through digital image-based classification. This process involves several important stages, starting from image acquisition, preprocessing, segmentation, feature extraction, and classification. However, the quality of classification is highly dependent on the effectiveness of segmentation in separating leaf objects from the background. This study proposes a method for segmenting tomato leaf images based on a combination of color thresholding techniques, morphological operations, contour filtering, and bitwise masking to ensure that only the leaf parts are processed further. After undergoing the segmentation process, images are extracted based on color characteristics in HSV space and GLCM texture, then further processed using an SVM algorithm with an RBF kernel. The dataset used consists of 4000 tomato leaf images with an 80% training and 20% testing data division scheme, accompanied by 5-fold cross validation. The model achieved an accuracy of 96.97% on the training data and 93.75% on the testing data. The results show that segmentation methods using color thresholding, morphology, contours, and bitwise masking can help improve the consistency of extracted features, thereby potentially supporting more stable classification performance.


Keywords


Digital Image Classification; Leaf Image Segmentation; Plant Disease; SVM; Tomato.

Full Text:

References


A. Das, F. Pathan, J. R. Jim, M. M. Kabir, and M. F. Mridha, “Deep learning-based classification, detection, and segmentation of tomato leaf diseases: A state-of-the-art review,” Artificial Intelligence in Agriculture, vol. 15, no. 2, pp. 192–220, Jun. 2025, doi: 10.1016/j.aiia.2025.02.006.

D. Kurniawan, B. Tripama, and W. Widiarti, “Respon Pertumbuhan Dan Produksi Tanaman Tomat (Lycopersicum esculentu, Mill.) Terhadap Pemberian Pupuk Kandang Sapi Dan Pupuk NPK Pada Tanah Entisol,” National Multidisciplinary Sciences, vol. 1, no. 2, pp. 250–261, Mar. 2022, doi: 10.32528/nms.v1i2.67.

M. J. Zebua, T. K. Suharsi, and M. Syukur, “Studi Karakter Fisik dan Fisiologi Buah dan Benih Tomat (Solanum lycopersicum L.) Tora IPB Physical Characteristic and Physiology of Tomatto Fruit and Seed (Solanum lycopersicum L.) Tora IPB,” 2019.

A. Lawi, N. S. Intizhami, R. Mukhtarom, and S. Amir, “Klasifikasi Penyakit Citra Daun Tanaman Tomat Dengan Ensemble Convolutional Neural Network,” 2022, [Online]. Available: https://www.kaggle.com/datasets/emmarex/plantdisease.

Badan Pusat Statistik Indonesia, “Produksi Tanaman Sayuran, 2021-2023,” Badan Pusat Statistik, Feb. 10, 2024. Accessed: Dec. 05, 2024. [Online]. Available: https://www.bps.go.id/id/statistics-table/2/NjEjMg==/production-of-vegetables.html

Z. Ikhsan, “Kenaikan Harga Tomat di Padang: Penyebab, Dampak, dan Solusi Alternatif,” Kumparan, Padang, Jan. 23, 2024. Accessed: Feb. 07, 2025. [Online]. Available: https://kumparan.com/inspiration-room/kenaikan-harga-tomat-di-padang-penyebab-dampak-dan-solusi-alternatif-221RvE2l77p/full?utm_source=chatgpt.com

Ditjen PSP, “Pengaruh Perubahan Iklim Terhadap Sektor Pertanian.” Accessed: Feb. 07, 2025. [Online]. Available: https://upland.psp.pertanian.go.id/public/artikel/1687919315/pengaruh-perubahan-iklim-terhadap-sektor-pertanian#:~:text=Terjadinya%20perubahan%20iklim%20tersebut%20berdampak,dan%20perkembangan%20organisme%20pengganggu%20tanaman.

M. Kabir, F. Unal, T. C. Akinci, A. A. Martinez-Morales, and S. Ekici, “Revealing GLCM Metric Variations across a Plant Disease Dataset: A Comprehensive Examination and Future Prospects for Enhanced Deep Learning Applications,” Electronics (Switzerland), vol. 13, no. 12, Jun. 2024, doi: 10.3390/electronics13122299.

M. M. F. Alim, “Identifikasi Penyakit Tanaman Tomat Menggunakan Algoritma Convolutional Neural Network dan Pendekatan Transfer Learning,” Universitas Negeri Semarang, Semarang, 2020.

M. Niawati, F. Ardhy, T. H. Andika, P. Bintoro, U. A. Pringsewu, and J. A. Yani, “Aplikasi Diagnosis Penyakit pada Tumbuhan Tomat Berbasis Website,” vol. 11, 2023.

J. Liu and X. Wang, “Tomato disease object detection method combining prior knowledge attention mechanism and multiscale features,” Front Plant Sci, vol. 14, 2023, doi: 10.3389/fpls.2023.1255119.

A. Guerrero-Ibañez and A. Reyes-Muñoz, “Monitoring Tomato Leaf Disease through Convolutional Neural Networks,” Electronics (Switzerland), vol. 12, no. 1, Jan. 2023, doi: 10.3390/electronics12010229.

M. Khan, F. Gulan, M. Arshad, A. Zaman, and A. Riaz, “Early and late blight disease identification in tomato plants using a neural network-based model to augmenting agricultural productivity,” Sci Prog, vol. 107, no. 3, Jul. 2024, doi: 10.1177/00368504241275371.

M. Faried, G. El Mirzaq, and R. Helilintar, “Sistem Pakar Diagnosa Penyakit Tanaman Tomat Menggunakan Metode Certainty Factor,” Jul. 2021.

N. K. Majid, T. I. Noor, and R. Kurnia, “Faktor Faktor yang Mempengaruhi Produksi Usahatani Tomat,” Jurnal Ilmiah Mahasiswa AGROINFO GALUH, vol. 9, Sep. 2022.

R. Soekarta, N. Nurdjan, and A. Syah, “Klasifikasi Penyakit Tanaman Tomat Menggunakan Metode Convolutional Neural Network (CNN),” vol. 8, no. 2, 2023.

A. Kadir and A. Susanto, Teori dan Aplikasi Pengolahan Citra. Yogyakarta: ANDI, 2013.

J. Ramos-Frutos et al., “Digital Image Processing Applied in the Deformation Analysis of Hip Prosthesis: Multivariate Regression Analysis,” IEEE Access, vol. 12, pp. 176938–176948, 2024, doi: 10.1109/ACCESS.2024.3506164.

T. Sutoyo, E. Mulyanto, V. Suhartono, O. D. Nurhayati, and Wijanarto, Teori Pengolahan Citra Digital. Yogyakarta: ANDI, 2009.

S. Talib, S. Sudin, and M. D. Suratin, “Penerapan Metode Support Vector Machine (Svm) pada Klasifikasi Jenis Cengkeh Berdasarkan Fitur Tekstur Daun,” Jurnal PROSISKO, vol. 11, Mar. 2024.

H. Pratama, “Klasifikasi Tingkat Kematangan pada Citra Buah Sukun Berdasarkan Ekstraksi Fitur Warna dan Tekstur Dengan Metode LDA (Lineardisc Riminant Analysis),” Universitas Medan Area, Medan, 2024.

M. Ghudafa, T. Akbar, and H. Leidiyana, “Klasifikasi pada Citra Bunga dengan Ekstraksi Fitur Color Histogram,” Jurnal Ilmiah Teknik Informatika, vol. 12, 2023.

E. Puerwandono and I. Maulana, “Penerapan Algoritma Svm Untuk Klasifikasi Citra Daun Sirih,” Journal of Information Technology and Computer Science (INTECOMS), vol. 6, no. 2, Dec. 2023.

L. P. R. Noviana and I. N. B. S. Nugraha, “Perbandingan Klasifikasi Citra Daun Herbal Menggunakan Metode Logistic Regression dan Decision Tree Classifier Berdasarkan Fitur (Warna, GLCM, Bentuk),” JITU : Journal Informatic Technology And Communication, vol. 7, no. 2, pp. 126–133, Nov. 2023, doi: 10.36596/jitu.v7i2.1241.

J. Riyono, C. E. Pujiastuti, S. D. Puspa, Supriyadi, and F. N. R. Putri, “Enchancing Lung Disease Classification through K-Means Clustering, Chan-Vese Segmentation, and Canny Edge Detection on X-Ray Segmented Images,” Jurnal Online Informatika, vol. 9, no. 1, pp. 89–99, Apr. 2024, doi: 10.15575/join.v9i1.1178.

F. Amalya and S. Harlena, “(2022) Klasifikasi Buah Berkhasiat Obat Dengan Algoritme Euclidean Distance Menggunakan Ekstraksi Ciri Bentuk dan Tekstur,” Jurnal Informatika: Jurnal pengembangan IT (JPIT), vol. 7, no. 2, pp. 67–73, May 2022.

R. C. . Gonzalez and R. E. . Woods, Digital image processing, 4th ed. Pearson, 2018.

Sugeng and H. Praminiarto, “Detection of Drowsiness in Drivers Using Image Processing and Support Vector Machine (SVM) Classification,” Jurnal Online Informatika, vol. 9, no. 2, pp. 238–248, Aug. 2024, doi: 10.15575/join.v9i2.1076.

B. Audina, M. Fatekurohman, D. A. Riski, J. Matematika, and U. Jember, “Peramalan Arus Kas dengan Pendekatan Time Series Menggunakan Support Vector Machine,” Indonesian Journal of Applied Statistics, vol. 4, no. 1, pp. 35–43, May 2021.

A. Yu, Y. Xiong, Z. Lv, P. Wang, J. She, and L. Wei, “New Method for Tomato Disease Detection Based on Image Segmentation and Cycle-GAN Enhancement,” Sensors, vol. 24, no. 20, Oct. 2024, doi: 10.3390/s24206692.




DOI: https://doi.org/10.30591/jpit.v10i4.9404

Refbacks

  • There are currently no refbacks.


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

JPIT INDEXED BY

  
  

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