Next Article in Journal
The Design and Optimization of a Compressive-Type Vector Sensor Utilizing a PMN-28PT Piezoelectric Single-Crystal
Previous Article in Journal
New Fast Arctangent Approximation Algorithm for Generic Real-Time Embedded Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Crop/Weed Discrimination Using a Field Imaging Spectrometer System

1
School of Remote Sensing and Geomatics Engineering, Nanjing University of Information Science and Technology, Nanjing 210044, China
2
Institute of Remote Sensing and Digital Earth, Chinese Academy of Sciences, Beijing 100094, China
3
Nanjing Institute of Environmental Sciences, Ministry of Environmental Protection, Nanjing 210042, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(23), 5154; https://doi.org/10.3390/s19235154
Submission received: 16 October 2019 / Revised: 14 November 2019 / Accepted: 21 November 2019 / Published: 25 November 2019
(This article belongs to the Section Remote Sensors)

Abstract

:
Nowadays, sensors begin to play an essential role in smart-agriculture practices. Spectroscopy and the ground-based sensors have inspired widespread interest in the field of weed detection. Most studies focused on detection under ideal conditions, such as indoor or under artificial lighting, and more studies in the actual field environment are needed to test the applicability of this sensor technology. Meanwhile, hyperspectral image data collected by imaging spectrometer often has hundreds of channels and, thus, are large in size and highly redundant in information. Therefore, a key element in this application is to perform dimensionality reduction and feature extraction. However, the processing of highly dimensional spectral imaging data has not been given due attention in recent studies. In this study, a field imaging spectrometer system (FISS; 380–870 nm and 344 bands) was designed and used to discriminate carrot and three weed species (purslane, humifuse, and goosegrass) in the crop field. Dimensionality reduction was performed on the spectral data based on wavelet transform; the wavelet coefficients were extracted and used as the classification features in the weed detection model, and the results were compared with those obtained by using spectral bands as the classification feature. The classification features were selected using Wilks’ statistic-based stepwise selection, and the results of Fisher linear discriminant analysis (LDA) and the highly dimensional data processing-oriented support vector machine (SVM) were compared. The results indicated that multiclass discrimination among weeds or between crops and weeds can be achieved using a limited number of spectral bands (8 bands) with an overall classification accuracy of greater than 85%. When the number of spectral bands increased to 15, the classification accuracy was improved to greater than 90%; further increasing the number of bands did not significantly improve the accuracy. Bands in the red edge region of plant spectra had strong discriminant capability. In terms of classification features, wavelet coefficients outperformed raw spectral bands when there were a limited number of variables. However, the difference between the two was minimal when the number of variables increased to a certain level. Among different discrimination methods, SVM, which is capable of nonlinear classification, performed better.

1. Introduction

As awareness of environmental pollution and food safety issues grows, precision agriculture that is efficient, safe, and economical has become the focus of modern agriculture, and site-specific management has become increasingly popular. The traditional method of using herbicide in a large area not only causes environmental pollution but also results in great waste [1]. Traditional methods often perform blanket spaying or use fixed herbicides on entire crop fields instead of areas with particular weeds. Precision weeding using variable spraying and physical weed control has significant advantages in environmental effects, production safety, and economic benefits. The prerequisites for precision weeding are the automatic and rapid discrimination of weeds from crops, which is also an important application and manifestation of site-specific management in agriculture. Numerous studies have tried using various means to recognize weeds and crops, such as machine vision-based methods and spectroscopy, in which the spectral information-based method has received widespread attention for being simple and fast [2,3,4,5,6,7].
Machine vision-based methods have been successfully applied to detect weeds that are distributed between ridges or between sparsely distributed single plants [8]. However, more studies are needed regarding recognizing weeds on ridges, especially when there is no particular pattern in the crop distribution or there are highly variable characteristics in shapes or size at different growth stages (e.g., carrots) [2,7]. The limitations of the machine vision-based method are more evident when individual plants overlap because many crops and weeds are very similar in shapes and colors. Different plant species generally have different spectral characteristics, which change under the impact of factors such as the growth stage, environmental stress, and aging. Many studies have developed spectral imaging systems based on these characteristics and have attempted to use spectroscopy in the detection and discrimination of crops and weeds [9,10,11,12].
Although spectrum-based technology has great application potential in agricultural weed recognition, most studies have focused on indoor conditions or conditions under artificial lighting, where sample preparation or measurement conditions are relatively ideal due to fewer factors that can affect the recognition [2,13,14,15]. The actual field environment is complex and has many factors that can affect the spectral characteristics of plants [15,16]. Can this technology handle and overcome the difficulty caused by the normal, changing natural light condition? This question remains unknown; thus, more studies in the field environment are needed to test the effectiveness of the spectrum-based technology. In addition, hyperspectral imaging data often contain data from approximately hundreds of channels. Although the highly dimensional nature of the data ensures a wealth of information, it also brings an enormous computational load and information redundancy. These challenges are difficult to address using conventional analysis methods. Thus, how to fully utilize effective information in the spectral data and to perform feature extraction and dimensionality reduction on the data are the important prerequisites of the application of imaging spectroscopy. Many studies applied different methods successfully (e.g., principal component analysis, minimum noise fraction, and band selection) to address the problem of dimension reduction especially in hyperspectral remote sensing applications [17,18,19]. These methods can reduce the computational load and information redundancy, thus improving the effectiveness of hyperspectral technology. However, current studies of weed detection have not sufficiently focused on the processing of highly dimensional spectral imaging data.
In this study, a novel field imaging spectrometer system (FISS) (the first FISS in China; now, it upgrades into a series of systems covering different spectral ranges) was used to obtain the spectral data of carrot seedlings and several weed species in the field and to perform the discrimination of crop and weeds. First, the spectral data were normalized (as a preprocessing) and the soil background was removed based on the spectral differences between plants and soils. Then, dimensionality reduction was performed on the spectral data based on the wavelet transform analysis; wavelet coefficients were extracted and used as the features for classification in the weed recognition model, and the classification results were compared with those obtained by using the spectral bands as the classification feature. Finally, a linear discriminant analysis (LDA) model and a support vector machine (SVM) model were used to discriminate weeds from crops. SVM has been widely used in spectral imaging data analysis because of its good performance in highly dimensional data analysis. The objectives of this study can be summarized as follows: (1) to test and examine the application potentials of FISS in crop/weed discrimination under actual field conditions; (2) to select the important spectral bands for the purpose of designing a low-cost multispectral system in crop/weed discrimination; (3) to analyze the impacts of dimensionality reduction of the spectral data and of different classification features (e.g., spectral bands and wavelet coefficients) on the accuracy of crop/weed discrimination; and (4) to compare the capabilities of different discrimination models (e.g., the highly dimensional analysis method of SVM and the conventional LDA method) in discriminating crops and weeds.

