Remote sensing image change detection method, device, storage medium and electronic equipment

By using the twin backbone network and dual-phase feature fusion enhancement module in remote sensing image change detection, the problem of feature extraction and combination of dual-phase input images is solved, the accuracy of remote sensing image change detection is improved, and the detection of different phase images is realized. Efficient feature extraction and fusion solves the problem of insufficient detection accuracy in existing technologies.

CN117475311BActive Publication Date: 2024-09-13四川泓宝润业工程技术有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311487442.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2024-09-13
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

In the remote sensing image change detection, it is difficult to effectively extract the feature information of the dual-phase input image with the existing technology, resulting in insufficient detection accuracy. Moreover, using two models to extract features separately will double the number of model parameters. How to effectively use the two models? Extracting features is also a difficulty.

Method used

The twin backbone network is used to extract features from the preprocessed remote sensing input image to be measured, and the output of each layer is fused through the dual-temporal feature fusion enhancement module to build a remote sensing image change detection model and improve detection accuracy.

Benefits of technology

The parallel form of the twin network effectively extracts remote sensing image features of different phases to improve the accuracy of change detection. It also uses the dual-phase feature fusion enhancement module to enhance feature fusion and improve the detection effect. It can flexibly adjust the trade-off between model speed and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117475311B
    Figure CN117475311B
Patent Text Reader

Abstract

The present disclosure discloses a remote sensing image change detection method, device, storage medium and electronic device, the method comprising: S100: obtaining remote sensing input test images collected at two different time points of the same target; S200: preprocessing the remote sensing input test images to obtain preprocessed remote sensing input test images; S300: constructing and training remote sensing image change detection models to obtain trained remote sensing image change detection models; S400: inputting the preprocessed remote sensing input test images into the trained remote sensing image change detection models to detect whether the remote sensing input test images collected at two different time points of the same target have changed. The present disclosure can improve the change detection accuracy of remote sensing input images of the same target at two different time points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer vision and artificial intelligence technology, and specifically relates to a remote sensing image change detection method, device, storage medium and electronic equipment. Background Art

[0002] With the continuous advancement and development of artificial intelligence and computer vision technologies, more and more artificial intelligence algorithms are being applied to remote sensing images. Computer vision technology can be used to automatically analyze high-resolution remote sensing images. Intelligent comparison and analysis of remote sensing images of the same area at different times can be used to analyze whether there are changes in geological features, farmland and buildings, etc., which can provide valuable references in land exploration, disaster warning, urban expansion and other fields.

[0003] Traditional remote sensing image segmentation inputs are all single images with three channels, while change detection requires the input of two images in different phases, with a total of 6 channels. The current popular solution is to directly modify the number of convolution kernels in the first convolution layer of the pre-trained model to adapt to the different number of input channels, and then directly use the semantic segmentation model to output the segmented change area. The disadvantage of this solution is that for the original input image, the features extracted by the first convolution layer are compressed, and the data information cannot be maximized. Using two models to extract features separately will double the number of model parameters, and how to effectively use the features extracted by the two models is also a difficulty.

[0004] How to extract more feature information of dual-phase input images and how to better combine dual-phase image features for analysis are issues that must be considered to improve detection accuracy. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention aims to provide a remote sensing image change detection method, which can improve the change detection accuracy of remote sensing input images of the same target at two different time points.

[0006] To achieve the above objectives, the present disclosure provides the following technical solutions:

[0007] A remote sensing image change detection method, the method comprising the following steps:

[0008] S100: Acquire remote sensing input test images of the same target collected at two different time points;

[0009] S200: preprocessing the remote sensing input image to be tested to obtain a preprocessed remote sensing input image to be tested;

[0010] S300: constructing and training a remote sensing image change detection model to obtain a trained remote sensing image change detection model;

[0011] The model uses a twin backbone network to extract features from the pre-processed remote sensing input images, and fuses the output of each layer in the twin backbone network in turn;

[0012] S400: Inputting the preprocessed remote sensing input image to be tested into a trained remote sensing image change detection model to detect whether the remote sensing input image to be tested collected at two different time points for the same target has changed.

