Method for estimating leaf loss rate of dahurian larch harmed by coniferous pests by using differential spectrum
By collecting data with a hyperspectral instrument and using machine learning and wavelet transform technology to build a leaf loss rate model, it solves the shortcomings of hyperspectral remote sensing in calculating forest leaf loss rates and achieves more efficient and safer data processing and accurate leaf loss rates. Estimate.
Patent Information
- Application Number
- CN202410582229.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, the calculation of forest leaf loss rate mainly relies on multispectral remote sensing. Hyperspectral remote sensing has few applications, limited calculation accuracy, and poor data security.
Hyperspectrometer is used to collect data and processed through RSA asymmetric encryption. Machine learning model and wavelet transform technology are used to construct a leaf loss rate estimation model. Partial least squares regression and support vector machine algorithms are combined to construct real-time data based on cloud computing and edge computing. Processing framework that provides a graphical user interface for data visualization and interactive exploration.
It significantly improves data security and calculation accuracy, improves data processing efficiency and user experience, and achieves more accurate and efficient estimation of leaf loss rate.
Smart Images

Figure CN118568679A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of larch leaf loss rate calculation, and in particular relates to a method for estimating the larch leaf loss rate caused by coniferous insect pests by using differential spectra. Background Art
[0002] Forest pests often cause trees to lose their leaves, threatening forest health and safety. The leaf loss rate is a parameter that characterizes forest leaf loss and is an important indicator for forest pest monitoring. Therefore, it is of great significance to quickly and accurately obtain information on the leaf loss rate of trees in forest pest monitoring and forest health assessment.
[0003] Remote sensing monitoring of forest defoliation caused by pests is a research hotspot that many scholars have focused on. Currently, classification is the main method used in remote sensing monitoring of defoliation, while estimation of defoliation rate is rare and its accuracy needs to be improved. For example, the normalized difference moisture index, enhanced vegetation index and normalized difference vegetation index were calculated using remote sensing data, and spruce defoliation was classified into four levels, with an overall classification accuracy of about 70%; several vegetation indices were calculated using Sentinel-2 remote sensing data, and machine learning algorithms such as K nearest neighbor (KNN), random forest (RF) and support vector machine (SVM) were used to establish a defoliation classification model, with overall accuracy rates of 78%, 75% and 78% respectively; Spruce et al. used the MODIS NDVI time series dataset to classify forest defoliation caused by gypsy moth into two levels, with an overall classification accuracy rate of 79%; Philip Townsend et al. calculated the normalized difference infrared index and water stress index with the help of Landsat remote sensing data and established a leaf loss rate estimation model with an estimated RMS error of 14.90%. In summary, forest leaf loss monitoring is mostly concentrated on multispectral remote sensing applications, while the application of hyperspectral remote sensing is rarely reported. Compared with multispectral, hyperspectral has a stronger perception of subtle changes in plant structure and physiology. It has greater potential in plant pest monitoring. Using hyperspectral to estimate the leaf loss rate of damaged trees can provide a strong experimental basis for hyperspectral remote sensing monitoring of forest leaf loss, and is of great significance to the development of remote sensing monitoring of forest pests.
[0004] Through the above analysis, the problems and defects of the prior art are as follows:
[0005] (1) The calculation of forest leaf loss rate is done using multispectral remote sensing, but hyperspectral remote sensing is rarely used.
[0006] (2) The accuracy of calculating leaf loss rate is limited, and the current method mainly uses classification method for calculation, with an accuracy of less than 80%.
[0007] (3) The acquired larch data is easy to leak and has poor security. Summary of the invention
[0008] In view of the problems existing in the prior art, the present invention provides a method for estimating the leaf loss rate of larch caused by coniferous pests by using differential spectrum.
[0009] The present invention is achieved by using differential spectrum to estimate the leaf loss rate of larch caused by coniferous insect pests, comprising:
[0010] Step 1: Data acquisition and encryption: Use a hyperspectral instrument to collect spectral data of the larch area and collect data related to leaf loss rate, and use RSA asymmetric encryption technology to encrypt the collected hyperspectral data and leaf loss rate data;
[0011] Step 2: Preprocessing of spectral data: using anomaly detection models based on machine learning to automatically identify and remove abnormal spectra, smoothing them using ViewSpecPro software, taking first-order derivatives to obtain differential spectral reflectance, and using multi-scale differential technology to extract more detailed spectral features;
[0012] Step 3: Model establishment and verification: Use continuous wavelet transform and sensitive continuous wavelet feature extraction technology to process differential spectral data, combine partial least squares regression and support vector machine regression algorithms, and use deep neural networks to build a leaf loss rate estimation model; pre-train on historical data sets, and perform accuracy verification and model fine-tuning in actual application scenarios;
[0013] Step 4: Build a real-time data processing framework based on cloud computing and edge computing to quickly process and analyze newly acquired spectral data;
[0014] Step 5: Develop a graphical user interface that provides data visualization tools and interactive exploration capabilities, allowing users to intuitively view data and analysis results.
[0015] Further, the method for encrypting data:
[0016] Acquire hyperspectral data and leaf loss rate data streams; segment the hyperspectral data and leaf loss rate data streams to acquire a field sequence; wherein the field sequence includes N fields;
[0017] Acquire a preset interval field; wherein the preset interval field is set to be multiple, and the multiple preset interval fields include a first preset interval field and a second preset interval field; insert the first preset interval field into the field sequence according to a first specified position, and insert the second preset interval field into the field sequence according to a second specified position to generate a first encrypted field sequence; and generate encrypted hyperspectral data and leaf loss rate data streams according to the first encrypted field sequence;
[0018] The obtaining of the preset interval field comprises: obtaining a first random number, and setting the number of bytes of the first preset interval field according to the first random number; obtaining a second random number, and setting the number of bytes of the second preset interval field according to the second random number; obtaining a current timestamp field, and calculating the current bit value of each byte of the preset interval field according to the current timestamp field; wherein the current bit value of each byte of the preset interval field is the current bit value of each byte of the first preset interval field or the current bit value of each byte of the second preset interval field; generating the first preset interval field according to the number of bytes of the first preset interval field and the current bit value of each byte thereof; generating the second preset interval field according to the number of bytes of the second preset interval field and the current bit value of each byte thereof; and obtaining the preset interval field according to the first preset interval field and the second preset interval field;
[0019] The establishment and verification of the model involve continuous wavelet transform, sensitive continuous wavelet feature extraction, leaf loss rate estimation model, and model accuracy verification steps; overall, by differentiating the spectral continuous wavelet coefficients, using partial least squares regression and support vector machine regression algorithms, a leaf loss rate estimation model is constructed, revealing the potential of hyperspectral technology for leaf loss rate estimation.
[0020] Furthermore, the hyperspectral data was measured by using an ASD ground feature spectrometer for spectral measurements of larch trees with different degrees of leaf loss. The spectrometer has a spectral resolution of 3nm@350-1000nm and 10nm@1000-2500nm; the sampling interval is 1.4nm@350-1000nm and 2nm@1000-2500nm; the data interval is 1nm; during the entire measurement process, the probe uses a field of view of 25°. And vertically downward, the height is required to be about 0.2m away from the measured object, and all spectra are measured during clear and cloudless weather between 10:30 and 14:30 Beijing time. Each sample tree is divided into three levels in the vertical direction: upper, middle, and lower. Then, a typical branch is selected at each level for observation 20 times. Before and after the observation of each sample tree, the spectrum is corrected using a reference whiteboard, and the average value of the spectral reflectance of 20×30 times is used to represent the canopy spectral reflectance value of a sample tree.
[0021] Furthermore, the leaf loss rate data and the on-site leaf loss rate estimation are carried out simultaneously with the spectral measurement, that is, the leaf loss rate is calculated for the three branches measured by the spectral measurement. The leaf loss rate calculation method is to first record the number of loss and healthy needles within the spectral measurement range (a circle with a radius of 0.09 m and a projection point of the spectral measurement probe on the branch as the center); then calculate the leaf loss rate of the three branches respectively by formula (1), and then take the average value as the leaf loss rate of the current sample tree.
[0022]
[0023] Where LLR is the branch leaf loss rate, N h and N t Count healthy and lost needles separately.
[0024] Furthermore, the continuous wavelet transform, based on the spectral preprocessing, uses 36 mother wavelet bases of Biorthogonal, Coiflets, Daubechies and Symlets wavelet systems to perform continuous wavelet transform on the differential spectral reflectance of tree canopies with different degrees of leaf loss to obtain differential spectral continuous wavelet coefficients (denoted as DSR-CWC). The continuous wavelet transform processing is completed using MATLAB2016b software.
[0025] Furthermore, the sensitive continuous wavelet feature extraction, the leaf loss rate and the determination coefficient R of DSR-CWC 2 The band corresponding to the value greater than 0.64 is set as the sensitive band. The Findpeaks(Fp) function of MATLAB software is used to automatically find R 2 The peak value is determined and the sensitive band is determined. Then, the wavelet coefficients at 10 scales are extracted according to the position of the sensitive band.
[0026] [P, L] = Findpeaks (x, 'minpeakheight', h, 'minpeakdistance', d) (2)
[0027] In the formula, x is the determination coefficient R 2 and bands, P is R 2 Peak value, L is R 2 The band position corresponding to the peak value, h is R 2 The minimum height of the peak, d is the adjacent R 2 Minimum number of band intervals between peaks (set to 10nm).
[0028] On this basis, the continuous projection algorithm (SPA) is used to reduce the dimension of the wavelet coefficients at each scale and determine the sensitive continuous wavelet features. SPA is a forward loop selection method that minimizes variable collinearity. It starts from one wavelength and selects a new wavelength using a projection algorithm in the vector space at each iteration until the predetermined number of wavelengths is reached. Therefore, SPA can select important wavelengths by overcoming the collinearity between sensitive bands and can establish a stable model.
[0029] Furthermore, the steps of implementing the SPA are as follows:
[0030] The number of modeling sample trees and the number of sensitive band wavelengths are m and n respectively, then the differential spectrum continuous wavelet coefficient matrix composed of the two is X m*n, the initial iteration vector is x k(0) , the number of continuous wavelet features to be extracted is t0.
[0031] (1) First iteration: d = 1, randomly select 1 column vector x from the differential spectral continuous wavelet coefficient matrix j , denoted as x k(0) , the set of non - selected column vectors is denoted as Q
[0032]
[0033] (2) Calculate the projection vectors of the vectors in Q on x j
[0034]
[0035] (3) Record the serial number of the maximum projection
[0036] k(d)= arg(max||Px j ||), j ∈ Q
[0037] (4) Take the maximum projection as the projection vector for the next round
[0038] x j = Px j , j ∈ Q
[0039] (5) d = d + 1, if d < t, go back to (2) to continue the projection
[0040] Further, the defoliation rate evaluation model uses partial least squares regression (PLSR) and support vector machine regression (SVMR) algorithms to establish a defoliation rate estimation model, and compares it with the stepwise multiple linear regression (SMLR) model.
[0041] Further, the PLSR is a multivariate linear data statistical analysis method, aiming to solve the situation where there are many (possibly related) predictor variables and relatively few samples. In modeling, it seeks certain linear combinations of components with the greatest degree of correlation in the independent variable space and the dependent variable space, so as to better explain the variation information of the dependent variable, which is equivalent to the combination of ordinary linear regression, principal component analysis, and canonical correlation analysis.
[0042] Further, for the verification of the model accuracy, the coefficient of determination (R2) and the root mean square error RMSE are used as the basic indicators for evaluating the accuracy of the training model and the verification model.
[0043] Another object of the present invention is to provide a system for estimating the defoliation rate of larch damaged by coniferous pests using differential spectroscopy, which is characterized by including:
[0044] Data acquisition and encryption processing module: equipped with a hyperspectral instrument to collect spectral data and leaf loss rate related data of larch area; RSA asymmetric encryption technology is used to encrypt the collected hyperspectral data and leaf loss rate data;
[0045] Spectral data preprocessing module: equipped with an anomaly detection model based on machine learning to automatically identify and remove abnormal spectra; integrated with ViewSpecPro software to smooth spectral data;
[0046] Model building and verification module: Integrate continuous wavelet transform and sensitive continuous wavelet feature extraction technology to process differential spectral data; combine partial least squares regression and support vector machine regression algorithms, as well as deep neural networks, to build a leaf loss rate estimation model; realize the historical data set pre-training function of the model, as well as accuracy verification and model fine-tuning in actual application scenarios;
[0047] Real-time data processing framework module: Based on cloud computing and edge computing architecture, it can quickly process and analyze newly acquired spectral data;
[0048] User interface and interaction module: Provides a graphical user interface, including data visualization tools and interactive exploration functions.
[0049] Another object of the present invention is to provide a wavelet transform method for estimating the leaf loss rate of larch caused by coniferous insect pests.
[0050] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:
[0051] First, the present invention has achieved significant technological progress in the processing and analysis of hyperspectral data. By introducing advanced data encryption, intelligent data preprocessing, advanced data analysis technology, real-time processing and user-friendly interface design, the present invention not only improves the security and accuracy of data, but also improves the efficiency of data processing and analysis and user experience.
[0052] Improved data security and accuracy: RSA asymmetric encryption technology is used to encrypt data, significantly improving data security. At the same time, the abnormal spectrum is automatically eliminated through the abnormal detection model of machine learning to improve data accuracy. This encryption and intelligent data preprocessing method not only protects data security, but also improves the accuracy and efficiency of data processing.
[0053] Advanced spectral data processing and analysis: The use of advanced technologies such as multi-scale differential technology and continuous wavelet transform to process differential spectral data, as well as the leaf loss rate estimation model built by partial least squares regression, support vector machine and deep neural network, makes the spectral data analysis more accurate and efficient. These advanced technologies far exceed traditional methods in improving the accuracy and efficiency of spectral data processing, and can better reveal the potential of hyperspectral for leaf loss rate estimation.
[0054] Innovation of real-time data processing framework and user interface: A real-time data processing framework based on cloud computing and edge computing is built to speed up data processing. At the same time, the developed graphical user interface provides data visualization and interactive exploration functions, enhancing the user experience. The real-time processing framework and user-friendly interface design greatly improve the practicality and operability of the system, allowing users to view and analyze data more conveniently.
[0055] Second, the present invention improves the accuracy of estimating the leaf loss rate, and the model is stable, further improving the calculation accuracy of the model.
[0056] (1)DSR-CWC can better explore the spectral response characteristics caused by changes in leaf pigments, internal structure of leaves and water content.
[0057] (2) The Fp-SPA model is an effective method for selecting sensitive spectral wavelet features. It can not only quickly and objectively select sensitive features, but also reduce the dimension of features, that is, from hundreds of features to a few key features, thus reducing the amount of destructive calculations and improving the stability of the model.
[0058] (3) Compared with DSR, DSR-CWC improves the estimation accuracy of leaf loss rate. Among the three models of PLSR, SVMR and SMLR, db1-PLSR has the most obvious improvement in estimation accuracy. It shows a better fitting effect than DSR-PLSR on the 1:1 straight line. The RM and RMSEM of db1-PLSR are 0.09340 and 0.0890, respectively, which is higher than that of DSR-PLSR. It is 0.047 higher than that of DSR-PLSR, which is 0.0249 lower than that of DSR-PLSR. It is obvious that DSR-CWC has more potential in estimating leaf loss rate.
[0059] (4) The present invention performs segmented processing on the hyperspectral data and leaf loss rate data streams through a data encryption processing method to obtain a field sequence, and inserts the obtained preset interval fields into the field sequence at a specified position to encrypt the hyperspectral data and leaf loss rate data streams to ensure data security. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1The present invention is a flow chart of a method for estimating the leaf loss rate of larch caused by coniferous insect pests.
[0061] Figure 2 The present invention compares the accuracy of different models in the method for estimating the leaf loss rate of larch caused by coniferous insect pests.
[0062] Figure 3 The invention compares the 1:1 straight line fitting effects of different models in the method example of estimating the leaf loss rate of larch caused by coniferous insect pests. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0064] Two specific application examples of the embodiment of the present invention are:
[0065] Example 1: Forest Monitoring and Management
[0066] Pest damage monitoring is carried out in large forest areas to provide accurate data support for forest management and protection.
[0067] Data collection: A hyperspectral instrument was used to collect spectral data of larch in the forest area, and relevant leaf loss rate data was also collected.
[0068] Data encryption and preprocessing: The collected data is encrypted using RSA asymmetric encryption technology to ensure data security. The machine learning model is used to automatically remove abnormal spectra, and ViewSpecPro software is used for smoothing and obtaining differential spectral reflectance.
[0069] Model establishment and verification: Continuous wavelet transform and sensitive feature extraction technology are used to process differential spectral data. A leaf loss rate estimation model is constructed by combining partial least squares regression, support vector machine and deep neural network. Model pre-training is performed on historical data sets, and the model is verified and fine-tuned in the field.
[0070] Example 2: Precision Agriculture and Plant Protection
[0071] This embodiment is used in the field of precision agriculture and plant protection, providing real-time and accurate data analysis for agricultural producers and plant protection experts, and facilitating precise fertilization, irrigation, and pest and disease control.
[0072] Targeted collection: In specific larch planting areas, hyperspectral instruments are used to collect data and collect leaf loss rate information.
[0073] Data security and advanced preprocessing: RSA asymmetric encryption is also used to ensure data security. Advanced preprocessing is performed on the collected data, including abnormal spectrum removal and extraction of differential spectrum reflectance.
[0074] Model application and real-time analysis: Use cloud computing and edge computing technologies to quickly process newly collected data. Apply pre-trained models to estimate leaf loss rates and display analysis results in real time through a graphical user interface.
[0075] The present invention mainly improves the following problems and defects of the prior art and achieves significant technical progress:
[0076] Traditional spectral data collection and processing methods may have problems with data security and accuracy. Unencrypted data is vulnerable to illegal access and tampering, and traditional spectral data processing methods may not be able to effectively eliminate abnormal data, affecting the accuracy of analysis results.
[0077] Hyperspectral data is large in volume, contains a lot of redundant and irrelevant information, and is complex and time-consuming to process. Traditional methods often lack efficient and accurate data preprocessing mechanisms when processing hyperspectral data, making it difficult to effectively extract useful information.
[0078] like Figure 1 The figure is a flow chart of the method for estimating the leaf loss rate of larch caused by coniferous insect pests according to the present invention. A method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum, characterized in that the method comprises the following steps:
[0079] Data acquisition, spectral data preprocessing, model establishment and verification; data acquisition mainly includes the acquisition of hyperspectral data and leaf loss rate data; and data encryption processing; spectral preprocessing mainly uses ViewSpecPro software to present abnormal spectra, and at the same time performs smoothing, and obtains differential spectral reflectance by first-order derivative to reduce background interference;
[0080] The method for encrypting data:
[0081] Acquire hyperspectral data and leaf loss rate data streams; segment the hyperspectral data and leaf loss rate data streams to acquire a field sequence; wherein the field sequence includes N fields;
[0082] Acquire a preset interval field; wherein the preset interval field is set to be multiple, and the multiple preset interval fields include a first preset interval field and a second preset interval field; insert the first preset interval field into the field sequence according to a first specified position, and insert the second preset interval field into the field sequence according to a second specified position to generate a first encrypted field sequence; and generate encrypted hyperspectral data and leaf loss rate data streams according to the first encrypted field sequence;
[0083] The obtaining of the preset interval field comprises: obtaining a first random number, and setting the number of bytes of the first preset interval field according to the first random number; obtaining a second random number, and setting the number of bytes of the second preset interval field according to the second random number; obtaining a current timestamp field, and calculating the current bit value of each byte of the preset interval field according to the current timestamp field; wherein the current bit value of each byte of the preset interval field is the current bit value of each byte of the first preset interval field or the current bit value of each byte of the second preset interval field; generating the first preset interval field according to the number of bytes of the first preset interval field and the current bit value of each byte thereof; generating the second preset interval field according to the number of bytes of the second preset interval field and the current bit value of each byte thereof; and obtaining the preset interval field according to the first preset interval field and the second preset interval field;
[0084] The establishment and verification of the model involve continuous wavelet transform, sensitive continuous wavelet feature extraction, leaf loss rate estimation model, and model accuracy verification steps; overall, by differentiating the spectral continuous wavelet coefficients, using partial least squares regression and support vector machine regression algorithms, a leaf loss rate estimation model is constructed, revealing the potential of hyperspectral technology for leaf loss rate estimation.
[0085] Furthermore, the hyperspectral data was measured by using an ASD ground feature spectrometer for spectral measurements of larch trees with different degrees of leaf loss. The spectrometer has a spectral resolution of 3nm@350-1000nm and 10nm@1000-2500nm; the sampling interval is 1.4nm@350-1000nm and 2nm@1000-2500nm; the data interval is 1nm; during the entire measurement process, the probe uses a field of view of 25° and is vertically downward, and the height requirement is about 0.2m from the measurement object. All spectra are measured during clear and cloudless weather between 10:30 and 14:30 Beijing time. Each sample tree is divided into three levels in the vertical direction: upper, middle, and lower. Then, a typical branch is selected at each level for observation 20 times. The spectrum of each sample tree is corrected using a reference whiteboard before and after the observation, and the average value of the spectral reflectance of 20×30 times is used to represent the canopy spectral reflectance value of a sample tree.
[0086] Furthermore, the leaf loss rate data and the on-site leaf loss rate estimation are carried out simultaneously with the spectral measurement, that is, the leaf loss rate is calculated for the three branches measured by the spectral measurement. The leaf loss rate calculation method is to first record the number of loss and healthy needles within the spectral measurement range (a circle with a radius of 0.09 m and a projection point of the spectral measurement probe on the branch as the center); then calculate the leaf loss rate of the three branches respectively by formula (1), and then take the average value as the leaf loss rate of the current sample tree.
[0087]
[0088] Where LLR is the branch leaf loss rate, N h and N t Count healthy and lost needles separately.
[0089] Furthermore, the continuous wavelet transform, based on the spectral preprocessing, uses continuous wavelet to transform the differential spectral reflectance of the canopy of trees with different degrees of leaf loss to obtain the differential spectral continuous wavelet coefficient (denoted as DSR-CWC). The continuous wavelet transform processing is completed using MATLAB2016b software.
[0090] Furthermore, in the sensitive continuous wavelet feature extraction, the band corresponding to the coefficient of determination Rz of the leaf loss rate and DSR-CWC greater than 0.64 is set as the sensitive band. The Findpeaks(Fp) function of MATLAB software is used to automatically find R 2 The peak value is determined and the sensitive band is determined. Then, the wavelet coefficients at 10 scales are extracted according to the position of the sensitive band.
[0091] [P, L] = Findpeaks (x, 'minpeakheight', h, 'minpeakdistance', d) (2)
[0092] In the formula, x is the determination coefficient R 2 and bands, P is R 2 Peak value, L is R 2 The band position corresponding to the peak value, h is R 2 The minimum height of the peak, d is the adjacent R 2 Minimum number of band intervals between peaks (set to 10nm).
[0093] On this basis, the continuous projection algorithm (SPA) is used to reduce the dimension of the wavelet coefficients at each scale and determine the sensitive continuous wavelet features. SPA is a forward loop selection method that minimizes variable collinearity. It starts from one wavelength and selects a new wavelength using a projection algorithm in the vector space at each iteration until the predetermined number of wavelengths is reached. Therefore, SPA can select important wavelengths by overcoming the collinearity between sensitive bands and can establish a stable model.
[0094] Furthermore, the steps of implementing the SPA are as follows:
[0095] The number of modeling sample trees and the number of sensitive band wavelengths are m and n respectively, then the differential spectrum continuous wavelet coefficient matrix composed of the two is X m*n , the initial iteration vector is x k(0) , the number of continuous wavelet features that need to be extracted is t0.
[0096] (5) First iteration: d = 1. Select any one column vector xj from the differential spectral continuous wavelet coefficient matrix, denoted as xk(0). The set of unselected column vectors is denoted as Q
[0097]
[0098] (6) Calculate the projection vectors of the vectors in Q j
[0099]
[0100] (7) Record the serial number of the maximum projection
[0101] k(d) = arg(max||Px j ||), j ∈ Q
[0102] (8) Use the maximum projection as the projection vector for the next round
[0103] x j = Px j , j ∈ Q
[0104] (5) d = d + 1. If d < t, go back to (2) to continue the projection.
[0105] Furthermore, for the defoliation rate evaluation model, a defoliation rate estimation model is established by using the partial least squares regression (PLSR) and support vector machine regression (SVMR) algorithms, and is compared with the stepwise multiple linear regression (SMLR) model.
[0106] Furthermore, the PLSR is a multivariate linear data statistical analysis method, aiming to solve the situation where there are many (possibly related) predictor variables and relatively few samples. In modeling, it seeks certain linear combinations of components with the greatest degree of correlation from the independent variable space and the dependent variable space, in order to better explain the variation information of the dependent variable, which is equivalent to the combination of ordinary linear regression, principal component analysis, and canonical correlation analysis.
[0107] Furthermore, the SVMR is a pattern recognition method based on statistical learning theory. By using the VC-dimension and the principle of minimum structural risk of statistical learning theory, a support vector machine is established. It can reduce the complexity of the approximation function while ensuring the data approximation accuracy, and has particular advantages in dealing with finite samples and nonlinear problems. This model uses the radial basis function (RBF) as the kernel function, which can reflect the similarity between data points and the cost loss function (regularization parameter). In addition, considering the influence of the regularization term parameter C and the kernel parameter g on the model performance, we use cross-validation to determine the optimal parameters C and g to ensure the performance of the SVMR model.
[0108] Further, for the verification of the model accuracy, the coefficient of determination (R 2 ) and the root mean square error RMSE are used as the basic indicators for evaluating the accuracy of the training model (denoted as and RMSE C ) and the verification model (denoted as and RMSE).
[0109] As Figure 2 shown, it is the accuracy comparison of different models in the method example of estimating the defoliation rate of larch damaged by coniferous pests in the present invention. As Figure 3 shown, it is the comparison of the 1:1 linear fitting effects of different models in the method example of estimating the defoliation rate of larch damaged by coniferous pests in the present invention.
[0110] From the spectral and defoliation rate data of 66 sample trees, the data of 46 sample trees in the training area are selected as the modeling data, and the data of 20 sample trees in the verification area are used as the accuracy verification data. Through the MATLAB software platform, the PLSR and SVMR defoliation rate estimation models are respectively constructed by using DSR and DSR-CWC of 36 mother wavelet bases of 4 wavelet systems, and the estimation accuracy is compared with the SMLR model. The results show that:
[0111] Among different models based on DSR-CWC of 14 mother wavelet bases of the Biorthogonal wavelet system, the PLSR (hior2.4-PLSR) model using bior2.4 has the best estimation accuracy (RM = 0.9332, RMSEM = 0.0885). Compared with SMLR, its RM increases by 0.0773 and RMSEM decreases by 0.0391. Among different models based on DSR-C WC of 5 mother wavelet bases of the Coiflets wavelet system, the SVMR <coif2-SVMR) model using coif2 has the best estimation accuracy Compared with SMI_R, its RM increases by 0.0655 and RMSE M decreases by 0.0226. Among different models based on DSR-CWC of 10 mother wavelet bases of the Dauhechies wavelet system, the PLSR (dhl-PLSR) model using dhl has the best estimation accuracy Compared with SMLR, its RM increases by 0.0092 and RMSE M decreases by 0.0156. Among different models based on DSR-CWC of 7 mother wavelet bases of the Symlets wavelet system, the PLSR (sym6-PI_SR) model using sym6 has the best estimation accuracy Compared with SMLR, its RM increases by 0.0618 and RMSE MDecreased by 0.0275.
[0112] In the PLSR and SVMR models, the estimation accuracy of DSR-C WC is significantly improved compared with that of DSR, as shown in the following: bior2.4-PLSR, coif2-PLSR, dbl-PLSR and sym6-PLSR Compared with DSR-PLSR, the RMSE is improved by 0.0467, 0.0339, 0.047 and 0.0360 respectively. M The bior2.4-SVMR, coif2-SVMR, dbl-SVMR and sym6-SVMR values were decreased by 0.0254, 0.0170, 0.0249 and 0.0181, respectively. Compared with DSR-SVMR, the RMSE is improved by 0.0196, 0.0195, 0.0251 and 0.0096 respectively. M They decreased by 0.0200, 0.0153, 0.0188 and 0.0126 respectively.
[0113] The estimation accuracy of PLSR and SVMR models based on bior2.4, coif2, dbl and sym6 is relatively similar. All of them are greater than 0.91, among which the dbl-PLSR model has the highest accuracy. Among the 36 mother wavelet bases, dbl shows the best estimation effect for the three models of PLSR, SVMR and SMLR, indicating that dbl is the mother wavelet base with the most estimation potential with both accuracy and stability.
[0114] To further reveal the accuracy and stability of the model, a 1:1 straight line fitting analysis was performed between the estimated values and the measured values of the modeling set and validation set constructed by different models using DSR and DSR-CWC. Figure 3 It is known that compared with DSR, most of the data points of the modeling set and validation set of PLSR and SVMR of DSR-CWC based on bior2.4, coif2, dbl and sym6 are distributed within the range of 1:0.5 and 1:1.5 straight lines and are evenly distributed on both sides of the 1:1 straight line, indicating that the two models established by DSR-CWC have good fitting effects and high estimation accuracy. For DSR-CWC, compared with SMLR, PLSR and SVMR have good fitting effects in the modeling set and validation set data points in bior2.4, coif2, dbl and sym6, respectively, while the validation set data points of SMLR are more discrete, indicating that the PLSR and SVMR models constructed by DSR-CWC are more stable and accurate than the SMLR model.
[0115] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.
[0116] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.
Claims
1. A method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum, characterized in that: The steps of the method include: Step 1: Data acquisition and encryption: Use a hyperspectral instrument to collect spectral data of the larch area and collect data related to leaf loss rate, and use RSA asymmetric encryption technology to encrypt the collected hyperspectral data and leaf loss rate data; Step 2: Preprocessing of spectral data: using anomaly detection models based on machine learning to automatically identify and remove abnormal spectra, smoothing them using ViewSpecPro software, taking first-order derivatives to obtain differential spectral reflectance, and using multi-scale differential technology to extract more detailed spectral features; Step 3: Model establishment and verification: Use continuous wavelet transform and sensitive continuous wavelet feature extraction technology to process differential spectral data, combine partial least squares regression and support vector machine regression algorithms, and use deep neural networks to build a leaf loss rate estimation model; pre-train on historical data sets, and perform accuracy verification and model fine-tuning in actual application scenarios; Step 4: Build a real-time data processing framework based on cloud computing and edge computing to quickly process and analyze newly acquired spectral data; Step 5: Develop a graphical user interface that provides data visualization tools and interactive exploration capabilities, allowing users to intuitively view data and analysis results.
2. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum according to claim 1, characterized in that: The method for encrypting data: Acquire hyperspectral data and leaf loss rate data streams; segment the hyperspectral data and leaf loss rate data streams to acquire a field sequence; wherein the field sequence includes N fields; Acquire a preset interval field; wherein the preset interval field is set to be multiple, and the multiple preset interval fields include a first preset interval field and a second preset interval field; insert the first preset interval field into the field sequence according to a first specified position, and insert the second preset interval field into the field sequence according to a second specified position to generate a first encrypted field sequence; and generate encrypted hyperspectral data and leaf loss rate data streams according to the first encrypted field sequence; The obtaining of the preset interval field comprises: obtaining a first random number, and setting the number of bytes of the first preset interval field according to the first random number; obtaining a second random number, and setting the number of bytes of the second preset interval field according to the second random number; obtaining a current timestamp field, and calculating the current bit value of each byte of the preset interval field according to the current timestamp field; wherein the current bit value of each byte of the preset interval field is the current bit value of each byte of the first preset interval field or the current bit value of each byte of the second preset interval field; generating the first preset interval field according to the number of bytes of the first preset interval field and the current bit value of each byte thereof; generating the second preset interval field according to the number of bytes of the second preset interval field and the current bit value of each byte thereof; and obtaining the preset interval field according to the first preset interval field and the second preset interval field; The establishment and verification of the model involve continuous wavelet transform, extraction of sensitive continuous wavelet features, leaf loss rate estimation model, and model accuracy verification steps; generally, a leaf loss rate estimation model is constructed through differential spectral continuous wavelet coefficients, using partial least squares regression and support vector machine regression algorithms to reveal the potential of hyperspectral for leaf loss rate estimation.
3. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum according to claim 1, characterized in that: The abnormal spectrum rejection is carried out by using an anomaly detection model based on machine learning: Taking the hyperspectral data as input, relevant features are extracted from the hyperspectral data, which can include various statistics of wavelengths, spectral indices, and shape features of spectral curves; Selecting an anomaly detection model suitable for hyperspectral data, including isolation forest, principal component analysis, combined outlier detection, and autoencoder; Training the model with hyperspectral data labeled as normal. In a supervised scenario, labeled abnormal and normal samples are used; in an unsupervised scenario, it depends on the internal structure and distribution of the data; Applying the trained model to a new or unseen hyperspectral dataset, and the model will identify those spectra that are significantly different from the normal spectral data and label them as abnormal spectra.
4. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum as claimed in claim 1, characterized in that: For the described continuous wavelet transform, on the basis of spectral preprocessing, continuous wavelets are used to transform the differential spectral reflectance of forest canopies with different degrees of leaf loss to obtain differential spectral continuous wavelet coefficients (denoted as DSR-CWC), and the continuous wavelet transform processing is completed using MATLAB2016b software.
5. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum according to claim 1, characterized in that: For the described extraction of sensitive continuous wavelet features, the bands corresponding to the determination coefficient Rz value of the leaf loss rate and DSR-CWC greater than 0.64 are set as sensitive bands. The Findpeaks (Fp) function of MATI_AB software is used to automatically find the R2 peak value and determine the sensitive bands, and then the wavelet coefficients at 10 scales are extracted respectively through the sensitive band positions; [P, L]=Findpeaks(x,'minpeakheight', h,'minpeakdistance', d) (2) In the formula, x is the determination coefficient R 2 and bands, P is R 2 Peak value, L is R 2 The band position corresponding to the peak value, h is R 2 The minimum height of the peak, d is the adjacent R 2 The minimum number of band intervals between peaks (set to 10nm); on this basis, the continuous projection algorithm (SPA) is used to reduce the dimension of the wavelet coefficients at each scale and determine the sensitive continuous wavelet features.
6. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum as claimed in claim 5, characterized in that: The steps implemented by the described SPA are as follows: The number of modeling sample trees and the number of sensitive band wavelengths are m and n respectively, then the differential spectrum continuous wavelet coefficient matrix composed of the two is X m*n , the initial iteration vector is x k(0) , the number of continuous wavelet features that need to be extracted is t0; First iteration: d = 1, select a column vector x from the differential spectrum continuous wavelet coefficient matrix j , denoted by x k(0) , The set of non-selected column vectors is denoted as Q Calculate x j Projection vector of the vector in Q Recording the serial number of the maximum projection k(d)=arg(max||Px j ||),j∈Q The maximum projection is used as the projection vector for the next round x j =Px j ,j∈Q d = d + 1. If d < t, go back to (2) to continue the projection.
7. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum as claimed in claim 1, characterized in that: For the described leaf loss rate evaluation model, a leaf loss rate estimation model is established using partial least squares regression (PLSR) and support vector machine regression (SVMR) algorithms, and a comparison is made with the stepwise multiple linear regression (SMLR) model.
8. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum as claimed in claim 1, characterized in that: The described PLSR is a multivariate linear data statistical analysis method, aiming to solve the situation where there are many (possibly related) predictor variables and relatively few samples; in modeling, it seeks certain linear combinations of components with the greatest degree of correlation in the independent variable space and the dependent variable space to better explain the variation information of the dependent variable, which is equivalent to the combination of ordinary linear regression, principal component analysis, and canonical correlation analysis.
9. The method for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum as claimed in claim 1, characterized in that: The accuracy of the model was verified by using the coefficient of determination (R 2 ) and root mean square error RMSE as the training model (denoted as and RMSE C ) and the validation model (denoted as and RMSE) are the basic indicators for accuracy assessment.
10. A system for estimating the leaf loss rate of larch caused by coniferous insect pests using differential spectrum according to the method of claim 1, characterized in that: Including: Data acquisition and encryption processing module: Equipped with a hyperspectral spectrometer for collecting spectral data and leaf loss rate-related data in the larch area; implementing RSA asymmetric encryption technology for encrypting the collected hyperspectral data and leaf loss rate data; Spectral data preprocessing module: equipped with an anomaly detection model based on machine learning to automatically identify and remove abnormal spectra; integrated with ViewSpecPro software to smooth spectral data; Model building and verification module: Integrate continuous wavelet transform and sensitive continuous wavelet feature extraction technology to process differential spectral data; combine partial least squares regression and support vector machine regression algorithms, as well as deep neural networks, to build a leaf loss rate estimation model; realize the historical data set pre-training function of the model, as well as accuracy verification and model fine-tuning in actual application scenarios; Real-time data processing framework module: Based on cloud computing and edge computing architecture, it can quickly process and analyze newly acquired spectral data; User interface and interaction module: Provides a graphical user interface, including data visualization tools and interactive exploration functions.
Citation Information
Cited By
Spectrum reconstruction-based larch hairy insect attack occurrence degree identification method
CN121545054A
Method for identifying occurrence degree of dendrolimus punctatus walker based on spectral reconstruction
CN121545054B