2. Experimental Design and Data Processing

2.1. FISS

The FISS consists of three main parts: the computer, optical, and electronic systems (Figure 1). The optical system, which is the key component of the FISS, consists of a scanning mirror, optical lenses, spectroscopic devices (ImSpector V9, Spectral Imaging, Ltd., Finland), and a CCD (charge-coupled device) camera. The CCD resolution is 466 × 344, where 464 denotes the spatial dimensions and 344 denotes the spectral dimensions. Figure 2 shows the spectral response of the CCD camera. The electronic system includes the power and the motor control circuit. The motor control circuit serves primarily to control the rotation of the scanning mirror, to synchronize the beam splitter and receiver, and to collect and store the data.
The hardware is a portable computer used for operating the FISS. The software system includes data collection software and data processing software. The data collection software is used for displaying spectral images and curves and for setting operation parameters such as integral time, aperture, FOV (Field of View), etc. Data processing software is used for data format conversion, geometric correction, radiometric correction, reflectance inversion, etc.
The FISS acquires data by rotating the scanning mirror. The spatial resolution varies with the platform height. The highest resolution is less than 2 mm/pixel. Spatial resolution with platform height is determined the following equation.
r = 0.001 h
where r denotes spatial resolution and h denotes platform height.
Table 1 lists the main technical parameters and performance of the field imaging spectrometer system (FISS) [19,20,21].

2.2. Experimental Design

Hyperspectral data were collected in the farmlands of Wugezhuang village in Beijing on July 30, 2010. The crop (carrot) was planted on July 14, 2010. The date of data collection was the ideal time period for weeding and was the usual time for farmers to manually weed the field. The major weed species were Portulaca pleracea (purslane), Eleusine indica (goosegrass), and Euphorbia humifusa (humifuse), which are widely distributed in the northern region of China. The platform height in the experiment is about 1 m. During the data collection period, the light conditions changed due to the varying cloud cover. The data were collected from 9:30–13:00, and a total of 41 valid images was acquired. This study wants to give an answer to the question on whether this technology can be used successfully under natural light condition, even though the natural light condition definitely could impose some difficulties. Because of this goal, the light condition in this experiment was not strictly consistent and unchanged. The data collection was carefully designed to guarantee that all four plant species are represented in each valid image. Figure 3 shows the sample spectral data that FISS acquired and the typical spectra of several surface objects.

2.3. Data Preprocessing

2.3.1. Data Normalization

Data of wavelengths shorter than 410 nm were discarded due to the low signal-to-noise ratio. To reduce the calculation load and to eliminate noise, the data were averaged across every 4 adjacent bands for the remaining 320 bands, and 80 bands were obtained after averaging. Due to changes in the light conditions during the data collection period, the reflectance of the standard samples could not be measured in real time. The following normalization was conducted on the data to reduce and eliminate the effects of the changes in the light conditions:
D N i n e w = D N i 1 N k = 1 N D N k ,
where D N i n e w is the normalized spectral data of the ith band, D N i is the digital number (DN) of the spectral data of the ith band, and N is the number of bands. Figure 4 shows the comparison of the spectra of carrot before and after normalization, indicating that the raw spectra of carrot varied greatly, especially when the weather conditions were not stable. The normalization reduced the difference and, to some extent, reduced the effects of changes in the light conditions.

2.3.2. Soil Background Removal

Soil background was removed to speed up data processing. Figure 5 is a scatter plot of randomly selected crops, weeds, and soil in the near infrared and red bands, showing distinct clustering regions for plants and soils. In this study, the NDVI (Normalized Difference Vegetation Index) was used to capture the difference between plants and soil.
N D V I = ( D N NIR - D N R ) / ( D N NIR + D N R )
where DNNIR refers to the DN value of the near infrared band (760 nm) and DNR refers to the DN value of the red band (660 nm). Therefore, plants and soils can be distinguished by a threshold calculated based on the histogram of NDVI values. Consequently, the plant pixels can be selected for further analysis.

2.3.3. Sample Collection

