Multi-source remote sensing data soil moisture inversion method and system

By designing a three-branch pseudo-twin network and feature enhancement mechanism, combining the land use and surface temperature information of mining area, the problem of surface temperature and land use type factors being ignored in soil moisture inversion of multi-source remote sensing data is solved, and the inversion accuracy and applicability are improved .

CN118887531APending Publication Date: 2024-11-01INNER MONGOLIA RESEARCH INSTITUTE CHINA UNIVERSITY OF MINING AND TECHNOLOGY (BEIJING)
View PDF 0 Cites 10 Cited by

Patent Information

Application Number
CN202410900305.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing soil moisture inversion method of multi-source remote sensing data ignores surface temperature factors, fails to effectively pay attention to the soil structure differences of different land types in the mining area, and fails to deeply explore the high-dimensional and complex nonlinear relationships between the characteristics, resulting in inversion accuracy insufficient.

Method used

A three-branch pseudo-twin network was designed, and features were extracted based on ResNet50, and feature screening was performed through a shrinking autoencoder. Convolutional attention and multi-head cross attention mechanism were used for feature enhancement, and soil moisture inversion was performed in combination with mining area land and surface temperature information. play.

Benefits of technology

It improves the accuracy and spatial resolution of soil moisture inversion, reduces uncertainty, enhances the applicability of the method, and can more accurately evaluate the distribution and change trends of soil moisture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887531A_ABST
    Figure CN118887531A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-source remote sensing data soil moisture inversion method and system, and the method comprises the steps: obtaining multiple remote sensing data, carrying out the preprocessing, extracting soil moisture related features from different data sources, constructing a data set, carrying out the feature extraction and coding through a pseudo-twin network structure, and obtaining a data set; and enhancing feature expression by adopting convolution and cross attention mechanisms, training and verifying the model by using the marked data set, performing soil moisture inversion by applying the trained model, and outputting a soil moisture inversion result. The method has the advantages that the inversion precision is improved, the spatial resolution is enhanced, the uncertainty is reduced, the applicability is improved, and support is provided for resource management and environmental protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of remote sensing data processing, deep learning, and soil moisture inversion in mining areas, and in particular to a soil moisture inversion method and system for multi-source remote sensing data guided by multi-level mining land and surface temperature. Background Art

[0002] Soil moisture is an important indicator to characterize soil conditions, and has important research significance and application value in agriculture, hydrology, meteorology, ecology and other fields. Accurately obtaining soil moisture plays a vital role in understanding the dynamic changes of soil moisture, guiding agricultural irrigation, predicting drought and flood disasters, and evaluating the quality of the ecological environment. As a typical area with severe human interference, the soil environment in the mining area is seriously affected by mining activities. The surface subsidence and cracks caused by mining lead to serious loss of surface soil moisture, which directly affects the ecological restoration, geological stability and safe production of the mining area. Therefore, it is of great significance to study the soil moisture content in the mining area scenario. On the one hand, monitoring the time series dynamic changes of soil moisture in the mining area can evaluate the impact of mining activities on the ecological environment of the mining area and provide a basis for ecological restoration of the mining area; on the other hand, obtaining soil moisture information in the mining area can provide important data support for geological disaster warning and safe production in the mining area.

[0003] Remote sensing technology has the advantages of large-scale, fast and dynamic monitoring, and provides a new way to obtain soil moisture. Optical remote sensing can achieve soil moisture inversion with high temporal and spatial resolution, that is, the relationship between surface parameters and soil moisture is established by using the spectral reflectance and radiation characteristics of soil in the visible light, near infrared and thermal infrared bands to achieve soil moisture inversion. However, optical remote sensing is affected by seasons, weather, and low penetration, and its ability to monitor soil moisture is limited. Synthetic aperture radar (SAR) is widely used in soil moisture research due to its all-weather, all-day, high penetration and the sensitivity of soil dielectric properties to radar backscatter coefficient. However, the radar backscatter coefficient is mainly affected by factors such as soil dielectric constant, surface roughness, and vegetation coverage. Therefore, in order to improve the accuracy of soil moisture inversion and reduce the limitations of various methods themselves, multi-source remote sensing collaborative inversion has gradually been studied. Existing research includes two types of methods to achieve joint inversion of multi-source remote sensing. One is to establish a physical model, but the interaction mechanism between vegetation, soil and electromagnetic waves is complex, and it is challenging to accurately establish a model with strong applicability; the other is to use machine learning to maximize the use of features with different meanings for inversion. Among them, deep learning can fully explore complex nonlinear mapping relationships. However, the existing application of deep learning to invert soil moisture from multi-source remote sensing data has the following problems: (1) The existing multi-source remote sensing inversion of soil moisture ignores the surface temperature factor. There is a strong correlation between soil moisture and surface temperature. High evaporation caused by high surface temperature corresponds to low soil moisture; (2) There are many types of land use in mining areas, and the soil structures of different types vary greatly. Existing deep learning methods do not pay attention to the characteristics of soil moisture in various types of land use; (3) Multi-source remote sensing data produces rich features, but feature screening based on correlation cannot deeply explore the high-dimensional and complex nonlinear relationships between features; (4) Existing research does not take into account the characteristics of features at different levels when fusion data, and often only uses the same method to enhance features.

