A difference-guided change detection method for remote sensing images
Through the difference-guided remote sensing image change detection method, data augmentation and twin convolutional networks are used to extract features and differential feature weighting, combined with threshold segmentation, solve the problems of uneven data distribution and complex semantic scenes in remote sensing image change detection, and achieve It achieves high accuracy and robust change detection effect.
Patent Information
- Application Number
- CN202111488577.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-08
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-12-08
AI Technical Summary
Existing remote sensing image change detection methods have limited detection performance when dealing with uneven data distribution and complex semantic scenes, making it difficult to effectively improve accuracy and robustness.
The difference-guided remote sensing image change detection method is used to extract primary features through data augmentation and twin convolutional networks, use difference feature weighting to enhance features, and combine with threshold segmentation to achieve change detection, improving the integrity and accuracy of detection results.
It improves the accuracy and robustness of change detection, enhances the generalization and applicability of the model, can perform well on different remote sensing data sets, and significantly improves detection accuracy.
Smart Images

Figure CN114187255B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of remote sensing image processing, and in particular relates to a remote sensing image change detection method. Background Art
[0002] High-resolution remote sensing images can provide large-scale and detailed images of the earth's surface, which plays an extremely important role in urban planning, transportation, agriculture, military and other fields. Change detection is one of the most important detection tasks based on remote sensing images. This technology can be widely used in land cover, disaster detection, urbanization construction, military applications and other fields where it plays an important role. It identifies the differences between objects or phenomena by observing the same geographical area over a period of time, that is, detecting changes between dual-phase images (images taken at different times in the same area). With the development of remote sensing technology, the intelligent and automatic recognition of ground object changes has become increasingly important for detecting dynamic changes in the earth. Researchers have proposed a variety of ideas and algorithms to improve the change detection performance of remote sensing images. According to the way deep features are used, these methods can be divided into two categories:
[0003] A. Direct utilization method. Early deep learning-based change detection networks evolved from semantic segmentation models. This type of method first extracts features from dual-phase images. Most of its innovations lie in the feature extraction network part. After extracting features through the network, the network features are directly subtracted to obtain a differential image. Then, the difference image is used to extract the change area based on threshold segmentation, classification, and clustering techniques. This method mainly draws on the feature model of semantic segmentation. By adopting an end-to-end network training method, the feature learning process benefits from the back propagation of errors. However, the feature extraction is not enhanced during the forward propagation process. Therefore, the features extracted by this method are uncontrollable in terms of task relevance.
[0004] B. Difference introduction method. With the improvement of remote sensing image acquisition technology, the resolution of remote sensing images has made great progress, remote sensing scenes have become more complex, and the content structure has become richer, which puts forward greater requirements for the semantic understanding of change detection. Therefore, most works began to consider adding difference information to the feature extraction process. By introducing difference features, the proportion of features with strong task relevance is increased, and vice versa, which plays a certain preliminary selection role. The main advantage of using difference features is that they learn to select the corresponding change semantics during the forward propagation process. Compared with directly using features for difference, features enhanced based on difference features can not only be learned in back propagation, but also select and enhance features in forward propagation. Due to the selection ability of difference features, the difference introduction method has currently achieved a high classification accuracy.
[0005] Although the performance of change detection is already relatively good, there are still some problems to be solved. Among them, through the observation of remote sensing dual-phase images, it is found that the data distribution in some scenes is uneven, which easily leads the model to tend to a large number of unchanged areas; in addition, due to the complex semantics of remote sensing images, it is difficult for the network to learn to recognize semantics related to the task. This data distribution feature and image characteristics limit the further improvement of detection performance. Summary of the invention
[0006] In order to overcome the shortcomings of the prior art, the present invention provides a difference-guided remote sensing image change detection method, first inputting a dual-phase remote sensing scene image, and performing data augmentation on the dual-phase image; then using a twin convolutional network architecture to extract primary features from the image; then using a difference-guided weighted method to guide and enhance the feature maps of different depths of the dual-phases, and obtain corresponding weighted features of each scale; next, decoding the features of each dual-phase to obtain the corresponding final features; then performing a difference on the corresponding final features of the dual-phases to obtain a difference image; finally, performing threshold segmentation on the difference image to obtain the final change detection result. The results detected by the method of the present invention have strong integrity and high precision, and have excellent accuracy improvement compared with multiple models, proving that the present invention has good generalization and robustness.
[0007] The technical solution adopted by the present invention to solve the technical problem includes the following steps:
[0008] Step 1: Input a dual-temporal remote sensing scene image and perform data augmentation on the dual-temporal image;
[0009] Step 2: Use the twin convolutional network architecture to extract features of phases A and B in the dual-phase image after data augmentation to obtain the feature map F A 、F B ;
[0010] Step 3: For the bi-phase feature map F A 、F B Make a difference and get the difference feature D;
[0011] Use formula (1) to generate the channel weight vector Mc(D) for the difference feature D, and then use formula (2) to calculate the feature map F A 、F B Selectively enhance the enhanced features
[0012]
[0013]
[0014] AvgPool(D) represents average pooling, and MaxPool(D) represents maximum pooling. and They represent the average pooling feature and the maximum pooling feature respectively, σ represents the sigmoid function; MLP represents the shared network, which is used to generate the channel attention weight matrix M c ; The weights W0 and W1 of MLP are shared network parameters;
[0015] Step 4: Characteristics of each phase Decode and get the corresponding final feature F′ A , F′ B ;
[0016] Step 5: The final feature F′ corresponding to the dual time A , F′ B Do the difference and get the difference image F D ;
[0017] Step 6: Difference image F D Formula (3) is used to perform threshold segmentation to obtain the final change detection result;
[0018]
[0019] Where P i,j represents the predicted result of the pixel change in the i-th row and j-th column of the prediction graph, θ represents the threshold, P i,j =1 means the pixel changes, P i,j =0 means that the pixel has not changed.
[0020] Preferably, the data augmentation of the dual-phase image is specifically: adjusting the image size to 256x256, and using an augmentation method to rotate the original image by 15 degrees or mirror-invert it.
[0021] Preferably, the twin convolutional network architecture is a dual-stream CNN twin architecture.
[0022] Preferably, θ=1.
[0023] The beneficial effects of the present invention are as follows:
[0024] The remote sensing image change detection method proposed in the present invention is an idea that makes full use of difference features and can be embedded in a model of convolutional neural networks for various change detection. After applying the difference enhancement algorithm proposed in the present invention to a high-resolution remote sensing change detection dataset, complex semantics are selectively enhanced in the forward propagation, thereby suppressing the interference of irrelevant semantics on the task. The selection mechanism of the model is trained through back propagation, and the detected results have strong integrity and high precision. Compared with multiple models, there is an excellent improvement in accuracy, which proves that the present invention has good generalization and robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0026] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0027] In the change detection task of remote sensing images, the imbalance of data categories and the complex semantics of remote sensing images make model training difficult, thereby reducing the accuracy of detection. In response to the above problems, this paper proposes a change detection algorithm based on deep difference feature enhancement to balance data distribution and highlight difference features, thereby further improving the accuracy of change detection of dual-temporal remote sensing images.
[0028] A difference-guided remote sensing image change detection method comprises the following steps:
[0029] Step 1: Input a dual-temporal remote sensing scene image, adjust the image size of the dual-temporal image to 256x256, use the augmentation method to rotate the original image by 15 degrees or mirror-reverse it, and use it as the training image of the network in step 2;
[0030] Step 2: Use the dual-stream CNN twin architecture to extract features of phases A and B in the dual-phase image after data augmentation through the dual stream to obtain the feature map F A 、F B ;
[0031] Step 3: For the bi-phase feature map F A 、F B Make a difference and get the difference feature D;
[0032] Use formula (1) to generate the channel weight vector Mc(D) for the difference feature D, and then use formula (2) to calculate the feature map F A 、F B Selectively enhance the enhanced features
[0033]
[0034]
[0035] AvgPool(D) represents average pooling, and MaxPool(D) represents maximum pooling. and They represent the average pooling feature and the maximum pooling feature respectively, σ represents the sigmoid function; MLP represents the shared network, which is used to generate the channel attention weight matrix M c ; The weights W0 and W1 of MLP are shared network parameters;
[0036] Step 4: Characteristics of each phase Decode and get the corresponding final feature F″ A , F″ B ;
[0037] Step 5: Final feature F″ corresponding to the dual time A , F″ B Do the difference and get the difference image F D ;
[0038] Step 6: Difference image F D Formula (3) is used to perform threshold segmentation to obtain the final change detection result;
[0039]
[0040] Where P i,j represents the predicted result of the pixel change in the i-th row and j-th column of the prediction graph, θ represents the threshold, which is set to 1 here, and P i,j =1 represents change, P i,j =0 means no change. Specific embodiment:
[0042] 1. Experimental conditions
[0043] In this embodiment, the central processor is The paper is implemented on an i5-3470 3.2GHz CPU, 64G memory, NVIDIA GTX 1080Ti graphics card, Ubuntu 16.04 operating system, based on Pytorch 1.7.0 and Python 3.7. In order to prove the generalization performance of the invention, it is necessary to prove that it has good performance on different remote sensing datasets. The datasets used in the experiment are the seasonal change dataset CDD and the building change detection dataset LEVIR-CD.
[0044] The CDD dataset is selected from MALebedev et al. in the document "MALebedev et al. Change Detection in Remote Sensing Images Using Conditional Adversarial Networks [J]. ISPRS-International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 2018, XLII-2: 565-571.". The dataset includes three types of images: synthetic images without relative object offset; synthetic images with small relative object offset; real remote sensing images that change with the seasons (obtained from Google Earth). The remote sensing images with real seasonal changes have 16,000 image sets with an image size of 256x256 pixels (10,000 training sets and 3,000 test and validation sets) and a spatial resolution of 3 to 100 em / px. This embodiment mainly uses its real data, covering the changes in ground objects affected by the four seasons.
[0045] The LEVIR-CD dataset is selected from the paper "Hao Chen and Zhenwei Shi. ASpatial-Temporal Attention-Based Method and a New Dataset for Remote Sensing Image Change Detection[J]. Remote Sensing, 2020, 12(10)" by Hao Chen et al. The images are 637 1024×1024 pixel ultra-high resolution (VHR, 0.5m / pixel) image pairs collected through Google Earth API. These dual-phase images are from 20 different regions with change images between 2002 and 2018, located in several cities in Texas, USA. The change type in this dataset is only interested in the change of buildings.
[0046] In this embodiment, the stochastic gradient descent (SGD) method is used as an optimizer to optimize network parameters during the training process, wherein the parameters of the optimizer SGD are: the learning rate is 0.001, a total of 200 epochs are learned, and the best experimental results are selected for comparison.
[0047] 2. Experimental results
[0048] Here, we first verify whether the model of the present invention can show generalization on different types of data sets. In the experiment, it was tested on the seasonal change data set CDD and the building change detection data set LEVIR-CD respectively. The comprehensive indicator F1 value is used here to evaluate its precision and recall rate as a whole. The calculation method is as shown in formula (4), where P is the precision rate, R is the recall rate, and a is 1.
[0049]
[0050] The present invention has been trained and tested, and the performance results on the two data sets are shown in Table 1.
[0051] Table 1 Comparison of preliminary experimental results on different datasets
[0052] Dataset CDD Dataset LEVIR-CD dataset Basic model F1 value 0.837 0.873 F1 value of the present invention 0.914 0.885
[0053] As can be seen from Table 1, on two different types of transformation detection data sets, the detection results using the method of the present invention have F1 values that are improved by 7.7% and 1.2% respectively, indicating that the results on the seasonal change data set and the building change data set are improved, verifying that the method of the present invention can better adapt to different types of change data and can have excellent performance, and further proving that the method of the present invention has good generalization and applicability.
[0054] In order to compare with the latest change detection algorithm and verify the advancement of the method of the present invention, the currently popular seasonal change CDD dataset is used as test data, and the selected comparison algorithms are FC-Siam-conc, FC-Siam-diff, UNet++ and IFN.
[0055] Among them, FC-Siam-conc and FC-Siam-diff are from the document "M.Lebedev, Y.Vizilter, O.Vygolov, V.Knyaz and A.Rubis. "Change detecion in remote sensing images using conditional adversarial networks," ISPRS-International Archives of thePhotogrammetry,Remote Sensing and Spatial Information Sciences, vol.42, no.2, pp.565-571, 2018."
[0056] UNet++ comes from the document "D.Peng, Y.Zhang and H.Guan. "End-to-end change detection for high resolution satellite images using improved UNet++," Remote Sensing, vol.11, no.11, pp.1382, 2019.".
[0057] IFN comes from "C. Zhang, P. Yue, DT, L. Jiang, B. Shangguan, L. Huang and G. Liu. "Adeeply supervised image fusion network for change detection in high resolution bi-temporal remote sensing images". ISPRS Journal of Photogrammetry and Remote Sensing, vol. 166, pp. 183-200, 2020."
[0058] In order to verify the advancedness of the method of the present invention, it is compared with the excellent models UNet++, IFN and its basic models FC-Siam-conc and FC-Siam-diff in recent years, and the results are obtained by training and testing on the CDD dataset. Table 2 shows that Recall is the recall rate, Precision is the accuracy, OA is the accuracy, and the comprehensive indicator F1 value.
[0059] Table 2 Comparison of experimental results of different models on CDD dataset
[0060] Evaluation indicators F1 Recall Precision OA FC-Siam-conc 0.825 0.825 0.844 0.957 FC-Siam-diff 0.837 0.836 0.857 0.957 UNet++ 0.875 0.871 0.895 0.967 IFN 0.903 0.860 0.949 0.977 The present invention 0.914 0.868 0.965 0.980
[0061] According to the observation table 2, the method of the present invention performs well in the seasonal variation data set CDD, and has a significant improvement compared with several other algorithms. First, in terms of OA accuracy, the method of the present invention achieved a score of 0.980, which is 0.3% to 3% higher than others. In particular, in terms of precision, it has achieved a significant improvement, exceeding about 1.6% to 12.1%, which shows that the method of the present invention is the best in detection accuracy and is suitable for some detection scenarios with high requirements for accuracy. In addition, in order to comprehensively evaluate the performance of the algorithm, the comparison of the F1 value shows that the method of the present invention has improved by about 1.1% to 9%, which is enough to show that the method of the present invention is superior to other algorithms in terms of overall algorithm performance.
[0062] According to the comparative experiments in Table 1 and Table 2, it is illustrated that the method of the present invention has a strong adaptability to different data types, can effectively improve the detection accuracy and detection precision of different remote sensing scenes, and has good generalization ability and robustness; the method of the present invention adds difference enhancement to the extracted features, obtains difference weights for the corresponding channels respectively, thereby enhancing the relevant features to a great extent, and similarly suppresses the irrelevant semantic features, thereby achieving the effect of selectively extracting relevant features, and experiments have proved that the method of the present invention can effectively improve the change detection performance in remote sensing scenes.
Claims
1. A difference-guided remote sensing image change detection method, characterized in that: The steps include: Step 1: Input a dual-temporal remote sensing scene image and perform data augmentation on the dual-temporal image; Step 2: Use the twin convolutional network architecture to extract features of phases A and B in the dual-phase image after data augmentation to obtain the feature map F A 、F B ; Step 3: For the bi-phase feature map F A 、F B Make a difference and get the difference feature D; Use formula (1) to generate the channel weight vector Mc(D) for the difference feature D, and then use formula (2) to calculate the feature map F A 、F B Selectively enhance the enhanced features AvgPool(D) represents average pooling, and MaxPool(D) represents maximum pooling. and They represent the average pooling feature and the maximum pooling feature respectively, σ represents the sigmoid function; MLP represents the shared network, which is used to generate the channel attention weight matrix M c ; The weights W0 and W1 of MLP are shared network parameters; Step 4: Characteristics of each phase Decode and get the corresponding final feature F′ A , F′ B ; Step 5: The final feature F′ corresponding to the dual time A , F′ B Do the difference and get the difference image F D ; Step 6: Difference image F D Formula (3) is used to perform threshold segmentation to obtain the final change detection result; Where P i,j represents the predicted result of the pixel change in the i-th row and j-th column of the prediction graph, θ represents the threshold, P i,j =1 means the pixel has changed, P i,j =0 means that the pixel has not changed.
2. The difference-guided remote sensing image change detection method according to claim 1, characterized in that: The data augmentation of the dual-phase image specifically includes: adjusting the image size to 256×256, and using an augmentation method to rotate the original image by 15 degrees or mirror-invert it.
3. The difference-guided remote sensing image change detection method according to claim 1, characterized in that: The twin convolutional network architecture is a dual-stream CNN twin architecture.
4. The difference-guided remote sensing image change detection method according to claim 1, characterized in that: Preferably, θ=1.
