Semantic change detection method of change-oriented similarity pyramid network

By constructing a change-oriented similarity pyramid network CG-SPNet, the existing technology solves the problem of difficulty in extracting multi-scale features of large objects and ignoring weak changes, achieves more accurate and robust semantic change detection, and enhances feature interaction. Semantic consistency.

CN118658162APending Publication Date: 2024-09-17CHENGDU UNIV OF INFORMATION TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410762701.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing semantic change detection methods based on deep learning are difficult to extract multi-scale features similar to large objects in scenes such as large lakes and bare ground, resulting in the inability to extract highly robust change information and ignoring local weak changes in the image, and Feature interactions cannot be effectively guided.

Method used

Construct a change-oriented similarity pyramid network CG-SPNet, including a shared encoder and a multi-scale similarity pyramid module MSSP, using multiple receptive fields and self-attention modules to capture the similarities and differences of features at different scales, and enhance fusion through symmetry The change detection module SFCD and the feature interaction module CGM extract global and fine-grained change features to enhance the robustness and semantic consistency of the network.

Benefits of technology

It achieves complete response to large-scale features and extraction of local weak changes, improves the accuracy and robustness of change detection, enhances the semantic consistency of feature interaction, and can better distinguish semantic change categories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658162A
    Figure CN118658162A
Patent Text Reader

Abstract

The invention discloses a semantic change detection method of a change-oriented similarity pyramid network, and relates to the field of image change detection, the method comprises the following steps: constructing a similarity pyramid network CG-SPNet, the similarity pyramid network CG-SPNet comprising an encoder and a multi-scale similarity pyramid module MSSP; based on a to-be-detected remote sensing image, sequentially performing feature extraction on a plurality of stages of the encoder to obtain dual-temporal semantic features of different stages, and obtaining dual-temporal semantic features extracted by the encoder in the last stage, and obtaining an input feature # imgabs0 #, performing similarity analysis on the input feature # imgabs1 # based on the multi-scale similarity pyramid module MSSP to obtain an output feature # imgabs2 #, and obtaining a prediction map based on the output feature # imgabs3 #. The prediction images comprise a first prediction image # imgabs4 #, a second prediction image # imgabs5 # and a third detection image # imgabs6 #, matrix multiplication is carried out on the first prediction image # imgabs8 # and the second prediction image # imgabs9 # through the third detection image # imgabs7 #, and a detection image is obtained; and obtaining a detection result based on the detection image, thereby solving the problem that the existing SCD method based on deep learning faces limitation due to limited receiving area, and is difficult to extract multi-scale features of similar large objects and make complete and consistent response to the large-scale features.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image change detection, and in particular to a semantic change detection method of a change-oriented similarity pyramid network. Background Art

[0002] The rapid development of remote sensing technology has enabled it to be widely used in various fields, enabling dual-temporal remote sensing images to provide a large amount of spectral information, which facilitates the task of semantic change detection (SCD), which involves detecting and classifying specific types of changes, such as land use changes, buildings turning into roads, or trees turning into buildings.

[0003] Currently, the SCD method based on deep learning is commonly used to identify land cover, land use categories and detect change areas. This method adopts a three-branch multi-task framework to decouple the SCD task. The framework contains two semantic segmentation (SS) branches and one change detection (CD) branch. SS is used to generate segmentation results of bi-temporal images, and then CD uses the segmentation results for classification to generate accurate land cover and land use change maps, showing the changes between two time stages.

[0004] However, this method faces limitations due to its limited receiving area. For example, in scenes such as large lakes and exposed ground, it is difficult to extract multi-scale features similar to large objects and make a complete and consistent response to large-scale features. In addition, the scene is usually very complex and contains many similar features. This limitation makes it impossible to extract highly robust change information, thereby ignoring local weak changes in the image. Although this method can effectively decouple feature interactions within branches, it cannot effectively guide or promote such interactions. Summary of the invention

