Estimating wheat fractional vegetation cover using a density peak k-means algorithm based on hyperspectral image data
2021-09-10LIUDazhongYANGFeifeiLIUShengping
LIU Da-zhong,YANG Fei-fei,LIU Sheng-ping
Key Laboratory of Agricultural Information Service Technology,Ministry of Agriculture and Rural Affairs/Intelligent Agriculture Research Office,Agricultural Information Institute,Chinese Academy of Agricultural Sciences,Beijing 100081,P.R.China
Abstract Fractional vegetation cover (FVC) is an important parameter to measure crop growth.In studies of crop growth monitoring,it is very important to extract FVC quickly and accurately.As the most widely used FVC extraction method,the photographic method has the advantages of simple operation and high extraction accuracy.However,when soil moisture and acquisition times vary,the extraction results are less accurate.To accommodate various conditions of FVC extraction,this study proposes a new FVC extraction method that extracts FVC from a normalized difference vegetation index (NDVI) greyscale image of wheat by using a density peak k-means (DPK-means) algorithm.In this study,Yangfumai 4 (YF4) planted in pots and Yangmai 16 (Y16) planted in the field were used as the research materials.With a hyperspectral imaging camera mounted on a tripod,ground hyperspectral images of winter wheat under different soil conditions (dry and wet) were collected at 1 m above the potted wheat canopy.Unmanned aerial vehicle (UAV) hyperspectral images of winter wheat at various stages were collected at 50 m above the field wheat canopy by a UAV equipped with a hyperspectral camera.The pixel dichotomy method and DPK-means algorithm were used to classify vegetation pixels and non-vegetation pixels in NDVI greyscale images of wheat,and the extraction effects of the two methods were compared and analysed.The results showed that extraction by pixel dichotomy was influenced by the acquisition conditions and its error distribution was relatively scattered,while the extraction effect of the DPK-means algorithm was less affected by the acquisition conditions and its error distribution was concentrated.The absolute values of error were 0.042 and 0.044,the root mean square errors (RMSE) were 0.028 and 0.030,and the fitting accuracy R2 of the FVC was 0.87 and 0.93,under dry and wet soil conditions and under various time conditions,respectively.This study found that the DPK-means algorithm was capable of achieving more accurate results than the pixel dichotomy method in various soil and time conditions and was an accurate and robust method for FVC extraction.
Keywords:fractional vegetation cover,k-means algorithm,NDVI,vegetation index,wheat
1.Introduction
Fractional vegetation cover (FVC) is usually defined as the percentage of a target plant type’s vertically projected area of vegetation (including leaves,stems and branches)within the observed range (Songet al.2017;Martinuzziet al.2018).It is an important parameter for measuring the distribution of vegetation on the surface of the Earth.FVC is of great importance in analysing the influences of vegetation distribution and evaluating the ecological environment of the regions (Lamchinet al.2015;Dinget al.2017;Guoet al.2017).In evaluating wheat growth,it is instructive to accurately measure the vegetation coverage of wheat in various growth stages.Also,when monitoring wheat biomass,rapid extraction of the vegetation coverage data is required (Gnypet al.2014) along with the data on plant water content (Martinelliet al.2015),chlorophyll,lutein content (Heet al.2018),and nitrogen content (Wanget al.2013;Liuet al.2016).However,the present study found that current FVC extraction methods pertaining to wheat growth at various times and soil conditions had various extraction effects that prevented them from meeting the accuracy requirements of wheat multitemporal growth monitoring.Therefore,it is important to develop a new FVC extraction method that is simple to operate,has high extraction accuracy and is influenced only slightly by external conditions such as environment,time and space.
Currently,the most common FVC extraction methods are visual (Zhouet al.1998),instrument-based (Lianget al.2015) and photographic (Liuet al.2012).Visual and instrument-based methods are not suitable for large-scale FVC measurement,because they are both time-consuming and laborious and the latter requires expensive precision instruments.In the photographic method,a camera is used to take pictures from above the target,and a computer is used to extract and calculate the proportion of vegetation pixels in the pictures.This method is simple in operation,low in cost and widely used.In this study,when researchers used photography to extract the FVC,a stable platform for the camera,such as a tripod,an unmanned aerial vehicle(UAV),or a satellite,was usually used for data acquisition.The platform ensured a certain height above the target and reduced the differences among the samples.Also,the camera could be fixed to the platform,which prevented blur and distortion during data acquisition,improving the data quality.For example,Zhou and Robson (2001) used digital cameras to obtain ground images at a 5.2-m low altitude and used an unsupervised spectral context classifier to extract the FVC with an accuracy of greater than 0.89.Torres-Sanchezet al.(2014) used a UAV and a digital camera to collect RGB images at 30 and 60 m,respectively,and tested the effect of five vegetation indices on vegetation coverage in the RGB colour space.The results showed that among the five vegetation indices,the extraction of the over green index was less affected by time and height,and had a maximum accuracy of 0.92.Chenet al.(2016) found that the UAV was more accurate for estimating FVC on a satellite pixel scale than a ground-based survey.However,the photographic method is affected by the image acquisition equipment,weather conditions and the actual conditions on the ground.For example,in strong light,data collected by digital cameras will appear largely in shadows,which are difficult to be distinguished from vegetation.That could directly affect the FVC extraction results.To solve this problem,Zhou and Liu (2015) collected image data by a double-exposure method (normal exposure and over-exposure),classified the normally exposed images into illuminated vegetation,soil and shadow areas in the intensity,hue and saturation colour space,and further classified the shadow area into shaded vegetation and soil by using the over-exposed images.Relative to the normal single-exposure method,the results of the classification were better.But this method required frequent exposure adjustments,and the operation was more complex,rendering it unsuitable for UAV large-area image data acquisition.Songet al.(2015) used a shadowresistant algorithm in the CIELAB colour space to reduce the shadow effect in images.The FVC extraction results were consistent with those of visual interpretation.Zhaoet al.(2012) used supervised classification and the CIELAB colour space threshold classification to extract FVC and found that the extraction result in the CIELAB colour space was consistent with the real value of the FVC.The current FVC extraction methods perform well in stable conditions,but their performance is poor when applied to a dynamic scene.To study a highly adaptive FVC extraction method,Sadeghi-Tehranet al.(2017) constructed a multi-feature machine learning model for automatic segmentation of green FVC.They then evaluated its performance in different light environments,crop life cycles and other conditions.The results showed that the model had high adaptability and could meet the challenges of different conditions.
All the above methods use digital cameras to obtain image data.However,a digital camera is not an ideal tool to distinguish vegetation from non-vegetation pixels,because the image data of digital cameras have only three colour channels and thus provide a small amount of information.To improve on this,with the development of spectral technology,spectral imaging cameras have been widely used.Unlike that of digital cameras,data acquired by spectral imaging cameras include the spectral reflectance of the ground features and clearly differentiate the difference between the spectral reflectance of vegetation and nonvegetation.Using spectral imaging cameras to obtain data and build vegetation indices to further enhance the difference between vegetation and non-vegetation pixels can extract FVC more effectively (Hillet al.2017;Muet al.2018),and can reduce the influence of light and shadow,solving the light problem of digital cameras.Currently,most researchers use pixel dichotomy (Liet al.2014) or supervised classification to separate vegetation from nonvegetation and extract FVC.However,data collected at different times and under different conditions will change the threshold of pixel dichotomy greatly due to the change of spectral reflectance of vegetation and non-vegetation,which makes the extraction effects of pixel dichotomy fluctuate greatly.For example,changes in soil moisture content (Liet al.2012),vegetation diseases (Singhet al.2009),and nitrogen changes in various growth periods of crops (Fenget al.2008) can cause changes in the spectral reflectance of vegetation and non-vegetation and then lead to changes in the fixed threshold value of pixel dichotomy.
The supervised classification algorithm of humancomputer interaction is also a good classification method and can be applied to vegetation classification.Jiaet al.(2016) used a neural network to estimate FVC based on wide-angle field data from China’s high-definition Earth observation satellite,Gaofen-1.However,the supervised classification method is seriously affected by human factors and samples.When there is no difference between the test samples and the training samples,the extraction effect will be great.However,when there are differences in space and time among the samples,the extraction will be substantially less accurate (Jiaet al.2015).In the past,unsupervised classification algorithms were used to extract FVC from visual images.However,the extraction effect was poor,because the difference between vegetation and nonvegetation was not obvious in visual images.In fact,given that an unsupervised learning algorithm does not require human intervention,the classification of vegetation and nonvegetation through the determined classification standards is less affected by human and environmental factors.Therefore,assumming FVC can be extracted accurately by an unsupervised learning algorithm,applying it to data collected under various conditions should theoretically achieve the same effect.The k-means algorithm is a classic clustering method based on a partition,which divides the types of pixels by the distance between the pixels and the centres of clustering.This algorithm can effectively reduce the effect of time and space on the extraction accuracy,which has a better effect on data conforming to a Gaussian model.Since the k-means algorithm is sensitive to the initially selected centroid points,the clustering results of different initial centroid points may be quite different,which has a great effect on the extraction of FVC.To reduce the influence of initial centroid points on the results of a k-means algorithm,this study added a density peak calculation algorithm according to the different characteristics between vegetation and non-vegetation pixels.The density peak of vegetation pixel and non-vegetation pixel was taken as the initial centroid of the k-means algorithm,which can reduce the extraction error caused by abnormal results and improve the accuracy of FVC extraction.Therefore,it is a good idea to extract FVC by a DPK-means algorithm after image preprocessing to make vegetation and non-vegetation pixels conform to a Gaussian model and maximize the difference between vegetation and non-vegetation.
On the basis of the above problems,this study used a hyperspectral camera to obtain hyperspectral image data of wheat,calculated the normalized difference vegetation index (NDVI) image of the vegetation index and extracted FVC with a DPK-means clustering algorithm and pixel dichotomy based on the NDVI image.This study compared the accuracy and stability of the pixel dichotomy with those of the DPK-means algorithm and then analysed the advantages of the DPK-means algorithm based on the vegetation index image.
2.Materials and methods
2.1.General information on the experimental site
The experimental sites were at Yangzhou University,Jiangsu,China,including the potted experiment field(32.39°N,119.41°E) and the experimental farm (32.40°N,19.38°E).Yangzhou is located at the lower reaches of the Yangtze and Huaihe rivers.It belongs to the humid monsoon climate area of the north subtropical zone.It has four distinct seasons,a mild climate,sufficient sunshine for its crops,and abundant rainfall.The annual average temperature is 14-16°C,and the annual rainfall is 960-1 050 mm.
2.2.Wheat planting and management methods
Potted wheat:The wheat variety Yangfumai 4 (YF4) was planted in pots with an inner bottom diameter of 20 cm,an inner mouth diameter of 28 cm,and a height of 29 cm with eight soil holes per pot and two seeds per hole.Each pot was filled with 10 kg soil and 5.28 g compound fertilizer.After sowing,the seeds were covered with 1 kg of soil.When three leaves were emerged,eight wheat plants were retained in each pot,and 3.52 g of compound fertilizer was applied at the jointing stage.
Field:There were 36 plots in the experimental field,4.5 m long and 3.7 m wide.The wheat variety Yangmai 16 (Y16)was planted in 14 rows in each plot with a row spacing of 33 cm.Each plot was fertilized with 120 kg ha-1of P2O5and K2O at a ratio of 5:5 of base fertilizer to jointing fertilizer.Four nitrogen levels were set at 0,120,240,and 360 kg ha-1.Three nitrogen application methods were set up with base fertilizer,tillering fertilizer,jointing fertilizer,and booting fertilizer at ratios of 7:3:0:0,5:1:2:2 and 3:1:3:3,respectively.
2.3.Data acquisition
The spectral reflectance of wheat is affected by the position of the sun,the amount of water vapour,clouds and so on.To reduce errors caused by the external conditions,clear and cloudless weather was selected for data collection.From March to April 2019,four-period hyperspectral image data acquisition was done,and each acquisition was within the time period of 11:00 to 14:00 (Table 1).

