Hostname: page-component-89b8bd64d-shngb Total loading time: 0 Render date: 2026-05-06T18:04:30.438Z Has data issue: false hasContentIssue false

Black-grass (Alopecurus myosuroides) in cereal multispectral detection by UAV

Published online by Cambridge University Press:  27 July 2023

Jonathan Cox*
Affiliation:
Postdoctoral Research Associate, School of Computer Science, University of Lincoln, Brayford Pool, Lincoln LN6 7TS, UK; and ARWAC Ltd., Laughton, Sleaford NG34 0HE, UK
Xiaodong Li
Affiliation:
Research Associate, Lincoln Institute for Agricultural Technology, University of Lincoln, Riseholme Campus, Lincoln LN2 2LF, UK; and ARWAC Ltd., Laughton, Sleaford NG34 0HE, UK
Charles Fox
Affiliation:
Senior Lecturer in Computer Science, School of Computer Science, University of Lincoln, Brayford Pool, Lincoln LN6 7TS, UK
Shaun Coutts
Affiliation:
Associate Professor, Lincoln Institute for Agricultural Technology, University of Lincoln, Riseholme Campus, Lincoln LN2 2LF, UK
*
Corresponding author: Jonathan Cox; Email: JCox@lincoln.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Site-specific weed management (on the scale of a few meters or less) has the potential to greatly reduce pesticide use and its associated environmental and economic costs. A prerequisite for site-specific weed management is the availability of accurate maps of the weed population that can be generated quickly and cheaply. Improvements and cost reductions in unmanned aerial vehicles (UAVs) and camera technology mean these tools are now readily available for agricultural use. We used UAVs to collect aerial images captured in both RGB and multispectral formats of 12 cereal fields (wheat [Triticum aestivum L.] and barley [Hordeum vulgare L.]) across eastern England. These data were used to train machine learning models to generate prediction maps of locations of black-grass (Alopecurus myosuroides Huds.), a prolific weed in UK cereal fields. We tested machine learning and data set resampling methods to obtain the most accurate system for predicting the presence and absence of weeds in new out-of-sample fields. The accuracy of the system in predicting the absence of A. myosuroides is 69% and its presence above 5 g in weight with 77% accuracy in new out-of-sample fields. This system generates prediction maps that can be used by either agricultural machinery or autonomous robotic platforms for precision weed management. Improvements to the accuracy can be made by increasing the number of fields and samples in the data set and the length of time over which data are collected to gather data across the entire growing season.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of the Weed Science Society of America
Figure 0

Figure 1. Aerial image and indices of Field 1: (A) RGB color image, (B) normalized difference vegetation (NDVI), (C) normalized difference red-edge (NDRE), and (D) visible atmospherically resistant index (VARI).

Figure 1

Figure 2. Histogram of Alopecurus myosuroides sample weights harvested. This graph excludes the 649 samples with no (0 g) Alopecurus myosuroides.

Figure 2

Table 1. Performance of classifiers for gradient boosting and the multilayer perceptron (MLP) under different resampling strategies and data sets for the color, normalized difference vegetation (NDVI), and normalized difference red-edge (NDRE) images.

Figure 3

Table 2. Performance of classifiers for gradient boosting and the multilayer perceptron (MLP) using the color and visible atmospherically resistant index (VARI) images.

Figure 4

Table 3. Confusion matrix and metrics of the multilayer perceptron (MLP) with SMOTE-Tomek resampling, a technique that generates or removes samples in the data set to balance the classes, of the data set with four classes of Alopecurus myosuroides weight using the color, normalized difference vegetation (NDVI), and normalized difference red-edge (NDRE) images.

Figure 5

Table 4. The true positive (TP), false positive (FP), true negative (TN), false negative (FN) rates (P is Alopecurus myosuroides ≥ 5 g; N is no Alopecurus myosuroides <5 g) and metrics (accuracy, balanced accuracy [BA], Matthews correlation coefficient [MCC], and Cohen’s kappa) of two results from the classifiers of all twelve fields, multilayer perceptron (MLP) with SMOTE-ENN resampling, a resampling technique that generates or removes samples in the data set to balance the classes, of two classes threshold at 5 g comparing the RGB, NDVI and NDRE images and only using the color images and visible atmospherically resistant index (VARI).

Figure 6

Figure 3. Accuracy and true positive (TP) and true negative (TN) rates for the twelve individual fields sampled using the multilayer perceptron (MLP) classifier with (A) random oversampling of the two classes data set with the threshold at 0 g and (B) SMOTE-Tomek resampling, a resampling technique that generates or removes samples in the data set to balance the classes, of the two-classes data set with the threshold at 3 g, both using the color, normalized difference vegetation (NDVI), and normalized difference red edge (NDRE) images.

Figure 7

Table 5. Classification accuracy, true positive (TP), false positive (FP), true negative (TN), and false negative (FN) rates and ground-truth data (P is Alopecurus myosuroides ≥ 5 g; N is no Alopecurus myosuroides < 5 g) of the twelve individual fields using the multilayer perceptron (MLP) classifier with SMOTE-Tomek resampling, a resampling technique that generates or removes samples in the data set to balance the classes, of two-classes threshold at 5 g using the color, normalized difference vegetation (NDVI), and normalized difference red-edge (NDRE) images.

Figure 8

Figure 4. Feature importance of the gradient-boosting classifier with SMOTE-Tomek resampling of the two-classes threshold at 5 g data set using the color (RGB) images, normalized difference red-edge (NDRE), and normalized difference vegetation (NDVI) and SMOTE-ENN resampling, a resampling technique that generates or removes samples in the data set to balance the classes, of the two-classes threshold at 5 g data set using the color images and visible atmospherically resistant index (VARI) averaged across all twelve fields.

Figure 9

Figure 5. Aerial images of field twelve: (A) color image overlaid with the classifier’s predicted locations of Alopecurus myosuroides (red areas) where its predicted probability is greater than 75% and (B) the classifier’s prediction probability of either class 1 or class 2 (C1 5 g or C2 > 5 g). The classifier used is the multilayer perceptron (MLP) classifier with SMOTE-Tomek resampling, a resampling technique that generates or removes samples in the data set to balance the classes, with two-classes threshold at 5 g with 1,703 average pixels per quadrat using the color images, normalized difference red-edge (NDRE), and normalized difference vegetation (NDVI) data sets.