[0013] Preferably, in step S200, the preprocessing of the remote sensing input image to be tested includes the following steps:

[0014] S201: cropping the remote sensing input image to be tested;

[0015] S202: performing normalization processing on the cropped remote sensing input image to be tested.

[0016] Preferably, in step S300, the remote sensing image change detection model is trained by the following steps:

[0017] S301: Acquire multiple remote sensing images of the same target collected at two different time points to form a remote sensing image dataset, and preprocess the dataset to obtain a preprocessed remote sensing image dataset;

[0018] S302: Divide the preprocessed remote sensing image data set into a training set and a test set;

[0019] S303: Setting model training parameters, using the training set to train the model, and when the maximum number of training times is reached, the model training is completed;

[0020] S304: Use the test set to test the trained model. During the test, use the mean intersection-over-union (mIOU) to evaluate the model. When the mIOU value reaches 0.8, the model test passes. Otherwise, increase the number of training set samples or adjust the training parameters to retrain the model until the mIOU value reaches 0.8, and the model test passes.

[0021] The present disclosure also provides a remote sensing image change detection device, the device comprising:

[0022] An acquisition module is used to acquire remote sensing input images to be tested collected at two different time points of the same target;

[0023] A preprocessing module, used for preprocessing the remote sensing input image to be tested to obtain a preprocessed remote sensing input image to be tested;

[0024] A model building and training module is used to build and train a remote sensing image change detection model to obtain a trained remote sensing image change detection model; wherein the model uses a twin backbone network to extract features of the pre-processed remote sensing input images to be tested, and fuses the output of each layer in the twin backbone network in turn;

[0025] The detection module is used to input the preprocessed remote sensing input image to be tested into the trained remote sensing image change detection model to detect whether the remote sensing input image to be tested collected at two different time points for the same target has changed.

[0026] The present disclosure also provides a computer storage medium storing computer executable instructions for executing any of the above methods.

[0027] The present disclosure also provides an electronic device, comprising:

[0028] A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:

[0029] When the processor executes the program, any of the above methods is implemented.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] 1. The present disclosure adopts the parallel form of the twin network through the backbone network, which can effectively extract the features of remote sensing images in different phases;

[0032] 2. The present disclosure performs feature fusion enhancement through a dual-phase feature fusion enhancement module, which can improve the accuracy of change detection;

[0033] 3. The present invention can flexibly adjust the trade-off between model speed and accuracy by replacing different backbone models according to scenario requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 is a flow chart of a remote sensing image change detection method provided by an embodiment of the present disclosure;

[0035] Figure 2 is a simplified structural diagram of a detection model provided by another embodiment of the present disclosure;

[0036] Figure 3 is a schematic diagram of the structure of a detection model provided by another embodiment of the present disclosure;

[0037] Figure 4 yes Figure 2 The structural diagram of the dual-phase feature fusion enhancement module shown in;

[0038] Figure 5 (a) is a remote sensing input image of the same target at two different time points;

[0039] Figure 5 (b) is the mask image output by the classic semantic segmentation algorithm after only modifying the first layer of convolutional channels;

[0040] Figure 5 (c) is the mask image output after using the twin network;

[0041] Figure 5 (d) is the mask image output after using the twin network and introducing the dual-temporal feature fusion enhancement network;

[0042] Figure 6 It is a schematic diagram of typical features extracted in the first layer of different models disclosed in the present invention. DETAILED DESCRIPTION

[0043] The following will refer to the attached Figures 1 to 6 Specific embodiments of the present disclosure are described in detail. Although specific embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0044] It should be noted that certain words are used in the specification and claims to refer to specific components. Those skilled in the art should understand that technicians may use different nouns to refer to the same component. This specification and claims do not use the difference in nouns as a way to distinguish components, but use the difference in the functions of the components as the criterion for distinction. As mentioned throughout the specification and claims, "including" or "comprising" is an open term, so it should be interpreted as "including but not limited to". The subsequent description of the specification is a preferred embodiment of the present disclosure, but the description is based on the general principles of the specification and is not used to limit the scope of the present disclosure. The scope of protection of the present disclosure shall be determined by the attached claims.