Table 1 Data collection conditions and data types
Ground data:A GaiaSky mini2 VN camera (Sichuan ShuangliHepu Technology Co.,Ltd.,Sichuan,China) was used to collect 33 hyperspectral images of dry soil and 14 hyperspectral images of wet soil (artificial) (Fig.1-A;Camera parameters are shown in Appendix A).When the data were collected,the camera height (the distance between the camera lens and wheat canopy) was 1 m,the lens was vertically facing downward,and the shooting mode was push-scanning imaging.

Fig.1 Acquisition equipment.A,GaiaSky mini2 VN camera.B,ground data acquisition equipment.C,unmanned aerial vehicle(UAV) data acquisition equipment.
UAV data:A DJI M600 UAV (SZ DJI Technology Co.,Ltd.,Guangdong,China) was equipped with a hyperspectral camera and flew at a height of 50 m,with the camera lens vertically facing downward.The shooting mode was hovering shooting and push-scanning imaging.Fifty-six images were collected per flight.
2.4.Data preprocessing
The preprocessing operation was done on the collected hyperspectral image data,as shown in Fig.2.

Fig.2 Hyperspectral image preprocessing process.
Lens calibration:The GaiaSky mini2 VN was a slit-scanning method for completing the data acquisition.There was a certain distance between the slit and the imaging lens.During the imaging process,the brightnesses at the edge and in the middle of the imaging lens were different.To eliminate the distortion and brightness unevenness,this study used the preprocessing software SpecView (Sichuan ShuangliHepu Technology Co.,Ltd.,Sichuan,China) and standard parameters provided by the manufacturer to calibrate the lens.After calibration,the imaging at the lens edge was kept consistent with that at the lens centre.
Reflectance calibration:The spectral data collected by the hyperspectral camera depended on the spectrum and intensity of the light source,the transmittance of the lens,the diffraction efficiency of the spectrometer,the spectral response efficiency of the camera,and the reflectivity of the measured object.Finally,the reflectance data had to be corrected;the correction equation is:

whereSampleciis the original sample data,Darkciis the dark background data,andwhiteciis the whiteboard data.
Atmospheric correction:This study placed a 40%reflectance diffuse reflection reference grey cloth calibrated by the National Metrology Institute at the same height and position in the shooting area,synchronously collected the hyperspectral image data of the cloth,and completed the atmospheric correction of the reflectance of the measured object through the known reflectance of the cloth.
2.5.Analysis of spectral reflectance of wheat and selection of vegetation index
As shown in Fig.3,wheat had a reflection peak at 550 nm of the green wave,an absorption valley at 680 nm of red wave and a continuous reflection peak at 780-900 nm of near-infrared wave.There was a marked difference between the reflectivities of the red wave and those of thenear-infrared wave of the wheat.The spectral reflectance of the soil showed a slow upward trend in the entire wave range,without an obvious reflection peak or absorption valley.Clearly,the difference between vegetation and soil can be well indicated by red and near-infrared bands,and the vegetation index constructed by combining them could be used effectively for distinguishing between vegetation and soil.Therefore,this study constructed the NDVI by selecting the 800-nm band of near-infrared wave and the 680-nm band of the red wave;the specific equation is eq.(2):

Fig.3 Typical spectral reflectance curves of wheat and soil.R,red;NIR,near infrared.

whereNIR800is the near-infrared spectral reflectance at 800 nm,andR680is the red spectral reflectance at 680 nm.
2.6.Separability analysis of vegetation pixel
To examine the distribution of vegetation and non-vegetation pixels on the wheat vegetation greyscale images extracted based on NDVI (called as NDVI greyscale images thereafter),this study made the pixel frequency distribution graph of the NDVI greyscale images (Fig.4).The figure shows that the wheat vegetation,soil and tub pixels were all approximately a Gaussian distribution,and the Gaussian distribution of the wheat vegetation was far away from that of the soil and tub,which showed that vegetation and non-vegetation pixels could be separated well in the NDVI greyscale images.

Fig.4 Pixel distribution of vegetation index greyscale images.A,normalized difference vegetation index (NDVI) greyscale image.B,Gauss fitting of pixel distribution of NDVI greyscale image.
2.7.Improved k-means clustering algorithm
The k-means clustering algorithm (Likaset al.2003;Tzortzis and Likas 2008;Liuet al.2016) is an unsupervised learning algorithm based on the square sum of the error criterion function,which judges the similarity without knowing the search target.This algorithm has a better effect on data that is in accord with a Gaussian distribution.The traditional k-means algorithm randomly initialises k cluster centres in space,calculates the distance from each point to the cluster centre,and repeatedly updates the location of the cluster centre until the best cluster centre is obtained.However,this best centre point is only the local best point,the clustering results are not stable,and there will sometimes be large errors.To solve the local optimisation problem of the k-means algorithm,this study improved the algorithm with a density peak as the initial clustering centre point,later called a density peak k-means (DPK-means) algorithm.For the sample set D={x1,x2,...,xm},the k-means algorithm minimizes the square error of clustering partition C={C1,C2,...,Ck}:

Eq.(3) is the equation of the k-means,and eq.(4) is the equation for calculating the mean vector of clusterCi.From eq.(3),it can be seen that the equation describes the compactness of the samples in the cluster around the cluster mean vector.The similarity of the samples in the cluster increases with the decrease ofEvalue.
The specific algorithm flow is as follows:
1) Fit the grey image by a multimodal Gaussian fitting,and calculate the k fitting density peaks as the initial clustering centre to search and calculate.
2) Calculate the distance between each sample point in the dataset and the k cluster centre,and divide it into the class corresponding to the cluster centre with the smallest distance.
3) Calculate the mean value of each category as a new clustering centre.
4) Repeat steps 2 and 3 until the position of the clustering centre is not changed,and stop the iteration.
2.8.Extraction process
In this study,a hyperspectral image was taken as the research object,an NDVI image of the wheat was calculated,and the FVC of wheat was extracted by pixel dichotomy and the DPK-means algorithm.This study compared and analysed the extraction effects of the two methods based on the support vector machine (SVM)supervised classification results.The specific extraction process is shown in Fig.5.

Fig.5 Extraction process of wheat fractional vegetation cover(FVC).SVM,support vector machine.
2.9.Accuracy evaluation
Currently,the real value of FVC calculated by eq.(3) is difficult to obtain.To evaluate the accuracy of the FVC extraction method,visual interpretation results (Jiaet al.2016) and supervised classification results (Zhaoet al.2012) are generally taken as the real value.The result of visual interpretation is affected by personal subjective factors,and the errors of visual interpretation among different samples are many.The supervised classification method must calibrate the training samples manually,which can obtain good results when it is done on a single image.To maximize the accuracy of the SVM algorithm,an SVM supervised classification algorithm was carried out in each sample image,and the FVC value of a supervised classification was taken as the reference value of real value.Approximately 30 000 vegetation pixels and 30 000 non-vegetation pixels in each sample image were selected according to the same standard as their respective ground real values for SVM supervised classification,and the results of the supervised classification of images were verified by a confusion matrix.The results showed that the kappa coefficient of the confusion matrix was 0.9944 and the overall accuracy was 99.72% (Table 2).The user accuracy of the SVM supervised classification was above 99%,and the classification accuracy was good and could be used as the FVC reference value:

whereNwheatis the number of wheat vegetation pixels,andNtotalis the total number of pixels.
The FVC of SVM supervised classification was taken as the reference value of real value,and the extraction error of FVC was calculated.The calculation eq.is:

whereEFis the FVC extraction error,FSVMis the FVC of the SVM supervised classification andFVIis the FVC value extracted by the experiment.
3.Result
3.1.Threshold changes of pixel dichotomy in two soil conditions
Based on 47 hyperspectral image data collected on D1,this study calculated the NDVI image of each image by ENVI Software.This study took the minimum and maximum values of NDVI as the boundary and normalized the NDVI image to an NDVI greyscale image with the grey value of[0,1].FVC was extracted from each NDVI greyscale image by pixel dichotomy.The threshold was set within the range[0.3,0.9] and increased by 0.01 each time.TheEFof each threshold was calculated,and the threshold at the lowestEFwas recorded as the best threshold of pixel dichotomy.Then the mean value of the thresholds under two soil conditions was calculated,as shown in Table 3.
3.2.Extraction results of ground hyperspectral image
Pixel dichotomy and DPK-means were used to extract FVC.The fixed thresholds of pixel dichotomy were set to T0,T1 and T2,the DPK-means algorithm used a Gaussian kernel function,and both operations were done in MATLAB.The extraction effect of the wheat FVC by various methods under two soil conditions is shown in Fig.6.

Fig.6 Fractional vegetation cover (FVC) extraction effect of wheat under two soil conditions:(1),dry soil condition;(2),wet soil condition.A1 and 2,visible image; B1 and 2,normalized difference vegetation index (NDVI) greyscale image;C1 and 2,greyscale images extracted by dry soil threshold (T0);D1 and 2,greyscale images extracted by density peak k-mean (DPK)-means algorithm;E1 and 2,greyscale images extracted by wet soil threshold (T1);F1 and 2,greyscale images extracted by whole threshold (T2);G1 and 2,greyscale images extracted by the support vector machine (SVM) algorithm.
Taking the SVM supervised classification results as the reference of real values,the FVC andEFof the pixel dichotomy and DPK-means algorithms were calculated by eqs.(5) and (6),respectively,according to the accuracy evaluation method discussed above;the results are shown in Appendix B.As shown in Table 4,under the dry soil condition and the whole condition (which includes dry soil and wet soil),the DPK-means algorithm had the lowest mean value of the absolute value ofEF,which was 0.038 and 0.042,respectively,and the RMSE value was also the lowest,which was 0.025 and 0.028,respectively.It indicated that the DPK-means algorithm had good and stable extraction accuracy.The pixel dichotomy with the T1 threshold had the best effect under the condition of wet soil;the absolute value ofEFwas only 0.034,but its RMSE value was 0.061;and theEFdistribution was relatively scattered,so it was difficult to obtain a better extraction effect when large sample data were used in a centralized way.The mean absolute value ofEFin the DPK-means algorithm was 0.051,only higher than the T1 threshold,but its RMSE value was 0.032;theEFdistribution is relatively concentrated,and the effect was better when it was used in a large sample dataset.The error distribution of the four extraction results under the overall conditions was plotted without considering the soil conditions.As shown in Fig.7,theEFof the DPK-means algorithm was distributed mainly between [-0.05,0.05],theEFwas relatively concentrated,and the mean value was approximately 0.TheEFdistribution of T0,T1 and T2 thresholds was scattered,and theEFrange was large.The FVC extraction results of the four methods were linearly fitted,and the results are shown in Fig.8,where the FVC value of the SVM represents the FVC value extracted by the SVM algorithm,and the predicted value represents the FVC extraction value of various methods.From Fig.8-A to D,it can be seen that the DPK-means algorithm had the highest fitting accuracy withR2reaching 0.87.

Fig.7 The fractional vegetation cover (FVC) extraction error (EF) distribution of different extraction methods under overall conditions.DPK,density peak k-means.T0,dry soil threshold;T1,wet soil threshold;T2,whole threshold.The bottom and top of the box indicate the lower and upper quartile values,respectively.The horizonal solid black line shows the median for each category,and the black point represents the mean.Whiskers indicate the upper and the lower edges,respectively;the black solid triangle represents the outlier for the data.

Fig.8 Fitting results of fractional vegetation cover (FVC) of wheat with various methods by taking the result of support vector machine (SVM) as reference of real value.A,density peak k (DPK)-means.B,dry soil threshold (T0).C,wet soil threshold (T1).D,whole threshold (T2).

Table 2 Evaluation of supervised classification accuracy of wheat pixels and soil pixels by support vector machine (SVM)

Table 3 Average thresholds for two soil conditions
In summary,the above results showed that the extraction effect of pixel dichotomy was not stable and was affected by the soil conditions.Under two different soil conditions,the threshold changed markedly,and the extraction error range was large.Relative to the pixel dichotomy,the DPKmeans algorithm was less affected by soil conditions,and its error range of FVC of wheat was smaller.Under the whole condition,the average error was approximately 0,the absolute value of the average error was 0.042,the RMSE was 0.028,and the fitting accuracy of FVC was higher;R2reached 0.87.
3.3.Extraction results of the UAV hyperspectral image
In the four-period hyperspectral data of UAV,10 images were taken,NDVI vegetation index was calculated by ENVI,and the effect of the DPK-means algorithm on extracting the wheat FVC from the UAV hyperspectral images was analysed.The extraction effect is shown in Fig.9.

Fig.9 Extraction results of unmanned aerial vehicle (UAV)hyperspectral images at different dates:(1),(2),(3),and (4)are sample images from the UAV acquired on dates D1 (March 8,2019),D2 (March 16,2019),D3 (March 25,2019),and D4(April 11,2019).A,visible images.B,normalized difference vegetation index (NDVI) greyscale images.C,greyscale images extracted by ensity peak k (DPK)-means.D,greyscale images extracted by an support vector machine (SVM) algorithm.
The error values of the wheat FVC extracted from the UAV hyperspectral images by the DPK-means algorithmwere calculated according to the above accuracy evaluation method.The absolute value of the average errors of the wheat FVC was 0.044,the RMSE was 0.030,and the error was relatively concentrated,which is similar to the extraction error of a ground hyperspectral image.The FVC of the SVM supervised classification and the FVC extracted by the DPK-means algorithm were linearly fitted,as shown in Fig.10,whereR2reached 0.93.In conclusion,the DPKmeans algorithm can effectively extract the FVC of wheat from a UAV hyperspectral image,and this algorithm was less affected by the date of image acquisition,so it can achieve better results from various image acquisition dates.

Fig.10 Fractional vegetation cover (FVC) fitting results of hyperspectral wheat for unmanned aerial vehicle (UAV) images by taking the result of Support Vector Machine (SVM) as reference of real value.
4.Discussion
4.1.lnfluence of soil factors on the threshold value of pixel dichotomy
The threshold values of the pixel dichotomy varied substantially between the two soil conditions (Table 3).The threshold differences of different images directly affected the accuracy of the pixel dichotomy.The soil spectral reflectance of ground hyperspectral images was collected at dates D0 and D1 under the two soil conditions (Fig.11).The spectral reflectance of dry soil was markedly higher than that of wet soil,which is consistent with the result of Zhenget al.(2015).According to eq.(2),the NDVI value of wet soil was higher than that of dry soil,which was closer to the NDVI value of vegetation.This may lead to a higher fixed threshold value of pixel dichotomy in a wet soil condition.

Fig.11 Spectral reflectance of dry and wet soils for various wavelengths.

Table 4 Absolute value of the wheat fractional vegetation cover (FVC) extraction error (EF) with two soil conditions and various extraction methods1)
4.2.lnfluence of time factors on the fixed threshold of pixel dichotomy
Because the spectral reflectance of a wheat canopy may vary across different growth stages (Smithet al.2004),the NDVI values of wheat hyperspectral images collected at different times may markedly differ,which directly affects the fixed threshold of a pixel dichotomy.On the basis of the hyperspectral data of 40 UAVs collected at D1,D2,D3,and D4,this study calculated the best threshold value of the pixel dichotomy and made a threshold distribution diagram.As shown in Fig.12,the threshold distribution of the pixel dichotomy of the data collected at the four dates obviously differed.This showed that the threshold value of the pixel dichotomy varied markedly with the date of data acquisition,and that it was difficult to obtain a good extraction effect when it was applied to data collected at different dates.

Fig.12 Threshold distribution of pixel dichotomy based on unmanned aerial vehicle (UAV) hyperspectral images at different dates.D1-4,March 8,March 16,March 25,and April 11,2019,respectively.The bottom and top of the box indicate the lower and upper quartile values,respectively.The horizonal solid black line shows the median for each category,and the black point represents the mean.Whiskers indicate the upper and lower edges,respectively;the black solid triangle represents the outlier for the data.
4.3.Advantages of DPK-means algorithm
According to the results of FVC extraction from hyperspectral images from the ground and from a UAV,relative to other algorithms,the DPK-means algorithm was less affected by soil conditions and acquisition date,its error distribution was more concentrated,and its extraction accuracy was higher.Relative to pixel dichotomy,the DPK-means algorithm was more accurate and robust and could achieve better results under different conditions.
5.Conclusion
To solve the problem that the traditional pixel dichotomy was inaccurate in different soil and time conditions,this study found a method of extracting FVC from NDVI greyscale images of wheat by a DPK-means algorithm.In hyperspectral images of different soil conditions taken on different dates,this study calculated NDVI images,analysed the separability of vegetation pixels in NDVI greyscale images,and compared the extraction effects of the pixel dichotomy method and the DPK-means algorithm.The results showed that,compared with the pixel dichotomy method,the DPK-means algorithm was better at extracting FVC from NDVI greyscale images,and was less affected by soil conditions and image capture time.It is a method with a high level of accuracy and robustness and can obtain reliable results under different conditions.
Acknowledgements
This work was supported by the Beijing Natural Science Foundation,China (4202066),the Central Public-interest Scientific Institution Basal Research Fund,China (JBYWAII-2020-29 and JBYW-AII-2020-31),the Key Research and Development Program of Hebei Province,China(19227407D),and the Technology Innovation Project Fund of Chinese Academy of Agricultural Sciences (CAAS-ASTIP-2020-All).
Declaration of competing interest
The authors declare that they have no conflict of interest.
Appendicesassociated with this paper are available on http://www.ChinaAgriSci.com/V2/En/appendix.htm
杂志排行
Journal of Integrative Agriculture的其它文章
- Errata regarding previously published articles
- Viricidal activity of several disinfectants against African swine fever virus
- Application of methyl jasmonate postharvest maintains the quality of Nanguo pears by regulating mitochondrial energy metabolism
- Melatonin treatment induces chilling tolerance by regulating the contents of polyamine,γ-aminobutyric acid,and proline in cucumber fruit
- Linking changes in the soil microbial community to C and N dynamics during crop residue decomposition
- Modification of total and phosphorus mineralizing bacterial communities associated with Zea mays L.through plant development and fertilization regimes