Three thousand pixels of training samples and three thousand pixels of validation samples were randomly selected for carrot and for each weed species. To ensure the independence of the data, the training samples and the validation samples were chosen from 20 different images each; thus, a total of 12,000 training samples and 12,000 validation samples were obtained. The training samples were for band selection and model building, and the validation samples were for model validation.

3. Crop/Weed Discrimination

Crop/weed discrimination is a typical pattern recognition problem, namely, to train the model based on the spectral difference between crops and weeds. The spectral differences are captured and explored to establish the discrimination model. This process involves feature extraction and discrimination model selection.

3.1. Features Used for Classification

Spectral imaging data often contain hundreds of channels; although this highly dimensional nature can provide a wealth of information, it also brings an enormous computational load and challenges to the conventional analysis methods. Therefore, dimensionality reduction has become an important topic in the processing and application of hyperspectral data. Methods for dimensionality reduction of imaging data are divided into two main categories: band selection and band transformation. Band selection method selects a subset from the original set of bands according to certain criteria. Band transformation method extracts new features through the recombination and optimization of bands. In this category, numerous methods have been proposed and applied for dimensionality reduction such as orthogonal subspace projections, principal component analysis (PCA), and minimum noise fraction (MNF) [17,18,19].

3.1.1. Band Selection

Band selection selects a small subset from the original set of bands to be the classification feature [22]. Most studies have used this method for data classification of spectral imaging. Generally, band selection selects bands by comparing the values of different bands according to certain criteria. In terms of classification and recognition, the primary criterion is the importance of a certain band, which is often called the separability. A scatter matrix-based separability was adopted in our study and defined as follows [23]:
J = | S m | | S w | ,
where S w is the within-class deviation matrix, S m is the total deviation matrix, and both can be derived based on the statistics of the sample data (the specific calculation method was described in the literature). The band subset can be selected with stepwise selection by comparing the separability (J). The stepwise selection constructs a Wilks statistic based on J to determine the magnitude of changes in the importance of the remaining variables after introducing or removing variables and, therefore, to determine whether to introduce or remove the variables [24].

3.1.2. Wavelet Transform

Wavelet transform is often used for data compression, noise elimination, and information extraction and has been widely used in digital signal processing, seismic wave analysis, hyperspectral image processing, and other fields [25,26,27,28,29].
The discrete wavelet transform (DWT) of a function, f ( λ ) (in this case, the pixel spectra of spectral imaging data), can be calculated using the following formula:
W f ( λ ) ( j , k ) = < f ( λ ) , φ j , k ( λ ) > ,
Its jth scale signal energy can be written as follows:
E j = 1 K k = 1 K W f ( λ ) ( j , k ) ,
where W f ( λ ) ( j , k ) is the kth coefficient of the level j decomposition, φ j , k ( λ ) is the discrete wavelet function, E j is the energy coefficient of the wavelet, and K is the number of coefficients of the level j decomposition. The dimensionality reduction of the hyperspectral data and information extraction can be achieved using wavelet transform to decompose the hyperspectral data. Wavelet transform depends, to a large extent, on the selection of the mother wavelet. Daubechies wavelet function has been found to perform well, and thus, Daubechies wavelet function is used in this study. In our study, wavelet transform was used for the dimensionality reduction of the spectral imaging data and feature extraction and the wavelet coefficients were used as the features for classification. Stepwise regression was used to select a subset of wavelet coefficients with good classification performance.

3.2. Discrimination Model

There are a lot of classification models which could be used for the discrimination task such as spectral angle mapper, minimum distance classification, maximum likelihood classification, artificial neural network, decision tree, and many other machine learning methods [18,19]. In this study, to compare the performance of linear and nonlinear models in crop and weed discrimination, we used the Fisher linear discriminant analysis (LDA) model and the support vector machine (SVM) model; the former is a typical linear simple model, and the latter is a highly complex model and has excellent performance in highly dimensional data processing. The merit of highly dimensional data processing makes it an ideal choice for hyperspectral data processing.

3.2.1. LDA Model

Fisher’s LDA selects a proper projection axis so that all of the sample data points can be projected onto this axis to generate a value. The requirement for the direction of this projection axis is that the within-class deviation of the projected values should be as small as possible and that the between-class deviation of the projected values should be as large as possible, i.e., maximal difference between between-class means and minimal within-class variance.
The Fisher criterion is as follows:
J ( w ) = w T S b w w T S w w ,
where S b is the within-class covariance matrix, S w is the between-class covariance matrix, and w is the weight vector. The specific definition and implementation are described in the literature [23]. Then, the centers of the various classes in the projected space can be calculated with the weight vector; thus, the distance between the sample points and the centers of the various classes in the projected space can be compared and the class to which the unknown sample point belongs can be determined. LDA was implemented using Matlab.

3.2.2. SVM Model

SVM, first proposed by Vapnik, is a classification algorithm for small samples with minimal separation. SVM can maximize the separation between classes by searching for the hyperplane that can properly separate two-class classification problems [30,31]. SVM uses kernel methods to solve the classification of nonlinear problems. The core idea is to project nonlinear problems in a low-dimensional feature space into a highly dimensional feature space, so that the projected data are linearly separable, simplifying the problem of solving linear SVM classification problems. The small-sample learning capability of SVM fits the needs of hyperspectral data processing and, thus, is widely used in hyperspectral remote sensing (spectral imaging) classification [22,23,24,25,26,27,28,29,30,31,32,33,34].
SVM analysis was implemented using Libsvm in the Python language environment, and the kernel function is a radial basis function. Because SVM depends heavily on the choice of model parameters, we performed grid search optimization on the model parameters to search for optimal parameters (a detailed discussion of SVM occurs in Reference [35]).