[0045] To facilitate understanding of the embodiments of the present disclosure, further explanation will be given below using specific embodiments as examples in conjunction with the accompanying drawings, and each of the accompanying drawings does not constitute a limitation on the embodiments of the present disclosure.

[0046] In one embodiment, if Figure 1 As shown, the present disclosure provides a remote sensing image change detection method, comprising the following steps:

[0047] S100: Acquire remote sensing input test images of the same target collected at two different time points;

[0048] S200: preprocessing the remote sensing input image to be tested to obtain a preprocessed remote sensing input image to be tested;

[0049] S300: constructing and training a remote sensing image change detection model to obtain a trained remote sensing image change detection model;

[0050] S400: Inputting the preprocessed remote sensing input image to be tested into a trained remote sensing image change detection model to detect whether the remote sensing input image to be tested collected at two different time points for the same target has changed.

[0051] In another embodiment, in step S200, the preprocessing of the input image includes the following steps:

[0052] S201: The remote sensing input image to be tested acquired in step S100 is cropped into a small image at a fixed size and the same position, and the size of the cropped input image is 256×256;

[0053] S202: Divide the pixels of the cropped remote sensing input image to be tested with a size of 256×256 by 255 to complete normalization processing, thereby obtaining a pre-processed remote sensing input image to be tested.

[0054] In another embodiment, if Figure 2 As shown, the remote sensing image change detection model includes: an input module, an encoder, a dual-phase feature fusion enhancement network, a decoder and a segmentation output head, wherein:

[0055] The input module includes two input layers for inputting preprocessed remote sensing input images to be tested of the same target collected at two different time points;

[0056] The encoder includes two twin feature extraction modules for extracting features from the pre-processed remote sensing input images input from the two input layers. Figure 3 As shown in the figure, each feature extraction module uses the ResNet50 with the same structure as the backbone network, which includes sequentially connected convolution blocks, maximum pooling layers, and 4 superimposed first to fourth residual modules. Each residual module has the same structure, which includes two superimposed convolution blocks, a two-dimensional convolution layer, a two-dimensional batch normalization layer, a Concat layer, and a ReLU function, wherein each convolution block consists of a two-dimensional convolution layer, a two-dimensional batch normalization layer, and a ReLU function.

[0057] The dual-phase feature fusion enhancement network is used to fuse and enhance the features extracted by the two feature extraction modules. The dual-phase feature fusion enhancement network includes first to fifth dual-phase feature fusion enhancement modules with the same structure, wherein:

[0058] The first dual-phase feature fusion enhancement module is connected to the convolution blocks in the two feature extraction modules at the same time;

[0059] The second dual-phase feature fusion enhancement module is simultaneously connected to the first residual modules in the two feature extraction modules;

[0060] The third dual-phase feature fusion enhancement module is simultaneously connected to the second residual modules in the two feature extraction modules;

[0061] The fourth dual-phase feature fusion enhancement module is simultaneously connected to the third residual modules in the two feature extraction modules;

[0062] The fifth dual-phase feature fusion enhancement module is connected to the fourth residual modules in the two feature extraction modules at the same time.

[0063] like Figure 4 As shown, each dual-phase feature fusion enhancement module includes a first branch and a second branch. The first branch includes a maximum pooling layer, a fully connected layer, a ReLU function, and a fully connected layer connected in sequence; the second branch includes an average pooling layer, a fully connected layer, a ReLU function, and a fully connected layer connected in sequence. In addition, the first branch and the second branch are also commonly connected to a splicing layer, a sigmoid activation function, and a convolution block.

[0064] The decoder comprises first to fifth Unet decoding modules which are superimposed and have the same structure, wherein:

[0065] The first Unet decoding module is simultaneously connected to the fourth and fifth dual-phase feature fusion enhancement modules;

[0066] The second Unet decoding module is connected to the first Unet decoding module and the third dual-phase feature fusion enhancement module at the same time;

[0067] The third Unet decoding module is simultaneously connected to the second Unet decoding module and the second dual-phase feature fusion enhancement module;