[0005] In order to solve the problem that the existing SCD method based on deep learning is limited due to the limited receiving area, and it is difficult to extract multi-scale features of similar large objects and make a complete and consistent response to large-scale features, the method provides a semantic change detection method of a change-oriented similarity pyramid network, the method comprising: constructing a similarity pyramid network CG-SPNet, the similarity pyramid network CG-SPNet comprising an encoder and a multi-scale similarity pyramid module MSSP; obtaining a remote sensing image to be detected, the remote sensing image to be detected comprising a first remote sensing image T1 and a second remote sensing image T2; based on the remote sensing image to be detected, several stages of the encoder sequentially perform feature extraction to obtain dual-temporal semantic features of different stages, the dual-temporal semantic features comprising a first dual-temporal semantic feature and the second bi-temporal semantic feature Obtain the bi-temporal semantic features extracted by the encoder in the final stage to obtain the input features i is an integer greater than or equal to 1 and less than or equal to 4, j is an integer equal to 1 or equal to 2; based on the multi-scale similarity pyramid module MSSP, the input feature Perform similarity analysis to obtain output features Based on the output characteristics Obtain a prediction graph, the prediction graph comprising a first prediction graph Second prediction graph And the third test map The third detection image The first prediction graph And the second prediction graph Perform matrix multiplication to obtain a detection image, which includes a first detection image Y 1 and the second detection image Y 2 ; Obtain a detection result based on the detection image.

[0006] Principle of this method: The encoder is a shared encoder, which can use shared weights to extract the bi-phase semantic features of the remote sensing image to be detected, so that the CG-SPNet network maintains a consistent visual mode for similar features and shows similar visual responses; the input features Input the MSSP module, which uses multiple receptive fields and self-attention modules to effectively capture the similarities and differences of features at different scales, and extract global dependencies at different scales, so as to meet the requirements of comprehensive analysis of long-distance and large-scale feature targets, and realize the extraction of global information at various scales. The output features are classified pixel by pixel through a multi-task classifier to obtain three prediction maps, and then each prediction map is processed by matrix multiplication to obtain a detection image. The detection images are compared to obtain the detection results.

[0007] Furthermore, the output features are obtained The specific steps include: based on the first pooling layer and the first position attention module, the input feature Downsampling is performed to obtain the first semantic feature of the first receptive field Based on the second pooling layer and the second position attention module, the first semantic feature Downsampling is performed to obtain the second semantic feature of the second receptive field Based on the third pooling layer and the third position attention module, the second semantic feature Downsampling is performed to obtain the third semantic features of the third receptive field Based on the convolutional layer, the first semantic feature The second semantic feature and the third semantic feature Fusion is performed to obtain fused semantic features; between the convolution layer and the input features Based on the jump connection, the input feature and the fused semantic feature to obtain the output feature

[0008] For input features Perform three pooling operations to obtain the downsampled semantic features of the corresponding phase. During the downsampling process, the network extracts and fuses the similarities of three different scale features. After each pooling layer, the position attention module (PAM) is used to calculate the similarity or correlation of pixels at different scales, which helps to enhance the inter-class difference and intra-class correlation between two positions. Establishing a skip connection between the convolutional layer and the neural network can reduce information loss.

[0009] In order to solve the problem that this limitation will lead to the inability to extract highly robust change information and thus ignore the problem of local weak changes in the image, this method adds a SFCD module to the CG-SPNet network.

[0010] Furthermore, the method further comprises: based on the symmetric enhanced fusion change detection module SFCD, the output feature Processing is performed to obtain the first change feature E C , based on the first change feature E C Obtain the prediction graph; Obtain the first change feature E C The specific steps include: the symmetric enhanced fusion change detection module SFCD includes a feature fusion module, a feature enhancement module and a change extraction module; obtaining the first shallow semantic feature extracted by the encoder in the initial stage and the second shallow semantic feature Based on the feature fusion module, the first shallow semantic feature And the second shallow semantic feature Fusion to obtain detailed change features The output features Perform fusion to obtain fusion change features Based on the feature enhancement module, the output feature Perform feature enhancement to obtain enhanced features The enhanced features Fusion to obtain the first feature The first feature The fusion changes with the characteristics Multiply and fuse to obtain the second change feature The detail change features And the second change feature Cascade to obtain fine-grained change features P C Based on the change extraction module, the fine-grained change feature P C Perform analysis and cascade to obtain the first change feature E C .

[0011] Bi-temporal change detection (CD) has the mathematical properties of time sensitivity and time symmetry, which can be used as prior knowledge and regularization. These properties enable the CG-SPNet network to learn more robust change representations. In order to reduce overfitting and give the CG-SPNet network time symmetry, a symmetric fusion strategy is adopted for all cross-temporal feature fusion. Two convolutional layers are used to extract change features from semantic features of different time series, and then these features are combined using multiplication operations to obtain symmetric change features. The symmetric fusion strategy also generates fused change features before feature enhancement. Then, the fused variation feature is used to construct a jump connection to obtain a more accurate and complete second variation feature.

