Rice Leaf Disease Classification Using Color, Texture, and Shape Features with Random Forest Algorithm
DOI:
https://doi.org/10.29408/edumatic.v10i3.37076Keywords:
color feature extraction, hsv color space, image classification, random forest, rice leaf disease classificationAbstract
Distinguishing rice leaf diseases from images is challenging because different disease categories may exhibit similar visual symptoms. Although deep learning approaches have been widely explored, feature-based methods offer an alternative by using explicitly extracted image descriptors. However, combining color, intensity, texture, and shape features with Random Forest for multiclass rice leaf disease classification requires further evaluation. This study evaluates Random Forest classification performance using 80 extracted image features, including HSV color descriptors, grayscale-based intensity and texture information, green-channel mean, and other texture, edge, spatial, and shape features. We obtained the dataset from Kaggle; it comprised 2,100 images across six classes: five disease categories (bacterial leaf blight, brown spot, leaf blast, leaf scald, and narrow brown spot) and one healthy leaf category. We divided the data into 1,680 training images and 420 testing images. We applied augmentation only to the training set, increasing it to 5,040 images. The model achieved 92.86% accuracy, 92.89% macro precision, 92.86% macro recall, and 92.69% macro F1-score. Five-fold cross-validation yielded an average accuracy of 94.11% ± 1.17%. These results demonstrate the model's classification performance on the evaluated dataset. Further testing using field-collected images is required to assess its generalization under real-world conditions.
References
Aguirre-Rodríguez, E. Y., Gamboa, A. A. R., Rodríguez, E. C. A., Santos-Fernández, J. P., Nascimento, L. F. C., da Silva, A. F., & Marins, F. A. S. (2025). Rice leaf disease detection using the Stretched Neighborhood Effect Color to Grayscale method and Machine Learning. Scientia Agropecuaria, 16(1), 123–136. https://doi.org/10.17268/sci.agropecu.2025.011
Ahmad, A., Gamal, A. El, & Saraswat, D. (2023). Toward generalization of deep learning-based plant disease identification under controlled and field conditions. IEEE Access, 11, 9042–9057. https://doi.org/10.1109/ACCESS.2023.3240100
Alsakar, Y. M., Sakr, N. A., & Elmogy, M. (2024). An enhanced classification system of various rice plant diseases based on multi-level handcrafted feature extraction technique. Scientific Reports, 14(1), 30601. https://doi.org/10.1038/s41598-024-81143-1
Bijoy, M. H., Hasan, N., Biswas, M., Mazumdar, S., Jimenez, A., Ahmed, F., Rasheduzzaman, M., & Momen, S. (2024). Towards Sustainable Agriculture: A Novel Approach for Rice Leaf Disease Detection Using dCNN and Enhanced Dataset. IEEE Access, 12, 34174–34191. https://doi.org/10.1109/ACCESS.2024.3371511
Bouni, M., Hssina, B., Douzi, K., & Douzi, S. (2024). Synergistic use of handcrafted and deep learning features for tomato leaf disease classification. Scientific Reports, 14, 26822. https://doi.org/10.1038/s41598-024-71225-5
Chakrabarty, A., Ahmed, S. T., Islam, M. F. U., Aziz, S. M., & Maidin, S. S. (2024). An interpretable fusion model integrating lightweight CNN and transformer architectures for rice leaf disease identification. Ecological Informatics, 82, 102718. https://doi.org/10.1016/j.ecoinf.2024.102718
Cho, O. H. (2024). An evaluation of various machine learning approaches for detecting leaf diseases in agriculture. Legume Research, 47(4), 619–627. https://doi.org/10.18805/LRF-787
Gusmaliza, D., & Aminah, S. (2024). Sistem Identifikasi Kualitas Biji Kopi Robusta berbasis Image Processing dengan Support Vector Machine. Edumatic: Jurnal Pendidikan Informatika, 8(2), 744–753. https://doi.org/10.29408/edumatic.v8i2.28008
Halingali, A. B., Aithal, P. K., & Shankarappa, S. (2026). A hybrid ResNet-101 and random forest framework for high-precision multiclass tomato leaf disease classification. Scientific Reports, 16(1), Article 31878. https://doi.org/10.1038/s41598-026-70752-7
Ishengoma, F. S., & Lyimo, N. N. (2024). Ensemble model for grape leaf disease detection using CNN feature extractors and random forest classifier. Heliyon, 10(12), e33377. https://doi.org/10.1016/j.heliyon.2024.e33377
Kurniawan, A., Soeprobowati, T. R., & Warsito, B. (2025). Hybrid PSO-ACO optimization for rice leaf disease classification using random forest and support vector machines. International Journal of Advanced Computer Science and Applications, 16(6), 388–397. https://doi.org/10.14569/IJACSA.2025.0160638
Makmur, H., Nasrullah, A. H., Budiarti, N. A. E., Zain, S. G., & Wahid, A. (2026). Classification of banana leaf disease using Random Forest based on LAB color features and segmentation area. Electronic Letters on Computer Vision and Image Analysis, 25(2), 20–38. https://doi.org/10.5565/rev/elcvia.1989
Pamungkas, N. B., & Suhendar, A. (2024). Penerapan Metode Convolutional Neural Network pada Sistem Klasifikasi Penyakit Tanaman Apel berdasarkan Citra Daun. Edumatic: Jurnal Pendidikan Informatika, 8(2), 675–684. https://doi.org/10.29408/edumatic.v8i2.27958
Prity, F. S., Raquib, M., Murad, S. A., Rafi, M. J., Bhuiyan, M. K., & Bairagi, A. K. (2025). Neural network-based study for rice leaf disease recognition and classification: A comparative analysis between feature-based model and direct imaging model. Food Science & Nutrition, 13(12), e71350. https://doi.org/10.1002/fsn3.71350
Resti, Y., Irsan, C., Latif, J. F., Yani, I., & Dewi, N. R. (2023). A bootstrap-aggregating in Random Forest model for classification of corn plant diseases and pests. Science and Technology Indonesia, 8(2), 288–297. https://doi.org/10.26554/sti.2023.8.2.288-297
Subbarayudu, C., & Kubendiran, M. (2025). An automated hybrid deep learning framework for paddy leaf disease identification and classification. Scientific Reports, 15(1), 26873. https://doi.org/10.1038/s41598-025-08071-6
Suryadi, A., & Suhirman, S. (2025). Model Convolutional Neural Network berbasis Data Lapangan untuk Deteksi Penyakit Daun Padi. Edumatic: Jurnal Pendidikan Informatika, 9(3), 955–964. https://doi.org/10.29408/edumatic.v9i3.32634
Sutikno, Wibawa, H. A., & Waspada, I. (2026). Feature fusion of GLCM, LBP, and color histogram for rice leaf disease classification. Ingenierie des Systemes d’Information, 31(1), 1–7. https://doi.org/10.18280/isi.310101
Udayananda, G. K. V. L., Shyalika, C., & Kumara, P. P. N. V. (2022). Rice plant disease diagnosing using machine learning techniques: A comprehensive review. SN Applied Sciences, 4, 311. https://doi.org/10.1007/s42452-022-05194-7
Yao, J., Tran, S. N., Sawyer, S., & Garg, S. (2023). Machine learning for leaf disease classification: data, techniques and applications. Artificial Intelligence Review, 56, 3571–3616. https://doi.org/10.1007/s10462-023-10610-4
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Nabila Nur Fadhilah, irma Handayani

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles in this journal are the sole responsibility of the authors. Edumatic: Jurnal Pendidikan Informatika can be accessed free of charge, in accordance with the Creative Commons license used.

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