[0068] The fourth Unet decoding module is connected to the third Unet decoding module and the first dual-phase feature fusion enhancement module at the same time;

[0069] The fifth Unet decoding module is connected to the fourth Unet decoding module;

[0070] Further, such as Figure 2 As shown, each Unet decoding module includes two branches, the first branch includes an upsampling layer, the second branch includes a concatenation layer and two convolution blocks connected in sequence, and the output of the upsampling layer of the first branch is connected to the input of the concatenation layer of the second branch.

[0071] The segmentation output head module includes a 1×1 convolution layer, 16 input channels, 1 output channel, a convolution kernel size of 1, and a stride of 1.

[0072] Below, this paper uses two input images of size 256×256×3 (width×height×number of channels) as an example to illustrate the working principle of the above model:

[0073] The two input images pass through the convolution blocks of the two feature extraction modules respectively, and two output feature maps of 64×128×128 are obtained, which are recorded as the first layer features.

[0074] The first layer of features is then passed through a maximum pooling layer (pooling kernel size is 3×3, step size is 2, padding is 1) to obtain two feature maps with output sizes of 64×64×64.

[0075] The two 64×64×64 feature maps are respectively passed through the first residual modules of the two feature extraction modules to obtain two feature maps with outputs of 256×64×64, which are recorded as the second layer features. The residual module is a classic structure of the ResNet network model. The input first passes through two convolution blocks to compress and restore the channels, then passes through a two-dimensional convolution layer and a Batchnorm layer, and then is added to the original input, and then passes through a ReLU activation function to obtain the final output.

[0076] The second layer features are respectively passed through the second residual modules of the two feature extraction modules to obtain two feature maps with output sizes of 512×32×32, which are recorded as the third layer features.

[0077] The third layer features pass through the third residual modules of the two feature extraction modules respectively, and obtain two feature maps with output of 1024×16×16, which are recorded as the fourth layer features.

[0078] The fourth layer features are respectively passed through the fourth residual modules of the two feature extraction modules to obtain two feature maps with output sizes of 2048×8×8, which are recorded as the fifth layer features.

[0079] Then, the two feature extraction modules extract the first to fifth layer features respectively and fuse them, specifically:

[0080] First, the first layer features, i.e., two 64×128×128 feature maps, are input into the first dual-temporal feature fusion enhancement module for fusion, and an output feature map of 64×128×128 is obtained, which is recorded as the first layer fusion enhancement feature. The dual-time-phase feature fusion enhancement module first passes the input through a maximum pooling layer, then a fully connected layer, then a ReLu activation function, and then a fully connected layer to obtain a feature map with an output of 1×128, recorded as input1; then the original input passes through an average pooling layer and a fully connected layer, then passes through a ReLu activation function, and then passes through a fully connected layer to obtain a feature map with an output of 1×128, recorded as input2; then input2 is subtracted from input1, and then multiplied with the original input to obtain a feature map of 128×128×128, recorded as input3; then the maximum value and average value of input3 are calculated respectively, and then the maximum value and the average value are spliced ​​together and then passed through the Sigmoid activation function, the output result is multiplied by input3 again, and finally a convolution block is passed to obtain a final output feature map of 64×128×128.

[0081] Second, the second layer features, i.e., two 256×64×64 feature maps, are input into the second dual-temporal feature fusion enhancement module for fusion, and an output feature map of 256×64×64 is obtained, which is recorded as the second layer fusion enhancement feature.

[0082] Third, the third layer features, i.e., two 512×32×32 feature maps, are input into the third dual-temporal feature fusion enhancement module for fusion, and an output feature map of 512×32×32 is obtained, which is recorded as the third layer fusion enhancement feature.

[0083] Fourth, the fourth layer features, i.e., two 1024×16×16 feature maps, are input into the fourth dual-temporal feature fusion enhancement module for fusion, and an output feature map of 1024×16×16 is obtained, which is recorded as the fourth layer fusion enhancement feature.

[0084] Fifth, the fifth layer features, i.e., two 2048×8×8 feature maps, are input into the fifth dual-temporal feature fusion enhancement module for fusion, and an output feature map of 2048×8×8 is obtained, which is recorded as the fifth layer fusion enhancement feature.