[0004] In response to these problems, this study proposed a multi-level guided network of mining land and surface temperature to realize soil moisture inversion from multi-source remote sensing data. A three-branch pseudo-twin network was designed, feature extraction was realized based on ResNet50, and feature screening of different tasks was realized by using contraction autoencoder. A multi-level progressive feature enhancement method was proposed. The shallow features extracted in the process of mining land classification and surface temperature inversion guided the features of soil moisture inversion through the convolutional attention enhancement module, and the deep features were guided by the multi-head cross attention mechanism, and finally the soil moisture inversion was realized to improve the inversion accuracy. Summary of the invention

[0005] In view of the defects of the prior art, the present invention provides a method and system for soil moisture inversion from multi-source remote sensing data. A three-branch pseudo-twin network is designed, feature extraction is realized based on ResNet50, and feature screening of different tasks is realized by using a contraction autoencoder. A multi-level progressive feature enhancement method is proposed. The shallow features extracted in the process of mining land classification and surface temperature inversion guide the features of soil moisture inversion through the convolutional attention enhancement module, and the deep features are guided by the multi-head cross attention mechanism, and finally the soil moisture inversion is realized, thereby improving the inversion accuracy.

[0006] In order to achieve the above invention object, the technical solution adopted by the present invention is as follows:

[0007] A soil moisture inversion method based on multi-source remote sensing data includes the following steps:

[0008] A. Preprocessing multi-source data and constructing a multi-source feature dataset includes the following sub-steps:

[0009] A1. Acquisition of multi-source image data, including: Sentinel-1 data, Sentinel-2 data, LandSat8 data and DEM data;

[0010] A2. Preprocess the data of A1;

[0011] A3. Image feature extraction, including:

[0012] Extract SAR features, including: extracting backscatter coefficients for incident angle, VV, and VH polarizations, calculating scattering coefficient combinations (VV+VH), (VH-VV), (VV×VH), and (VH / VV), as well as cos(θ) and sin(θ) for the incident angle;

[0013] Extract spectral features, extract 10 spectral bands from Sentinel-2 images, and calculate the spectral and texture features of NDVI, EVI, NDWI, and LSWI.

[0014] A4. Construct a feature set and calculate feature images based on Sentinel-1, Sentinel-2, LandSat8 and DEM data.

[0015] A5. Obtain labels and reference data;

[0016] The labels are divided into six categories for marking samples: forest and grassland, water area, construction land, bare land, mining area and restoration and management area.

[0017] The reference data are: soil moisture and surface temperature;

[0018] B. Feature encoding and selection based on pseudo-twin network, including the following sub-steps:

[0019] B1. Network infrastructure design:

[0020] Network infrastructure: It includes a mining land classification subnetwork, a surface temperature inversion subnetwork, and a soil moisture inversion subnetwork. Pseudo-twin ResNet50 is used as the backbone network, and the three branch tasks do not share parameters.

[0021] B2. Feature extraction: ResNet50 is used to extract features from the input feature image blocks, and a contraction autoencoder is inserted in stage 2 for feature selection.

[0022] B3. Dimensionality reduction and optimization of contraction autoencoder:

[0023] Encode and decode high-dimensional input features through contractive autoencoders.

[0024] C. Multi-level guided feature enhancement, including the following sub-steps:

[0025] C1. Convolutional attention mechanism enhancement of shallow features:

[0026] Channel attention mechanism: It includes the parallel application of global maximum pooling and global average pooling functions. The result is two feature matrices generated by the multi-layer perceptron (MLP) layer. After adding these matrices, the channel attention weights are calculated by the Sigmoid function, and then multiplied with the input feature image to achieve channel attention enhancement.

[0027] Spatial attention mechanism: Apply global maximum pooling and global average pooling functions to the input feature image to obtain two feature images. They are connected in series and then calculated by convolution and sigmoid function to obtain the spatial attention weight of each pixel, which is then multiplied with the input feature image to achieve spatial attention enhancement.

[0028] C2. Multi-head cross-attention enhancement of deep features:

[0029] A multi-head attention mechanism is used to learn the relationship between features in deep features and extract a more comprehensive and global soil moisture feature representation.

[0030] Map the features to different subspaces Query, Key, and Value, perform scaled dot product attention operations, and finally fuse the outputs.

[0031] C3. Estimation results of the fully connected layer output:

[0032] Construct the estimation result of the fully connected layer output network and map the features to the final output space.

[0033] Each feature element is used as input, and the final output result is obtained through a full connection operation.

[0034] D. Use the data set to train the network model, including the following sub-steps:

[0035] The network is trained using the training set, and the accuracy of the model after each iteration is tested on the validation set. The berHu function is used to calculate the global estimation error. The mining land classification network uses the cross entropy loss function and sets the number of iterative training times.

[0036] E. Apply the trained multi-scale network model to perform soil moisture inversion, including:

[0037] Input test data set: Input the test data set into the trained network model to obtain the inversion result.

[0038] Accuracy evaluation: The inversion results were evaluated using the coefficient of determination, root mean square error, and mean absolute error.

[0039] Furthermore, in A2, the preprocessing of multi-source image data

[0040] Sentinel-1 data: orbit correction, radiometric correction, multi-look processing, speckle filtering, terrain correction.

[0041] Sentinel-2 data: cloud removal, radiation correction, atmospheric correction, resampling and grid alignment.

[0042] LandSat8 data: radiometric correction, resampling and grid alignment.

[0043] DEM data: terrain correction, resampling and grid alignment.

[0044] Furthermore, in step C, the expressions of the channel attention mechanism and the spatial attention mechanism are:

[0045] M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F)))

[0046] M s (F)=σ(Conv(Cat(AvgPool(F),MaxPool(F))))

[0047] Among them, M c (·) is the channel attention mechanism, σ is the Sigmoid activation function, F is the input feature, AvgPool(·) is the average pooling function, MaxPool(·) is the maximum pooling function, M s (·) is the spatial attention mechanism, Cat(·) is the concatenation operation, and Cat(·) is the convolution operation.

[0048] Furthermore, in step C, the formula for scaling the dot product attention operation is as follows:

[0049]

[0050] Where Q L K is the mining area land use and surface temperature characteristics mapped to the query space. s 、V s is the soil moisture feature mapped to the Key and Value space, d k K s Dimension.

[0051] Furthermore, in step C, the calculation formula of the fully connected layer is as follows:

[0052] f=ω×F E +b

[0053] Among them, ω is the weight of the full connection operation, b is the increment of the full connection operation, F E It is the feature enhanced by the convolutional attention module.

[0054] Furthermore, in each iteration of training in step D, the gradient descent algorithm is used to reduce the model loss value, and the model parameters are optimized and updated through back propagation. The optimized parameters include the weights of the contracted autoencoder and the convolution kernel in the convolution process, ensuring that the network can learn effective feature representations of the data.

[0055] Furthermore, in step D, the berHu function is used to calculate the global estimation error, and the formula is as follows:

[0056]

[0057] Where s represents the measured value; represents the inversion results; c is 20% of the maximum error of each batch.

[0058] Furthermore, in step D, the mining land classification network adopts the cross entropy loss function, and the formula is as follows:

[0059]

[0060] Where M represents the number of columns; y ic represents the sign function, which takes 1 if the true category of sample i is equal to c, otherwise it takes 0; p ic Represents the probability that sample i belongs to category c.

[0061] The present invention also discloses a multi-source remote sensing data soil moisture inversion system, which can be used to implement the multi-source remote sensing data soil moisture inversion method mentioned above, specifically comprising:

[0062] Data preprocessing and feature extraction module: responsible for acquiring and preprocessing multi-source remote sensing data, and then extracting image features from it, including SAR features and spectral features.

[0063] Feature encoding and selection module: Design the basic structure of the pseudo-twin network, use ResNet50 for feature extraction, and perform feature selection and dimensionality reduction through shrinkage autoencoder to optimize and extract the most relevant features.

[0064] Feature enhancement module: Enhances the extracted features, including convolutional attention mechanism enhancement and multi-head cross attention enhancement for shallow and deep features, to improve the feature representation ability and classification performance.

[0065] Model training module: Use the training set to train the network, use the validation set to evaluate the performance of the model, and use the corresponding loss function for optimization to obtain an efficient soil moisture inversion model.

[0066] Soil moisture inversion module: Use the trained multi-scale network model to invert soil moisture for the test data set and evaluate the accuracy of the inversion results, including indicators such as determination coefficient, root mean square error, and mean absolute error. Output the results of soil moisture inversion, including generating images or maps of soil moisture inversion, and provide evaluation indicators.

[0067] The present invention also discloses a computer device, including a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the multi-source remote sensing data soil moisture inversion method is implemented.

[0068] The present invention also discloses a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the multi-source remote sensing data soil moisture inversion method is implemented.

[0069] Compared with the prior art, the advantages of the present invention are:

[0070] 1. Improve inversion accuracy: By comprehensively utilizing multi-source remote sensing data, including microwave data, multispectral data, thermal infrared data, and terrain data, the information required for soil moisture inversion can be obtained more comprehensively, thereby improving the precision and accuracy of the inversion results.

[0071] 2. Enhanced spatial resolution: Combining remote sensing data of different resolutions can depict the characteristics of the land surface in more detail in space, help identify and distinguish different land types and their moisture content, and thus improve the spatial resolution of soil moisture inversion.