4. Results and Discussion

Two types of classification features (spectral bands and wavelet coefficients) and two discrimination models (Fisher LDA model and SVM model) were used in our study for crop and weed identification. Whether spectral bands or wavelet coefficients were used as the classification feature, Wilks’ statistic-based stepwise selection was first used to select variables and, then, LDA and SVM were used for discrimination and classification. Classification accuracy was chosen as the measure of model performance.

4.1. Spectral Bands as Classification Features for Crop/Weed Discrimination

Figure 6 shows the accuracy of crop/weep classification with respect to the number of bands when using the LDA method. The specific data are shown in Table 2. With the increasing number of bands selected, the overall classification accuracy of the three weed species and carrot increase rapidly. In particular, when the number of bands was 8, the recognition rate was 81–88% and, when the number of bands increased to 15, the highest overall classification accuracy was greater than 91%. Any further increase in the number of bands caused only a minimal increase in the classification accuracy, and the accuracy stabilized; even using all 80 bands did not greatly increase the accuracy of the various classes. These results clearly indicated the serious information redundancy of spectral imaging data. Therefore, using the first eight bands selected can achieve satisfactory results in the discrimination of carrot and three weed species. The central wavelengths of the eight bands were, sequentially, 585, 714, 608, 732, 434, 827, 696, and 661 nm. In particular, the 714, 732, and 696 nm bands are located in the red edge region of plants spectra. These three bands primarily reflect the difference in the leaf structures of plants and are an important diagnostic feature for green plants, which is consistent with the vegetation remote sensing theory [22].
Figure 6 shows that purslane and goosegrass were difficult to recognize, whereas carrot and humifuse were easier to discriminate, with classification accuracy up to 80% using only four bands. When the number of bands was less than 5, instead of simply increasing with the increasing number of bands, the classification accuracy of some classes actually fluctuated. This fluctuation is because the bands were selected based on the overall separability of all classes, and thus, the detection accuracy of every class does not necessarily increase with increasing numbers of bands; as shown in the figure, the fact that the overall classification accuracy gradually increased with increasing numbers of bands is a good illustration of this phenomenon.

4.2. Wavelet Coefficients as Classification Features in Crop/Weed Discrimination

When using the wavelet coefficients as the classification feature, Daubechies mother wavelet with several support lengths were selected. The results showed that the classification accuracy of the db3 wavelet was better when n = 3; however, the difference was minimal. Therefore, only the analysis using db3 is presented here. Discrete wavelet transform (DWT) was performed on the 80-dimensional spectral data using db3 as the mother wavelet, and 111 wavelet coefficients were obtained.
Table 3 presents the results using wavelet coefficients as the classification feature, showing that the accuracy changed in a similar trend to that seen when using the raw spectral bands as the classification feature. The accuracy of various classes was greater than or equal to 80% when 8 coefficients were used, and the overall classification accuracy was up to 86.7%.
To compare the impacts of the spectral bands and wavelet coefficients on the classification accuracy, the difference in classification accuracy between the two given the same number of variables is presented in Figure 7. When fewer variables were selected (1–5), the weed classification accuracy was higher for the wavelet coefficient method than for the spectrum bands. Especially in cases with only 1–2 variables, the accuracy was much higher using wavelet coefficients than using spectral bands (except for carrot) and the overall classification accuracy was greater by 8–10%; with more variables, the accuracy difference between the two gradually decreased until there was essentially no difference. The differences between the two indicated that the wavelet coefficients carried more information when only a few variables were used, and thus, most types of plants were accurately distinguished. Through the scaling transformation and translation of window functions, wavelet analysis is more capable of capturing the local features of the signal and can retain the energy of the low-resolution signals as much as possible at low frequencies. The detailed components of the high-resolution signals contain mainly high-frequency information and noise. Therefore, a single wavelet coefficient variable usually contains more information than a single spectral band. Due to the information redundancy in spectral imaging data, after the number of variables reach a certain number (most of the information in the spectral imaging data is stored in these variables), the effective information carried by either raw bands or wavelet coefficients will no longer increase or will only increase slightly with further increase in the number of variables. Therefore, the classification accuracy of the two tended to stabilize at this time.

4.3. Comparison of Different Discrimination Models (LDA vs. SVM)

The comparisons of crop/weed multiclass classification accuracy between LDA and SVM for different combinations of bands are given in Table 2 and Table 3. In all but very few cases, the classification accuracy for various plant species and the overall classification accuracy under different band combinations were generally 1.5–5.5% higher using SVM than using LDA, indicating that a nonlinear classification model is more suitable for crop/weed discrimination and, thus, that the more complex SVM method performs better in classification (Figure 8).
In particular, when the number of bands was greater than 7, the classification accuracy using SVM was better than using LDA in all cases. These results are in accordance with the advantages of SVM, namely, that SVM is more suitable for handling highly dimensional data. Although SVM outperformed LDA in this study, the increase in classification accuracy was not very significant, which might be because a simple model and a small number of classification variables were competent for the task due to the limited number of weed species or the significant spectral difference between weeds and carrot. If the number of weed species increases, SVM is expected to show greater advantages in processing small-sample-size, highly dimensional data. However, this speculation needs to be validated with further studies.

4.4. Important Spectral Bands for Multispectral Systems Designing