[0085] After obtaining the first to fifth layer fusion enhancement features, the first to fifth layer fusion enhancement features need to be input into different Unet decoding modules for decoding, specifically:

[0086] First, the fifth-layer fusion enhancement features and the fourth-layer fusion enhancement features are input into the first Unet decoding module together, and the output is a 256×16×16 feature map (for the fifth-layer fusion enhancement features and the fourth-layer fusion enhancement features, the first Unet decoding module first upsamples the fifth-layer fusion enhancement features to double the width and height of the fifth-layer fusion enhancement features, and then concatenates the fifth-layer fusion enhancement features and the fourth-layer fusion enhancement features with enlarged width and height through the concatenation layer in the channel dimension, and then inputs them into two convolution blocks in sequence to obtain the final output).

[0087] Second, the output of the first Unet decoding module and the third-layer fusion enhanced features are input into the second Unet decoding module to obtain an output feature map of 128×32×32.

[0088] Third, the output of the second Unet decoding module and the second layer fusion enhanced features are input into the third Unet decoding module together to obtain an output feature map of 64×64×64.

[0089] Fifth, the output of the third Unet decoding module and the first layer fusion enhancement features are input into the fourth Unet decoding module to obtain an output feature map of 32×128×128.

[0090] Sixth, the output of the fourth Unet decoding module is input into the fifth Unet decoding module to obtain a feature map with an output of 16×256×256.

[0091] Seventh, the output of the fifth Unet decoding module is input into the segmentation output header to obtain a final output prediction feature map of 1×256×256. The predicted values ​​of the pixels in the prediction feature map range from 0 to 1 to indicate the confidence that the pixel belongs to a change. Since the predicted values ​​of the pixels are continuous, the pixels need to be binarized by threshold filtering. The threshold is generally set to 0.5, where the predicted values ​​of the pixels greater than or equal to 0.5 are set to 1, indicating a change; the predicted values ​​less than 0.5 are set to 0, indicating no change, and the final prediction mask binary map is obtained.

[0092] Above, the present disclosure has described in detail the working principle of the model. In the existing mainstream solutions for increasing input channels, such as the popular TIMM library and SMP library, the first convolution layer is directly modified to support multiple output channels by copying the weights of the convolution kernel, which will cause loss to the feature extraction of the original input image. The reason is that the input channels of the original first convolution layer are all 3, and the output channels are also fixed according to the network structure, such as 16 or 32. In this case, in order to input two images, the input channels need to be changed to 6, that is, the number of channels is doubled, but the number of parameters of all layers of the model has not changed, and the number of parameters of the model is set for a single input image. When the input image becomes two, since the number of parameters of the model has not changed, that is, the feature extraction capability has not changed, the image features extracted from each input image are not enough, so the extracted features will be reduced accordingly, so that the features of the original input image will be lost during the extraction process. The present invention uses a twin network to extract features from the two input images respectively. Although the number of model parameters remains unchanged, it no longer just expands the input channel of the first convolutional layer. Instead, the backbone network uses the twin network to extract features from the two input images respectively, and then all the features of the two input images are obtained through fusion. Since the number of channels of the first convolutional layer remains unchanged during the feature extraction of the two input images, there is no dimensionality compression or feature loss.

[0093] In another embodiment, in step S300, the remote sensing image change detection model is trained by the following steps:

[0094] S301: Acquire multiple remote sensing images of the same target collected at two different time points to form a remote sensing image dataset, and preprocess the dataset to obtain a preprocessed remote sensing image dataset;

[0095] S302: Divide the preprocessed remote sensing image data set into a training set and a test set;

[0096] S303: Setting model training parameters, for example, epochs is set to 300, batch-size is set to 16, imgsz is set to 256, Adam is used as the optimizer, the initial learning rate is set to 0.01, and the model is trained using the training set. When the maximum number of training times (for example, 500 training times) is reached, the model training is completed;