[0072] 3. Reduce uncertainty: Using multi-source data for inversion can reduce the uncertainty caused by the limitations of a single data source, enhance the reliability of the inversion results, and help to more accurately assess the spatial distribution and changing trends of soil moisture.

[0073] 4. Improve applicability: The multi-source data inversion method has strong applicability and is not limited by a single data source or sensor. It is suitable for soil moisture monitoring and inversion needs in different regions, different land cover types and different periods.

[0074] 5. Provide support for resource management and environmental protection: Soil moisture is one of the important indicators of ecosystem health and land resource utilization management. Accurate inversion of soil moisture can provide scientific basis and technical support for resource management, environmental protection and agricultural production, and help achieve sustainable development goals. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 It is a technical roadmap of a method for inverting soil moisture from multi-source remote sensing data according to an embodiment of the present invention;

[0076] Figure 2 2 is a schematic diagram of the structure of a contraction autoencoder model according to an embodiment of the present invention;

[0077] Figure 3 is a structural diagram of a channel attention module according to an embodiment of the present invention;

[0078] Figure 4 is a schematic diagram of a spatial attention module according to an embodiment of the present invention;

[0079] Figure 5 This is a function diagram of the convolutional attention enhancement module according to an embodiment of the present invention.

[0080] Figure 6 It is a diagram showing the function of the multi-head cross attention mechanism according to an embodiment of the present invention. DETAILED DESCRIPTION

[0081] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and examples.

[0082] The present invention provides a soil moisture inversion method for multi-source remote sensing data, comprising the following steps:

[0083] A. Preprocess multi-source data and construct multi-source feature datasets:

[0084] A1. Acquisition of multi-source image data: For Sentinel-1 data, the present invention uses dual-polarization data in the Single Look Complex (SLC) format and Ground Range Detected (GRD) format in IW mode. For Sentinel-2 data, 10 bands of data with L2A resolutions of 10m and 20m after atmospheric correction are used. For LandSat8 data, two bands of TIRS data with a resolution of 100m are used. NASA DEM with a resolution of 30m is selected as the terrain data. Sentinel data are all downloaded from the ESA Sentinel Science Data Center, and LandSat8 data are downloaded from the United States Geological Survey website, and data from different sources are all selected at the same or similar acquisition time. Terrain data are downloaded from NASA EARTH DATA.

[0085] A2. Preprocessing of multi-source image data: Sentinel-1 data uses SNAP software to process SAR images. GRD data is preprocessed through orbit correction, radiation correction, multi-view processing, speckle filtering using Refined Lee filter, and terrain correction. For SLC products, the preprocessing steps are the same as GRD operations, except that the filtering operation is changed to polarization filtering. Sentinel-2 images are declouded using the QA60 band, and cloud-free images with similar dates are selected for filling. TIRS10 of Landsat8 images is radiometrically corrected. DEM data is terrain corrected. All data are then resampled to 100m resolution and grid aligned. The resampling operation effectively reduces the random noise and speckle noise of backscattering, and weakens the impact of the structure and roughness of the ground objects on the scattering signal. Finally, the study area is extracted.

[0086] A3. Image feature calculation: Soil moisture and surface coverage will affect the reflection and absorption of microwave information, and will also affect the reflectivity of different spectra. Therefore, effective features for soil moisture inversion and land use classification can be extracted by calculating SAR features and spectral features. The scattering information of backscatter coefficients is the main basis for SSM inversion by active microwave remote sensing. For SAR data, the backscatter coefficients of incident angle (θ), VV and VH polarization are first extracted from the preprocessed data, and the backscatter coefficient combinations (VV+VH), (VH-VV), (VV×VH) and (VH / VV) as well as the incident angle exponents cos(θ) and sin(θ) are calculated. Secondly, since the polarization scattering characteristics of SAR images can reflect the texture, roughness and geometry of the ground objects, it is helpful to understand and describe the scattering mechanism of the ground objects. Therefore, the H / A / α decomposition method of the coherence matrix eigenvector is applied to the dual-polarization Sentinel-1 data to decompose the eigenvalues ​​of the covariance matrix of the target features, from which the scattering entropy (H), inverse entropy (A), scattering angle (α) and eigenvalue (λ) are obtained. 1 ,λ 2 ). Then, the combined roughness Zs is calculated using polarization and incident angle based on the relationship between surface roughness and cross-polarized backscatter coefficient. For LandSat8, bands 10 and 11 are used, which are TIRS-1 and TIRS-2, respectively. Ten spectral bands (Blue; Green; Red; NIR; Red Edge1–4; SWIR1-2;), nine spectral features, three tasseled cap index features and five texture indices were extracted from Sentinel-2 multispectral remote sensing images, including Normalized Difference Vegetation Index (NDVI), Enhanced Vegetation Index (EVI), Normalized Difference Water Index (NDWI), Land Surface Water Index (LSWI), Normalized Difference Built-Up Index (NDBI), Ratio Resident-area Index (RRI), Normalized Difference Rock Index (NDRI), brightness index, greenness index and wetness index, angular second moment (Asm), entropy (Ent), contrast (Contrast), inverse difference moment (Idm) and correlation (Corr). The slope, aspect and curvature were calculated based on DEM data.

[0087] A4. Construct feature sets: 15 feature images are calculated based on Sentinel-1 images; 27 feature images are calculated based on Sentinel-2 images; 2 feature images are calculated based on LandSat8 images; 4 terrain feature images are calculated based on DEM data, for a total of 48 feature images.

[0088] A5. Obtain labels and reference data: For soil moisture and surface temperature, part of the reference data comes from the soil moisture station and temperature station in the automatic weather station. When the reference data is insufficient, measuring instruments can be used for field supplementary measurements. For the classification of mining land, high-resolution Google Earth images are used as reference to label samples of six categories: forest and grassland, water area, construction land, bare land, mining area, and restoration and management area. All sample data are divided into training set and test set according to 7:3.

[0089] B. Feature encoding and selection based on pseudo-twin network: The specific steps include:

[0090] B1. The basic structure of the network includes three branches, namely, the mining area land classification sub-network, the surface temperature inversion sub-network and the soil moisture inversion sub-network. The network structure is as follows: Figure 1 As shown in the figure. The three networks use pseudo-twin ResNet50 as the basic structure of the backbone network for feature encoding. The three branch tasks do not share parameters, and a contraction autoencoder is introduced in the feature extraction process to achieve feature selection for different tasks. The three branches are connected by a convolutional attention enhancement module at the shallow layer and a multi-head cross attention mechanism at the deep layer. The soil moisture characteristics are enhanced using mining land and surface temperature. Finally, the inversion of soil moisture, the inversion of surface temperature and the classification of mining land are achieved through the fully connected layer.

[0091] B2. Feature extraction based on pseudo-twin ResNet50 network. The spatial variation of soil moisture is often continuous. In order to focus on the information of the inversion and classification pixel neighborhood, the sample point pixel of the reference data is taken as the center, and the surrounding 5×5 image blocks are taken. The input of the model is a 5×5×48 feature image block. The feature set calculated using multi-source data contains information of different subtasks. ResNet50 is introduced as the backbone network for feature extraction to ensure that the deepening of the number of network layers will not affect the decline in network performance. ResNet has models of different depths. Compared with the shallow architecture model, ResNet50 has better feature extraction effect. Compared with the deeper network model, ResNet50 has fewer parameters and higher efficiency. The pseudo-twin ResNet50 network model used in the present invention is divided into 5 stages, with a total of 50 convolutional layers. The input feature image block is first convolved, regularized, activated, and max pooled in the first stage, and position encoding is added to retain the order information. After the next four stages, features of different depths are further extracted through convolution operations, activation functions and jump connections. Stages 2-5 contain 3, 4, 6 and 3 residual modules respectively, and each residual module consists of 3 cascaded convolution layers. After stage 2 processing, a contraction autoencoder is inserted to achieve feature selection for different task branches. Stages 3-5 perform further feature encoding, and embed a multi-scale feature enhancement module in it to progressively fuse the features of the three branches.

[0092] B3. Dimension reduction and optimization of three-branch network features are achieved through shrinkage autoencoder. The structure of the shrinkage autoencoder used is as follows: Figure 2 As shown, compared with the ordinary autoencoder, by adding the penalty term L contractive To reduce the model's over-sensitivity to the input, thereby improving its robustness to input disturbances. The encoder encodes high-dimensional input features into low-dimensional latent variables by reducing the number of neurons layer by layer, so that the model learns the most informative features for the corresponding task and represents the data with low-dimensional variables. The decoder increases the number of neurons layer by layer based on the abstract representation of the data, restores the latent variables of the hidden layer, and reconstructs the features. The features filtered by the shrinking autoencoder will be further encoded by the pseudo-twin ResNet50 network. Finally, feature extraction for mining land, surface temperature and soil moisture is achieved. The principle formula of the shrinking autoencoder and the formula for the added penalty term are as follows:

[0093] X′=f(g(X)) (1)

[0094] Where g(·) represents the encoding process and f(·) represents the decoding process.

[0095]

[0096] where λ is a hyperparameter controlling the weight, ‖·‖ F represents the Frobenius norm.

[0097] C. Multi-level guided feature enhancement: The specific steps include:

[0098] C1. Convolutional attention mechanism enhancement of shallow features: The sub-networks of mining land classification and surface temperature inversion realize feature selection and extraction through the pseudo-twin network. The features of the two sub-networks act on the features of the soil moisture inversion sub-network through the convolutional attention enhancement module at the shallow level of the network, helping the model to focus on the role of mining land and surface temperature. Shallow features contain a lot of local detail information, and the convolutional attention enhancement module is better at capturing local features. The convolutional attention module consists of two parts, namely the channel attention mechanism and the spatial attention mechanism. The structure of the channel attention mechanism sub-module is as follows: Figure 3 As shown in the figure, the feature image first passes through the parallel global maximum pooling function and the global average pooling function, and then passes through the MLP layer to obtain two feature matrices. The two feature matrices are then added and the channel attention weight is calculated through the Sigmoid function. Finally, the weight is multiplied by the feature image to enhance the channel attention mechanism. The structure of the spatial attention mechanism submodule is as follows Figure 4 As shown in the figure, the feature image first passes through the global maximum pooling function and the global average pooling function to obtain two feature images, and then through concatenation, convolution and sigmoid function calculation, the spatial attention weight of each pixel is finally obtained, which is multiplied with the input feature image to enhance the spatial attention mechanism. The soil moisture feature image extracted by feature encoding is subjected to the action of two attention mechanisms of the other two sub-networks, a total of 4 convolution operations, to achieve attention to land use and surface temperature. The action process is shown in the figure. Figure 5 shown.

[0099] The expressions of channel attention mechanism and spatial attention mechanism are:

[0100] M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F))) (3)

[0101] M s (F)=σ(Conv(Cat(AvgPool(F),MaxPool(F)))) (4)

[0102] Among them, M c (·) is the channel attention mechanism, σ is the Sigmoid activation function, F is the input feature, AvgPool(·) is the average pooling function, MaxPool(·) is the maximum pooling function, M s(·) is the spatial attention mechanism, Cat(·) is the concatenation operation, and Cat(·) is the convolution operation.

[0103] C2. Multi-head cross-attention enhancement of deep features: Deep features have higher-level semantic information and global context, and the multi-head cross-attention mechanism can make good use of these features. The specific working process is as follows Figure 6 The multi-head attention mechanism constructed by the present invention enables the network to learn the relationship between features from two subspaces and representations. For the land use head, the soil moisture feature X S ∈R d,B , after the projection matrix is ​​applied, the features are mapped to the Key and Value spaces, K S =W k ×X S ,V S =W V ×X S ; Land use characteristics X L ∈R d,C , mapped to the Query space through the projection matrix, Q L =W q ×X L . A similar operation is performed for the surface temperature head to map the surface temperature feature to the query space. A scaled dot product attention operation is performed for each head. Finally, the outputs of all heads are concatenated together and then fused through a linear layer to obtain the final attention output vector. For example, when the mining land feature has 1 channel, the soil moisture feature has 20 bands, and the embedding dimension is 256, Q L and K S The sizes of are 1×256 and 256×20 respectively. Therefore, the size of the final result is 1×20. After applying the softmax function, a normalized 20-dimensional weight vector can be obtained, and the final attention weight is the average of the two heads. Through multi-head cross attention, the network can realize information interaction and fusion between different features in the deep layer, and extract a more comprehensive and global soil moisture feature representation. The formula for the scaled dot product attention operation is as follows:

[0104]

[0105] Where Q L K is the mining area land use and surface temperature characteristics mapped to the query space. s 、V s is the soil moisture feature mapped to the Key and Value space, d k K s Dimension.

[0106] C3. Finally, the constructed fully connected layer outputs the estimated result f of the network, whose size is (1, 1). E Each feature element of is taken as input, and the learned distributed feature representation is mapped to the final space as output. The definition of the fully connected layer calculation process is as follows:

[0107] f=ω×F E +b (6)

[0108] ω is the weight of the fully connected operation, b is the increment of the fully connected operation, F E It is the feature enhanced by the convolutional attention module.

[0109] D. Use the data set to train the network model: The specific steps include:

[0110] D1. Use the training set to train the network, and use the validation set to test the model accuracy after each iteration of training. The present invention uses the berHu function to calculate the global estimation error in the training process of the soil moisture inversion and surface temperature inversion branch networks, and uses the cross entropy loss function in the training process of the mining area land classification network.

[0111] The berHu function is defined as follows:

[0112]

[0113] Where s represents the measured value; represents the inversion results; c is 20% of the maximum error of each batch.

[0114] The cross entropy loss function formula is as follows:

[0115]

[0116] Where M represents the number of columns; y ic represents the sign function, which takes 1 if the true category of sample i is equal to c, otherwise it takes 0; p ic Represents the probability that sample i belongs to category c.

[0117] D2. Set the number of epochs for iterative training and perform multiple iterative training. In each iterative training, the gradient descent algorithm is used to reduce the model loss value, and the back propagation is used to optimize and update the model parameters. The optimized parameters include the weights of the contraction autoencoder and the convolution kernel in the convolution process.

[0118] E. Apply the trained multi-scale network model to invert soil moisture: The specific steps include:

[0119] E1. Input the test data set into the network model trained by the training data set to obtain the soil moisture in the mining area inverted by the model.

[0120] E2. Evaluate the accuracy of the extraction results. Specific evaluation indicators include: determination coefficient (R), root mean square error (RMSE) and mean absolute error (MAE). R is a statistical indicator used to evaluate the degree of model fit. It indicates the proportion of the variability of the dependent variable that can be explained by the model, that is, the degree of fit of the model to the data; RMSE is the sample standard deviation of the residual between the predicted value and the true value. RMSE illustrates the stability of the model prediction results. MAE is the average value of the absolute error between the predicted value and the true value. MAE illustrates the closeness of the model to the true value and reflects the accuracy of the predicted value.

