A hyperspectral remote sensing wetland mapping method based on vegetation information perception network
By using a deep model based on a vegetation information sensing network, vegetation feature information in hyperspectral remote sensing images is extracted, which solves the problems of uneven distribution and diverse morphology of wetland features, achieves fine classification of hyperspectral images, and improves classification accuracy.
Patent Information
- Application Number
- CN202410690410.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-05-30
AI Technical Summary
Existing network models and methods struggle to fully utilize vegetation features in wetlands with uneven distribution and diverse morphologies, resulting in insufficient classification accuracy for hyperspectral images.
A hyperspectral remote sensing wetland mapping method based on vegetation information perception network is adopted. By building a deep network model, including a vegetation index fusion module, a vegetation morphology perception attention module, and a vegetation spectral saliency perception module, vegetation feature information in hyperspectral remote sensing images is extracted. Deformable attention mechanism and spatial channel attention module are used for multi-dimensional feature extraction.
It improves the classification accuracy of hyperspectral images, and has important application value, especially in the fine classification of wetland surfaces. It enhances the utilization of vegetation information and improves the accuracy of classification results.
Smart Images

Figure CN118570637B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hyperspectral image classification technology, and in particular to a hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network. Background Technology
[0002] Wetlands play a vital role in Earth's ecosystems, significantly contributing to water resource regulation, biodiversity conservation, and carbon cycling. However, due to the complex types of wetland surface cover and the variable environmental conditions, traditional remote sensing techniques have limitations in wetland monitoring. Hyperspectral remote sensing, by acquiring continuous spectral curves of surface reflectance, can provide richer surface information, thus offering higher accuracy and more comprehensive data for wetland mapping. Utilizing hyperspectral remote sensing technology enables rapid and accurate mapping and monitoring of wetlands, providing crucial support for the protection and management of wetland resources. However, the uneven distribution and diverse morphologies of wetland features are a significant constraint on the development of hyperspectral wetland mapping. Existing network models and methods are mostly based solely on deep learning or physical methods. The uneven distribution and diverse morphologies of wetland features pose challenges to hyperspectral image classification, failing to fully utilize the vegetation characteristics of wetland features and thus affecting the results. Summary of the Invention
[0003] This invention provides a hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network to overcome the above-mentioned technical problems.
[0004] A hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network includes, S1. Select hyperspectral remote sensing wetland images and perform preprocessing to obtain spectral spatial data. S2. Construct a deep network model. This deep network model is used to extract vegetation feature information from different dimensions in hyperspectral remote sensing wetland images. The deep network model includes a vegetation index fusion module, a vegetation morphology perception attention module, a vegetation spectral saliency perception module, a LayerNorm normalization layer, and a BatchNorm normalization layer. The vegetation index fusion module is used to calculate the normalized vegetation index of the spectral spatial data, fuse the spectral spatial data and its normalized vegetation index, and generate a dataset. The vegetation morphology perception attention module is used to perceive the feature information of unevenly growing and morphologically diverse vegetation in the hyperspectral remote sensing wetland image based on deformable convolution. The vegetation spectral saliency perception module is used to perceive the feature information of spectrally specific vegetation in the hyperspectral remote sensing wetland image. S3. Randomly extract a portion of samples from the dataset as the training set and the test set respectively. Train the deep network model based on the training set and test the trained deep network model based on the test set. Construct a confusion matrix based on the test results and calculate the classification results based on the confusion matrix. Select the trained deep network model that meets the threshold based on the classification results and classify the hyperspectral remote sensing image based on the selected trained deep network model.
[0005] Preferably, the vegetation morphology perception attention module includes a first submodule, a second submodule, and a third submodule. The first submodule includes a first deformable convolutional layer, which is used to deform the sampling points of the convolutional kernel, process the hyperspectral remote sensing wetland image based on the deformed sampling points, and extract key image features under different receptive fields. The second submodule includes a query convolutional layer, a key convolutional layer, and a value convolutional layer, which are used to obtain query, key, and value features based on key image features and perform linear combination to obtain new features. The third submodule includes a second deformable convolutional layer, a normalization layer, and a ReLU layer. The second deformable convolutional layer is used to perform feature perception again on the new features, and activate and normalize the perceived features to obtain vegetation features.
[0006] Preferably, the vegetation spectral saliency perception module includes a spatial attention mask established according to formula (1). (1) in, x Indicates input features, Spatial information features are established based on formulas (2) and (3). (2) (3) in, k Indicates the number of spatial information items. h Indicates altitude, Indicates width, O Representing spatial information characteristics, Establish the channel attention mask according to formula (4). (4) in, BN For batch normalization layer, Conv2d It is a 2D convolution operation. AdaptivePool2d It is a 2D adaptive pooling layer. Spectral feature information in hyperspectral remote sensing wetland images is perceived based on spatial attention masking and channel attention masking.
[0007] Preferably, the vegetation index fusion module includes establishing a normalized vegetation index for the spectral spatial data according to formula (5). (5) in, NIR This represents the near-infrared reflectance in a hyperspectral remote sensing image. R Indicates the reflectivity in the red light band. According to formula (6), the spectral spatial data and its normalized vegetation index are fused. (6) in, data Represents the original spectral space data. index This indicates the obtained vegetation index information. Preferably, both the first deformable convolutional layer and the second deformable convolutional layer deform the input feature map according to formula (7). (7) in, y ( P0 ) indicates that the input feature map is at position P0 The value, x Indicates the input feature map, Indicates the position of the convolution kernel Pn The weight, R represents the learned offset, and R represents the set of regular sampling points of the convolution kernel.
[0008] This invention provides a hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network. It utilizes a vegetation information-based hyperspectral classification method to classify hyperspectral remote sensing images. By fusing normalized vegetation indices with the original spectral and spatial data, vegetation information in the spectral and spatial data is increased, avoiding underutilization of vegetation information in the images. Employing a deformable attention mechanism and a spatial channel attention module, vegetation feature information is extracted from the images from multiple dimensions, resulting in better classification accuracy. This method has significant application value in fine-grained land surface classification of hyperspectral images. The use of a vegetation information sensing network for classifying hyperspectral remote sensing images has important theoretical significance. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is a flowchart of the method of the present invention; Figure 2 This is a network structure diagram of the deep network model of this invention; Figure 3 This is the original image of the test dataset in this embodiment of the invention; Figure 4 (a) is a comparison chart of the Vit algorithm results; Figure 4 (b) shows the comparison results of the 2D-CNN algorithm; Figure 4 (c) is a comparison of the 3D-CNN algorithm results; Figure 4 (d) is a comparison result diagram of the SSUN algorithm; Figure 4 (e) is a classification result diagram of the present invention; Figure 5(a) is a feature visualization diagram before training according to the present invention; Figure 5(b) is a visualization of the features after training according to the present invention. Detailed Implementation
[0011] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0012] Figure 1 This is a flowchart of the method of the present invention, as shown below. Figure 1 As shown, the method in this embodiment may include: S1. Select hyperspectral remote sensing wetland images and perform preprocessing to obtain spectral spatial data. S2. Construct a deep network model. This deep network model is used to extract vegetation feature information from different dimensions in hyperspectral remote sensing wetland images. The deep network model includes a vegetation index fusion module, a vegetation morphology perception attention module, a vegetation spectral saliency perception module, a LayerNorm normalization layer, and a BatchNorm normalization layer. The vegetation index fusion module is used to calculate the normalized vegetation index of the spectral spatial data, fuse the spectral spatial data and its normalized vegetation index, and generate a dataset. The vegetation morphology perception attention module is used to perceive the feature information of unevenly growing and morphologically diverse vegetation in the hyperspectral remote sensing wetland image based on deformable convolution. The vegetation spectral saliency perception module is used to perceive the feature information of spectrally specific vegetation in the hyperspectral remote sensing wetland image. S3. Randomly extract a portion of samples from the dataset as the training set and the test set respectively. Train the deep network model based on the training set and test the trained deep network model based on the test set. Construct a confusion matrix based on the test results and calculate the classification results based on the confusion matrix. Select the trained deep network model that meets the threshold based on the classification results and classify the hyperspectral remote sensing image based on the selected trained deep network model.
[0013] Based on the above scheme, this invention provides a hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network. It utilizes a vegetation information-based hyperspectral classification method to classify hyperspectral remote sensing images. By fusing normalized vegetation indices with the original spectral spatial data, vegetation information in the spectral spatial data is increased, avoiding insufficient utilization of vegetation information in the images. Employing a deformable attention mechanism and a spatial channel attention module, vegetation feature information in the images is extracted from multiple dimensions, resulting in better classification accuracy. This method has significant application value in fine-grained hyperspectral image surface classification. The use of a vegetation information sensing network for classifying hyperspectral remote sensing images has important theoretical significance.
[0014] Specifically, this embodiment provides detailed information on a hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network, including: S1. Select hyperspectral remote sensing wetland images and preprocess them to obtain spectral data. Specifically, the hyperspectral scene images in this embodiment are obtained from the CHIRS dataset acquired by the compact high-resolution imaging spectrometer. The CHIRS dataset has 18 bands. Then, the normalized vegetation index is fused to obtain the CHIRS dataset with 19 bands.
[0015] S2. Construct a deep network model. The deep network model is used to extract vegetation feature information of different dimensions in hyperspectral remote sensing wetland images. The deep network model includes a vegetation index fusion module, a vegetation morphology perception attention module, a vegetation spectral saliency perception module, a LayerNorm normalization layer, and a BatchNorm normalization layer. Specifically, in this embodiment, the deep network model is divided into four blocks. The first block is the vegetation index fusion module. The second and fourth blocks each include a vegetation morphology perception attention module and a vegetation spectral saliency perception module. The third block includes a LayerNorm normalization layer and a BatchNorm normalization layer. The function of the second block is to extract the spatial and spectral feature information of vegetation, while the function of the fourth block is to further extract the spatial and spectral feature information of vegetation more accurately based on the second block.
[0016] The main function of the vegetation index fusion module is to add vegetation information to the hyperspectral dataset, which is beneficial for the model to extract and utilize vegetation feature information. The main function of the vegetation morphology perception attention module is to extract vegetation feature information and selectively extract location information of interest by "deforming" wetland vegetation using deformable techniques, typically deformable convolution. The function of the vegetation spectral saliency perception module is to extract vegetation spectral feature information through spatial and channel attention masks and analyze the spatial and channel correlations of vegetation spectral feature information. Table 1 shows the specific network structure, and the network structure model is as follows: Figure 2 As shown.
[0017] Table 1. Deep Network Structure
[0018] The vegetation index fusion module is used to calculate the normalized vegetation index of the spectral spatial data, fuse the spectral spatial data and its normalized vegetation index, and generate a dataset. The vegetation index fusion module includes establishing a normalized vegetation index for spectral spatial data according to formula (1). (1) in, NIR This represents the near-infrared reflectance in a hyperspectral remote sensing image. R Indicates the reflectivity in the red light band. According to formula (2), the spectral spatial data and its normalized vegetation index are fused. Specifically, the vegetation information is expanded by calculating the normalized vegetation index based on the original spectral spatial data. In this embodiment, new channels are added to each axis in the vertical axis (i.e., rows) of the dataset, that is, the vegetation index data is integrated into the new channels of the dataset. (2) in, data Represents the original spectral space data. index This indicates the obtained vegetation index information. The vegetation morphology perception attention module includes a first submodule, a second submodule, and a third submodule. The first submodule includes a first deformable convolutional layer, which deforms the sampling points of the convolutional kernel. Based on the deformed sampling points, the hyperspectral remote sensing wetland image is processed, and key image features under different receptive fields are extracted. The second submodule includes a query convolutional layer, a key convolutional layer, and a value convolutional layer. These layers are used to obtain query, key, and value features based on the key image features and perform linear combinations to obtain new features. The third submodule includes a second deformable convolutional layer, a normalization layer, and a ReLU layer. The second deformable convolutional layer is used to perform feature perception on new features again. After activation and normalization of the perceived features, vegetation features are obtained. The vegetation morphology perception attention module is composed of deformable convolution and attention module. Deformable convolution is a technique that extends traditional convolution operations. It enhances the adaptability of convolutional neural networks to irregular objects or features with non-fixed shapes, allowing the sampling points of the convolution kernel to deform within a certain range, thereby capturing the input image more flexibly.
[0019] The deformable convolutional layer deforms the input feature map according to formula (3). (3) in, This indicates that the input feature map is at the location The value, x Indicates the input feature map, Indicates the position of the convolution kernel The weight, R represents the learned offset, and R represents the set of regular sampling points of the convolution kernel.
[0020] According to formula (4), the features of interest for wetland vegetation are perceived as follows: (4) in, x Represents the input tensor. R The set of regular sampling points representing the convolution kernel. offset and mask Indicating targeting x The offset.
[0021] Based on formula (5), query the obtained features, and perform key and value operations: (5) in, x This represents the output after deformable convolution. W q , W k ,W v Represents the projection matrix Perform operations on irregular and pattern-specific data according to formula (6): (6) in, x Indicates input features, offset1 and mask1 Indicates to x The offset.
[0022] The vegetation characteristics are perceived according to formula (7): (7) in, For trainable parameters, BN This indicates the batch normalization layer.
[0023] The vegetation spectral saliency perception module is used to perceive the spectrally specific vegetation features in hyperspectral remote sensing wetland images. Specifically, by calculating the weight of each channel, the information of important channels is weighted and highlighted, while the influence of unimportant channels is suppressed, thereby optimizing the feature expression. The vegetation spectral saliency perception module includes establishing a spatial attention mask according to formula (8). (8) in, x Indicates input features, Spatial information features are established based on formulas (9) and (10). (9) (10) in, k Indicates the number of spatial information items. h Indicates altitude, Indicates width, O Representing spatial information characteristics, Establish the channel attention mask according to formula (11). (11) in, BN For batch normalization layer, Conv2d It is a 2D convolution operation. AdaptivePool2d It is a 2D adaptive pooling layer. Spectral feature information in hyperspectral remote sensing wetland images is perceived based on spatial attention masking and channel attention masking.
[0024] S3. Randomly extract a portion of samples from the dataset as the training set and the test set, respectively. Specifically, in this embodiment, the training set and the test set are randomly selected from the CHRIS dataset that incorporates vegetation indices. The CHRIS dataset contains 6 defined land cover categories, as shown in Table 2. Table 2. Number of samples for target land cover categories in the CHRIS dataset
[0025] The deep network model is trained using the training set and tested using the test set. A confusion matrix is constructed based on the test results, and the classification results are calculated using the confusion matrix. Based on the classification results, the trained deep network model that meets a threshold is selected, and the selected trained deep network model is used to classify hyperspectral remote sensing images. Specifically, each column of the confusion matrix represents the predicted class of a sample, each row represents the true class of a sample, the sum of each row represents the number of true samples of that class, and the sum of each column represents the number of samples predicted as that class. The classification accuracy of the model is calculated based on the confusion matrix. In this embodiment, the training set, validation set, and test set are randomly sampled using the model, ensuring the randomness of the training and validation data.
[0026] Specifically, in this embodiment, an experiment was conducted on the CHRIS dataset using a hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network according to the present invention, and the results were compared with other advanced models. The experimental results are shown in Table 3. Table 3 CHRIS classification accuracy (%)
[0027] OA (Overall Accuracy) represents the overall classification accuracy, AA (Average Accuracy) represents the average classification accuracy, and Kappa represents the Kappa coefficient. The Kappa coefficient is a multivariate discrete method for evaluating the classification accuracy and confusion matrix of remote sensing images. It takes into account various missed and misclassified pixels outside the diagonal, and can penalize the bias of the model, thus providing a more comprehensive evaluation of the classification effect. Figure 3 The original image for the test dataset. Figure 4 This is a diagram showing the results of a comparative experiment between the present invention and existing algorithms. Figure 4 (a) shows the comparison results of the ViT algorithm. Figure 4 (b) shows the comparison results of the 2D-CNN algorithm. Figure 4 (c) is a comparison of the 3D-CNN algorithm results. Figure 4 (d) is a comparison result graph of the SSUN algorithm. Figure 4(e) is the classification result diagram of the present invention, and the plant categories represented by different gray levels in each diagram. In order to more intuitively observe the classification effect of the model method in this paper on wetland hyperspectral images, we visualized the input features and output features. It can be seen intuitively that the features after model training have achieved good clustering and division, as shown in Figure 5. Figure 5(a) shows the feature visualization diagram before training, and Figure 5(b) shows the feature visualization diagram after training.
[0028] To more objectively evaluate the role of each step in the hyperspectral remote sensing wetland mapping method model based on vegetation information sensing network in this invention, existing ablation experiments were added for illustration. Single modules or combinations of different modules were added to the ordinary attention model to compare experimental results. Specific experimental results are shown in Table 4. Table 4. Classification accuracy (%) of different modules
[0029] The above experiments lead to the following conclusions: (1) The experimental results in Table 3 show that the proposed hyperspectral remote sensing wetland mapping method based on vegetation information sensing network has good classification effect, which proves that the method has shown superior performance in wetland vegetation classification.
[0030] (2) The ablation experiment data in Table 4 show that the classification results of variant 2 are better than those of variant 2 by adding the vegetation morphology perception attention module. Specifically, the OA of the CHRIS dataset is improved by 4.59%, which has a significant impact on the experimental results. This proves that the addition of the vegetation morphology perception attention module makes the model more reasonable in extracting and processing feature information, and plays an important role in improving classification accuracy.
[0031] (3) The ablation experiment data in Table 4 show that the classification results with the addition of the vegetation index fusion module are significantly better than those of variant 3. Specifically, the OA of the CHRIS dataset increased by 2.26%, proving that the addition of the vegetation index fusion module makes the vegetation information in the input data more complete, and the amount of vegetation feature information directly affects the wetland image classification results.
[0032] (4) The ablation experiment data in Table 4 show that the experimental results with the vegetation spectral saliency perception module are better than those without. The experiments in the table, based on the already incorporated vegetation index fusion module and vegetation morphology perception attention module, still showed that adding the vegetation spectral saliency perception module increased classification accuracy. This demonstrates that the vegetation spectral saliency perception module has a positive impact on image classification.
[0033] Overall beneficial effects: This invention provides a hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network. It utilizes a vegetation information-based hyperspectral classification method to classify hyperspectral remote sensing images. By fusing normalized vegetation indices with the original spectral spatial data, vegetation information in the spectral spatial data is increased, avoiding underutilization of vegetation information in the images. Employing a deformable attention mechanism and a spatial channel attention module, vegetation feature information is extracted from the images from multiple dimensions, resulting in better classification accuracy. This method has significant application value in fine-grained land surface classification of hyperspectral images. The use of a vegetation information sensing network for classifying hyperspectral remote sensing images has important theoretical significance.
[0034] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network, characterized in that, include, S1. Select hyperspectral remote sensing wetland images and perform preprocessing to obtain spectral spatial data. S2. Construct a deep network model. This deep network model is used to extract vegetation feature information from different dimensions in hyperspectral remote sensing wetland images. The deep network model includes a vegetation index fusion module, a vegetation morphology perception attention module, a vegetation spectral saliency perception module, a LayerNorm normalization layer, and a BatchNorm normalization layer. The vegetation index fusion module is used to calculate the normalized vegetation index of the spectral spatial data, fuse the spectral spatial data and its normalized vegetation index, and generate a dataset. The vegetation morphology perception attention module is used to perceive the feature information of unevenly growing and morphologically diverse vegetation in the hyperspectral remote sensing wetland image based on deformable convolution. The vegetation spectral saliency perception module is used to perceive the feature information of spectrally specific vegetation in the hyperspectral remote sensing wetland image. The vegetation morphology perception attention module includes a first submodule, a second submodule, and a third submodule. The first submodule includes a first deformable convolutional layer. The first submodule is used to deform the sampling points of the convolution kernel, process the hyperspectral remote sensing wetland image based on the deformed sampling points, and extract key image features under different receptive fields. The second submodule includes a query convolutional layer, a key convolutional layer, and a value convolutional layer. The query convolutional layer, key convolutional layer, and value convolutional layer are used to obtain query, key, and value features based on key image features and then perform linear combination to obtain new features. The third submodule includes a second deformable convolutional layer, a normalization layer, and a ReLU layer. The second deformable convolutional layer is used to perform feature perception again on the new features, and then perform activation and normalization processing on the perceived features to obtain vegetation features. The vegetation index fusion module includes establishing a normalized vegetation index for spectral spatial data according to formula (5). (5) in, NIR This represents the near-infrared reflectance in a hyperspectral remote sensing image. R Indicates the reflectivity in the red light band. According to formula (6), the spectral spatial data and its normalized vegetation index are fused. (6) in, data Represents the original spectral space data. index This indicates the obtained vegetation index information; S3. Randomly extract a portion of samples from the dataset as the training set and the test set respectively. Train the deep network model based on the training set and test the trained deep network model based on the test set. Construct a confusion matrix based on the test results and calculate the classification results based on the confusion matrix. Select the trained deep network model that meets the threshold based on the classification results and classify the hyperspectral remote sensing image based on the selected trained deep network model.
2. The hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network according to claim 1, characterized in that, The vegetation spectral saliency perception module includes a spatial attention mask established according to formula (1). (1) in, x Indicates the input feature map, Spatial information features are established based on formulas (2) and (3). (2) (3) in, k Indicates the number of spatial information items. h Indicates altitude, Indicates width, O Representing spatial information characteristics, Establish the channel attention mask according to formula (4). (4) in, BN For batch normalization layer, Conv2d It is a 2D convolution operation. AdaptivePool2d It is a 2D adaptive pooling layer. Spectral feature information in hyperspectral remote sensing wetland images is perceived based on spatial attention masking and channel attention masking.
3. The hyperspectral remote sensing wetland mapping method based on a vegetation information sensing network according to claim 1, characterized in that, Both the first deformable convolutional layer and the second deformable convolutional layer deform the input feature map according to formula (7). (7) in, This indicates that the input feature map is at the location The value, x Indicates the input feature map, Indicates the position of the convolution kernel The weight, R represents the learned offset, and R represents the set of regular sampling points of the convolution kernel.
Citation Information
Patent Citations
Vegetation space distribution pattern investigation method and vegetation classification system
CN115797763A
Multispectral unmanned aerial vehicle remote sensing image crop segmentation method
CN116503590A