Because hyperspectral imagers are expensive, it is desirable to achieve satisfactory discrimination results with fewer bands so that lower cost instruments can be designed and developed. For example, a 2-band or 3-band system can be easily achieved using filter technology. Important bands in crop/weed discrimination are shown in Table 4. The classification accuracies of the three bands (Red, Green, Blue) in common digital cameras are also given in the table to illustrate the effectiveness of spectroscopy (only the LDA results are shown in the table).
The best two bands that had the greatest discrimination power in this study were 585 nm and 714 nm. The band 585 nm is located in the spectral region controlled mainly by leaf pigments. It showed that the pigments of these plant leaves played an important role in discriminating weed and crop in our case. The band of 714 nm is located in the spectral region of the “red edge” of vegetation. The abrupt change of reflectance in the “Red edge” region is caused by the combined effects of strong chlorophyll absorption and leaf internal scattering. The reflectance around the red edge is sensitive to a wide range of vegetation chlorophyll content, N content, leaf area index, biomass, and other plant parameters. The red edge is considered to be effective in estimating plant parameters, in assessing plant stress, and in discriminating plant classes [20,36,37]. Our study illustrated that the red edge was an important spectral feature for discriminating crop and weeds. Selected band combinations had good performances because they captured and utilized important spectral features of plants.
In our study, band combinations of 585 and 714 nm or 585, 608, and 714 nm can be used to design low-cost instruments. Interestingly, the classification accuracies of all of the characteristic bands selected were far better than that of conventional RGB bands (an overall accuracy of 77.3%). Indeed, the classification accuracy of a single optimal band (714 nm) (83.6%) was already much higher than that of the 3 bands of RGB, fully demonstrating the large difference in the capability of different bands at weed discrimination as well as the advantage of multispectral/hyperspectral analysis.

5. Conclusions

A field imaging spectrometer system (FISS) was used to classify weeds and crops in the natural environment. The raw spectral bands and wavelet coefficients were used as classification features, and Wilks’ statistics-based stepwise selection was used to select bands; the results of two methods, the Fisher LDA and SVM, were then compared.
(1)
Multiclass discrimination between weeds and crops or between weeds can be achieved by using only a small number of spectral bands (8 bands), with an overall classification accuracy of greater than 85%; bands in the red edge region played an important role in weeds/crop discrimination, and the overall classification accuracy increased with the increasing number of bands used. The accuracy increased slightly beyond the inflection point and stabilized.
(2)
In consideration of the cost of practical application, a 2- or 3-spectral channel instrument with bands 585 and 714 nm or 585, 608, and 714 nm can be considered sufficient for weed detection. This information can be adopted for designing a low-cost multiband system in weed/crop discrimination.
(3)
In terms of classification features, wavelet coefficients outperformed raw bands when there were a small number of variables. However, the difference between the two was minimal when the number of variables increased to a certain level. For different discrimination methods, SVM, which is capable of nonlinear classification, performed better. However, the classification accuracy did not improve significantly, which may be due to the limited number of weed species or to significant spectral differences between weeds and carrot, and thus, simple models and a small number of variables were competent for the task. If the number of weed species increases, SVM is expected to show greater advantages in processing small-sample-size, highly dimensional data because of its nonlinear characteristics. However, this speculation needs to be validated with further studies.
(4)
Although this preliminary study of weed detection was performed in the field environment and good results were achieved to verify the good performance of FISS, not all factors were comprehensively considered due to the constraints of the experimental conditions. Further studies are needed in the future to investigate the performance of the system under different weather conditions, at different stages of crop seedling, or under conditions with more weed and crop species and to further verify and improve the model. Some issues about the algorithm (e.g., the influence of soil background removal on computation load and the influence of different model training strategies on classification accuracy) need to be well explored and discussed as well.

Author Contributions

B.L. and R.L. designed the experiments. B.L., S.Y., and R.L. performed the experiments. B.L., S.Y., H.L. and G.Y. analyzed the data. R.L. and S.Y. contributed to the manuscript preparation. Q.T. designed the FISS and led the application plan. B.L. and S.Y. wrote the manuscript.

Funding

