Random forest coal mine area wheat above-ground biomass estimation optimization method and system

By using the random forest model in coal mining areas combined with Mann-Kendall trend test and vegetation index and texture features, the problem of estimating wheat aboveground biomass in coal mining areas was solved, the estimation accuracy was improved and the impact of coal mining on land was revealed, providing Cultivated land protection provides management reference.

CN118799732APending Publication Date: 2024-10-18HENAN POLYTECHNIC UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411030185.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively monitor and estimate wheat aboveground biomass in coal mining areas, especially in mineral-grain composite areas with high vegetation coverage. It also ignores the ecological impact of coal mining and fails to accurately reflect the damage to land and wheat health caused by coal mining. process of change.

Method used

A random forest model integrated with the Mann-Kendall trend test was used, combined with vegetation index, texture characteristics and terrain data, to construct a wheat aboveground biomass estimation model. Multispectral images and ground digital surface model data were analyzed to generate aboveground biomass estimation models for different growth periods. Biomass map revealing trends in wheat biomass during coal mining.

Benefits of technology

It improves the accuracy of above-ground wheat biomass estimation in coal mining areas, provides a reference for parallel management of protected cultivated land and underground coal mining, enables simple, objective and non-destructive repeated estimation of wheat biomass at different growth stages, and reveals the relationship between coal mining and land destruction. the inner connection between them.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799732A_ABST
    Figure CN118799732A_ABST
Patent Text Reader

Abstract

The invention relates to a method for estimating and optimizing overground biomass of wheat in a random forest coal mine area. The method comprises the following steps: acquiring wheat in a coal mine area range and to-be-detected data of mining in the coal mine area; the to-be-detected data are input into a wheat above-ground biomass estimation model, above-ground biomass of wheat in different growth stages in the coal mine area is calculated, above-ground biomass diagrams in different growth stages are generated, and the wheat above-ground biomass estimation model is constructed by utilizing a random forest model integrated with Mangkendall trend inspection and is used for estimating the above-ground biomass of the wheat in the coal mine area. The wheat above-ground biomass estimation model is obtained through training of a training set, and the training set comprises vegetation indexes, texture features, elevation and gradient information; and combining the aboveground biomass diagrams in different growth periods with coal mine area information to obtain a wheat biomass trend change result in a coal mining process. According to the method, the wheat biomass in different growth periods can be repeatedly estimated according to the mining progress, and the internal relation among coal mining, land damage and cultivated land productivity is revealed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of biomass estimation and optimization, and in particular to a method and system for estimating and optimizing aboveground biomass of wheat in a random forest coal mining area. Background Art

[0002] While the coal industry brings economic benefits, it also brings about the problem of land destruction, exacerbating the contradiction between land protection and coal mining. Especially in the mineral-grain complex area, coal mining subsidence has a significant impact on land cultivation and crop growth, causing serious losses to agricultural production in the mining area. In this context, it is necessary to conduct real-time detection and monitoring of the damaged area of ​​land and wheat.

[0003] Traditional methods for detecting the extent of land damage in coal mining areas usually use the 10 mm subsidence contour as the impact boundary of coal mining disturbance, and use it as the boundary for subsequent land reclamation and farmland protection. This method is technically supported by the basic data of specific mining faces and mining processes, and then the data is calculated through different mathematical and physical models. However, this method determines the mining impact boundary from the perspective of the impact of coal mining on buildings, ignoring the impact of coal mining on ecology, and is not suitable for mineral-grain complex areas with high vegetation coverage. In addition, there are also methods that use different regression techniques to link soil and vegetation change parameters with spectral information, and summarize the impact of coal mining on soil and surface vegetation. However, these methods mainly focus on the consequences of land damage caused by mining, and rarely pay attention to the land damage process caused by mining and the process of wheat health changes. Therefore, the present invention proposes a random forest (Mann-Kendall-RandomForestregression, MK-RFregression) coal mining area wheat aboveground biomass estimation method that integrates the Mann-Kendall trend test to solve the problems existing in the prior art. Summary of the invention

[0004] The purpose of the present invention is to provide a random forest coal mining area wheat aboveground biomass estimation optimization method and system to solve the problems existing in the above-mentioned prior art. The wheat biomass in different growth stages can be repeatedly estimated according to the mining progress, revealing the intrinsic connection between coal mining and land destruction and cultivated land productivity, and providing a reference for the parallel management of cultivated land protection and underground coal mining.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A random forest optimization method for estimating aboveground biomass of wheat in coal mining areas, comprising:

[0007] Obtain the data to be tested on wheat and coal mining within the coal mining area;