[0097] S304: Use the test set to test the trained model. During the test, the model is evaluated using the mean intersection-over-union (mIOU). When the mIOU value reaches 0.8, the model test passes. Otherwise, increase the number of training set samples or adjust the training parameters (for example, set epochs to 400, batch-size to 18, imgsz to 260, and initial learning rate to 0.001) to retrain the model until the mIOU value reaches 0.8 and the model test passes.

[0098] Next, the present disclosure conducts an ablation experiment on a certain data set with the improved remote sensing image change detection model and the existing commonly used model, and evaluates the model with mIoU as the evaluation index. The data used is 5000 or 2500 pairs of high-definition remote sensing images cropped to 256×256 size. The evaluation results are shown in Table 1:

[0099] Table 1

[0100]

[0101] It can be seen from Table 1 that the mIoU value after introducing the dual-temporal feature fusion enhancement module in the twin network is 0.80, which is 0.037 higher than the mIoU value of the existing classic semantic segmentation algorithm that only modifies the first layer of convolutional channels, and 0.006 higher than the mIoU value of the model that only uses the twin network but does not introduce the dual-temporal feature fusion enhancement module. This shows that the remote sensing image change detection model proposed in the present invention can effectively improve the detection accuracy of remote sensing image changes.

[0102] Figures 5(a) to 5(d) are schematic diagrams of the output masks of the remote sensing input images of the same target at two different time points for the three models shown in Table 1. Among them, Figure 5(a) is the remote sensing input image of the same target at two different time points; Figure 5(b) is the mask map output by the classic semantic segmentation algorithm after only modifying the first layer of convolutional channels; Figure 5(c) is the mask map output after using the twin network; Figure 5(d) is the mask map output after using the twin network and introducing the dual-temporal feature fusion enhancement network;

[0103] It can be seen from Figures 5 (b) to 5 (d) that in the classic semantic segmentation algorithm shown in Figure 5 (b), the edge effect of the mask image output by only modifying the first layer of convolutional channels is the worst; there are holes in the mask image of the twin network shown in Figure 5 (c) without the introduction of the dual-temporal feature fusion enhancement module, while the mask image of the twin network shown in Figure 5 (d) with the introduction of the dual-temporal feature fusion enhancement module has smoother edges and no holes. Therefore, it can be shown that the model described in the present disclosure has the best change detection effect for the same input image.

[0104] Figure 6Schematic diagram of typical features extracted from the first layer of different models shown in Table 1. Figure 6 It can be seen that the classical semantic segmentation algorithm only modifies the output feature map of the first convolution channel, so the extracted feature edges are fuzzy and the change area is not very obvious, indicating that there is a certain amount of information loss. After the backbone network is changed to a twin network, the change area is more obvious, and after the dual-phase feature fusion enhancement module is introduced, the edge is clearer. This further shows that this method can improve the detection accuracy of remote sensing images collected at different times for the same target.

[0105] In another embodiment, the present disclosure further provides a remote sensing image change detection device, the device comprising:

[0106] An acquisition module is used to acquire remote sensing input images to be tested collected at two different time points of the same target;

[0107] A preprocessing module, used for preprocessing the remote sensing input image to be tested to obtain a preprocessed remote sensing input image to be tested;

[0108] A model building and training module is used to build and train a remote sensing image change detection model to obtain a trained remote sensing image change detection model; wherein the model uses a twin backbone network to extract features of the pre-processed remote sensing input images to be tested, and fuses the output of each layer in the twin backbone network in turn;

[0109] The detection module is used to input the preprocessed remote sensing input image to be tested into the trained remote sensing image change detection model to detect whether the remote sensing input image to be tested collected at two different time points for the same target has changed.

[0110] In another embodiment, the present disclosure further provides a computer storage medium storing computer executable instructions for executing any of the above methods.

[0111] In another embodiment, the present disclosure further provides an electronic device, including:

[0112] A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein:

[0113] When the processor executes the program, any of the above methods is implemented.

[0114] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.

Claims