This study was financially supported by the National Key Research and Development Program of China (2018YFB0505000), Natural Science Foundation of Jiangsu Province of China (BK20141091), “333” Project Foundation (BRA2017457), the Start-up Foundation for Introducing Talent of NUIST (2016Y01), National Natural Science Foundation of China (41871348), Key Research Program of Frontier Sciences, CAS (ZDBS-LY-DQC012).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mayerová, M.; Madaras, M.; Soukup, J. Effect of chemical weed control on crop yields in different crop rotations in a long-term field trial. Crop Prot. 2018, 114, 215–222. [Google Scholar] [CrossRef]
  2. Piron, A.; Leemans, V.; Kleynen, O.; Lebeau, F.; Destain, M.F. Selection of the most efficient wavelength bands for discriminating weeds from crop. Comput. Electron. Agric. 2008, 62, 141–148. [Google Scholar] [CrossRef]
  3. Karan Singh, K.N.; Agrawal Ganesh, C.B. Advanced techniques for Weed and crop identification for site specific Weed management. Biosyst. Eng. 2011, 109, 52–64. [Google Scholar] [CrossRef]
  4. Dale, L.M.; Thewis, A.; Boudry, C.; Rotar, I.; Păcurar, F.S.; Abbas, O.; Dardenne, P.; Baeten, V.; Pfister, J.; Fernández Pierna, J.A. Discrimination of grassland species and their classification inbotanical families by laboratory scale NIR hyperspectral imaging: Preliminary results. Talanta 2013, 116, 149–154. [Google Scholar] [CrossRef]
  5. Fletcher, R.S.; Reddy, K.N. Random forest and leaf multispectral reflectance data to differentiate three soybean varieties from two pigweeds. Comput. Electron. Agric. 2016, 128, 199–206. [Google Scholar] [CrossRef]
  6. Akbarzadeh, S.; Paap, A.; Ahderom, S.; Apopei, B.; Alameh, K. Plant discrimination by Support Vector Machine classifier based on spectral reflectance. Comput. Electron. Agric. 2018, 148, 250–258. [Google Scholar] [CrossRef]
  7. Wang, A.C.; Zhang, W.; Wei, X.H. A review on weed detection using ground-based machine vision and image processing techniques. Comput. Electron. Agric. 2019, 158, 226–240. [Google Scholar] [CrossRef]
  8. Zheng, Y.; Zhu, Q.B.; Huang, M.; Guo, Y.; Qin, J.W. Maize and weed classification using color indices with support vector data description in outdoor fields. Comput. Electron. Agric. 2017, 141, 215–222. [Google Scholar] [CrossRef]
  9. Zhang, Y.; Staab, E.S.; Slaughter, D.C.; Giles, D.K.; Downey, D. Automated weed control in organic row crops using hyperspectral species identification and thermal micro-dosing. Crop Prot. 2012, 41, 96–105. [Google Scholar] [CrossRef]
  10. Zhang, Y.; Slaughter, D.C.; Staab, E.S. Robust hyperspectral vision-based classification for multi-season weed mapping. ISPRS J. Photogramm. Remote Sens. 2012, 69, 65–73. [Google Scholar] [CrossRef]
  11. Symonds, P.; Paap, A.; Alameh, K.; Rowe, J.; Miller, C. A real-time plant discrimination system utilising discrete reflectance spectroscopy. Comput. Electron. Agric. 2015, 117, 57–69. [Google Scholar] [CrossRef]
  12. Zhang, Y.C.; Gao, J.F.; Cen, H.Y.; Lu, Y.L.; Yu, X.Y.; He, Y.; Pieters, J.G. Automated spectral feature extraction from hyperspectral images to differentiate weedy rice and barnyard grass from a rice crop. Comput. Electron. Agric. 2019, 159, 42–49. [Google Scholar] [CrossRef]
  13. Chen, S.R.; Li, Y.X.; Mao, H.P.; Shen, B.G.; Zhang, Y.Z.; Chen, B. Research on distinguishing weed from crop using spectrum analysis technology. Spectrosc. Spect. Anal. 2009, 29, 463–466. [Google Scholar]
  14. Larbi, P.A.; Ehsani, R.; Salyani, M.; Maja, J.M.; Mishra, A.; Neto, J.C. Multispectral-based leaf detection system for spot sprayer application to control citrus psyllids. Biosyst. Eng. 2013, 116, 509–517. [Google Scholar] [CrossRef]
  15. Feng, L.; Fang, H.; Zhou, W.J.; Huang, M.; He, Y. Nitrogen stress measurement of canola based on multi-spectral charged coupled device imaging sensor. Spectrosc. Spect. Anal. 2006, 26, 1749–1752. [Google Scholar]
  16. Tong, Q.X.; Xue, Y.Q.; Wang, J.N.; Zhang, L.F.; Fang, J.Y.; Yang, Y.D.; Liu, X.; Qi, H.X.; Zheng, L.F.; Huang, C.P. Development and application of the field imaging spectrometer system. J. Remote Sens. 2010, 14, 409–422. [Google Scholar]
  17. Flink, P.; Lindell, L.T.; Östlund, C. Statistical analysis of hyperspectral data from two Swedish lakes. Sci. Total Envion. 2001, 268, 155–169. [Google Scholar] [CrossRef]
  18. Tong, Q.X.; Zhang, B.; Zheng, L.F. Hyperspectral Remote Sensing; Higher Education Press: Beijing, China, 2006; pp. 208–218. [Google Scholar]
  19. Zhang, L.P.; Zhang, L.F. Hyperspectral Remote Sensing; Surveying and Mapping Press: Beijing, China, 2018; pp. 73–86. [Google Scholar]
  20. Liu, B.; Shen, W.J.; Yue, Y.M.; Li, R.; Tong, Q.X.; Zhang, B. Combining spatial and spectral information to estimate chlorophyll contents of crop leaves with a field imaging spectroscopy system. Precis. Agri. 2017, 8, 491–506. [Google Scholar] [CrossRef]
  21. Liu, B.; Yue, Y.M.; Li, R.; Shen, W.J.; Wang, K.L. Plant Leaf Chlorophyll Content Retrieval Based on a Field Imaging Spectroscopy System. Sensors 2014, 14, 19910–19925. [Google Scholar] [CrossRef]
  22. Theodoridis, S.; Koutroumbas, K. Pattern Recognition; China Machine Press: Beijing, China, 2006; pp. 315–325. [Google Scholar]
  23. Gao, H.X. Application of Multivariate Statistical Analysis; Peking university press: Beijing, China, 2005; pp. 80–88. [Google Scholar]
  24. Singh, S.K.; Hoyos-Villegas, V.; Ray, J.D.; Smith, J.R.; Fritschi, F.B. Quantification of leaf pigments in soybean (Glycine max (L.) Merr.) based on wavelet decomposition of hyperspectral features. Field Crop. Res. 2013, 149, 20–32. [Google Scholar] [CrossRef]
  25. Zhang, J.C.; Yuan, L.; Pu, R.L.; Loraamm, R.W.; Yang, G.J.; Wang, J.H. Comparison between wavelet spectral features and conventional spectral features in detecting yellow rust for winter wheat. Comput. Electron. Agric. 2014, 100, 79–87. [Google Scholar] [CrossRef]
  26. Du, Z.H.; Qin, M.J.; Zhang, F.; Liu, R.Y. Multistep-ahead forecasting of chlorophyll a using a wavelet nonlinear autoregressive network. Knowl Based Syst. 2018, 160, 61–70. [Google Scholar] [CrossRef]
  27. Stallard, R.; Rejc, E.; Welch, K.C. Wavelet-derived features as indicators of physiological changes induced by bed rest. Expert Syst. Appl. 2017, 90, 232–240. [Google Scholar] [CrossRef]
  28. Xu, Y.; Wang, J.J.; Xia, A.Q.; Zhang, K.Y.; Dong, X.Y.; Wu, K.P.; Wu, G.F. Continuous wavelet analysis of leaf reflectance improves classification accuracy of mangrove species. Remote Sens. 2019, 11, 254. [Google Scholar] [CrossRef]
  29. Vapnik, V.N. Statistical Learning Theory; Springer: New York, NY, USA, 2000; pp. 138–141. [Google Scholar]
  30. Cristianini, N.; Shawe-Taylor, J. An Introduction to Support Vector Machines and Other Kernel-based Learning Methods; Cambridge University: Cambridge, UK, 2000; pp. 120–125. [Google Scholar]
  31. Petropoulos, G.P.; Kalaitzidis, C.; Prasad Vadrevu, K. Support vector machines and object-based classification for obtaining land-use/cover cartography from Hyperion hyperspectral imagery. Comput. Geosci. 2012, 41, 99–107. [Google Scholar] [CrossRef]
  32. Zhao, C.H.; Gao, B.; Zhang, L.J.; Wan, X.Q. Classification of Hyperspectral Imagery based on spectral gradient, SVM and spatial random forest. Infrared Phys. Technol. 2018, 95, 61–69. [Google Scholar]
  33. Tan, W.Y.; Sun, L.J.; Yang, F.; Che, W.K.; Ye, D.D.; Zhang, D.; Zou, B.L. Study on bruising degree classification of apples using hyperspectral imaging and GS-SVM. Optik 2018, 154, 581–592. [Google Scholar] [CrossRef]
  34. Kranjčić, N.; Medak, D.; Župan, R.; Rezo, M. Support Vector Machine Accuracy Assessment for Extracting Green Urban Areas in Towns. Remote Sens. 2019, 11, 655. [Google Scholar] [CrossRef]
  35. Chang, C.C.; Lin, C.J. LIBSVM: A Library for Support Vector Machines. 2011. Available online: http://www.csie.ntu.edu.tw/~cjlin/libsvm/ (accessed on 22 November 2019).
  36. Adamczyk, J.; Osberger, A. Red-edge vegetation indices for detecting and assessing disturbances in Norway spruce dominated mountain forests. Int. J Appl. Earth Obs. 2015, 37, 90–99. [Google Scholar] [CrossRef]
  37. Ju, C.H.; Tian, Y.C.; Yao, X.; Cao, W.X.; Zhu, Y.; Hannaway, D. Estimating leaf chlorophyll content using red edge parameters. Pedosphere 2010, 20, 633–644. [Google Scholar] [CrossRef]