[0008] Input the data to be detected into a wheat aboveground biomass estimation model, calculate the aboveground biomass of wheat at different growth stages in the coal mining area, and generate aboveground biomass maps at different growth stages, wherein the wheat aboveground biomass estimation model is constructed using a random forest model incorporating a Mann-Kendall trend test, and the wheat aboveground biomass estimation model is obtained by training a training set, and the training set includes: vegetation index, texture features, elevation, and slope information;

[0009] The aboveground biomass maps at different growth stages are combined with coal mining area information to obtain the trend change results of wheat biomass during coal mining.

[0010] Optionally, obtaining the training set includes:

[0011] Obtaining historical raw data of wheat and coal mining within the coal mining area, splicing the historical raw data into a multispectral image, and combining the corresponding radiation calibration plate image and reflectance to perform radiation calibration processing on the multispectral image;

[0012] The position information of the acquisition point is superimposed on the multispectral image after calibration, the multispectral data of the acquisition point is obtained, and the multispectral data of the acquisition point is analyzed to obtain the training set.

[0013] Optionally, the data to be detected include: wheat multispectral image data, ground digital surface model data, sampling point biomass data, sampling point location information, coal mining face location information, coal mining face advancement position information, coal mining face advancement direction, coal mining face length, coal mining face width, coal mining face mining depth, coal mining face mining thickness and coal mining face mining rate.

[0014] Optionally, the vegetation index includes: normalized vegetation index, enhanced vegetation index, green normalized vegetation index, chlorophyll index, vegetation index, wide dynamic range vegetation index, nonlinear index, green soil adjusted vegetation index, soil adjusted vegetation index, second corrected ratio vegetation index, red edge soil adjusted vegetation index, optimized soil adjusted vegetation index and normalized difference red edge index.

[0015] Optionally, the method for obtaining the texture feature is:

[0016]

[0017] Among them, i and j represent the row and column indices in the data matrix, p(i,j) represents the probability value of position (i,j) in the data matrix, and i represents the data value at that position.

[0018] Optionally, constructing the wheat aboveground biomass estimation model includes:

[0019] Processing the vegetation index, texture features, elevation and slope information based on the randperm function to generate a random arrangement;

[0020] Setting a quantity threshold of the training set, and establishing a training set index in the random arrangement according to the quantity threshold of the training set;

[0021] According to the established training set index, the training set is extracted, the input range specified in the extracted training set is mapped to the output range based on the mapminmax function, and normalization is performed;

[0022] The normalized training set is transposed, and based on the decision tree algorithm and the set regression method, the TreeBagger function is used to input the transposed training data and target data to iteratively train the random forest model that incorporates the Mann-Kendall trend test.

[0023] Optionally, obtaining the trend change result of wheat biomass during the coal mining process includes:

[0024] Based on the coal mining information in the data to be detected, a preset number of direction lines parallel to the mining direction are set from the starting line to the stopping line; the coal mining information includes: coal mining face position, face advancement position, face advancement direction, face length, and face width information;

[0025] Arranging interval points at preset intervals on the direction line, extracting the biomass information of wheat at different growth stages at the interval points based on the aboveground biomass map at different growth stages, calculating the average biomass at different growth stages of the interval points on each direction line, and obtaining the biomass profile of wheat at each preset interval from the starting line to the stopping line at different growth stages;

[0026] The average value in the wheat biomass profile is used as a statistical value for trend test to perform trend test and obtain the trend change result of wheat biomass during the coal mining process.

[0027] Optionally, the method for obtaining the trend change result of wheat biomass during the coal mining process is:

[0028]

[0029] when

[0030]

[0031] when

[0032] Where S is the statistic for the trend test, n is the number of data points, and x i and xj They represent the i-th and j-th data points respectively, sgn() is the variable calculation symbol, var(S) is the standard deviation of the calculated data series, Z is the variable eigenvalue under different test levels, when Z>0 it means that the biomass shows an overall increasing change, when Z<0 it means that the biomass shows an overall decreasing change.

[0033] To achieve the above-mentioned purpose, the present invention also provides a random forest coal mining area wheat aboveground biomass estimation optimization system, comprising:

[0034] A data acquisition module is used to acquire the data to be tested of wheat and mining in the coal mining area;

[0035] The wheat biomass estimation module is used to input the data to be detected into the wheat aboveground biomass estimation model, calculate the aboveground biomass of wheat in different growth stages in the coal mining area, and generate aboveground biomass maps of different growth periods, wherein the wheat aboveground biomass estimation model is constructed using a random forest model integrated with the Mann-Kendall trend test, and the wheat aboveground biomass estimation model is obtained by training with a training set, and the training set includes: vegetation index, texture characteristics, elevation and slope information; the aboveground biomass maps of different growth periods are combined with coal mining area information to obtain the trend change results of wheat biomass during coal mining.