[0121] In another embodiment of the present invention, a multi-source remote sensing data soil moisture inversion system is provided. The system can be used to implement the multi-source remote sensing data soil moisture inversion method described above, specifically comprising:

[0122] Data preprocessing and feature extraction module: responsible for acquiring and preprocessing multi-source remote sensing data, and then extracting image features from it, including SAR features and spectral features.

[0123] Feature encoding and selection module: Design the basic structure of the pseudo-twin network, use ResNet50 for feature extraction, and perform feature selection and dimensionality reduction through shrinkage autoencoder to optimize and extract the most relevant features.

[0124] Feature enhancement module: Enhances the extracted features, including convolutional attention mechanism enhancement and multi-head cross attention enhancement for shallow and deep features, to improve the feature representation ability and classification performance.

[0125] Model training module: Use the training set to train the network, use the validation set to evaluate the performance of the model, and use the corresponding loss function for optimization to obtain an efficient soil moisture inversion model.

[0126] Soil moisture inversion module: Use the trained multi-scale network model to invert soil moisture for the test data set and evaluate the accuracy of the inversion results, including indicators such as determination coefficient, root mean square error, and mean absolute error. Output the results of soil moisture inversion, including generating images or maps of soil moisture inversion, and provide evaluation indicators.

[0127] In another embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the soil moisture inversion method of source remote sensing data.

[0128] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It can be understood that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage.

[0129] One or more instructions stored in a computer-readable storage medium can be loaded and executed by a processor to implement the corresponding steps of the source remote sensing data soil moisture inversion method in the above embodiment; one or more instructions in the computer-readable storage medium are loaded and executed by the processor.

[0130] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0131] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0134] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the implementation methods of the present invention, and should be understood that the protection scope of the present invention is not limited to such special statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A soil moisture inversion method from multi-source remote sensing data. It is characterized in that The following steps are involved: A. Preprocessing multi-source data and constructing a multi-source feature dataset includes the following sub-steps: A1. Acquisition of multi-source image data, including: Sentinel-1 data, Sentinel-2 data, LandSat8 data and DEM data; A2. Preprocess the data of A1; A3. Image feature extraction, including: Extract SAR features, including: extracting backscatter coefficients for incident angle, VV, and VH polarizations, calculating scattering coefficient combinations (VV+VH), (VH-VV), (VV×VH), and (VH / VV), as well as cos(θ) and sin(θ) for the incident angle; Extract spectral features, extract 10 spectral bands from Sentinel-2 images, and calculate the spectral and texture features of NDVI, EVI, NDWI, and LSWI; A4. Construct a feature set and calculate feature images based on Sentinel-1, Sentinel-2, LandSat8 and DEM data; A5. Obtain labels and reference data; The labels are divided into six categories: forest and grassland, water area, construction land, bare land, mining area and restoration and management area for sample labeling; The reference data are: soil moisture and surface temperature; B. Feature encoding and selection based on pseudo-twin network, including the following sub-steps: B1. Network infrastructure design: Network infrastructure: It includes mining land classification subnetwork, surface temperature inversion subnetwork and soil moisture inversion subnetwork. Pseudo-twin ResNet50 is used as the backbone network. The three branch tasks do not share parameters. B2. Feature extraction: ResNet50 is used to extract features from the input feature image blocks, and a contraction autoencoder is inserted in stage 2 for feature selection; B3. Dimensionality reduction and optimization of contraction autoencoder: Encode and decode high-dimensional input features through shrinking autoencoders; C. Multi-level guided feature enhancement, including the following sub-steps: C1. Convolutional attention mechanism enhancement of shallow features: Channel attention mechanism: includes the parallel application of global maximum pooling and global average pooling functions; the result is to generate two feature matrices through the multi-layer perceptron layer, these matrices are added together and the channel attention weights are calculated through the Sigmoid function, which are then multiplied with the input feature image to achieve channel attention enhancement; Spatial attention mechanism: Apply global maximum pooling and global average pooling functions to the input feature image to obtain two feature images; they are connected in series and then calculated by convolution and sigmoid function to obtain the spatial attention weight of each pixel, which is then multiplied with the input feature image to achieve spatial attention enhancement; C2. Multi-head cross-attention enhancement of deep features: A multi-head attention mechanism is used to learn the relationship between features in deep features and extract a more comprehensive and global soil moisture feature representation; Map features to different subspaces: Query, Key, and Value, perform scaled dot product attention operations, and finally fuse the outputs; C3. Estimation results of the fully connected layer output: Construct the estimation result of the fully connected layer output network and map the features to the final output space; Each feature element is used as input, and the final output result is obtained through full connection operation; D. Use the data set to train the network model, including the following sub-steps: The network is trained using the training set, and the accuracy of the model after each iteration is tested on the validation set. The berHu function is used to calculate the global estimation error. The mining land classification network uses the cross entropy loss function and sets the number of iterative training times. E. Apply the trained multi-scale network model to perform soil moisture inversion, including: Input test data set: Input the test data set into the trained network model to obtain the inversion result; Accuracy evaluation: The inversion results were evaluated using the coefficient of determination, root mean square error, and mean absolute error.