1. A remote sensing image change detection method, It is characterized in that The method comprises the following steps: S100: Acquire remote sensing input test images of the same target collected at two different time points; S200: preprocessing the remote sensing input image to be tested to obtain a preprocessed remote sensing input image to be tested; S300: constructing and training a remote sensing image change detection model to obtain a trained remote sensing image change detection model; The model uses a twin backbone network to extract features from the pre-processed remote sensing input images, and fuses the output of each layer in the twin backbone network in turn; Specifically, The remote sensing image change detection model includes: an input module, an encoder, a dual-phase feature fusion enhancement network, a decoder and a segmentation output head; The input module includes two input layers for inputting preprocessed remote sensing input images to be tested of the same target collected at two different time points; The encoder includes two twin feature extraction modules for extracting features from preprocessed remote sensing input test images respectively input by two input layers; each feature extraction module uses a ResNet50 with the same structure as a backbone network, and the network includes sequentially connected convolution blocks, a maximum pooling layer, and four superimposed first to fourth residual modules; each residual module has the same structure, and sequentially includes two superimposed convolution blocks, a two-dimensional convolution layer, a two-dimensional batch normalization layer, a Concat layer, and a ReLU function, wherein each convolution block consists of a two-dimensional convolution layer, a two-dimensional batch normalization layer, and a ReLU function; The dual-phase feature fusion enhancement network is used to fuse and enhance the features extracted by the two feature extraction modules; the dual-phase feature fusion enhancement network includes first to fifth dual-phase feature fusion enhancement modules with the same structure, wherein: The first dual-phase feature fusion enhancement module is connected to the convolution blocks in the two feature extraction modules at the same time; The second dual-phase feature fusion enhancement module is simultaneously connected to the first residual modules in the two feature extraction modules; The third dual-phase feature fusion enhancement module is simultaneously connected to the second residual modules in the two feature extraction modules; The fourth dual-phase feature fusion enhancement module is simultaneously connected to the third residual modules in the two feature extraction modules; The fifth dual-phase feature fusion enhancement module is simultaneously connected to the fourth residual modules in the two feature extraction modules; Each dual-phase feature fusion enhancement module includes a first branch and a second branch, wherein the first branch includes a maximum pooling layer, a fully connected layer, a ReLU function, and a fully connected layer connected in sequence; the second branch includes an average pooling layer, a fully connected layer, a ReLU function, and a fully connected layer connected in sequence; in addition, the first branch and the second branch are also commonly connected with a splicing layer, a sigmoid activation function, and a convolution block; The decoder comprises first to fifth Unet decoding modules which are superimposed and have the same structure, wherein: The first Unet decoding module is simultaneously connected to the fourth and fifth dual-phase feature fusion enhancement modules; The second Unet decoding module is connected to the first Unet decoding module and the third dual-phase feature fusion enhancement module at the same time; The third Unet decoding module is simultaneously connected to the second Unet decoding module and the second dual-phase feature fusion enhancement module; The fourth Unet decoding module is connected to the third Unet decoding module and the first dual-phase feature fusion enhancement module at the same time; The fifth Unet decoding module is connected to the fourth Unet decoding module; Each Unet decoding module includes two branches, the first branch includes an upsampling layer, the second branch includes a concatenation layer and two convolution blocks connected in sequence, and the output of the upsampling layer of the first branch is connected to the input of the concatenation layer of the second branch; The segmentation output head includes a 1×1 convolution layer, with 16 input channels, 1 output channel, a convolution kernel size of 1, and a stride of 1; S400: Inputting the preprocessed remote sensing input image to be tested into a trained remote sensing image change detection model to detect whether the remote sensing input image to be tested collected at two different time points for the same target has changed.

2. The method according to claim 1, It is characterized in that In step S200, preprocessing the remote sensing input image to be tested includes the following steps: S201: cropping the remote sensing input image to be tested; S202: performing normalization processing on the cropped remote sensing input image to be tested.

3. The method according to claim 1, It is characterized in that In step S300, the remote sensing image change detection model is trained by the following steps: S301: Acquire multiple remote sensing images of the same target collected at two different time points to form a remote sensing image dataset, and preprocess the dataset to obtain a preprocessed remote sensing image dataset; S302: Divide the preprocessed remote sensing image data set into a training set and a test set; S303: Setting model training parameters, using the training set to train the model, and when the maximum number of training times is reached, the model training is completed; S304: Use the test set to test the trained model. During the test, use the mean intersection-over-union (mIOU) to evaluate the model. When the mIOU value reaches 0.8, the model test passes. Otherwise, increase the number of training set samples or adjust the training parameters to retrain the model until the mIOU value reaches 0.8, and the model test passes.

