An Image-Based Approach for Loamy Soil Dryness Classification Using SVM and Hybrid Features

Authors

  • S M Abdullah Al Shuaeb
  • Md. Mizanur Rahman
  • Mahbubun Nahar
  • Utpal Kanti Roy
  • Al Fahad

Keywords:

Haralick feature, HOG feature, Support Vector Machine (SVM), Machine Learning (ML)

Abstract

Correctly identifying the moisture and dryness of loamy soil is essential to maintain agricultural productivity. Since loamy soil is favorable for crop root growth, its physical and moisture properties play an important role in determining irrigation management, crop planning, and soil development strategies. In conventional methods, soil moisture and dryness are usually determined by cutting or lifting samples from the soil and transporting them to the laboratory, which directly interferes with the natural structure and condition of the soil. Such methods are considered invasive, time-consuming, and relatively expensive. In order to overcome these limitations, in this study, we proposed a fast, non-invasive, and image-based method for predicting the dryness level of loamy soil, where hybrid image features and a support vector machine (SVM) classifier are used. In the proposed method, a comprehensive feature vector is formed by adding color features, Local Binary Pattern (LBP), Haralick texture features, and Histogram of Oriented Gradients (HOG) features extracts from soil images. Subsequently, different SVM models with linear, Radial Basis Function (RBF), and polynomial kernels were trained and evaluated using these feature vectors to classify the dryness of loamy soil into five categories: very dry, dry, moist, wet, and very wet. Experimental results indicate that the proposed model achieved high accuracy, precision, recall, and F1-score, which proves the effectiveness of the hybrid features and SVM kernels used, the stability of the model, and its applicability in real situations. Overall, the proposed image-based non-invasive method can be considered as a fast, cost-effective, and practical alternative for assessing the dryness of loamy soil by reducing the reliance on conventional laboratory-based techniques.

Author Biographies

  • S M Abdullah Al Shuaeb

    Bangladesh Agricultural University, Mymensingh, Bangladesh

  • Md. Mizanur Rahman

    Dept. of Computer Science and Engineering, Jatiya Kabi Kazi Nazrul Islam University, Bangladesh

  • Mahbubun Nahar

    Dept. of Computer Science and Engineering, Jatiya Kabi Kazi Nazrul Islam University, Bangladesh

  • Utpal Kanti Roy

    Dept. of Computer Science and Engineering, City University Bangladesh

  • Al Fahad

    Department of Civil Engineering, Jeonbuk National University, South Korea

References

[1] S. M. A. Al Shuaeb, Md. R. Hassan, and M. Uddin, “Soil Wetness Classification in Agriculture Using Machine Learning Models,” Asian Journal of Soil Science and Plant Nutrition, vol. 10, no. 4, pp. 803–815, Dec. 2024, doi: 10.9734/ajsspn/2024/v10i4451.

[2] Y. Ren, F. Ling, and Y. Wang, “Research on provincial-level soil moisture prediction based on extreme gradient boosting model,” Agriculture, vol. 13, no. 5, p. 927, 2023.

[3] D. Acharjee, N. Mallik, D. Das, M. Aktar, and P. Majumdar, “Crop Yield and Soil Moisture Prediction Using Machine Learning Algorithms,” Machine Learning Applications: From Computer Vision to Robotics, pp. 183–194, 2023.

[4] R. Stiglitz, E. Mikhailova, C. Post, M. Schlautman, and J. Sharp, “Using an inexpensive color sensor for rapid assessment of soil organic carbon,” Geoderma, vol. 286, pp. 98–103, 2017.

[5] H. Kim, M. H. Cosh, R. Bindlish, and V. Lakshmi, “Field evaluation of portable soil water content sensors in a sandy loam,” Vadose Zone Journal, vol. 19, no. 1, p. e20033, 2020.

[6] S. Ibáñez-Asensio, A. Marques-Mateu, H. Moreno-Ramón, and S. Balasch, “Statistical relationships between soil colour and soil attributes in semiarid areas,” Biosyst Eng, vol. 116, no. 2, pp. 120–129, 2013.

[7] S.-O. Chung, K.-H. Cho, J.-W. Kong, K. A. Sudduth, and K.-Y. Jung, “Soil texture classification algorithm using RGB characteristics of soil images,” IFAC Proceedings Volumes, vol. 43, no. 26, pp. 34–38, 2010.

[8] W. Jiao, J. Wang, Y. He, X. Xi, and X. Chen, “Detecting soil moisture levels using battery-free Wi-Fi tag,” arXiv preprint arXiv:2202.03275, 2022.

[9] Y. Liu, H. Wang, H. Zhang, and K. Liber, “A comprehensive support vector machine-based classification model for soil quality assessment,” Soil Tillage Res, vol. 155, pp. 19–26, 2016.

[10] M. Uddin and M. R. Hassan, “A novel feature based algorithm for soil type classification,” Complex and Intelligent Systems, vol. 8, no. 4, pp. 3377–3393, Aug. 2022, doi: 10.1007/s40747-022-00682-0.

[11] R. Zhu and Y. Wang, “Application of Improved Median Filter on Image Processing.,” J. Comput., vol. 7, no. 4, pp. 838–841, 2012.

[12] T. Sun and Y. Neuvo, “Detail-preserving median based filters in image processing,” Pattern Recognit Lett, vol. 15, no. 4, pp. 341–347, 1994.