2. The soil moisture inversion method based on multi-source remote sensing data according to claim 1, Features: In A2, preprocessing of multi-source image data Sentinel-1 data: orbit correction, radiation correction, multi-look processing, speckle filtering, terrain correction; Sentinel-2 data: cloud removal, radiation correction, atmospheric correction, resampling and grid alignment; LandSat8 data: radiometric correction, resampling and grid alignment; DEM data: terrain correction, resampling and grid alignment.

3. The soil moisture inversion method based on multi-source remote sensing data according to claim 1, Features: In step C, the expressions of channel attention mechanism and spatial attention mechanism are: M c (F)=σ(MLP(AvgPool(F))+MLP(MaxPool(F))) M s (F)=σ(Conv(Cat(AvgPool(F),MaxPool(F)))) Among them, M c (·) is the channel attention mechanism, σ is the Sigmoid activation function, F is the input feature, AvgPool(·) is the average pooling function, MaxPool(·) is the maximum pooling function, Ms(·) is the spatial attention mechanism, Cat(·) is the concatenation operation, and Cat(·) is the convolution operation.

4. The soil moisture inversion method based on multi-source remote sensing data according to claim 1, Features: In step C, the formula for the scaled dot product attention operation is as follows: Where Q L K is the mining area land use and surface temperature characteristics mapped to the query space. s 、V s is the soil moisture feature mapped to the Key and Value space, d k K s Dimension.

5. The soil moisture inversion method based on multi-source remote sensing data according to claim 1, Features: In step C, the calculation formula of the fully connected layer is as follows: f=ω×F E +b Among them, ω is the weight of the full connection operation, b is the increment of the full connection operation, F E It is the feature enhanced by the convolutional attention module.

6. The soil moisture inversion method based on multi-source remote sensing data according to claim 1, Features: In each iterative training in step D, the gradient descent algorithm is used to reduce the model loss value, and the model parameters are optimized and updated through back propagation; the optimized parameters include the weights of the contracted autoencoder and the convolution kernel in the convolution process, ensuring that the network can learn the effective feature representation of the data.

7. The soil moisture inversion method based on multi-source remote sensing data according to claim 1, Features: In step D, the berHu function is used to calculate the global estimation error, and the formula is as follows: Where s represents the measured value; represents the inversion results; c is 20% of the maximum error of each batch.

8. The soil moisture inversion method based on multi-source remote sensing data according to claim 1, Features: In step D, the mining land classification network uses the cross entropy loss function, and the formula is as follows: Where M represents the number of columns; y ic represents the sign function, which takes 1 if the true category of sample i is equal to c, otherwise it takes 0; p ic Represents the probability that sample i belongs to category c.

9. A soil moisture inversion system based on multi-source remote sensing data. Features: The system can be used to implement the multi-source remote sensing data soil moisture inversion method described in any one of claims 1 to 8, specifically including: Data preprocessing and feature extraction module: responsible for acquiring and preprocessing multi-source remote sensing data, and then extracting image features from it, including SAR features and spectral features; Feature encoding and selection module: Design the basic structure of the pseudo-twin network, use ResNet50 for feature extraction, and perform feature selection and dimensionality reduction through shrinkage autoencoders to optimize and extract the most relevant features; Feature enhancement module: Enhances the extracted features, including convolutional attention mechanism enhancement and multi-head cross attention enhancement for shallow and deep features, to improve the feature representation ability and classification performance; Model training module: Use the training set to train the network, use the validation set to evaluate the performance of the model, and use the corresponding loss function for optimization to obtain an efficient soil moisture inversion model; Soil moisture inversion module: Use the trained multi-scale network model to invert the soil moisture of the test data set and evaluate the accuracy of the inversion results, including indicators such as determination coefficient, root mean square error and mean absolute error; output the results of soil moisture inversion, including generating images or maps of soil moisture inversion, and provide evaluation indicators.

10. A computer-readable storage medium, Features: A computer program is stored thereon, and when the program is executed by a processor, the method for inverting soil moisture from multi-source remote sensing data as described in one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Evaporation simulation method and system based on PINN neural network

    CN119759989A

  • A PINN neural network-based evapotranspiration simulation method and system

    CN119759989B

  • High and cold wetland dynamic monitoring and health evaluation method and system based on multi-source remote sensing

    CN119785235A

  • Method and system for monitoring and health evaluation of alpine wetland based on multi-source remote sensing

    CN119785235B

  • Labeling method and system based on grassland remote sensing data

    CN120411458A