4. A device for implementing the remote sensing image change detection method as claimed in claim 1, It is characterized in that The device comprises: An acquisition module is used to acquire remote sensing input images to be tested collected at two different time points of the same target; A preprocessing module, used for preprocessing the remote sensing input image to be tested to obtain a preprocessed remote sensing input image to be tested; A model building and training module is used to build and train a remote sensing image change detection model to obtain a trained remote sensing image change detection model; wherein, the model uses a twin backbone network to extract features from the preprocessed remote sensing input images to be tested, and fuses the output of each layer in the twin backbone network in turn; the remote sensing image change detection model includes: an input module, an encoder, a dual-phase feature fusion enhancement network, a decoder and a segmentation output head; the input module includes two input layers for inputting preprocessed remote sensing input images to be tested collected from the same target at two different time points; the encoder includes two twin feature extraction modules for extracting features from the preprocessed remote sensing input images to be tested input by the two input layers respectively; each feature extraction module uses the ResNet50 with the same structure as the backbone network, which includes sequentially connected convolution blocks, A maximum pooling layer and four superimposed first to fourth residual modules; each residual module has the same structure, which includes two superimposed convolution blocks, a two-dimensional convolution layer, a two-dimensional batch normalization layer, a Concat layer and a ReLU function in sequence, wherein each convolution block consists of a two-dimensional convolution layer, a two-dimensional batch normalization layer and a ReLU function; the dual-phase feature fusion enhancement network is used to fuse and enhance the features extracted by the two feature extraction modules; the dual-phase feature fusion enhancement network includes first to fifth dual-phase feature fusion enhancement modules with the same structure, wherein the first dual-phase feature fusion enhancement module is connected to the convolution blocks in the two feature extraction modules at the same time; the second dual-phase feature fusion enhancement module is connected to the first residual module in the two feature extraction modules at the same time; the third dual-phase feature fusion enhancement module is connected to the second residual module in the two feature extraction modules at the same time; The fourth dual-phase feature fusion enhancement module is simultaneously connected to the third residual module in the two feature extraction modules; the fifth dual-phase feature fusion enhancement module is simultaneously connected to the fourth residual module in the two feature extraction modules; each dual-phase feature fusion enhancement module includes a first branch and a second branch, the first branch includes a maximum pooling layer, a fully connected layer, a ReLU function and a fully connected layer connected in sequence; the second branch includes an average pooling layer, a fully connected layer, a ReLU function and a fully connected layer connected in sequence; in addition, the first branch and the second branch are also commonly connected to a splicing layer, a sigmoid activation function and a convolution block; the decoder includes superimposed and structurally identical first to fifth Unet decoding modules, wherein the first Unet decoding module is simultaneously connected to the fourth and fifth dual-phase feature fusion enhancement modules; the second Unet decoding module is simultaneously connected to the first Unet decoding module and the third dual-phase feature fusion enhancement module; the third Unet decoding module is simultaneously connected to the second Unet decoding module and the second dual-phase feature fusion enhancement module; The fourth Unet decoding module is connected to the third Unet decoding module and the first dual-phase feature fusion enhancement module at the same time; the fifth Unet decoding module is connected to the fourth Unet decoding module; each Unet decoding module includes two branches, the first branch includes an upsampling layer, the second branch includes a splicing layer and two convolution blocks connected in sequence, and the output of the upsampling layer of the first branch is connected to the input of the splicing layer of the second branch; the segmentation output head includes a 1×1 convolution layer, an input channel of 16, an output channel of 1, a convolution kernel size of 1, and a step size of 1; The detection module is used to input the preprocessed remote sensing input image to be tested into the trained remote sensing image change detection model to detect whether the remote sensing input image to be tested collected at two different time points for the same target has changed.

5. A computer storage medium, It is characterized in that The computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the method according to any one of claims 1 to 3.

6. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 3 is implemented.