Figure 1. (a) Schematic diagram of FISS operation and (b) a photograph of the FISS components [16,21].
Figure 1. (a) Schematic diagram of FISS operation and (b) a photograph of the FISS components [16,21].
Sensors 19 05154 g001
Figure 2. Spectral response of the charge-coupled device (CCD) camera used in FISS.
Figure 2. Spectral response of the charge-coupled device (CCD) camera used in FISS.
Sensors 19 05154 g002
Figure 3. Visual display of spectral imaging data cubes and typical spectra of several surface objects (soil, weeds and crop). (a) the sample spectral data that FISS acquired. (b) typical spectra of several surface objects.
Figure 3. Visual display of spectral imaging data cubes and typical spectra of several surface objects (soil, weeds and crop). (a) the sample spectral data that FISS acquired. (b) typical spectra of several surface objects.
Sensors 19 05154 g003
Figure 4. Spectral data normalization: (a) raw data; (b) normalized data.
Figure 4. Spectral data normalization: (a) raw data; (b) normalized data.
Sensors 19 05154 g004
Figure 5. Scatter plot of plants and soil in the near infrared and red bands.
Figure 5. Scatter plot of plants and soil in the near infrared and red bands.
Sensors 19 05154 g005
Figure 6. Accuracy of crop/weed multiclass discrimination (linear discriminant analysis (LDA)).
Figure 6. Accuracy of crop/weed multiclass discrimination (linear discriminant analysis (LDA)).
Sensors 19 05154 g006
Figure 7. Differences in classification accuracy (CAWC-CASB): CAWC is the accuracy of the model using wavelet coefficients as the feature for classification; CASB is the accuracy of the model using spectral bands as the feature for classification.
Figure 7. Differences in classification accuracy (CAWC-CASB): CAWC is the accuracy of the model using wavelet coefficients as the feature for classification; CASB is the accuracy of the model using spectral bands as the feature for classification.
Sensors 19 05154 g007
Figure 8. Differences in classification accuracy between the different classification methods (CASVM-CALDA). CASVM is the accuracy of the SVM model using spectral bands as the feature for classification; CALDA is the accuracy of the LDA model using spectral bands as the feature for classification.
Figure 8. Differences in classification accuracy between the different classification methods (CASVM-CALDA). CASVM is the accuracy of the SVM model using spectral bands as the feature for classification; CALDA is the accuracy of the LDA model using spectral bands as the feature for classification.
Sensors 19 05154 g008
Table 1. Main parameters of the FISS.
Table 1. Main parameters of the FISS.
Band Number344Imaging Rate/(lines/s)20
Spectral range379–870 nmScan field/°−20–20
Spectral resolution4–7 nmQuantitative value/bit12
Spatial resolutionThe maximum is better than 2 mmSignal to noise>500 (60% of bands) *
Radiance calibration precision in laboratoryBetter than 5%Spectral sampling interval/nmAbout 1.4
* An integral sphere was used to guarantee that the incident energy is uniform in the Field of View (FOV) of FISS. The signal-to-noise ratio was derived from the calculation of digital number (DN) mean value and root-mean-square value of each band.
Table 2. Accuracy of crop/weed classification (using spectral bands as the classification feature).
Table 2. Accuracy of crop/weed classification (using spectral bands as the classification feature).
CarrotPurslaneGoosegrassHumifuseOverall
Number of bandsLDASVMLDASVMLDASVMLDASVMLDASVM
158.566.736.550.520.820.269.373.646.347.8
273.673.329.843.350.751.867.467.657.961.5
380.986.335.256.960.055.868.367.561.166.6
481.485.351.066.369.864.372.570.468.771.6
581.687.263.775.568.365.682.584.774.078.2
680.987.981.384.075.174.585.988.580.883.7
785.488.782.384.077.578.186.689.582.985.1
886.289.885.486.981.381.387.289.985.087.0
986.790.486.687.382.582.886.590.685.687.8
1087.890.986.988.183.684.187.291.586.488.6
1188.891.388.289.084.786.987.092.287.289.9
1289.092.288.890.285.888.487.292.187.790.7
1389.592.488.690.086.488.387.292.387.990.8
1489.992.988.990.386.188.387.692.588.191.0
1590.693.789.390.386.488.588.092.888.691.3
1690.593.489.291.486.188.888.593.088.691.7
1790.793.389.991.486.388.389.693.089.191.5
1890.793.390.191.286.488.589.693.489.291.6
1990.692.990.691.686.388.289.693.789.391.6
2090.592.990.991.686.188.289.793.789.391.6
8093.795.192.194.091.493.691.396.192.194.7
Table 3. Crop/weed classification accuracy (using the wavelet coefficient as the classification feature).
Table 3. Crop/weed classification accuracy (using the wavelet coefficient as the classification feature).
Number of Wavelet CoefficientsCarrotPurslaneGoosegrassHumifuseOverall
LDASVMLDASVMLDASVMLDASVMLDASVM
161.571.955.173.523.220.388.787.057.158.1
269.567.861.766.253.854.988.787.265.966.5
372.378.664.964.954.252.986.986.869.670.8
471.979.771.075.063.664.182.487.272.276.5
584.287.973.680.270.369.382.487.577.681.2
684.590.579.183.476.173.482.989.380.684.2
787.191.078.585.377.376.485.091.382.086.0
887.290.583.586.478.478.488.492.684.486.7
987.891.584.287.881.282.288.393.485.488.7
1088.391.385.387.782.585.489.993.786.589.5
1188.492.487.088.783.486.390.294.787.390.5
1289.393.288.090.286.988.690.595.288.791.8
1390.893.787.690.487.588.890.394.689.191.9
1492.594.987.991.888.090.090.195.389.793.0
1593.094.589.091.688.990.890.894.490.492.8
1693.095.290.092.789.490.990.795.290.893.5
1792.995.490.192.889.591.390.895.190.893.6
1892.795.291.193.989.991.390.795.191.193.9
1993.095.290.893.890.192.090.995.191.294.0
2093.195.091.194.490.591.591.095.591.494.1
11193.694.592.394.191.291.691.294.692.193.7
Table 4. Important band combinations and their respective classification accuracies.
Table 4. Important band combinations and their respective classification accuracies.
Band Combination (nm)Carrot Classification Accuracy (%)Weed Classification Accuracy (%)Overall Classification Accuracy (%)
585, 71489.381.585.4
585, 608, 71487.385.786.5
585, 608, 714, 73290.087.388.6
434, 585, 608, 714, 73291.487.189.3
RGB *450, 550, 63879.175.677.3
* RGB refers to red, green and blue bands.

Share and Cite

MDPI and ACS Style

Liu, B.; Li, R.; Li, H.; You, G.; Yan, S.; Tong, Q. Crop/Weed Discrimination Using a Field Imaging Spectrometer System. Sensors 2019, 19, 5154. https://doi.org/10.3390/s19235154

AMA Style

Liu B, Li R, Li H, You G, Yan S, Tong Q. Crop/Weed Discrimination Using a Field Imaging Spectrometer System. Sensors. 2019; 19(23):5154. https://doi.org/10.3390/s19235154

Chicago/Turabian Style

Liu, Bo, Ru Li, Haidong Li, Guangyong You, Shouguang Yan, and Qingxi Tong. 2019. "Crop/Weed Discrimination Using a Field Imaging Spectrometer System" Sensors 19, no. 23: 5154. https://doi.org/10.3390/s19235154

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop