Estimation and mapping of soil texture content based on unmanned aerial vehicle hyperspectral imaging
Scientific Reports volume 13, Article number: 14097 (2023) Cite this article
115 Accesses
Metrics details
Soil texture is one of the important physical and natural properties of soil. Much of the current research focuses on soil texture monitoring using non-imaging geophysical spectrometers. However there are fewer studies utilizing unmanned aerial vehicle (UAV) hyperspectral data for soil texture monitoring. UAV mounted hyperspectral cameras can be used for quickly and accurately obtaining high-resolution spatial information of soil texture. A foundation has been laid for the realization of rapid soil texture surveys using unmanned airborne hyperspectral data without field sampling. This study selected three typical farmland areas in Huangshui Basin of Qinghai as the study area, and a total of 296 soil samples were collected. Data calibration of UAV spectra using laboratory spectra and field in situ spectra to explore the feasibility of applying laboratory soil texture models directly to field conditions. This results show that UAV hyperspectral imagery combined with machine learning can obtain a set of ideal processing methods. The pre-processing of the spectral data can obtain high accuracy of soil texture estimation and good mapping effect. The results of this study can provide effective technical support and decision-making assistance for future agricultural land planning on the Tibetan Plateau. The main innovation of this study is to establish a set of processing procedures and methods applicable to UAV hyperspectral imagery to provide data reference for monitoring soil texture in agricultural fields on the Tibetan Plateau.
Soil texture is an important physical and natural property of soil. It represents the combination of soil particles and is closely related to soil ventilation permeability, and water and fertility retention. According to the soil particle size, soil texture can be divided into clay particles (< 0.002 mm), silt particles (0.002–0.05 mm), and sand particles (0.05–2 mm)1,2. Soil texture significantly affects the soil bacterial community structure and diversity, therefore, affecting soil fertility3. It is an important index in the field of cultivated land quality and in the evaluation of crop suitability4. The estimation and mapping of the spatial distribution of soil texture can not only enrich and improve the soil digital database, but also provide a basis and data support for research on the spatial distribution of soil attributes and agricultural production planning5. Therefore, precision agricultural management is urgently required for the high-resolution and high-precision quantification and monitoring of the spatial and temporal distribution characteristics of soil texture at the field scale.
Traditional soil texture measurement methods rely on field soil sampling and laboratory chemical analysis, which are time-consuming, laborious, and costly, making it difficult to conduct large scale and multifrequency soil texture content monitoring6,7. In recent years, rapidly developing vision-near-infrared hyperspectral technology has been widely used in soil texture content estimation to address the contradiction between the demand for big data of soil texture and high cost8. Depending on the spectral response relationship between soil spectral reflectance and soil texture, many researchers have used ground object spectrometry to develop soil hyperspectral technology as a conventional means of quantifying soil texture9,10,11. However, soil texture inversion based on a ground-object spectrometer usually obtains spotlike data with low density. This makes it difficult to meet the requirements of rapid visualization of spatial distribution in the context of precision agriculture12. UAV platforms have the advantages of mobility and flexibility and have been widely used in land resource space surveys in recent years13. Through the organic combination of UAV and hyperspectral technology, vegetation growth monitoring, accurate classification and ground object identification, pest monitoring, production and yield estimation, and other diverse applications have been conducted. However, relatively few applications have used this technology to monitor soil properties, particularly soil texture14.
Most of the current research on mapping soil texture content focuses on field field sampling and collecting soil spectral information using non-imaging spectrometers15. Soil texture content mapping was eventually carried out using interpolation. With the development of UAV hyperspectral technology, it is able to provide high spatial resolution and high spectral resolution imagery, from which more accurate soil texture content mapping results can be obtained16. Therefore, this study will use UAV hyperspectral imagery for soil texture content mapping.
As emerging tools, UAV have the advantages of portability, high spatial resolution, high flexibility, independent selection of flight time, and the ability to carry a variety of spectral cameras17. This can quickly and efficiently achieve remote sensing image acquisition in a specified area18. A UAV hyperspectral system is an effective tool for monitoring and mapping the spatial distribution of soil textures. The hyperspectral camera carried by UAV can not only obtain ultra-high spatial resolution images, but also centimeter-level remote sensing images of farmland rapidly and in real time19. This means that they can be used to effectively assist agricultural operators in operation management and regulation20. Selige et al.21 used airborne hyperspectral images to study the spatial variability of soil texture and organic matter in the field and found that soil organic matter and soil texture were related to the spectral characteristics of the airborne spectrograph. The modeling accuracy R2 (R-squared) reached 0.9. Aldana-Jague et al.22 used multi-spectral cameras carried by a small UAV and combined them with a structure-from-motion algorithm to test the SOC inversion of farmland bare soil at the Lausanne experimental station in England. The organic combination of UAV platforms and soil spectral data has broad prospects in soil organic carbon prediction. Ge et al.23 used UAV hyperspectral images and combined a pre-processed spectral index with the Extreme learning machine (ELM) algorithm to obtain a high-precision soil moisture content estimation model at the regional scale (R2 = 0.907). Low-altitude UAV equipped with hyperspectral cameras for image acquisition can easily obtain high spatial resolution multiband from visible light to near infrared remote sensing data to achieve a balance between cost and availability. Currently, the use of UAV remote sensing images to study field soil texture content is relatively low.
The acquisition of UAV hyperspectral data in the field environment is affected by soil moisture. Soil moisture has been identified as one of the main reasons for the decline in accuracy of soil attribute estimations24. For the spectral estimation of soil texture, given that a change in moisture affects the change in soil texture content, it has a greater impact on the spectrum25,26. Therefore, it is necessary to study the spectral effects of soil moisture and its removal methods. Several methods have been proposed to improve the prediction accuracy of soil properties under field conditions and overcome the influence of soil moisture on the prediction of soil texture using visible and near-infrared spectroscopy. Ji et al.27 respectively conducted field in situ and indoor spectral measurements of paddy soil in Zhejiang Province. The accuracy R2 and recurrent pattern detection (RPD) of field in situ partial least-squares regression (PLSR) model corrected by the direct spectral (DS) conversion method increased from 0.25 to 0.69 and from 0.35 to 1.61. The results have shown that DS could effectively eliminate the influence of water and environmental factors on the soil spectrum and improve the prediction accuracy of soil texture. Hu et al.28 applied direct and piecewise direct standardization, general least-squares weighting, and orthogonal signal correction to eliminate soil water from hyperspectral fields. The results have shown that the correction results of direct standardization were the most accurate. Minasny et al.29 studied the effect of eliminating a certain amount of soil moisture on the hyperspectral estimation of organic carbon using a laboratory water design for soils in southern New South Wales, Australia. Dor et al.30 standardized and corrected soil spectral data obtained under different soil water environments using an internal soil standard in Australia, thereby improving the comparability and transferability of various spectral data. However, at present, the university method is predominantly applied to field spectral data obtained based on the Analytical Spectral Devices (ASD) series ground object spectrometer. To date, there has been no research on correcting the spectral data obtained by the UAV high-resolution spectrometer. Studies on the influence of soil moisture on the spectral estimation of soil attribute contents have been mainly based on the water test design of indoor air-dried soil samples. Controlling the soil moisture content lacks the real situation of undisturbed soil and in-depth analysis, and the practicability and applicability of elimination methods are limited. Therefore, it is necessary to study the removal of soil moisture factors and quantitatively detect soil texture. Solving the problem of moisture affecting the inversion accuracy of soil texture is also helpful for the collaborative operation of spectrometers and agricultural machinery to realize the online detection of soil texture content by intelligent agricultural machinery.
Therefore, based on the image data obtained by the hyperspectral sensor mounted on the UAV platform, this study tested the applicability of high-resolution spectral data provided by the UAV to invert the soil texture content in three typical farmland areas of the Huangshui Watershed in Qinghai Province. UAV data were corrected by calibrating laboratory and field in situ data. Realizing the initial exploration from laboratory soil texture spectral inversion modeling to field applications. Establishment of a rapid, accurate and detailed technical system for assessing spatial and temporal changes in soil texture on agricultural land.
Research innovation: (1) establish a set of processing procedures and methods applicable to UAV hyperspectral images; (2) evaluate the effectiveness of different spectral pre-processing methods in extracting suitable feature information for soil texture inversion; (3) analyze the spatial distribution characteristics of soil texture estimated by different machine learning algorithms, with a view to providing data references for the monitoring of soil texture content in farmland and the development of agroecological balance in the Qinghai-Tibetan Plateau. development.
The study area was located in Huangshui Watershed, Qinghai Province, China (36° 02′–37° 28′ N, 100° 42′–103° 04′ E; Fig. 1), which forms part of the transition zone from the Loess Plateau to the Qinghai–Tibet Plateau. The overall terrain is high in the northwest, low in the southeast, long from east to west, and narrow from north to south. The altitude ranged between 1655 and 4860 m. The soil types were chestnut, chernozem, calcium ash, and alpine meadow soils. The plateau climate was an arid, semi-arid continental climate, with a long sunshine time, and nocturnal and diurnal temperature differences. Three farmlands in the Huangshui Watershed were selected as research objects. Farmland A, with an area of 2 ha (200 m × 100 m), was located in the Nanmen Gorge of Huzhu, China, and the soil type was chernozem. The farmland area was located in Zhuozhatan, Huzhu, with an area of 4 ha (400 × 100 m), and the soil type was chernozem. The farmland area was located in Huangzhong, with an area of 3.36 ha (240 × 140 m), and the soil type was chestnut.
Distribution map of sampling points.
The technical flowchart of this study is shown in Fig. 2. A total of 66, 126, and 104 soil samples were collected from Farmland areas A, B, and C on September 21, 2021, March 23–25, 2022, and March 27–28, 2022, respectively (Fig. 1). The surface 0–20 cm of the soil was collected using a five-point sampling method, and the soil samples were successively packed into sealed bags and numbered. An American FieldSpec4 ground feature spectrometer (350–2500 nm) was used for the field spectral acquisition. The acquisition time was 11:00–15:30 under cloudless skies with winds less than Level 3. Before spectrum collection, the debris on the soil surface was cleaned, the soil surface was organized and levelled, and the optical fiber handle was vertically placed approximately 15 cm from the ground. Five spectra were collected from the four directions of east, west, north, and south for each sample point, and the arithmetic mean of the 20 spectra was used as the field in-situ spectral data for the sample point.
Technique flowchart.
Using DJI's M600 Pro UAV as a platform, the Resonon Pika L vis-Near (400–1000 nm model: Resonon Pika L) and NIR (Near Infrared Spectrum 900–1700 nm model: Pika NIR-640 Resonon PIKA Us) hyperspectral camera (Fig. 3). On September 21, 2021, March 23, 2022, and March 27, 2022, hyperspectral images were captured in flight in farmland areas A, B, and C, respectively. The flight time was 11:00–15:30, the weather was clear and cloudless, the wind was less than three degrees, the flight altitude was 150 m, and the speed was 4.3 m/s.
Hyperspectral cameras, field work and preprocessed hyperspectral images.
For pre-processing, the flight path of the UAV was viewed in Sbgcenter software and the flight path data was exported. Then, Omap software was used to segment the boundary of the exported flight path data and remove invalid routes. Airline Division software was used to pre-cut the hyperspectral image according to the airline conditions, and a complete hyperspectral image was obtained. Radiometric calibration and atmospheric correction were conducted on the cut image using MegaCube software. The corrected image was then imported into ArcGIS software for geographic registration. The reference data were the remote procedure call file delivered by the UAV and the orthographic base map taken. After registration, the images were spliced using ENVI software. MegaCube software was used to create an image hypercube, which was then converted into a hyperspectral image. Therefore, pre-processed vis-Near and NIR images were obtained (Fig. 3). The coordinates of the actual sampling points were imported into the hyperspectral image to obtain the UAV spectral reflectance data of all sample points, and noisy bands (975–1033 nm and 1323–1479 nm) were removed.
Soil samples are naturally air-dried in the laboratory, removed from impurities and then ground and screened. Weigh 0.5 g sample into a small beaker, add 10 ml 10% H2O2, heat and stir to react to remove organic matter. Then 10 ml 10% HCl was added, heated and stirred to remove carbonates. Remove the beaker and let it cool for 24 h. Remove the supernatant and add an appropriate amount of (NaPO3)6. Stir well and use Master sizer 2000 laser particle size analyzer to determine the texture content of the sample.
American FieldSpec4 ground feature spectrometer (350–2500 nm) was used for laboratory spectrum acquisition. The soil sample was placed in a black container with a diameter of 10 cm and a depth of 1.5 cm. The supporting high-density reflection probe was used to measure the spectrum closely to the soil sample. 20 spectra were measured at each sample point.
Since the wavelength range and spectral resolution of soil spectral data measured by ASD (Analytical Spectral Devices) FieldSpec 4 ground object spectrometer were different from the hyperspectral data of UAV, to maintain the consistency of spectral data range, laboratory and field spectral data were resamped and only the spectral band with the same spectrum as the UAV spectrum was retained. Three pretreatment methods, SG + FDR (Savitzky-Golay + First Derivative Reflectance), SG + MSC + FDR (Savitzky-Golay + Multiplicative Scatter Correction + First Derivative Reflectance) and MSC + MF + FDR (Multiplicative Scatter Correction + Median Filter + First Derivative Reflectance), were used to pretreat the three spectra respectively. The pretreatment methods and formulas were shown in Table 1.
Direct spectrum conversion (DS) can characterize the influence of soil moisture on the spectrum of UAV through measuring the change law between laboratory spectrum and UAV spectrum. DS conversion has a relationship as shown in Eq. (1).
where \({X}_{L(m\times p)}\) is the laboratory spectral data of the converted samples, \(m\) is the number of converted samples, the Kennard–Stone method is used to select the most appropriate number of converted samples, and \(p\) is the number of spectral bands. \({X}_{U(m\times p)}\) is the UAV spectral data of the converted sample, \(B\) is the transformation matrix that measures the difference between \({X}_{L(m\times p)}\) and \({X}_{U(m\times p)}\); \(k{d}_{s}^{t}\) is the residual matrix used to correct the baseline deviation caused by the difference between the UAV spectrum and the laboratory spectrum. This was the calibration of the UAV spectrum using the laboratory spectrum. If the UAV spectrum needs to be corrected by the field in situ spectrum, the difference between the field in situ spectrum and the UAV spectrum is analyzed, and a functional relationship is established to realize the spectral correction.
An optimal spectral correction method was determined to improve the accuracy of the UAV spectral modeling. In this study, field in-situ spectroscopy was used for calibration, field in-situ spectroscopy, laboratory spectroscopy for superposition calibration, and laboratory spectroscopy for calibration. The modeling accuracies of these three correction methods were compared, and the most suitable correction method was used for subsequent analyses.
Linear and principal component analysis methods were used to eliminate content and spectral outliers of the samples. Seventeen samples were excluded, leaving 279 samples. The concentration gradient method was used to rank the texture content from low to high, and the modeling (186) and verification (93) sets of samples were determined in a 2:1 ratio. PLSR (Partial least-squares regression), RF (Random forest) and XGBoost (extreme Gradient Boosting) were used for modeling. PLSR, which is a classical modelling method, can be used to conduct a detailed analysis of spectral data. The key to this model is determining the optimal number of principal components in the regression model, which is determined using the leave-one cross-validation method. The PLSR algorithm is implemented in the R software.. RF can make effective decisions by establishing a regression tree, which has high stability, strong antinoise ability, and strong data adaptability, and cannot easily produce overfitting. The RF algorithm is implemented in the R software. XGBoost is an integrated learning model based on decision-tree learning that can deal with nonlinear problems and has high training efficiency. The model can be explained well by ranking the importance of the features. The XGBoost algorithm is implemented in Python software.
The accuracy of each model was evaluated using \({R}^{2}\), root-mean-square error (RMSE), relative analysis error (RPD) and quartile error (RPIQ). The closer \({R}^{2}\) is to 1, the higher the accuracy of the model. The closer the RMSE is to 0, the stronger the prediction ability of the model. If RPD < 1.4, the model has no estimation ability. If 1.4 ≤ RPD < 2, the model can perform approximate estimation. If RPD ≥ 2, the model can perform more accurate estimation. If RPIQ < 1.7, the model cannot predict the samples. If 1.7 ≤ RPIQ < 2.5, the model can perform an approximate estimation. If RPIQ ≥ 2.5, the model has a strong prediction ability.
The results of the texture content determination of the soil samples are shown in Fig. 4. The contents of sand, silt, and clay ranged from 97.87 to 51.76%, 2.1 to 44.79% and 1.54 to 10.13%, respectively, with an average content of 74.55%, 20.15%, and 5.39%. This indicated that the soil texture in the study area was mainly loam. The standard deviation and coefficient of variation of sand, silt, and clay ranged from 1.59 to 7.96 and 9.68 to 39.5%, representing medium variation. The skewness and kurtosis ranged from − 0.13 to 0.25 and from − 0.63 to − 0.16, indicating that the soil texture content in the study area met the requirement of normal distribution.
Descriptive statistics of soil texture. SD: standard deviation, CV: coefficient of variation.
Figure 5 shows the sand, silt and clay contents of all the soil samples divided into five grades in ascending order. The reflectance curves of the laboratory spectrum, field in-situ spectrum, and UAV spectrum were obtained according to the average reflectance of each grade. The overall trends of the three spectral curves for the different soil texture contents were consistent. The spectral reflectance decreases with an increase in sand and clay content, showing a negative correlation, and increases with an increase in silt content, showing a positive correlation. The reflectance value of the laboratory spectrum was higher than that of the field in situ spectrum and the overall UAV spectrum. The three spectra exhibited the same trend, and the reflectance value increased with increasing wavelength.
Reflection spectral characteristics of different soil texture contents.
The pretreated laboratory spectrum, field in-situ spectrum, and UAV spectrum curves are shown in Fig. 6. After the SG + FDR transformation of the three original spectra R, the reflectance of the spectral curves changes, the reflectance value decreases, the spectral characteristics are enhanced, and the number of absorption peaks increases. This indicates that the SG + FDR transformation can highlight the detailed characteristics of the spectral curves. After the SG + MSC + FDR transformation of the original spectrum R (Reflectance), the spectral curve was relatively concentrated. The absorption peak was more prominent than that of the original spectrum R. After the MSC + MF + FDR transformation of the original spectrum R, the spectral cross phenomenon appears in the near-infrared band, indicating that this pretreatment method weakens the grade difference of the spectral curves, makes the spectral features more prominent, amplifies the difference between the peaks and valleys of the spectral curve, and increases the difference in the width of the absorption peak.
Original spectrum and spectral characteristics after pretreatment.
A correlation analysis between the laboratory spectrum, field in-situ spectrum, UAV spectrum, and soil texture content was conducted (Fig. 7). The correlation fluctuation of the laboratory spectrum was the smallest, followed by the field in situ and UAV spectra. The correlation between the laboratory spectrum and field in situ spectrum and sand and clay content generally first increased and then decreased, and the correlation with silt content first decreased and then increased. The correlation between the UAV spectrum and soil texture fluctuated at approximately 0.
Hyperspectral correlation with soil texture.
Characteristic bands corresponding to sand, silt, and clay content were extracted from the laboratory, field in situ, and UAV spectra, respectively (Fig. 8). Overall, the characteristic bands of the three spectra were mainly concentrated in the NIR band (1000–1700 nm), and the characteristic bands in the visible band (400–1000 nm) were lower. Among the four spectral transformation methods, the number of characteristic bands selected by R + MSC + MF + FDR was the largest, followed by R + SG + MSC + FDR and R + SG + FDR. The number of characteristic bands selected by original spectrum R was the least, ranging from 42 to 65.
Feature band distribution map.
PLSR, RF, and XGBoost modeling with soil texture content was conducted using the laboratory spectrum, field in-situ spectrum, and UAV spectrum, and the modeling results are shown in Tables 2, 3 and 4. In Tables 2, 3 and 4, there is the same pattern of change. For laboratory spectroscopy, PLSR is almost incapable of predicting Sand, RF has the ability to roughly estimate Sand, and XGBoost has a better ability to estimate Sand. In the field in situ spectra, PLSR cannot be estimated by any of the transformations except for R + MSC + MF + FDR which can roughly estimate Sand (RPD = 1.416). In UAV spectroscopy, the overall accuracy of the three modeling methods decreases again, with neither PLSR nor RF having estimation capabilities and XGBoost having only partially better results.
Among the three spectral modeling results, the modeling accuracy of the laboratory spectrum was the highest, followed by that of the field in situ spectrum, and the modeling accuracy of the UAV spectrum was the lowest. Among the three modeling methods, XGBoost had the highest modeling accuracy, followed by RF, while PLSR had the lowest. Among the four transformation methods, the modeling accuracy of R + MSC + MF + FDR is the highest overall, followed by R + SG + MSC + FDR and R + SG + FDR, and the modeling accuracy of original spectrum R is the lowest. Among the modeling results for soil sand, silt, and clay content, clay had the highest overall modeling accuracy, followed by silt and sand.
Field in-situ spectra and laboratory spectra were used as reference spectra to calibrate the UAV spectrum, and the corrected results are shown in Fig. 9. The corrected spectrum in figure (a) is similar to the field in situ spectrum, but the spectral reflectance is lower than the laboratory spectrum. (b) The difference between the maximum and minimum values of the corrected spectrum increased, which magnified the differential characteristics of the spectral curve, indicating that this is a cumulative error caused by the superposition correction. (c) The corrected spectrum in the figure is similar to the laboratory spectrum, and the reflectance difference between the maximum and minimum spectral values was reduced, indicating that the laboratory spectrum has the strongest correction effect on the UAV spectrum.
Comparison of UAV spectral correction.
To further verify the correction effects of these three methods, the three types of corrected spectra were pretreated with R + MSC + MF + FDR, and the silt and clay contents were individually subjected to XGBoost modeling. The modeling results are shown in Fig. 10. The overall accuracy of the laboratory spectrum correction was the highest, the accuracy of the field in situ spectrum and laboratory spectrum superposition correction was second, and the accuracy of the field in situ spectrum correction was the lowest.
Spectral modeling scatter plot after each correction.
Given that the model established with a 400–1700 nm spectrum cannot be used for a single-phase mechanism diagram, R + MSC + MF + FDR was separately preprocessed for spectral data of the visible-near camera and NIR camera, and after correction with laboratory spectrum, it was used for XGBoost modeling with sand, silt, and clay content one by one. The modeling results are shown in Fig. 11. The models established by vis-Near with sand, silt, and clay content were not capable of estimation (RPD < 1.4). The models established using NIR and sand, silt, and clay content can be estimated (RPD > 1.4).
Modeling scatter plot of vis-Near and NIR spectra.
Soil texture (Sand, Silt and Clay) was mapped in this study as follows. First, the actual sampling points in the field were imported into the UAV hyperspectral images and the corresponding UAV hyperspectral data for each sampling point were extracted. Second, XGBoost modeling was performed based on UAV hyperspectral data to establish regression equations for Soil texture (Sand, Silt and Clay) versus spectral bands for each farmland zone. Finally, Soil texture (Sand, Silt and Clay) mapping was performed by substituting the regression equations into the UAV hyperspectral images in the band calculator of the ENVI software. In Soil texture (Sand, Silt and Clay) mapping, the geostatistical models used for the three components are all spherical models.
In the ENVI software, the model formula established in the previous step was substituted into the hyperspectral images captured by the NIR camera to perform sand, silt, and clay content mapping, and the mapping results of the three farmland areas were obtained (Fig. 12). In the sand content mapping results, Grade IV was the main sand content in Farmlands A and B, and Grade III was the main sand content in Farmland C. In the cartographic results of silt content, Field Districts A and B mainly had Grade II, whereas Field District C mainly had Grade IV. In the mapping results, the clay content was mainly Grade III in Farmland Areas A, III, and IV in Farmland Area B, and Grade II in Farmland Area C.
Soil texture mapping results.
Content statistics were performed on the mapping results to obtain the area and percentage of each grade and the average content value of each farmland area (Table 5). In the statistics for sand content, the average sand content in Farmland A was the highest (80.15%), followed by that of Farmland B (77.03%) and that of Farmland C (67.71%). In the silt content statistics, the average content of Field C was the highest (28.47%), followed by Field B (16.64%) and Field A has the lowest (13.79%). In the statistics for clay content, the average clay content in Farmland B is the highest (6.33%), followed by Farmland A (6.06%) and Farmland C (3.82%).
Based on four spectral transforms, three modeling methods, and three types of spectra, soil texture inversion models were established for sand, silt, and clay. It was found that appropriate model regression methods based on UAV remote sensing could be used for quantitative inversion of soil texture content, which was consistent with the research of Gholizadeh et al.31.
Yang et al.32 showed that for spectral modeling and soil mapping, the application of machine learning provided a more ideal spectral modeling scheme, which greatly improved the prediction accuracy and robustness of the estimation model. Ye et al.33 indicate that integrated learning, as an important area of machine learning, has received much attention in machine learning and data mining research. There is a lot of soil modeling and mapping represented by deep learning, however, there is less research on soil mapping with integrated learning algorithms34. Therefore, soil texture mapping of UAV hyperspectral images using integrated learning is attempted in this study.
The PLSR method had a relatively low ability to deal with nonlinearity and was prone to randomness, which affected the nonlinear relationship between soil texture and spectral reflectance, resulting in a poorer modeling effect than the RF method. This was in line with the results of Chagas et al.35 Chagas used the RF and PLSR models to predict the spatial distribution of soil texture in semi-arid areas and found that the RF model had higher accuracy. Compared to the traditional regression model, the XGBoost regression algorithm model introduced in this study has a strong learning ability, ability to approximate most nonlinear relations, strong generalization ability, strong robustness, and fault tolerance, and could handle nonlinear and high-dimensional problems effectively to achieve local optimization. Generally, this was more effective than the traditional regression model36,37. Ge et al.38 used UAV hyperspectral images to predict agricultural soil moisture content by comparing the XGBoost and RF modeling methods combined with the soil moisture spectral index. The results showed that the XGBoost model had the strongest effect on the soil moisture content estimation and the highest modeling accuracy, with R2 of 0.926 and an RPD value of 2.556. This is the same as the optimal modeling method used in this study.
Bilgili et al.39 conducted a visible near-infrared spectrum prediction of sand, silt, and clay contents in soil samples from the same soil class in a single field in Turkey. Here, clay content had the highest prediction accuracy (R2 = 0.90, RPD = 3.08) and sand content had the lowest accuracy (R2 = 0.35, RPD = 1.28). Awiti et al.40 used vis–NIR spectral technology to conduct soil attribute prediction and grade classification for tropical soils in sub-Saharan Africa, where the prediction accuracies of sand, silt, and clay content were R2 = 0.82, 0.83, and 0.87, respectively. This indicated that clay content had the highest estimation accuracy. Sand content was estimated to have the lowest accuracy, which is consistent with the results of this study.
In order to solve the problem of oscillation during the flight of the drone. In conjunction with Shu et al.12 First, a sunny, cloudless day with less than force three winds was chosen for the drone flight. Second, the flight path was checked in time after the flight was completed using the Sbgcenter software. If severe oscillations occurred during the flight, the flight was re-run. Finally, the UAV images are orthorectified to avoid serious spectral errors.
The soil texture inversion model established based on the farmland scale achieved a relatively high level of accuracy, and the inversion results were consistent with the results measured. Compared with Sankey et al.41, who studied the soil nutrient content of pasture and farmland in Seville, New Mexico, using Sentinel aerial satellite and UAV hyperspectral images, the UAV data were less affected by atmospheric absorption, scattering, and cloud cover. The flight test can be conducted by artificially selecting a more suitable external environment and the most suitable time for flight to obtain image data with greater imaging quality. This can reflect the real situation of the grade difference in soil texture content in farmlands more clearly and accurately. Therefore, UAV images can successfully estimate the soil nutrient content in farmlands, which is the same as the result of soil texture estimation using the UAV hyperspectral method in this study.
Compared with the spectral data obtained under laboratory conditions, the signal-to-noise ratio of UAV spectral data obtained under natural field light conditions is usually lower owing to the influence of soil moisture in the field. Therefore, when such spectral data are used to estimate the soil texture content, the accuracy of the model needs to be further improved. Compared with the original data, the texture inversion model established using UAV data after soil moisture removal and correction improved the model stability and inversion effect overall. Ji et al.42 used a direct conversion method for the spectral correction of paddy soils in Zhejiang Province, and the accuracy of the modeling model was significantly improved. The results have shown that removing water from the soil spectra can improve the prediction accuracy of the soil texture, which is consistent with the results of this study. The combination of corrected UAV data and the introduction of machine learning algorithms effectively improved the accuracy and reliability of the UAV remote sensing inversion model, confirming the necessity of eliminating the corresponding interference background in the field of UAV remote sensing monitoring.
The corrected spectral data are highly comparable and transitive, effectively reducing the influence of the field environment on the field spectrum. With the support of the university’s positive method, future estimation of soil texture content based on hyperspectral data is expected to eliminate the additional cost of soil sample collection caused by the construction of an independent soil texture model, which significantly improves the use efficiency of UAV spectral data and verifies the potential of laboratory model migration for field applications. This study has provided a technical reference for the wide application of UAV hyperspectral data in soil environmental monitoring, digital soil mapping, precision agriculture, and other fields.
The applicability of the UAV-compatible high-resolution spectrograph for the rapid estimation of the soil texture content in farmlands was explored. Based on three farmland areas of the Huangshui Watershed in the Qinghai Province, hyperspectral data were collected using a UAV-mounted hyperspectral camera under field conditions, and a soil texture estimation model was constructed. The results show that UAV hyperspectral imagery combined with machine learning can obtain a set of ideal processing methods. The pre-processing of the spectral data can obtain high accuracy of soil texture estimation and good mapping effect. The results of this study can provide effective technical support and decision-making assistance for agricultural land planning on the Tibetan Plateau. The main innovation of this study is to establish a set of processing procedures and methods applicable to UAV hyperspectral imagery to provide data reference for monitoring soil texture in agricultural fields on the Tibetan Plateau.
The datasets generated and analysed during the current study are not publicly available due fund projects require confidentiality but are available from the corresponding author on reasonable request.
Liu, Y. et al. Predicting soil salt content over partially vegetated surfaces using non-negative matrix factorization. IEEE J. Sel. Top. Appl. Earth Observ. Remote Sens. 8(11), 5305–5316 (2016).
Article ADS Google Scholar
Castaldi, F. et al. Evaluation of the potential of the current and forthcoming multispectral and hyperspectral imagers to estimate soil texture and organic carbon. Remote Sens. Environ. 179(15), 54–65 (2016).
Article ADS Google Scholar
Duan, M. Q., Song, X. Y., Liu, X. W., Cui, D. J. & Zhang, X. G. Mapping the soil types combining multi-temporal remote sensing data with texture features. Comput. Electron. Agric. 200, 107230 (2022).
Article Google Scholar
Siqueira, R. G., Moquedace, C. M., Francelino, M. R., Schaefer, C. E. G. R. & Fernandes-Fiho, E. I. Machine learning applied for Antarctic soil mapping: spatial prediction of soil texture for Maritime Antarctica and Northern Antarctic Peninsula. Geoderma 432, 116405 (2023).
Article ADS CAS Google Scholar
Swain, S. R. et al. Estimation of soil texture using Sentinel-2 multispectral imaging data: an ensemble modeling approach. Soil Tillage Res 213, 105134 (2021).
Article Google Scholar
Lagacherie, P., Baret, F., Féret, J. B., Netto, J. M. & Robbez-Masson, J. M. Estimation of soil clay and calcium carbonate using laboratory, field and airborne hyperspectral measurements. Remote Sens. Environ. 112(3), 825–835 (2008).
Article ADS Google Scholar
Pu, Y. L. et al. Response of the organic carbon fractions and stability of soil to alpine marsh degradation in Zoige, East Qinghai-Tibet Plateau. J. Soil Sci. Plant Nutr. 20, 2145–2155 (2020).
Article CAS Google Scholar
Stenberg, B., Rossel, R. A. V., Mouazen, A. M. & Wetterlind, J. Visible and near infrared spectroscopy in soil science. Adv. Agron. 107, 163–215 (2010).
Article CAS Google Scholar
Azizi, K., Garosi, Y., Ayoubi, S. & Tajik, S. Integration of Sentinel-1/2 and topographic attributes to predict the spatial distribution of soil texture fractions in some agricultural soils of western Iran. Soil Tillage Res. 229, 105681 (2023).
Article Google Scholar
Kaya, F., Başayiğit, L., Keshavarzi, A. & Francaviglia, R. Digital mapping for soil texture class prediction in northwestern Türkiye by different machine learning algorithms. Geoderma Reg. 31, e00584 (2022).
Article Google Scholar
Omondiagbe, O. P., Lilburne, L., Licorish, S. A. & MacDonell, S. G. Soil texture prediction with automated deep convolutional neural networks and population-based learning. Geoderma 436, 116521 (2023).
Article ADS Google Scholar
Shu, M. Y. et al. Improved estimation of canopy water status in maize using UAV-based digital and hyperspectral images. Comput. Electron. Agric. 197, 106982 (2022).
Article Google Scholar
Gu, X. H., Wang, Y. C., Sun, Q., Yang, G. J. & Zhang, C. Hyperspectral inversion of soil organic matter content in cultivated land based on wavelet transform. Comput. Electron. Agric. 167, 105053 (2019).
Article Google Scholar
Gao, C. R. et al. Multivariate prediction of soil aggregate-associated organic carbon by simulating satellite sensor bands. Comput. Electron. Agric. 209, 107859 (2023).
Article Google Scholar
Aviña-Hernández, J. et al. Spatial distribution of soil organic carbon in mangroves of arid environment estimated from in situ data and aerial imagery. J. Soil Sci. Plant Nutr. 22, 4928–4942 (2022).
Article Google Scholar
Shahriari, M., Delbari, M., Afrasiab, P. & Pahlavan-Rad, M. R. Predicting regional spatial distribution of soil texture in floodplains using remote sensing data: A case of southeastern Iran. CATENA 182, 104149 (2019).
Article Google Scholar
Ma, S. L., He, B. Z., Ge, X. Y. & Luo, X. F. Spatial prediction of soil salinity based on the Google Earth Engine platform with multitemporal synthetic remote sensing images. Ecol. Inform. 75, 102111 (2023).
Article Google Scholar
Ge, X. Y., Wang, J. Z., Ding, J. L., Cao, X. & Li, X. Combining UAV-based hyperspectral imagery and machine learning algorithms for soil moisture content monitoring. PeerJ 7, e6926 (2019).
Article PubMed PubMed Central Google Scholar
Chen, S. M. et al. Prediction of nitrogen, phosphorus, and potassium contents in apple tree leaves based on in-situ canopy hyperspectral reflectance using stacked ensemble extreme learning machine model. J. Soil Sci. Plant Nutr. 22, 10–24 (2021).
Article Google Scholar
Hu, J., Peng, J., Zhou, Y., Xu, D. & Shi, Z. Quantitative estimation of soil salinity using UAV-borne hyperspectral and satellite multispectral images. Remote Sensing. 11(7), 736 (2019).
Article ADS Google Scholar
Selige, T., Jürgen, B. & Schmidhalter, U. High resolution topsoil mapping using hyperspectral image and field data in multivariate regression modeling procedures. Geoderma 136, 235–244 (2006).
Article ADS CAS Google Scholar
Aldana-Jague, E., Heckrath, G., Macdonald, Y., Wesemael, B. V. & Oost, K. V. UAS-based soil carbon mapping using VIS-NIR(480–1000 nm) multi-spectral imaging: Potential and limitations. Geoderma 275, 55–66 (2016).
Article ADS CAS Google Scholar
Ge, X. Y. et al. Estimating agricultural soil moisture content through UAV-based hyperspectral images in the arid region. Remote Sens. 13(8), 1562 (2021).
Article ADS Google Scholar
Fabio, C. et al. Reducing the influence of soil moisture on the estimation of clay from hyperspectral data: A case study using simulated PRISMA Data. Remote Sens. 7(11), 15561–15582 (2015).
Article Google Scholar
Ren, J. H., Xie, R. F., Zhao, Y. & Zhang, Z. P. Fractal approach to measuring electrical conductivity values of soda saline-alkali soils with desiccation cracks in the Songnen Plain, China. J. Soil Sci. Plant Nutr. 23, 1953–1966 (2023).
Article CAS Google Scholar
Abdoli, P., Khanmirzaei, A., Hamzeh, S., Rezaei, S. & Moghimi, S. Use of remote sensing data to predict soil organic carbon in some agricultural soils of Iran. Remote Sens. Appl. Soc. Environ. 30, 100969 (2023).
Google Scholar
Ji, W. J., Shi, Z., Huang, J. Y. & Li, S. In situ measurement of some soil properties in paddy soil using visible and near-infrared spectroscopy. PLoS ONE 9(8), 1–11 (2014).
Google Scholar
Hu, Y. N., Gao, X. H., Shen, Z. Y. & Xiao, Y. F. Estimation of soil organic matter content based on combined laboratory and field spectroscopy in hoghland agricultural areas: A case study on the Qinghai-tibei plateau, China. Fresenius Environ. Bull. 31(1), 1561–1575 (2022).
CAS Google Scholar
Minasny, B. et al. Removing the effect of soil moisture from NIR diffuse reflectance spectra for the prediction of soil organiccarbon. Geoderma 167(168), 118–124 (2011).
Article ADS Google Scholar
Dor, B., Ong, C. & Lau, I. C. Reflectance measurements of soils in the laboratory: Standards and protocols. Geoderma 245(246), 112–124 (2015).
ADS Google Scholar
Gholizadeh, A., Žižala, D., Saberioon, M. & Borůvka, L. Soil organic carbon and texture retrieving and mapping using proximal, airborne and Sentinel-2 spectral imaging. Remote Sens. Environ. 218, 89–103 (2018).
Article ADS Google Scholar
Yang, Y., Cui, Q., Jia, P. & Bai, H. Estimating the heavy metal concentrations in topsoil in the Daxigou mining area, China, using multispectral satellite imagery. Sci. Rep. 11(1), 1–9 (2021).
Google Scholar
Ye, M. et al. Estimation of the soil arsenic concentration using a geographically weighted XGBoost model based on hyperspectral data. Sci. Total Environ. 858(1), 159798 (2023).
Article ADS CAS PubMed Google Scholar
Ren, Y. G., Lv, Z. Q., Xu, Z. Q., Wang, Q. & Wang, Z. Slurry-ability mathematical modeling of microwave-modified lignite: A comparative analysis of multivariate non-linear regression model and XGBoost algorithm model. Energy 281(15), 128143 (2023).
Article CAS Google Scholar
Chagas, C. D. S., Junior, W. D. C., Bhering, S. B. & Filho, B. C. Spatial prediction of soil surface texture in a semiarid region using random forest and multiple linear regressions. CATENA 139, 232–240 (2016).
Article Google Scholar
Ivushkin, K. et al. UAV based soil salinity assessment of cropland. Geoderma 38, 502–512 (2018).
Google Scholar
Chen, D. S. et al. Improved Na+ estimation from hyperspectral data of saline vegetation by machine learning. Comput. Electron. Agric. 196, 106862 (2022).
Article Google Scholar
Ge, X. Y., Ding, J. L., Wang, J. Z., Sun, H. L. & Zhu, Z. Q. A new method for predicting soil moisture based on UAV hyperspectral image. Spectroscopy Spectral Anal. 40(2), 602–609 (2020).
CAS Google Scholar
Bilgili, A. V., Es, H. M. V., Akbas, F., Durak, A. & Hively, W. D. Visible-near infrared reflectance spectroscopy for assessment of soil properties in a semi-arid area of Turkey. J. Arid Environ. 74(2), 229–238 (2010).
Article Google Scholar
Awiti, A. O., Walsh, M. G., Shepherd, K. D. & Kinyamario, J. Soil condition classification using infrared spectroscopy: A proposition for assessment of soil condition along a tropical forest-cropland chronosequence. Geoderma 143(1–2), 73–84 (2008).
Article ADS CAS Google Scholar
Sankey, J. B. et al. Quantifying plant-soil-nutrient dynamics in rangelands: Fusion of UAV hyperspectral-LiDAR, UAV multispectral-photogrammetry, and ground-based LiDAR-digital photography in a shrub-encroached desert grassland. Remote Sens. Environ. 253, 112223 (2021).
Article ADS Google Scholar
Ji, W. J. et al. Prediction of soil attributes using the Chinese soil spectral library and standardized spectra recorded at field conditions. Soil Tillage Res. 155, 492–500 (2016).
Article Google Scholar
Download references
This research was funded by the National Natural Science Foundation of China, Grant Number “42161061.”
School of Geographical Sciences, Qinghai Normal University, Xining, 810008, China
Qi Song, Xiaohong Gao, Yuting Song, Qiaoli Li, Zhen Chen, Runxiang Li, Hao Zhang & Sangjie Cai
Qinghai Province Key Laboratory of Physical Geography and Environmental Process, Xining, 810008, China
Qi Song, Xiaohong Gao, Yuting Song, Qiaoli Li, Zhen Chen, Runxiang Li, Hao Zhang & Sangjie Cai
Ministry of Education Key Laboratory of Tibetan Plateau Land Surface Processes and Ecological Ministry of Education Key Laboratory of Tibetan Plateau Land Surface Processes and Ecological Conservation, Xining, 810008, China
Qi Song, Xiaohong Gao, Yuting Song, Qiaoli Li, Zhen Chen, Runxiang Li, Hao Zhang & Sangjie Cai
Academy of Plateau Science and Sustainability, Xining, 810008, China
Xiaohong Gao
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
All the authors contributed substantially to this manuscript. Conceptualization, Q.S. and X.G.; data curation, Q.S., X.G., Y.S., Q.L., Z.C., and S.C.; formal analysis, Q.S. and X.G.; funding acquisition, X.G.; methodology, Q.S., Z.C., and S.C.; software, Q.S. and X.G.; super-vision, Q.S. and X.G.; visualization, Q.S. and X.G.; and writing—original draft, Q.S. and X.G. All authors have read and agreed to the published version of the manuscript.
Correspondence to Xiaohong Gao.
The authors declare no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
Reprints and Permissions
Song, Q., Gao, X., Song, Y. et al. Estimation and mapping of soil texture content based on unmanned aerial vehicle hyperspectral imaging. Sci Rep 13, 14097 (2023). https://doi.org/10.1038/s41598-023-40384-2
Download citation
Received: 23 June 2023
Accepted: 09 August 2023
Published: 29 August 2023
DOI: https://doi.org/10.1038/s41598-023-40384-2
Anyone you share the following link with will be able to read this content:
Sorry, a shareable link is not currently available for this article.
Provided by the Springer Nature SharedIt content-sharing initiative
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.