[0012] The shallow layers of the network have a smaller receptive area and are good at capturing detail information, such as the color, edges, and corners of features. In order to integrate detail features without complicating the network, shallow semantic features are used in the fusion stage. To obtain detailed change characteristics This feature is then compared with a second highly abstract variation feature. Combined, we get the fine-grained change feature P C .

[0013] For output features A feature symmetry enhancement strategy is adopted to enhance the robustness of the module to image sequences. The change features fused in different orders are combined using a symmetric function to extract highly adaptable change features. The SFCD module also uses a convolutional attention module (CBAM) to enhance and adjust spatial and channel features, emphasizing the intricate details and changes in the features, which can effectively highlight subtle changes that may be ignored.

[0014] And a change extraction module, a basic multi-scale CD unit, is adopted to analyze changes and detect features by stacking six residual blocks. Each residual block contains two convolutional layers.

[0015] In order to solve the problem that the SCD method based on deep learning can effectively decouple the feature interaction within the branch, but cannot effectively guide or promote such interaction, this method adds a CGM module to the CG-SPNet network. The CGM module constructs a feature interaction network based on the change region, allowing the dual-time features to be CAs a medium for implicit interaction, it can also be based on the first change feature E C Generate a similarity graph. Using the first change feature E extracted from the CD branch C The two semantic segmentation network (SS) branches are implicitly modeled to establish implicit consistency for multiple branches, and changes guide feature interactions. The CGM module also embeds the change information of the two SS branches, and enhances the semantic consistency of the change area by guiding the two branches to interact implicitly across spatiotemporal features to guide network learning and strengthen the semantic consistency of change information between the two branches. To supervise and strengthen learning, the comparative learning loss method is adopted, which allows the module to use the embedded change information to distinguish similar features. Cross-temporal feature interactions are introduced, and feature interactions on different paths help to better distinguish semantic change categories and improve the semantic consistency of features. And MSSP shares parameter weights to keep the two branches of SS consistent in their visual response to the same target. This consistency in turn improves the correlation modeling between different pixels of dual-temporal features.

[0016] Furthermore, the method further comprises: based on the feature interaction module CGM, C Processing is performed to obtain final features, wherein the final features include a first final feature and the second final feature The prediction graph is obtained based on the final feature; the specific steps of obtaining the final feature include: based on the loss function, the first change feature E C Mapping is performed to obtain the first feature map E kc and the second feature map E qc ; The first feature map E kc And the second feature map E qc Perform maximum normalization to obtain the change similarity graph The output features Mapping is performed to obtain the third feature map E v1 And the fourth characteristic graph E v2 ; The third characteristic map E v1 , the fourth characteristic graph E v2 and the variation similarity graph After multiplication, the fifth feature map and the sixth feature map are obtained, and the fifth feature map, the sixth feature map and the output feature map are The elements are summed to obtain the final feature.

[0017] Further, the first semantic feature is obtained The first calculation method is:

[0018]

[0019] Get the second semantic feature The second calculation method is:

[0020]

[0021] Obtain the third semantic feature The third calculation method is:

[0022]

[0023] Get the output features The fourth calculation method is:

[0024]