[0036] The beneficial effects of the present invention are:

[0037] The present invention uses a wheat biomass estimation model that integrates terrain, texture, and vegetation index to address the problem of surface deformation caused by mining subsidence in mining areas. It introduces terrain data based on the idea of ​​estimating wheat biomass using texture and vegetation index, thereby improving the estimation accuracy of wheat aboveground biomass in coal mining areas. The method of the present invention is simple, objective, non-destructive, and highly repeatable. It can repeatedly estimate wheat biomass at different growth stages according to the mining progress, revealing the inherent connection between coal mining and land destruction and cultivated land production capacity, and providing a reference for the parallel management of protecting cultivated land and underground coal mining. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0039] Figure 1 A flow chart of a random forest coal mining area wheat aboveground biomass estimation optimization method according to an embodiment of the present invention;

[0040] Figure 2This is a schematic diagram of the distribution of NDVI (normalized difference vegetation index) of wheat on the ground during the green period at a coal mining face according to an embodiment of the present invention;

[0041] Figure 3 This is a schematic diagram of the distribution of blue band entropy texture features of wheat on the ground of a coal mining face during the greening period according to an embodiment of the present invention;

[0042] Figure 4 It is a schematic diagram of a digital surface model of wheat greening period on the ground of a coal mining working face according to an embodiment of the present invention;

[0043] Figure 5 This is a schematic diagram of the distribution of wheat biomass during the greening period on the ground of a coal mining working face according to an embodiment of the present invention;

[0044] Figure 6 This is a schematic diagram of the biomass distribution of wheat at the jointing stage on the coal mining face in an embodiment of the present invention;

[0045] Figure 7 This is a schematic diagram of the distribution of wheat biomass during flowering period on the coal mining face in an embodiment of the present invention;

[0046] Figure 8 This is a profile diagram of wheat biomass at different growth stages from the starting line to the stopping line of the coal mining face in an embodiment of the present invention and a biomass change trend diagram. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0049] like Figure 1As shown, this embodiment discloses a random forest coal mining area wheat aboveground biomass estimation optimization method, including: obtaining wheat and coal mining area mining data to be detected within the coal mining area; inputting the data to be detected into the wheat aboveground biomass estimation model, calculating the aboveground biomass of wheat in different growth stages in the coal mining area, and generating aboveground biomass maps of different growth periods, wherein the wheat aboveground biomass estimation model is constructed using a random forest model integrated with the Mann-Kendall trend test, and the wheat aboveground biomass estimation model is obtained by training a training set, and the training set includes: vegetation index, texture characteristics, elevation and slope information; combining the aboveground biomass maps of different growth periods with coal mining area information, obtaining the trend change results of wheat biomass during coal mining, specifically:

[0050] Step 1: Collect data on wheat and basic information on mining in the coal mining area to obtain original data;

[0051] Step 2: Based on the original wheat data within the coal mining area, crop parameters are extracted to create training data sets and test data sets;

[0052] Step 3: Based on the training data set and the test data set, a random forest wheat aboveground biomass estimation model based on the Mann-Kendall trend test was constructed;

[0053] Step 4: Based on the constructed wheat aboveground biomass estimation model, calculate the aboveground biomass of wheat at different growth stages in the coal mining area and generate aboveground biomass maps at different growth stages;

[0054] Step 5: Based on the basic information of the coal mining area and the calculated aboveground biomass of wheat in the working face, the trend change results of wheat biomass during coal mining are obtained.

[0055] Obtaining the training set includes: obtaining historical original data of wheat and coal mining in the coal mining area, splicing the historical original data into a multispectral image, and combining the corresponding radiation calibration plate image and reflectance coefficient to perform radiation calibration on the multispectral image; superimposing the location information of the collection point on the calibrated multispectral image, obtaining the multispectral data of the collection point, analyzing the multispectral data of the collection point, and obtaining the training set.

[0056] The data to be tested include: wheat multispectral image data, ground digital surface model data, sampling point biomass data, sampling point location information, coal mining face location information, coal mining face advancement position information, coal mining face advancement direction, coal mining face length, coal mining face width, coal mining face mining depth, coal mining face mining thickness and coal mining face mining rate.

[0057] Vegetation indices include: Normalized Difference Vegetation Index, Enhanced Vegetation Index, Green Normalized Difference Vegetation Index, Chlorophyll Index, Vegetation Index, Wide Dynamic Range Vegetation Index, Nonlinear Index, Green Soil Adjusted Vegetation Index, Soil Adjusted Vegetation Index, Second Corrected Ratio Vegetation Index, Red Edge Soil Adjusted Vegetation Index, Optimized Soil Adjusted Vegetation Index and Normalized Difference Red Edge Index.

[0058] The construction of the wheat aboveground biomass estimation model includes: processing the vegetation index, texture characteristics, elevation and slope information based on the randperm function to generate a random arrangement; setting a threshold for the number of training sets, and establishing a training set index in the random arrangement according to the threshold for the number of training sets; extracting the training set according to the established training set index, mapping the input range specified in the extracted training set to the output range based on the mapminmax function, and normalizing it; transposing the normalized training set, and based on the decision tree algorithm and the set regression method, using the TreeBagger function, inputting the transposed training data and target data to iteratively train the random forest model that incorporates the Mann-Kendall trend test.

[0059] Obtaining the trend change results of wheat biomass during coal mining includes: based on the coal mining information in the data to be detected, setting a preset number of direction lines parallel to the mining direction from the starting line to the stopping line; the coal mining information includes: the position of the coal mining working face, the advancing position of the working face, the advancing direction of the working face, the length of the working face, and the width of the working face; arranging preset interval points on the direction line, based on the aboveground biomass map of different growth periods, extracting the biomass information of wheat in different growth periods at the interval points, calculating the average value of the biomass of the interval points in different growth periods on each direction line, and obtaining the wheat biomass profile of each preset interval from the starting line to the stopping line in different growth periods; using the average value in the wheat biomass profile as the statistical value of the trend test to perform a trend test, and obtaining the trend change results of wheat biomass during coal mining, specifically:

[0060] Step 1: Collect data on basic information of wheat and coal mining in the coal mining area to obtain original data;

[0061] Among them, the original data include: wheat multispectral image data, ground digital surface model data, sampling point biomass data, sampling point location information, coal mining face location information, coal mining face advancement position information, coal mining face advancement direction, coal mining face length, coal mining face width, coal mining face mining depth, coal mining face mining thickness, and coal mining face mining rate.

[0062] Step 2: Based on the original wheat data within the coal mining area, crop parameters are extracted to create training data sets and test data sets;

[0063] S21. Based on the wheat multispectral image data in the original data, calculate and select vegetation indices that are significantly correlated with the wheat field biomass at the sampling point and have no multicollinearity;

[0064] S22. Based on the wheat multispectral image data in the original data, calculate and select texture features that are significantly correlated with the biomass of wheat fields at the sampling points and have no multicollinearity;

[0065] S23, based on the ground digital surface model data in the original data, selecting the elevation and slope information of the sampling point;

[0066] S24. Create a training data set and a test data set based on the vegetation index, texture features, elevation, and slope information selected in S21, S22, and S23.

[0067] Step 3: construct a random forest wheat biomass estimation model integrating the Mann-Kendall trend test, input the training data set into the wheat biomass estimation model for training, save the best training round estimation model through a multi-round training mechanism, obtain a trained mining area wheat biomass estimation model, and import the test data set into the wheat biomass estimation model obtained through the multi-round training mechanism, predict the test data set, and obtain an estimation result;

[0068] Among them, the random forest wheat biomass estimation model integrating the Mann-Kendall trend test is an integrated algorithm, which is a fusion of the random forest regression model and the Mann-Kendall trend test. For the random forest regression problem, each tree splits the input data so that the output value of the data at the leaf node is as close to the true value as possible. The final prediction result is the average of the output values ​​of all decision trees. Random forest randomly selects a subset of features when constructing each tree, so it has a certain degree of randomness. When predicting, the results of each tree will be averaged to improve the generalization performance of the model; the Mann-Kendall trend test is a statistical method used to detect the trend of time series data. This method sorts the time series data, calculates the S value and T value at each time point, and uses the Mann-Kendall statistic to detect the significance of the trend.

[0069] S31, inputting the training data set into the random forest regression model integrated with the Mann-Kendall trend test for training, and continuously extracting features from the training data set through a multi-round training mechanism to obtain a wheat aboveground biomass estimation model;

[0070] S32, importing the test data set into the wheat aboveground biomass estimation model obtained through a multi-round training mechanism, predicting the biomass of the test data set, obtaining the prediction result and its accuracy, and selecting the wheat aboveground biomass estimation model with the highest accuracy.

[0071] Step 4: Based on the constructed wheat aboveground biomass estimation model, calculate the aboveground biomass of wheat at different growth stages in the coal mining area, generate aboveground biomass maps at different growth stages, and combine the basic information of the coal mining area to obtain the results of wheat biomass changes during coal mining;

[0072] S41. Based on the wheat aboveground biomass model, the aboveground biomass of wheat in different growth stages in the coal mining area was calculated, and aboveground biomass maps of different growth stages were generated.

[0073] S42. Combined with the advancement position of the coal mining face, the trend of wheat biomass changes during coal mining was obtained.

[0074] This embodiment aims to solve the problem of surface deformation caused by mining subsidence in mining areas, and introduces a wheat biomass estimation model that integrates terrain, texture, and vegetation index; it introduces and highlights terrain data based on the idea of ​​estimating wheat biomass using vegetation index and texture features, thereby improving the accuracy of estimating aboveground biomass of wheat in coal mining areas.

[0075] This embodiment proposes a random forest coal mining area wheat aboveground biomass estimation optimization method, including:

[0076] Step 1: Collect data on basic information of wheat and coal mining in the coal mining area to obtain original data;

[0077] Among them, the original data include: wheat multispectral image data, ground digital surface model data, sampling point biomass data, sampling point location information, coal mining face location information, coal mining face advancement position information, coal mining face advancement direction, coal mining face length, coal mining face width, coal mining face mining depth, coal mining face mining thickness, and coal mining face mining rate.

[0078] Step 2: Splice and calibrate the original wheat multispectral data to obtain the training data set and the test data set. The operation steps are as follows:

[0079] S21, using Yusense software to stitch the collected raw data into a multispectral image, and then inputting the radiation calibration plate image and the corresponding reflection coefficient matched with the data acquisition equipment to perform radiation calibration processing on the multispectral image;

[0080] S22. Using ArcGIS software, the sampling point location information is superimposed on the acquired multispectral image to obtain the multispectral data of the sampling point, and the vegetation index data is calculated. The calculation formula of the vegetation index is:

[0081] NDVI = (NIR-R) / (NIR+R)

[0082] EVI = 2.5*(NIR-R) / (NIR+2*R+1)

[0083] GNDVI=(0.1*NIR-R) / (0.1*NIR+R)

[0084] CL green=NIR / G-1

[0085] RVI=NIR / R

[0086] WDRVI=(0.1*NIR-R) / (0.1*NIR+R)

[0087] NLI=(NIR*NIR-R) / (NIR*NIR+R)

[0088] GSAVI=1.5*(NIR-G) / (NIR+G+0.5)

[0089] SAVI=1.5*(NIR-R) / (NIR+R+0.5)

[0090] MSRI=(NIR / R-1) / (NIR / R+1)0.5

[0091] RESAVI=1.5*(NIR-RE) / (NIR+RE+0.5)

[0092] OSAVI=1.16*(NIR-RE) / (NIR+RE+0.16)

[0093] NDRE=(NIR-RE) / (NIR+RE)

[0094] where G, R, RE and NIR are the reflectance values ​​of the green, red, red edge and near-infrared bands in the multispectral image; NDVI (Normalized difference vegetation index) is the normalized vegetation index, EVI (Enhanced vegetation index) is the enhanced vegetation index, GNDVI (Green normalized difference vegetation index) is the green normalized vegetation index, CL green (Green Chlorophyll Index) is the chlorophyll index, RVI (Ratio vegetation index) is the vegetation index, WDRVI (Wide dynamic range vegetation index) is the wide dynamic range vegetation index, NLI (Non-linear index) is the nonlinear index, GSAVI (Green soiladjusted vegetation index) is the green soil adjusted vegetation index, SAVI (Soil adjusted vegetation index) is the soil adjusted vegetation index, MSRI (Modified second-ratio index) is the second modified ratio vegetation index, RESAVI (Red edge soil-adjusted vegetation index) is the red edge soil adjusted vegetation index, OSAVI (Optimized soil adjusted vegetation index) is the index) is the optimized soil adjusted vegetation index, and NDRE (Normalized difference red edge) is the normalized difference red edge.

[0095] like Figure 2 As shown, it is a schematic diagram of the distribution of NDVI (normalized difference vegetation index) of wheat on the ground during the green period of the coal mining working face in this embodiment;

[0096] S23, using ArcGIS software to overlay the sampling point location information onto the acquired multispectral image, obtain the multispectral data of the sampling point, and calculate the texture features. The calculation formula of the texture features is:

[0097]

[0098] Where i and j represent the row and column indices in the data matrix, p(i,j) represents the probability value of position (i,j) in the data matrix, and i represents the data value at that position.

[0099] like Figure 3As shown, it is a schematic diagram of the distribution of blue-band entropy texture features of wheat in the greening period on the coal mining face of this embodiment;

[0100] S24. Use ArcGIS software to overlay the sampling point location information onto the acquired ground digital surface model data to obtain the slope and elevation data of the sampling point.

[0101] like Figure 4 As shown, it is a schematic diagram of the digital surface model of wheat greening period on the coal mining working face of this embodiment;

[0102] S25, using the randperm function in MATLAB software, the obtained vegetation index, texture features, slope and elevation data are generated into a random arrangement, and a random arrangement of 1 to 60 with a length of 60 is returned, and then the first 40 are taken from the random arrangement as the index of the training set, and the last 20 are taken as the index of the test set. The number of sampling points in this embodiment is set to 60. In actual operation, the number of sampling points can be determined according to experimental debugging.

[0103] Step 3: Build a random forest model integrating the Mann-Kendall trend test, input the training data set into the model for training, and obtain a trained wheat biomass estimation model. The specific steps are as follows:

[0104] S31, using the mapminmax function in MATLAB software to map the training set and the test set from the specified input range to the output range for normalization. In this embodiment, the output range is set to 0-1;

[0105] S32, using MATLAB software to transpose the normalized training set and test set to fit the model;

[0106] S33, use MATLAB software in decision tree algorithm to carry out model training, first define the number of decision numbers and the minimum value of leaf number, then enable the function of error map and feature importance map, set regression method, then use TreeBagger function training model, import training data and target data. The number of decision trees in the present embodiment is set to 100, and the minimum number of leaves is set to 5. In actual operation, specific parameters can be determined according to experimental debugging.

[0107] Step 4: import the test data set into the wheat biomass estimation model obtained through the multi-round training mechanism, predict the test data set, and obtain the biomass prediction result;

[0108] In this embodiment, the technicians conducted a test on the wheat greening period dataset on the coal mining face in 2023. The specific implementation results are shown in Table 1 below:

[0109] Table 1 Prediction accuracy of aboveground wheat biomass at coal mining face

[0110]

[0111]

[0112] As shown in the table above, the prediction accuracy is mainly calculated by the coefficient of determination (R2) and root mean square error (RMSE) of the prediction samples. R2 reflects the degree of fit between the estimated value and the measured value, and 1 indicates a perfect fit. RMSE reflects the deviation between the estimated value and the measured value. A smaller RMSE means higher consistency and better accuracy. In the table, Ter (Terrain) is terrain data, Tex (Texture) is texture feature data, and VIs (Vegetation indexes) is vegetation index data.

[0113] It can be seen from the above table that with the addition of different data, the accuracy of AGB estimation gradually improves, and the verification coefficients R2 are: 0.35-0.44 (terrain data), 0.60-0.84 (texture feature data), 0.61-0.85 (vegetation index data), 0.69-0.85 (terrain and texture feature data), 0.65-0.84 (vegetation index and terrain data), 0.69-0.88 (vegetation index and texture feature data), 0.73-0.89 (terrain, texture feature and vegetation index data). Data), RMSE were: 2.17-5 tons / ha (terrain data), 1.65-2.94 tons / ha (texture feature data), 1.67-2.73 tons / ha (vegetation index data), 1.55-2.74 tons / ha (terrain and texture feature data), 1.63-2.73 tons / ha (vegetation index and terrain data), 1.43-2.73 tons / ha (vegetation index and texture feature data), 1.15-2.18 tons / ha (terrain, texture feature and vegetation index data). This shows that the wheat biomass estimation model incorporating vegetation index, terrain and texture features can effectively improve the accuracy of biomass estimation.

[0114] Example 3

[0115] This example also proposes a random forest coal mining area wheat aboveground biomass estimation system and biomass change trend detection system integrating Mann-Kendall trend test, the steps of which include:

[0116] Step 1: Estimate the biomass of aboveground wheat in different growth stages in the coal mining area based on a wheat biomass estimation model that incorporates vegetation index, terrain and texture characteristics.

[0117] like Figure 5 The figure shows the distribution diagram of wheat biomass during the green period on the coal mining face in this embodiment.

[0118] like Figure 6 The figure shows the distribution diagram of wheat biomass at the jointing stage on the coal mining face in this embodiment.

[0119] like Figure 7 The figure shows the distribution diagram of wheat biomass during flowering period on the coal mining face in this embodiment.

[0120] Step 2: Based on the basic information of the coal mining area and the calculated aboveground biomass of wheat in the working face, the detection results of the trend of wheat biomass changes during coal mining are obtained.

[0121] S21, setting 10 lines parallel to the mining direction from the starting line to the stopping line based on the coal mining face position, the face advancement position, the face advancement direction, the face length, and the face width information;

[0122] S22, points are arranged along 10 lines at intervals of 1 meter;

[0123] S23, based on the estimated aboveground wheat biomass at the coal mining face, extracting the biomass information of wheat at different growth stages at the distribution points;

[0124] S24, calculating the average value of the biomass at different growth stages at each length position point on the 10 lines, and obtaining a profile of the biomass of wheat per meter from the starting line to the stopping line at different growth stages;