[13] M. Kaur, J. Kaur, and J. Kaur, “Survey of contrast enhancement techniques based on histogram equalization,” International Journal of Advanced Computer Science and Applications, vol. 2, no. 7, 2011.

[14] C. Zuo, Q. Chen, and X. Sui, “Range limited bi-histogram equalization for image contrast enhancement,” Optik (Stuttg), vol. 124, no. 5, pp. 425–431, 2013.

[15] S. M. A. Al Shuaeb, A. Hossen, M. A. H. Dinar, and U. K. Roy, “Analyzing Different Architectures of Convolutional Neural Networks for Tomato Grading System,” Asian Journal of Research in Computer Science, vol. 17, no. 12, pp. 137–147, Dec. 2024, doi: 10.9734/ajrcos/2024/v17i12534.

[16] A. Yadav et al., “Handcrafted Feature and Deep Features Based Image Classification Using Machine Learning Models,” National Academy Science Letters, 2025, doi: 10.1007/s40009-025-01616-3.

[17] A. Lopez-Alanis, H. De-la-Torre-Gutierrez, and A. Hernández-Aguirre, “A thresholdless wildfire pixel detection employing color contrast features,” Applied Intelligence, vol. 55, no. 17, Nov. 2025, doi: 10.1007/s10489-025-07004-0.

[18] M. K. Singh, “DWT and LBP hybrid feature based deep learning technique for image splicing forgery detection,” Soft comput, vol. 28, no. 20, pp. 12207–12215, Oct. 2024, doi: 10.1007/s00500-024-09919-1.

[19] R. Pal, S. Kumar, and M. K. Singh, “Topological data analysis and image visibility graph for texture classification,” International Journal of System Assurance Engineering and Management, 2024, doi: 10.1007/s13198-024-02272-4.

[20] S. Suthaharan, “Support vector machine,” in Machine learning models and algorithms for big data classification: thinking with examples for effective learning, Springer, 2016, pp. 207–235.

[21] L. H. Thai, T. S. Hai, and N. T. Thuy, “Image classification using support vector machine and artificial neural network,” International Journal of Information Technology and Computer Science, vol. 4, no. 5, pp. 32–38, 2012.

[22] F. Bovolo, L. Bruzzone, and L. Carlin, “A novel technique for subpixel image classification based on support vector machine,” IEEE Transactions on Image Processing, vol. 19, no. 11, pp. 2983–2999, 2010.

[23] S. S. T. Gontumukkala, Y. S. V. Godavarthi, B. R. R. T. Gonugunta, R. Subramani, and K. Murali, “Analysis of image classification using SVM,” in 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT), 2021, pp. 1–6.

[24] S. Y. Chaganti, I. Nanda, K. R. Pandi, T. G. Prudhvith, and N. Kumar, “Image Classification using SVM and CNN,” in 2020 International conference on computer science, engineering and applications (ICCSEA), 2020, pp. 1–5.

[25] P. Sridhar and P. Angamuthu, “Enhancing image based classification for crop disease detection using a multiclass SVM approach with kernel comparison,” Sci Rep, vol. 15, no. 1, Dec. 2025, doi: 10.1038/s41598-025-23568-w.

[26] S. R. Kumar, M. A. Srinuvasu, A. Vamsidhar, and B. D. Reddy, “Enhancing rice leaf disease classification accuracy with svm kernels using image embedding techniques for feature extraction: a comprehensive analysis,” Multimed Tools Appl, Oct. 2025, doi: 10.1007/s11042-025-20831-0.

[27] O. Abda and H. Naimi, “Advanced Brain Tumor MR Image Classification Using a Combination Undecimated Wavelet Transform, EfficientNet-B0 and PCA via Multi-SVM Analysis,” Iranian Journal of Science and Technology - Transactions of Electrical Engineering, vol. 49, no. 2, pp. 601–613, Jun. 2025, doi: 10.1007/s40998-025-00801-w.

[28] B. Hossain, U. K. Roy, Shamsunnaher, Md. S. A. A. Kawser, and S. M. A. Al Shuaeb, “Image-based Pest Identification Using Support Vector Machine for Agricultural Crop Protection,” Asian J Res Crop Sci, vol. 10, no. 3, pp. 13–22, Jun. 2025, doi: 10.9734/ajrcs/2025/v10i3368.

[29] H. Dalianis, “Evaluation metrics and evaluation,” in Clinical Text Mining: secondary use of electronic patient records, Springer, 2018, pp. 45–53.

[30] Ž. Vujović and others, “Classification model evaluation metrics,” International Journal of Advanced Computer Science and Applications, vol. 12, no. 6, pp. 599–606, 2021.

[31] F. Daghistani and H. Abuel-Naga, “Evaluating the influence of sand particle morphology on shear strength: A comparison of experimental and machine learning approaches,” Applied Sciences, vol. 13, no. 14, p. 8160, 2023.

Downloads

Published

2026-01-26

Issue

Section

Articles

How to Cite

S M Abdullah Al Shuaeb, Md. Mizanur Rahman, Mahbubun Nahar, Utpal Kanti Roy, & Al Fahad. (2026). An Image-Based Approach for Loamy Soil Dryness Classification Using SVM and Hybrid Features. International Journal of Computer (IJC), 56(1), 359-376. https://www.ijcjournal.org/InternationalJournalOfComputer/article/view/2491