Comparative Analysis of Random Forest, Support Vector Machine, and K-Nearest Neighbor with Image Feature Extraction for Rice Leaf Disease Detection

Authors

  • Nadia Nafista Universitas Negeri Surabaya, Surabaya
  • Wawu Tri Ambodo Universitas Negeri Surabaya, Surabaya
  • Analicia Universitas Negeri Surabaya, Surabaya
  • Ulfa Siti Nuraini Universitas Negeri Surabaya, Surabaya

DOI:

https://doi.org/10.25126/jitecs.2026112856

Abstract

Plant diseases and pest infestations have caused a decline in global food production of up to 40%, including in Indonesia, making an efficient and accurate disease detection system essential to support food security. This study proposes a supervised learning approach to detect rice leaf diseases based on image processing. Leaf images are processed through the stages of image segmentation, normalization, Gaussian blur, Canny edge detection, visualization of diseased areas, and hybrid feature extraction. Supervised learning algorithms such as Random Forest (RF), Support Vector Machine (SVM), and K-Nearest Neighbor (KNN) were trained and compared. Test results show that Random Forest delivers the best performance with an accuracy of 97%, outperforming SVM and KNN. These findings indicate that the proposed approach can serve as an effective and reliable solution for the automatic detection of rice leaf diseases.

Downloads

Download data is not yet available.

References

[1] Ahmad N, Asif HMS, Saleem G, Younus MU, Anwar S, Anjum MR. Leaf Image-Based Plant Disease Identification Using Color and Texture Features. Wireless Personal Communications. 2021 Nov 1;121(2):1139–68.

[2] Singh VK, Singh R, Kumar A, Bhadouria R. Current status of plant diseases and food security. In 2021. https://doi.org/10.1016/B978-0-12-821843-3.00019-2

[3] Aldi F, Sumijan S. Extraction of Shape and Texture Features of Dermoscopy Image for Skin Cancer Identification. Sinkron. 2024 Mar 31;8(2):650–60.

[4] Denkenberger D, Breuer Justus L, Ulrich Jehn F, Moersdorf J, Rivers M, Breuer L. The Fragile State of Industrial Agriculture: Estimating Crop Yield Reductions in a Global Catastrophic Infrastructure Loss Scenario. Available from: https://www.researchgate.net/publication/372790621.

[5] Halder RK, Uddin MN, Uddin MA, Aryal S, Khraisat A. Enhancing K-nearest neighbor algorithm: a comprehensive review and performance analysis of modifications. Journal of Big Data. 2024 Dec 1;11(1).

[6] Hatuwal B, Shakya A, Joshi B, Hatuwal BK. Plant Leaf Disease Recognition Using Random Forest, KNN, SVM and CNN. Available from: https://doi.org/10.17562/PB-62-2.

[7] Singh R, Maurya S. Blast Disease of Rice: Evolution and Adaptation in Context of Changing Climate. In 2021. https://doi.org/10.1007/978-3-030-60585-8_8

[8] Arinichev IV, Polyanskikh SV, Arinicheva IV, Sergeeva IO. Applications of convolutional neural networks for the detection and classification of fungal rice diseases. 2021 Mar 1; https://doi.org/10.1088/1755-1315/699/1/012020

[9] Li Y. Bacterial blight of rice dataset. Science Data Bank Datasets. 2022 Jul 19; https://doi.org/10.11922/sciencedb.p00001.00001

[10] Sharma R, Kukreja VK, Kaushal RK, Bansal A, Kaur A. Rice Leaf blight Disease detection using multi-classification deep learning model. In 2022. https://doi.org/10.1109/ICRITO56286.2022.9964644

[11] Role of Image Processing in Agricultural Practices. Advances in electronic government, digital divide, and regional development book series. 2023 Jan 13; https://doi.org/10.4018/978-1-6684-6418-2.ch005

[12] Kini AS, Reddy PKV, Pai SN. Techniques of deep learning and image processing in plant leaf disease detection: a review. International Journal of Power Electronics and Drive Systems. 2023 Jun 1; https://doi.org/10.11591/ijece.v13i3.pp3029-3040

[13] Barua A, Kalirajan K. A Survey of Medical Image Processing and its Applications. In 2022. https://doi.org/10.1109/ICIRCA54612.2022.9985621

[14] Srivastava P kumar, shiney J, Shan P. Plant Disease Prediction using Image Processing and Soft Computing Algorithms: A Review. In: Computational Intelligence. 2021. https://doi.org/10.1109/ICCIKE51210.2021.9410728

[15] Vishnoi VK, Kumar K, Kumar B. A comprehensive study of feature extraction techniques for plant leaf disease detection. Multimedia Tools and Applications. 2021 Sep 10; https://doi.org/10.1007/S11042-021-11375-0

[16] Fabbri L. Comparative Study on Image Feature Extraction Techniques. In 2022. https://doi.org/10.1007/978-981-19-1122-4_62

[17] K C S, N B. Image Processing Technique on Identification of Leaf Types and Detection of Diseases Portion on Tomato Leaves. 2024 Apr 5; https://doi.org/10.47392/irjaem.2024.0078

[18] Arunkumar K, Leninisha S. An effective identification between various plant species using shape descriptors and image processing technique. In 2023. https://doi.org/10.1109/IConSCEPT57958.2023.10170691

[19] Rahmaty M. Machine learning with big data to solve real-world problems. 2023 Apr 23; https://doi.org/10.59615/jda.2.1.9

[20] Majumder A. Classification Models in Machine Learning Techniques. In 2023. https://doi.org/10.4018/978-1-6684-8531-6.ch001

[21] Deepa, N R, Shetty C. A Machine Learning Technique for Identification of Plant Diseases in Leaves. In: International Conference on Inventive Computation Technologies. 2021. https://doi.org/10.1109/ICICT50816.2021.9358797

[22] Joshi G, Panse P. Investigating the Feasibility of Machine Learning Models for Early Detection of Plant Diseases. In 2023. https://doi.org/10.1109/icssas57918.2023.10331640

[23] Senanu Ametefe D, Seroja Sarnin S, Mohd Ali D, Caliskan A, Tatar Caliskan I, Adozuka Aliu A, et al. Enhancing leaf disease detection accuracy through synergistic integration of deep transfer learning and multimodal techniques. Information Processing in Agriculture. 2024.

[24] Srivastava A. Impact of K-Nearest Neighbour on Classification Accuracy in KNN Algorithm Using Machine Learning. In 2021. https://doi.org/10.1007/978-981-15-9938-5_35

[25] Muliady M, Lim TS, Koo VC, Suhadra P. Classification of rice plant nitrogen nutrient status using k-nearest neighbors (k-NN) with light intensity data. Indonesian Journal of Electrical Engineering and Computer Science. 2021 Apr 1; https://doi.org/10.11591/IJEECS.V22.I1.PP179-186.

Downloads

Published

2026-09-07

Issue

Section

Articles

How to Cite

Comparative Analysis of Random Forest, Support Vector Machine, and K-Nearest Neighbor with Image Feature Extraction for Rice Leaf Disease Detection. (2026). Journal of Information Technology and Computer Science, 11(2), 224-235. https://doi.org/10.25126/jitecs.2026112856