[0125] S25. Based on the obtained cross-sectional diagram, the change process of wheat biomass during coal mining is obtained; the number of parallel lines in this embodiment is set to 10, and the interval between points on the parallel lines is 1 meter. In actual operation, the specific parameters can be determined according to experimental debugging;

[0126] S26, inputting the average biomass data and the distance data from the starting point of the sampling line in S24 into the random forest model integrated with the Mann-Kendall trend test constructed using MATLAB software, and applying the Tiedrank function to calculate the rank of the distance series data;

[0127] S27. Calculate the statistic S of the Mann-Kendall trend test through nested loops, that is, for a given distance sequence, compare each pair of data points. If the latter data point is greater than the previous data point, increase the S value by 1; if the latter data point is less than the previous data point, decrease the S value by 1; if the data points are equal, S remains unchanged. The calculation formula is:

[0128]

[0129] when

[0130]

[0131] When

[0132] where n is the number of data points, x i and x j represent the i-th and j-th data points respectively, and i < j, sgn() is the variable calculation symbol, var(S) is the standard variance of the calculated data series, Z is the variable eigenvalue at different test levels. When Z > 0, it indicates that the overall biomass shows an increasing change, and when Z < 0, it indicates that the overall biomass shows a decreasing change.

[0133] As Figure 8 shown, it is the biomass profile diagram of wheat at different growth stages and its biomass change trend diagram of the coal mining face from the starting line to the stopping line in this embodiment; from Figure 8 it can be seen that at the wheat green-reverting stage, the position of the coal mining face is about 1350 m. The AGB profile diagram and the trend line show that AGB is on an upward trend from 310 m to 1000 m, on an upward trend from 1230 m to 1500 m, on a downward trend from 1000 m to 1230 m, and there is a significant decrease between 1030 m and 1200 m; at the wheat jointing stage, the position of the coal mining face is about 1460 m. AGB shows an upward trend from 310 m to 1020 m and from 1280 m to 1500 m, shows a downward trend from 1020 m to 1280 m, and the downward trend is more significant from 1030 m to 1220 m; at the wheat flowering stage, the entire working face is completed. From 400 m to 1500 m, the biomass shows a significant downward trend. Compared with the AGB trend line of the control group: Although the AGB of both the control group and the coal mining-affected area shows different degrees of fluctuations due to different field management methods, the AGB trend line of the control group shows a similar fluctuation trend from the green-reverting stage to the flowering stage, while the AGB trend line of the mining-affected area has changed significantly during the mining process. For example, the range where AGB shows a significant downward trend gradually expands, from 1030 m to 1200 m at the green-reverting stage, from 1030 m to 1220 m at the jointing stage, to 400 m to 1500 m at the flowering stage. Therefore, with the advancement of the underground coal mining face, the mining-affected area gradually expands, and even the area with significant AGB growth gradually turns into a significantly reduced area.

[0134] This embodiment can repeatedly estimate the wheat biomass at different growth stages according to the mining progress, test the trend of wheat biomass affected by coal mining, reveal the internal relationship between coal mining, land damage, and cultivated land productivity, and provide a reference for the parallel management of cultivated land protection and underground coal mining.

[0135] The present embodiment also provides a random forest coal mining area wheat aboveground biomass estimation optimization system, including: a data acquisition module, used to obtain the data to be detected of wheat and coal mining in the coal mining area; a wheat biomass estimation module, used to input the data to be detected into the wheat aboveground biomass estimation model, calculate the aboveground biomass of wheat in different growth stages in the coal mining area, and generate aboveground biomass maps of different growth periods, wherein the wheat aboveground biomass estimation model is constructed using a random forest model that incorporates a Mann-Kendall trend test, and the wheat aboveground biomass estimation model is obtained by training with a training set, and the training set includes: vegetation index, texture characteristics, elevation and slope information; the aboveground biomass maps of different growth periods are combined with coal mining area information to obtain the trend change results of wheat biomass during coal mining.

[0136] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A random forest coal mining area wheat aboveground biomass estimation optimization method, characterized in that: include: Obtain the data to be tested on wheat and coal mining within the coal mining area; Input the data to be detected into a wheat aboveground biomass estimation model, calculate the aboveground biomass of wheat at different growth stages in the coal mining area, and generate aboveground biomass maps at different growth stages, wherein the wheat aboveground biomass estimation model is constructed using a random forest model incorporating a Mann-Kendall trend test, and the wheat aboveground biomass estimation model is obtained by training a training set, and the training set includes: vegetation index, texture features, elevation, and slope information; The aboveground biomass maps at different growth stages are combined with coal mining area information to obtain the trend change results of wheat biomass during coal mining.