[0025] in, and ∈R (128×64×64) , respectively represent the first semantic feature, the second semantic feature and the third semantic feature; Conv()=ReLU(BN(conv()), represents the convolution layer, conv() is a convolution operation with a convolution kernel of 3*3, BN represents batch normalization, and ReLU represents the activation function; MaxPool 1 、MaxPool 2 and MaxPool 3 Represent the first pooling layer, the second pooling layer and the third pooling layer respectively; γ 1 , γ 2 and γ 3 Both represent learnable parameters, and ∈R (64×64)×(64×64) , respectively represent the similarity of pixels between the mth position and the nth position in the first position attention module, the second position attention module, and the third position attention module, where m and n are integers greater than or equal to 1. The position attention module (PAM) is used to calculate the similarity or correlation of pixels at different scales, which helps to enhance the inter-class difference and intra-class correlation between two positions.

[0026] Furthermore, in the symmetric enhanced fusion change detection module SFCD, the fifth calculation method is used to fuse the features, and the fifth calculation method is:

[0027]

[0028] S o =S 1 ×S 2 ;

[0029] Among them, S 1 and S 2 Respectively and The changing characteristics of the sequence, S o It represents the fused features, and concat represents the cascade function.

[0030] Furthermore, enhanced features are obtained The sixth calculation method is:

[0031]

[0032]

[0033]

[0034] Among them, A C and A S They represent the channel attention mapping function and the spatial attention mapping function respectively, represents the output of the channel attention branch, σ represents the activation function, represents the input features, maxpool() and avgpool() represent the maximum pooling layer and the average pooling layer respectively, mlp represents the fully connected layer, W 1 ∈R C / r×C and W 0 ∈R C×C / r All represent shared weights, C represents the number of channels of the remote sensing image to be detected, r represents the compression factor, and f (7×7) represents the convolution operation in spatial attention, and Represent the first convolution operation of the maximum pooling layer and the average pooling layer respectively.

[0035] Further, the first change feature E is obtained C The seventh calculation method is:

[0036] E C =conv(concat([res 1 (r0),…,res 6 (r5)]));

[0037] res i (x)=ReLU(Conv(Conv(x))+x);

[0038] Among them, E C ∈R (128×64×64) , indicating the first change feature, res i (x) represents six residual blocks, i∈{1,2,3,4,5,6}, x represents the feature of the i-1th residual block, x=r i-1 , r i-1 represents the feature of the i-th residual block, r 0=P C , r 0 represents the features of the first residual block, P C Indicates fine-grained variation characteristics.

[0039] Furthermore, the change similarity graph The eighth calculation method is:

[0040]

[0041] The ninth calculation method for obtaining the final feature is:

[0042]

[0043] in, represents the change similarity graph, and denote the first final feature and the second final feature respectively, α and β both denote learnable parameters, E kc and E qc They represent the first feature map and the second feature map respectively, E v1 and E v2 denote the third and fourth characteristic graphs respectively, and represent the output features of the first remote sensing image T1 and the second remote sensing image T2 respectively, T represents a transposition function, and N represents an integer less than or equal to 1 and greater than or equal to 64.

[0044] Furthermore, a tenth calculation method for obtaining the prediction graph is:

[0045]

[0046] Among them, Drop() represents the Dropout function, and are fitting parameters.

[0047] One or more technical solutions provided by the present invention have at least the following technical effects or advantages:

[0048] 1. Construct a similarity pyramid network CG-SPNet, which includes an encoder and a multi-scale similarity pyramid module MSSP. The encoder is a shared encoder that uses shared weights to extract bi-phase semantic features of the remote sensing image to be detected, so that the CG-SPNet network maintains a consistent visual mode for similar features and exhibits similar visual responses; MSSP uses multiple receptive fields and self-attention modules to effectively capture the similarities and differences of features at different scales, extract global dependencies at different scales, and thus meet the requirements for comprehensive analysis of long-distance and large-scale feature targets, and realize the extraction of global information at various scales.

[0049] 2.MSSP uses continuous pooling downsampling to expand the receptive field, obtains the downsampled semantic features of the corresponding phase, and analyzes the feature similarity under different receptive field states, thereby improving the network's ability to effectively distinguish multi-scale similar objects. During the downsampling process, the network extracts and fuses the similarities of three different scale features. After each pooling layer, the position attention module is used to calculate the similarity or correlation of pixels at different scales, which helps to enhance the inter-class differences and intra-class correlations between two locations. And the input features Establishing a skip connection between the convolutional layer and the neural network can reduce information loss.

[0050] 3. Output features based on symmetric enhanced fusion change detection module SFCD Processing is performed to obtain the first change feature E C , based on the first change feature E C A symmetric fusion strategy is adopted for all cross-temporal feature fusion. Two convolutional layers are used to extract change features from the semantic features of different time series, and then these features are combined using multiplication operations to obtain symmetric change features, which can reduce overfitting and give the CG-SPNet network time symmetry, so that the CG-SPNet network can learn more robust change representations; shallow semantic features are used in the fusion stage. Integrate detailed features without complicating the network; A feature symmetry enhancement strategy is adopted to enhance the robustness of the module to image sequences. A symmetric function is used to combine the changing features fused in different orders, thereby extracting highly adaptable changing features. SFCD also uses a convolutional attention module to enhance and adjust spatial and channel features, emphasizing the intricate details and changes in the features, which can effectively highlight subtle changes that may be ignored.

[0051] 4. The symmetric fusion strategy also generates fusion change features before feature enhancement Then, these fused variation features are used to construct jump connections to obtain a more accurate and complete second variation feature.

[0052] 5. Based on the feature interaction module CGM, the first change feature E C The CGM module constructs a feature interaction network based on the change region, allowing the dual-time feature to be processed through the first change feature E C As a medium for implicit interaction, it can also be based on the first change feature E C Generate a similarity graph. Using the change feature E extracted from the CD branch C The two SS branches are implicitly modeled to establish implicit consistency for multiple branches and the changes guide feature interactions.

[0053] 6. The CGM module also embeds the change information of the two SS branches, and enhances the semantic consistency of the change region by guiding the two branches to interact implicitly across spatiotemporal features to guide network learning and strengthen the semantic consistency of the change information between the two branches. In order to supervise and strengthen learning, the comparative learning loss method is adopted, which allows the module to use the embedded change information to distinguish similar features. The introduction of cross-temporal feature interaction and feature interaction on different paths help to better distinguish the semantic change categories and improve the semantic consistency of features. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of the present invention, and do not constitute a limitation on the embodiments of the present invention;

[0055] Figure 1 It is a flow chart of the similarity pyramid network CG-SPNet in the present invention;

[0056] Figure 2 It is a flow chart of the multi-scale similarity pyramid module MSSP in the present invention;

[0057] Figure 3 It is a flow chart of the symmetric enhanced fusion change detection module SFCD in the present invention;

[0058] Figure 4 It is a flow chart of the feature interaction module CGM in the present invention. DETAILED DESCRIPTION

[0059] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0060] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those within the scope of this description. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0061] Embodiment 1

