Abstract
In precision agriculture (PA), the usage of image processing, artificial intelligence, data analysis, and internet of things provides an increase in efficiency, energy, and time saving. In image processing–based applications, vegetation detection, in other words, segmentation that allows monitoring of plant growth and health as well as identification of weeds has a great importance. Vegetation indices (VIs) are widely used algorithms for segmentation. Their advantages include low computational cost and easy implementation and handling compared to the other algorithms. Nevertheless, they require a manual threshold detection that customizes the process and prevents generalization. In this study, a novel automatic segmentation method, which does not require a manual threshold detection by combining VIs with a classification algorithm, is proposed. It deals with the segmentation process as a two class classification problem (vegetation and background). As the classification algorithm, Discriminative Common Vector Approach (DCVA) that has a high discrimination power is used. Each image pixel is represented with a 3 × 1 dimensional vector whose elements correspond to Excess Green (ExG), Green minus Blue (GB), and Color Index of Vegetation (CIVE); VI values are obtained. Then, on the sample space accepting this pixel vector as a sample, DCVA is applied and a discriminative common vector for each class which is unique and describes that class in the best way possible is obtained and it is used for classification. Proposed segmentation method’s performance is compared with Convolutional Neural Networks (CNN) and Random Forest (RF) algorithm. The proposed segmentation algorithm outperformed both CNN’s and RF’s performance.
Similar content being viewed by others
Data availability
The datasets analyzed during the current study are available in the [CWFID—Crop Weed Field Image Dataset] repository, [https://github.com/cwfid], and in the [lameski/rgbweeddetection] [https://github.com/lameski/rgbweeddetection].
References
Bao, X., Javanbakhti, S., Zinger, S., & Wijnhoven, R. (2013). Context modeling combined with motion analysis for moving ship detection in port surveillance. Journal of Electronic Imaging, 22(4), 041114. https://doi.org/10.1117/1.JEI.22.4.041114
Bargoti, S., & Underwood, J. P. (2017). Image segmentation for fruit detection and yield estimation in apple orchards. Journal of Field Robotics, 34(6), 1039–1060. https://doi.org/10.1002/rob.21699
Boston, T., Van Dijk, A., Larraondo, P. R., & Thackway, R. (2022). Comparing CNNs and random forests for Landsat ımage segmentation trained on a large proxy land cover dataset. Remote Sensing, 14(14), 3396. https://doi.org/10.3390/rs14143396
Breiman, L. (2001). Random forests. Machine Learning, 45, 5–32. https://doi.org/10.1023/A:1010933404324
Castaldi, F. F., Pelosi, F., Pascucci, S., & Casa, R. (2017). Assessing the potential of images from unmanned aerial vehicles (UAV) to support herbicide patch spraying in maize. Precision Agriculture, 18, 76–94. https://doi.org/10.1007/s11119-016-9468-3
Cevikalp, H., Neamtu, M., Wilkes, M., & Barkana, A. (2005). Discriminative common vectors for face recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 27(1), 4–13. https://doi.org/10.1109/TPAMI.2005.9
Chang, C. Y., Zhou, R., Kira, O., Marri, S., Skovira, J., & Gu, L. (2020). Sun, Y. An Unmanned Aerial System (UAS) for concurrent measurements of solar induced chlorophyll fluorescence and hyperspectral reflectance toward improving crop monitoring. Agricultural and Forest Meteorology, 294, 1–15. https://doi.org/10.1016/j.agrformet.2020.108145
Chang, L., Peng-Sen, S., & Shi-Rong, L. (2016). A review of plant spectral reflectance response to water physiological changes. Chinese Journal of Plant Ecology, 40(1), 80–91. https://doi.org/10.17521/cjpe.2015.0267
Chlingaryan, A., Sukkarieh, S., & Whelan, B. (2018). Machine learning approaches for crop yield prediction and nitrogen status estimation in precision agriculture: A review. Computers and Electronics in Agriculture, 151, 61–69. https://doi.org/10.1016/j.compag.2018.05.012
Diago, M.-P., Correa, C., Millán, B., Barreiro, P., Valero, C., & Tardaguila, J. (2012). Grapevine yield and leaf area estimation using supervised classification methodology on RGB images taken under field conditions. Sensors, 12, 16988–17006. https://doi.org/10.3390/s121216988
Fernández-Quintanilla, C., Peña, J. M., Andújar, D., Dorado, J., Ribeiro, A., & López-Granados, F. (2018). Is the current state of the art of weed monitoring suitable for site-specific weed management in arable crops? Weed Research, 58, 259–272. https://doi.org/10.1111/wre.12307
Hamuda, E., Glavin, M., & Jones, E. (2016). A survey of image processing techniques for plant extraction and segmentation in the field. Computers and Electronics in Agriculture., 125, 184–199. https://doi.org/10.1016/j.compag.2016.04.024
Haug, S., & Ostermann, J. (2014). A crop/weed field image dataset for the evaluation of computer vision based precision agriculture tasks. European Conference on Computer Vision (pp. 105–116). Springer.
Hunt, E. R., Jr., & Daughtry, C. S. (2018). What good are unmanned aircraft systems for agricultural remote sensing and precision agriculture? International Journal of Remote Sensing, 39(15–16), 5345–5376. https://doi.org/10.1080/01431161.2017.1410300
Ij, H. (2018). Statistics versus machine learning. Nature Methods, 15(4), 233.
Kamilaris, A., & Prenafeta-boldú, F. X. (2018). Deep learning in agriculture: A survey. Computers and Electronics in Agriculture, 147, 70–90. https://doi.org/10.1016/j.compag.2018.02.016
Karcher, D. E., & Richardson, M. D. (2005). Batch analysis of digital images to evaluate turfgrass characteristics. Crop Science, 45, 1536–1539. https://doi.org/10.2135/cropsci2004.0562
Kataoka, T., Kaneko, T., Okamoto, H., & Hata, S. (2003). Crop growth estimation system using machine vision. In: IEEE/ASME International Conference on Advanced Intelligent Mechatronics (pp. 1079–1083). Kobe, Japan: IEEE. https://doi.org/10.1109/AIM.2003.1225492
Kazmi, W., Garcia-Ruiz, F. J., Nielsen, J., Rasmussen, J., & Andersen, H. J. (2015). Detecting creeping thistle in sugar beet fields using vegetation indices. Computers and Electronics in Agriculture, 112, 10–19. https://doi.org/10.1016/j.compag.2015.01.008
Kolda, T. G., & Bader, B. W. (2009). Tensor decompositions and applications. SIAM Re-View, 51(3), 455–500. https://doi.org/10.1137/07070111X
Krogh, A., Dyrmann, M., Karstoft, H., Nyholm, R., & Gislum, R. (2016). Semantic segmentation of mixed crops using deep convolutional neural network. In: CIGR-AgEng Conference (pp. 1–6).
Lameski, P., Zdravevski, E., Trajkovik, V., & Kulakov, A. (2017). Weed detection dataset with RGB images taken under variable light conditions. In International Conference on ICT Innovations (pp. 112–119). Springer, Cham. https://doi.org/10.1007/978-3-319-67597-8_11
Mink, R., Dutta, A., Peteinatos, G. G., & Sökefeld, M. (2018). Multi-temporal site-specific weed control of Cirsium arvense (L.) scop. and Rumex crispus L. in maize and sugar beet using nmanned aerial vehicle based mapping. Agriculture, 8, 1–14. https://doi.org/10.3390/agriculture80500650
Mu, M., Ruan, Q., & Shen, Y. (2010). Palmprint recognition based on discriminative local binary patterns statistic feature. In 2010 international conference on signal acquisition and processing (pp. 193–197). IEEE.
Nagasubramanian, K., Jones, S., Singh, A. K., Sarkar, S., & Singh, A. (2019). Ganapathysubramanian, B. Plant disease identifcation using explainable 3D deep learning on hyperspectral images. Plant Methods, 15, 1–10. https://doi.org/10.1186/s13007-019-0479-8
Nex, F., & Remondino, F. (2014). UAV for 3D mapping applications: A review. Applied Geomatics, 6(1), 1–15. https://doi.org/10.1007/s12518-013-0120-x
Onal, Y., & Turhal, U. C. (2021). Discriminative common vector in sufficient data case: A fault detection and classification application on photovoltaic arrays. Engineering Science and Technology, an International Journal, 24(5), 1168–1179. https://doi.org/10.1016/j.jestch.2021.02.017
Parra, A., Boutin, M., & Delp, E. J. (2017). Automatic gang graffiti recognition and interpretation. Journal of Electronic Imaging, 26(5), 051409. https://doi.org/10.1117/1.JEI.26.5.051409
Payne, A., Walsh, K., Subedi, P., & Jarvis, D. (2014). Estimating mango crop yield using image analysis using fruit at ‘stone hardening’ stage and night time imaging. Computers and Electronics in Agriculture, 100, 160–167. https://doi.org/10.1016/j.compag.2013.11.011
Philipp, I., & Rath, T. (2002). Improving plant discrimination in image processing by use of different colour space transformations. Computers and Electronics in Agriculture, 35(1), 1–15. https://doi.org/10.1016/S0168-1699(02)00050-9
Riehle, D., Reiser, D., & Griepentrog, H. W. (2020). Robust index-based semantic plant/background segmentation for RGB-images. Computers and Electronics in Agriculture, 169, 105201. https://doi.org/10.1016/j.compag.2019.105201
Ruckelshausen, A., Klose, R., Linz, A., Marquering, J., Thiel, M., & Tölke, S. (2006). Autonome Roboter zur Unkrautbekämpfung. Journal of Plant Diseases and Protection, 173–180.
Shen, F., & Zeng, G. (2019). Semantic image segmentation via guidance of image classification. Neurocomputing, 330, 259–266. https://doi.org/10.1016/j.neucom.2018.11.027
Sishodia, R. P., Ray, R. L., & Singh, S. K. (2020). Applications of remote sensing in precision agriculture: A review. Remote Sensing, 12(19), 3136. https://doi.org/10.3390/rs12193136
Slaughter, D. C., Giles, D. K., & Downey, D. (2008). Autonomous robotic weed control systems: A review. Computers and Electronics in Agriculture, 61(1), 63–78. https://doi.org/10.1016/j.compag.2007.05.008
Steen, K. A., Christiansen, P., Karstoft, H., & Jørgensen, R. N. (2016). Using deep learning to challenge safety standard for highly autonomous machines in agriculture. Journal of Imaging, 2–9. https://doi.org/10.3390/jimaging2010006
Swets, D. L., & Weng, J. (1996). Using discriminant eigenfeatures for image retrieval. IEEE Transactions on Pattern Analysis and Machine Intelligence, 18, 831–836. https://doi.org/10.1109/34.531802
Tabb, A., & Medeiros, H. (2018). Automatic segmentation of trees in dynamic outdoor environments. Computers in Industry, 98, 90–99. https://doi.org/10.1016/j.compind.2018.03.002
Vanyan, A., & Khachatrian, H. (2021). Deep semi-supervised ımage classification algorithms: A survey. Journal of Universal Computer Science, 27(12), 1390–1407. https://doi.org/10.3897/jucs.77029
Wang, A., Zhang, W., & Wei, X. (2019). A review on weed detection using ground-based machine vision and image processing techniques. Computers and Electronics in Agriculture, 158, 226–240. https://doi.org/10.1016/j.compag.2019.02.005
Woebbecke, D. M., Meyer, G. E., Von Bargen, K., & Mortensen, D. A. (1995). Color indices for weed identification under various soil, residue, and lighting conditions. Transactions of the ASAE, 38, 259–269. https://doi.org/10.13031/2013.27838
Xue, J., & Su, B. (2017). Significant remote sensing vegetation indices: A review of developments and applications. Journal of sensors. https://doi.org/10.1155/2017/1353691
Zhang, C., & Kovacs, J. M. (2012). The application of small unmanned aerial systems for precision agriculture: A review. Precision Agriculture, 13(6), 693–712. https://doi.org/10.1007/s11119-012-9274-5
Zhuang, S., Wang, P., & Jiang, B. (2018). Segmentation of green vegetation in the field using deep neural networks. In 2018 13th World Congress on Intelligent Control and Automation (WCICA), 509–514. https://doi.org/10.1109/WCICA.2018.8630376
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interests
The author declares no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Turhal, U.C. Vegetation detection using vegetation indices algorithm supported by statistical machine learning. Environ Monit Assess 194, 826 (2022). https://doi.org/10.1007/s10661-022-10425-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10661-022-10425-w