2. The random forest coal mining area wheat aboveground biomass estimation optimization method according to claim 1 is characterized in that: Acquiring the training set includes: Obtaining historical raw data of wheat and coal mining within the coal mining area, splicing the historical raw data into a multispectral image, and combining the corresponding radiation calibration plate image and reflectance to perform radiation calibration processing on the multispectral image; The position information of the acquisition point is superimposed on the multispectral image after calibration, the multispectral data of the acquisition point is obtained, and the multispectral data of the acquisition point is analyzed to obtain the training set.

3. The random forest coal mining area wheat aboveground biomass estimation optimization method according to claim 1 is characterized in that: The data to be detected include: wheat multispectral image data, ground digital surface model data, sampling point biomass data, sampling point location information, coal mining face location information, coal mining face advancement position information, coal mining face advancement direction, coal mining face length, coal mining face width, coal mining face mining depth, coal mining face mining thickness and coal mining face mining rate.

4. The random forest coal mining area wheat aboveground biomass estimation optimization method according to claim 1, characterized in that: The vegetation indices include normalized vegetation index, enhanced vegetation index, green normalized vegetation index, chlorophyll index, vegetation index, wide dynamic range vegetation index, nonlinear index, green soil adjusted vegetation index, soil adjusted vegetation index, second corrected ratio vegetation index, red edge soil adjusted vegetation index, optimized soil adjusted vegetation index and normalized difference red edge index.

5. The random forest coal mining area wheat aboveground biomass estimation optimization method according to claim 1, characterized in that: The method for obtaining the texture feature is: Where i and j represent the row and column indices in the data matrix, and p(i,j) represents the probability value at position (i,j) in the data matrix.

6. The random forest coal mining area wheat aboveground biomass estimation optimization method according to claim 1, characterized in that: Constructing the wheat aboveground biomass estimation model includes: Processing the vegetation index, texture features, elevation and slope information based on the randperm function to generate a random arrangement; Setting a quantity threshold of the training set, and establishing a training set index in the random arrangement according to the quantity threshold of the training set; According to the established training set index, the training set is extracted, the input range specified in the extracted training set is mapped to the output range based on the mapminmax function, and normalization is performed; The normalized training set is transposed, and based on the decision tree algorithm and the set regression method, the TreeBagger function is used to input the transposed training data and target data to iteratively train the random forest model that incorporates the Mann-Kendall trend test.

7. The random forest coal mining area wheat aboveground biomass estimation optimization method according to claim 1, characterized in that: Obtaining the trend change results of wheat biomass during the coal mining process includes: Based on the coal mining information in the data to be detected, a preset number of direction lines parallel to the mining direction are set from the starting line to the stopping line; the coal mining information includes: coal mining face position, face advancement position, face advancement direction, face length, and face width information; Arranging interval points at preset intervals on the direction line, extracting the biomass information of wheat at different growth stages at the interval points based on the aboveground biomass map at different growth stages, calculating the average biomass at different growth stages of the interval points on each direction line, and obtaining the biomass profile of wheat at each preset interval from the starting line to the stopping line at different growth stages; The average value in the wheat biomass profile is used as a statistical value for trend test to perform trend test and obtain the trend change result of wheat biomass during the coal mining process.

8. The random forest coal mining area wheat aboveground biomass estimation optimization method according to claim 1, characterized in that: The method for obtaining the trend change results of wheat biomass during the coal mining process is: when when Where S is the statistic for the trend test, n is the number of data points, and x i and x j They represent the i-th and j-th data points respectively, sgn() is the variable calculation symbol, var(S) is the standard deviation of the calculated data series, Z is the variable eigenvalue under different test levels, when Z>0 it means that the biomass shows an overall increasing change, when Z<0 it means that the biomass shows an overall decreasing change.

9. A random forest coal mining area wheat aboveground biomass estimation optimization system, characterized in that: include: A data acquisition module is used to acquire the data to be tested of wheat and mining in the coal mining area; The wheat biomass estimation module is used to input the data to be detected into the wheat aboveground biomass estimation model, calculate the aboveground biomass of wheat in different growth stages in the coal mining area, and generate aboveground biomass maps of different growth periods, wherein the wheat aboveground biomass estimation model is constructed using a random forest model integrated with the Mann-Kendall trend test, and the wheat aboveground biomass estimation model is obtained by training with a training set, and the training set includes: vegetation index, texture characteristics, elevation and slope information; the aboveground biomass maps of different growth periods are combined with coal mining area information to obtain the trend change results of wheat biomass during coal mining.

Citation Information

Cited By

  • Rice yield estimation method for optimizing RF model through improved whale optimization algorithm

    CN119849676A