[0062] refer to Figure 1 and Figure 2 This embodiment provides a semantic change detection method of a change-oriented similarity pyramid network, the method comprising:

[0063] A similarity pyramid network CG-SPNet is constructed, and the similarity pyramid network CG-SPNet includes an encoder and a multi-scale similarity pyramid module MSSP; in this embodiment, the encoder is a shared encoder, which can be a siamese encoder; because the multi-resolution parallel architecture of the high-resolution convolutional neural network (HRNet) is conducive to frequent cross-resolution information interaction during the forward propagation process, the architecture shows excellent performance in remote sensing visualization tasks, land cover classification and building footprint extraction, therefore, in a preferred embodiment, HRNet-18 is selected as the encoder for constructing CG-SPNet, which uses shared weights to extract bi-phase semantic features, so that the network maintains a consistent visual mode for similar features and exhibits similar visual responses.

[0064] Acquire the remote sensing image to be detected, wherein the remote sensing image to be detected includes a first remote sensing image T1 and a second remote sensing image T2, both ∈R C*H*W , where C, H and W represent the number of channels, height and width of the remote sensing image respectively;

[0065] Based on the remote sensing image to be detected, the encoder performs feature extraction in several stages in sequence to obtain bi-temporal semantic features of different stages, wherein the bi-temporal semantic features include a first bi-temporal semantic feature and the second bi-temporal semantic feature Obtain the bi-temporal semantic features extracted by the encoder in the final stage to obtain the input features i is an integer greater than or equal to 1 and less than or equal to 4, and j is an integer equal to 1 or equal to 2;

[0066] Based on the multi-scale similarity pyramid module MSSP, the input feature Perform similarity analysis to obtain output features

[0067] Get output features The specific steps include: based on the first pooling layer and the first position attention module, the input feature Downsampling is performed to obtain the first semantic feature of the first receptive field Based on the second pooling layer and the second position attention module, the first semantic feature Downsampling is performed to obtain the second semantic feature of the second receptive field Based on the third pooling layer and the third position attention module, the second semantic feature Downsampling is performed to obtain the third semantic features of the third receptive field Based on the convolutional layer, the first semantic feature The second semantic feature and the third semantic feature Fusion is performed to obtain fused semantic features; between the convolution layer and the input features Based on the jump connection, the input feature and the fused semantic feature to obtain the output feature

[0068] Based on the output characteristics Obtain a prediction graph, the prediction graph comprising a first prediction graph Second prediction graph And the third test map The third detection image The first prediction graph And the second prediction graph Perform matrix multiplication to obtain a detection image, which includes a first detection image Y 1 and the second detection image Y 2 ; In this embodiment, a multi-task convolutional neural network (CNN) classifier can be used to perform pixel-by-pixel classification to obtain three prediction images;

[0069] A detection result is obtained based on the detection image.

[0070] Wherein, the first semantic feature is obtained The first calculation method is:

[0071]

[0072] Get the second semantic feature The second calculation method is:

[0073]

[0074] Obtain the third semantic feature The third calculation method is:

[0075]

[0076] Get the output features The fourth calculation method is:

[0077]

[0078] in, and ∈R (128×64×64) , respectively represent the first semantic features The second semantic feature and the third semantic feature Conv()=ReLU(BN(conv()), which indicates the convolution layer, conv() is a convolution operation with a convolution kernel of 3*3, BN indicates batch normalization, and ReLU indicates the activation function; MaxPool 1 、MaxPool 2 and MaxPool 3 Respectively represent the first pooling layer, the second pooling layer and the third pooling layer; γ 1 , γ 2 and γ 3 Both represent learnable parameters, and ∈R (64×64)×(64×64) , respectively represent the similarity of pixels between the m-th position and the n-th position in the first position attention module, the second position attention module and the third position attention module, where m and n are both integers greater than or equal to 1.

[0079] Embodiment 2

[0080] refer to Figure 1 and Figure 3 Based on the first embodiment, in this embodiment, the method further includes: based on the symmetric enhanced fusion change detection module SFCD, the output feature Processing is performed to obtain the first change feature E C , based on the first change feature E C Obtaining the prediction graph;

[0081] Obtain the first change feature E C The specific steps include: the symmetric enhanced fusion change detection module SFCD includes a feature fusion module, a feature enhancement module and a change extraction module; obtaining the first shallow semantic feature extracted by the encoder in the initial stage and the second shallow semantic feature Based on the feature fusion module, the first shallow semantic feature And the second shallow semantic feature Fusion to obtain detailed change features The output features Perform fusion to obtain fusion change features Based on the feature enhancement module, the output feature Perform feature enhancement to obtain enhanced features The enhanced features Fusion to obtain the first feature The first feature The fusion changes with the characteristics Multiply and fuse to obtain the second change feature The detail change features And the second change feature Cascade to obtain fine-grained change features P C Based on the change extraction module, the fine-grained change feature P C Perform analysis and cascade to obtain the change characteristics E C .

[0082] Among them, in the symmetric enhanced fusion change detection module SFCD, the fusion involved adopts the fifth calculation method to fuse the features, and the fifth calculation method is:

[0083]

[0084]

[0085] Among them, S 1 and S 2 Respectively and The changing characteristics of the sequence, S o It represents the fused features, and concat represents the cascade function.

[0086] Among them, the enhanced features are obtained The sixth calculation method is:

[0087]

[0088]

[0089]

[0090] Among them, A C and A S They represent the channel attention mapping function and the spatial attention mapping function respectively, represents the output of the channel attention branch, σ represents the activation function, represents the input features, maxpool() and avgpool() represent the maximum pooling layer and the average pooling layer respectively, mlp represents the fully connected layer, W 1 ∈R C / r×C and W 0 ∈R C×C / r All represent shared weights, C represents the number of channels of the remote sensing image to be detected, r represents the compression factor, and f (7×7) represents the convolution operation in spatial attention, and Represent the first convolution operation of the maximum pooling layer and the average pooling layer respectively.

[0091] Wherein, the first change feature E is obtained C The seventh calculation method is:

[0092] E C =conv(concat([res 1 (r0),…,res 6 (r5)]));

[0093] res i (x)=ReLU(Conv(Conv(x))+x);

[0094] Among them, E C ∈R (128×64×64) , indicating the first change feature, res i (x) represents six residual blocks, i∈{1,2,3,4,5,6}, x represents the feature of the i-1th residual block, x=r i-1 , r i-1 represents the feature of the i-th residual block, r 0 =P C , r 0 represents the features of the first residual block, P C Indicates fine-grained variation characteristics.

[0095] Embodiment 3

[0096] refer to Figure 1 and Figure 4 Based on the above embodiment, in this embodiment, the method further includes: based on the feature interaction module CGM, the first change feature E C Processing is performed to obtain final features, wherein the final features include a first final feature and the second final feature Obtaining the prediction graph based on the final features;

[0097] The specific steps of obtaining the final feature include: based on the loss function, converting the first change feature E CMapping is performed to obtain the first feature map E kc and the second feature map E qc , change feature E C Under the supervision of the binary cross entropy loss function, two convolution kernels can be mapped into two new feature maps: {E kc , E qc}; The first feature map E kc And the second feature map E qc Perform maximum normalization to obtain the change similarity graph The output features Mapping is performed to obtain the third feature map E v1 And the fourth characteristic graph E v2 , which can be obtained by mapping two convolution kernels to E v1 and E v2 ; The third characteristic map E v1 , the fourth characteristic graph E v2 and the variation similarity graph After multiplication, the fifth feature map and the sixth feature map are obtained, and the fifth feature map, the sixth feature map and the output feature map are The elements are summed to obtain the final feature.

[0098] Among them, the change similarity graph The eighth calculation method is:

[0099]

[0100] The ninth calculation method for obtaining the final feature is:

[0101]

[0102] in, represents the change similarity graph, and They represent the first final feature and the second final feature respectively. α and β are both learnable parameters, which are initialized to 0. The adaptive weights corresponding to the two semantic segmentation (SS) branches are learned during the training process. kc and E qc They represent the first feature map and the second feature map respectively, E v1 and E v2 denote the third and fourth characteristic graphs respectively, and represent the output features of the first remote sensing image T1 and the second remote sensing image T2 respectively, T represents a transposition function, and N represents an integer less than or equal to 1 and greater than or equal to 64.

[0103] Embodiment 4

[0104] On the basis of the above embodiment, in this embodiment, the tenth calculation method for obtaining the prediction graph is:

[0105]

[0106] Among them, Drop() represents the Dropout function, and Both represent fitting parameters. The Dropout function can prevent overfitting of the network.

[0107] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0108] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. Semantic change detection method based on change-oriented similarity pyramid network, It is characterized in that The method comprises: Constructing a similarity pyramid network CG-SPNet, wherein the similarity pyramid network CG-SPNet includes an encoder and a multi-scale similarity pyramid module MSSP; Acquire a remote sensing image to be detected, wherein the remote sensing image to be detected includes a first remote sensing image T1 and a second remote sensing image T2; Based on the remote sensing image to be detected, the encoder performs feature extraction in several stages in sequence to obtain bi-temporal semantic features of different stages, wherein the bi-temporal semantic features include a first bi-temporal semantic feature and the second bi-temporal semantic feature Obtain the bi-temporal semantic features extracted by the encoder in the final stage to obtain the input features i is an integer greater than or equal to 1 and less than or equal to 4, and j is an integer equal to 1 or equal to 2; Based on the multi-scale similarity pyramid module MSSP, the input feature Perform similarity analysis to obtain output features Based on the output characteristics Obtain a prediction graph, the prediction graph comprising a first prediction graph Second prediction graph And the third test map The third detection image The first prediction graph And the second prediction graph Perform matrix multiplication to obtain a detection image, which includes a first detection image Y 1 and the second detection image Y 2 ; A detection result is obtained based on the detection image.

2. The semantic change detection method of the change-oriented similarity pyramid network according to claim 1, It is characterized in that Get output features The specific steps include: Based on the first pooling layer and the first position attention module, the input features Downsampling is performed to obtain the first semantic feature of the first receptive field Based on the second pooling layer and the second position attention module, the first semantic feature Downsampling is performed to obtain the second semantic feature of the second receptive field Based on the third pooling layer and the third position attention module, the second semantic feature Downsampling is performed to obtain the third semantic features of the third receptive field Based on the convolutional layer, the first semantic feature The second semantic feature and the third semantic feature Perform fusion to obtain fusion semantic features; In the convolutional layer and the input features Establish a jump connection between them; Based on the skip connection, the input feature and the fused semantic feature to obtain the output feature 3. The semantic change detection method of the change-oriented similarity pyramid network according to claim 2, It is characterized in that The method further comprises: based on a symmetric enhanced fusion change detection module SFCD, Processing is performed to obtain the first change feature E C , based on the first change feature E C Obtain the prediction graph; Obtain the first change feature E C The specific steps include: The symmetric enhanced fusion change detection module SFCD includes a feature fusion module, a feature enhancement module and a change extraction module; Get the first shallow semantic features extracted by the encoder in the initial stage and the second shallow semantic feature Based on the feature fusion module, the first shallow semantic feature And the second shallow semantic feature Fusion to obtain detailed change features The output features Perform fusion to obtain fusion change features Based on the feature enhancement module, the output feature Perform feature enhancement to obtain enhanced features The enhanced features Fusion to obtain the first feature The first feature The fusion changes with the characteristics Multiply and fuse to obtain the second change feature The detail change features And the second change feature Cascade to obtain fine-grained change features P C ; Based on the change extraction module, the fine-grained change feature P C Perform analysis and cascade to obtain the change characteristics E C .

4. The semantic change detection method of the change-oriented similarity pyramid network according to claim 3, It is characterized in that The method further comprises: based on the feature interaction module CGM, C Processing is performed to obtain final features, wherein the final features include a first final feature and the second final feature The prediction graph is obtained based on the final feature; the specific steps of obtaining the final feature include: Based on the loss function, the first change feature E C Mapping is performed to obtain the first feature map E kc and the second feature map E qc ; The first feature map E kc And the second feature map E qc Perform maximum normalization to obtain the change similarity graph The output features Mapping is performed to obtain the third feature map E v1 And the fourth characteristic graph E v2 ; The third characteristic map E v1 , the fourth characteristic graph E v2 and the variation similarity graph After multiplication, the fifth feature map and the sixth feature map are obtained, and the fifth feature map, the sixth feature map and the output feature map are The elements are summed to obtain the final feature.

5. The semantic change detection method of the change-oriented similarity pyramid network according to claim 2, It is characterized in that Obtain the first semantic feature The first calculation method is: Get the second semantic feature The second calculation method is: Obtain the third semantic feature The third calculation method is: Get the output features The fourth calculation method is: in, and ∈R (128×64×64) , respectively represent the first semantic features The second semantic feature and the third semantic feature Conv()=ReLU(BN(conv()), which indicates the convolution layer, conv() is a convolution operation with a convolution kernel of 3*3, BN indicates batch normalization, and ReLU indicates the activation function; MaxPool 1 、MaxPool 2 and MaxPool 3 Respectively represent the first pooling layer, the second pooling layer and the third pooling layer; γ 1 , γ 2 and γ 3 Both represent learnable parameters, and ∈R (64×64)×(64×64) , respectively represent the similarity of pixels between the m-th position and the n-th position in the first position attention module, the second position attention module and the third position attention module, where m and n are both integers greater than or equal to 1.

6. The semantic change detection method of the change-oriented similarity pyramid network according to claim 5, It is characterized in that In the symmetric enhanced fusion change detection module SFCD, the fifth calculation method is used to fuse the features. The fifth calculation method is: S o =S 1 ×S 2 ; Among them, S 1 and S 2 Respectively and So represents the fused features, and concat represents the cascade function.

7. The semantic change detection method of the change-oriented similarity pyramid network according to claim 6, It is characterized in that Get enhanced features The sixth calculation method is: Among them, A C and A s They represent the channel attention mapping function and the spatial attention mapping function respectively, represents the output of the channel attention branch, σ represents the activation function, represents the input features, maxpool() and avgpool() represent the maximum pooling layer and the average pooling layer respectively, mlp represents the fully connected layer, W 1 ∈R C / r×C and W 0 ∈R C×C / r All represent shared weights, C represents the number of channels of the remote sensing image to be detected, r represents the compression factor, and f (7 ×7) represents the convolution operation in spatial attention, and Represent the first convolution operation of the maximum pooling layer and the average pooling layer respectively.

8. The semantic change detection method of the change-oriented similarity pyramid network according to claim 7, It is characterized in that Obtain the first change feature E C The seventh calculation method is: E C =conv(concat([res 1 (r0),...,res 6 (r5)])); rest i (x)=ReLU(Conv(Conv(x))+x); Among them, EC∈R (128×64×64) , indicating the first change feature, res i (x) represents six residual blocks, i∈{1, 2, 3, 4, 5, 6}, x represents the feature of the i-1th residual block, x=r i-1 , r i-1 represents the feature of the i-th residual block, r 0 =P C , r 0 represents the features of the first residual block, P C Indicates fine-grained variation characteristics.

9. The semantic change detection method of the change-oriented similarity pyramid network according to claim 8, It is characterized in that The variation similarity graph The eighth calculation method is: The ninth calculation method for obtaining the final feature is: in, represents the change similarity graph, and denote the first final feature and the second final feature respectively, α and β both denote learnable parameters, E kc and E qc They represent the first feature map and the second feature map respectively, E v1 and E v2 denote the third and fourth characteristic graphs respectively, and represent the output features of the first remote sensing image T1 and the second remote sensing image T2 respectively, T represents a transposition function, and N represents an integer less than or equal to 1 and greater than or equal to 64.

10. The semantic change detection method of the change-oriented similarity pyramid network according to claim 9, It is characterized in that The tenth calculation method for obtaining the prediction graph is: Among them, Drop() represents the Dropout function, and are fitting parameters.

Citation Information

Cited By

  • Balanced global and local representation network and method for ultrahigh resolution remote sensing image change detection

    CN119762981A

  • Remote sensing image change detection method

    CN121169911A