Multi-classification change detection method and system for multi-scale fusion of dual-temporal remote sensing images

Through the multi-scale fusion technology of ShelfNet and PSPNet, high-level features of remote sensing images are extracted and processed, which solves the shortcomings of multi-classification and noise processing in remote sensing image change detection, and achieves higher detection accuracy and stability.

CN115035334BActive Publication Date: 2024-09-06NORTHWEST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210635897.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-07
Publication Date
2024-09-06
Estimated Expiration
2042-06-07

AI Technical Summary

Technical Problem

Existing remote sensing image change detection methods have shortcomings in multi-classification and noise processing. In particular, traditional methods are difficult to effectively handle noise, which affects the classification accuracy and has limited information representation capabilities of original pixels and their neighbors.

Method used

A multi-classification change detection method using multi-scale fusion of dual-temporal remote sensing images is used to extract high-level semantic features through ShelfNet and combined with PSPNet for feature fusion and semantic segmentation. Dice Loss and cross-entropy loss function weighting are used to solve the problem of category imbalance and improve detection. accuracy.

Benefits of technology

It improves the multi-classification accuracy and anti-noise ability of remote sensing image change detection, enhances the stability and robustness of the model, is suitable for complex data sets, and is suitable for practical application needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115035334B
    Figure CN115035334B
Patent Text Reader

Abstract

The present invention belongs to the technical field of remote sensing image processing, and discloses a multi-classification change detection method and system for multi-scale fused dual-temporal remote sensing images, wherein the multi-classification change detection method for multi-scale fused dual-temporal remote sensing images comprises: firstly, two single-temporal images are placed in a first-stage ShelfNet network to extract their respective high-level semantic features, and then the extracted features are fused and mapped to a new space; a second-stage semantic segmentation network PSPNet is constructed in the space, and the deep-level features of the fused features are extracted and similarity judgment is performed after the similarity is judged, so that the correlation of unchanged pixels is increased and the correlation between changed pixels is reduced, and finally a result graph of multi-classification change detection is determined. The present invention speeds up the operation speed and reduces the consumption of resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of remote sensing image processing, and in particular relates to a multi-classification change detection method and system for multi-scale fused dual-temporal remote sensing images. Background Art

[0002] At present, change detection of remote sensing images refers to the use of image graphics and mathematical models to determine and analyze the changes and types of surface cover in the survey area based on remote sensing images and related geographic data obtained from different periods of time, combined with remote sensing imaging mechanisms and ground features. The purpose of the study is to extract change information in the survey area while filtering out irrelevant information. This technology has been applied in many fields, such as land use, urban expansion, farmland changes, geological disaster monitoring, ecological and environmental protection, wetland monitoring, forest protection, etc. In the early remote sensing image change detection, many traditional remote sensing image change detection methods were proposed. Among them, the threshold method and clustering method are the most popular. In the threshold method, an optimal threshold needs to be found to correctly divide each pixel into a change class and an unchanged class, such as the KI algorithm and the EM algorithm. The core idea of ​​the clustering method is to maximize the similarity between data points belonging to the same cluster while minimizing the similarity between different clusters, such as algorithms such as FCM. Most early remote sensing change detection methods focused on binary classification. However, with the development of remote sensing technology, only determining whether each pixel has changed is somewhat limited in practical applications. Therefore, it is more meaningful to further divide the change area into positive changes and negative changes. For example, in the analysis of urban changes, some old buildings are demolished, while some new buildings are built in other areas. It is necessary to distinguish these two different changes from dual-phase remote sensing images. As a result, many ternary change detection methods have been born, such as C2VA and other algorithms. However, the effect is not ideal. On the one hand, the remote sensing images are easily affected by noise, and traditional methods cannot handle noise well; on the other hand, the information representation ability of the original pixels and their neighborhoods is still very limited, which affects the classification accuracy.

[0003] In recent years, deep learning has become a research hotspot due to its powerful representation learning ability and has received widespread attention in the academic community. Deep learning is a technology that learns abstract feature representations from input data by building a multi-layer neural network. It is more efficient and accurate in expressing data sets, and the extracted abstract features are more robust and have better generalization ability. It has been widely used in remote sensing image change detection.

[0004] In remote sensing image change detection based on deep learning, each pixel in the image is not spatially independent and exists independently, so appropriate image feature extraction is particularly important. ShelfNet is a fast semantic segmentation framework. Unlike the standard encoder-decoder structure, it has multiple encoder-decoder branch pairs with jump connections at each spatial level. This framework structure provides multiple paths for information flow and improves segmentation accuracy. Therefore, ShelfNet has the potential to obtain more complex features and produce higher accuracy. Feature fusion at different scales is an important means to improve segmentation performance in neural networks. Low-level features have higher resolution and contain more location and detail information, but due to fewer convolutions, they are less semantic and have more noise. High-level features have stronger semantic information, but the resolution is very low and the perception of details is poor. The core module of PSPNet is the pyramid pooling module, which can aggregate contextual information from different regions, thereby improving the ability to obtain global information. Multi-scale feature fusion undoubtedly increases the amount of calculation, but PSPNet forms the final pyramid pooling global feature while increasing a small amount of calculation by introducing auxiliary loss.

[0005] Through the above analysis, the problems and defects of the existing technology are as follows: the binary or ternary classification change detection in the existing technology cannot meet the practical application. At the same time, in the traditional neural network, the information representation ability of the original pixel and its neighborhood is still very limited, and the main feature information is easily lost in the downsampling process. Summary of the invention

[0006] In view of the problems existing in the prior art, the present invention provides a multi-classification change detection method and system for multi-scale fusion of dual-temporal remote sensing images.

[0007] The present invention is implemented as follows: a multi-classification change detection method for multi-scale fused dual-temporal remote sensing images, the multi-classification change detection method for multi-scale fused dual-temporal remote sensing images comprising:

[0008] Firstly, two single-phase images are placed into the first-stage ShelfNet network to extract their respective high-level semantic features, and then the extracted features are fused and mapped to a new space. In the second-stage semantic segmentation network PSPNet is constructed in the space, and the deep-level features of the fused features are extracted and similarity judgment is performed to increase the correlation of unchanged pixels and reduce the correlation between changed pixels. Finally, the result graph of multi-classification change detection is obtained.

[0009] Furthermore, the specific process of the multi-classification change detection method of multi-scale fusion dual-temporal remote sensing images is as follows:

[0010] Step 1: Select a public data set and preprocess it. The preprocessing of the data set makes the training data samples more complex, making the trained network structure more robust.

[0011] Step 2: Build a network model based on ShelfNet to extract dual-phase image features;

[0012] Step 3: Build a network model based on multi-classification detection and a semantic segmentation network based on PSPNet to distinguish different changes;

[0013] Step 4: Select training samples to train the network model, and select test sets to test the network model to verify the effectiveness of the extracted network model.

[0014] Furthermore, in step 1, the data set is preprocessed including cropping and image enhancement.

[0015] Furthermore, in step 2, the specific process of extracting the dual-phase image features is as follows:

[0016] In the stage of extracting features from dual-phase images, ShelfNet is used as the basic network to extract features. By reducing the number of channels to increase the speed, a 1×1 convolutional layer followed by BatchNormalization and Relu layers is used to change the number of channels from 256, 512, 1024, 2048 to 64, 128, 256, 512 at the spatial level. The output tensor is the extracted features, and the parameters are adaptively adjusted based on the extracted general features to make the model suitable for specific data sets.

[0017] Through the improved residual block, the model size is reduced and features are extracted more efficiently. The two convolutional layers in the same block share the same weights, and the two Normalization layers are different; the shared weight design reuses the weights of the convolution and has similar characteristics to the recursive convolutional neural network; a dropout layer is added between the two convolutional layers to avoid overfitting; the shared weight residual block combines skip connections, recurrent convolutions, and exit regularization, and has fewer parameters than the standard residual block.

[0018] Furthermore, in step 3, the specific process of constructing a network model based on multi-classification detection is as follows:

[0019] The dual-phase feature maps extracted by the Shelf-Net network are fused; the fused feature maps are used to collect contextual information of different scales through the pyramid pooling module in PSPNet and fuse to generate feature maps of different levels, which are finally flattened and spliced ​​together, and then input into the fully connected layer for classification to obtain the final multi-classification change detection map.

[0020] Furthermore, in step 4, a training sample is selected to train the network model and a test set is selected to test the network model to verify the effectiveness of the extracted network model. The specific process is as follows:

[0021] 1) Loss Function

[0022] By combining Dice Loss and CrossEntropy Loss, the imbalance of samples in binary classification can be solved; in practice, Dice loss is combined with CrossEntropy loss to improve the stability of model training. The total loss is defined as:

[0023] Loss = L Dice +L CrossEntropy (1)

[0024] 2) Evaluation criteria

[0025] The performance of different change detection algorithms is evaluated using the overall accuracy and mIoU evaluation criteria.

[0026] Furthermore, the Dice loss is specifically:

[0027] When performing multi-class change detection, first obtain the binary change map, then obtain the multi-class change map under the guidance of the binary change map, and evaluate it through Dice loss;

[0028]

[0029] Where X is the ground truth, Y is the prediction output by the network; |X|+|Y| represents the sum of the matrix elements; X∩Y represents the number of elements shared by X and Y, which is actually calculated by taking the sum of the pixel products of the two matrices.

[0030] Furthermore, the cross entropy loss is specifically:

[0031] The cross entropy loss determines the degree of closeness between the actual output and the expected output, and the loss function is combined; the closer the predicted distribution is to the true distribution, the smaller the cross entropy loss is, and the farther the predicted distribution is from the true distribution, the larger the cross entropy loss is; for a multi-label classification task with N data sets, the calculation method of the cross entropy loss function is:

[0032]

[0033] Where y is the ground truth value, Output for the network.

[0034] Furthermore, the overall accuracy is specifically:

[0035] The overall accuracy is the number of correctly classified bi-temporal pixels divided by the number of test samples, which measures the classification performance and reflects the correct proportion of classifications. The change detection algorithm is evaluated as:

[0036]

[0037] By counting all the output images and the corresponding change labels, we get the confusion matrix M = {Mij}, where Mij represents the image that is identified as the i-th change type but actually belongs to the j-th change type; N represents the total number of change types;

[0038] mIoU is specifically:

[0039] Using mIoU to evaluate the change detection results, a confusion matrix M is given, which is:

[0040]

[0041]

[0042] Among them, IoU1 evaluates the extraction effect of unchanged pixels, and IoU2 evaluates the extraction effect of changed pixels, so the definition of mIoU is:

[0043] mIoU=0.5*IoU1+0.5*IoU2 (7).

[0044] Another object of the present invention is to provide a multi-scale fusion dual-temporal remote sensing image multi-classification change detection system implementing the multi-scale fusion dual-temporal remote sensing image multi-classification change detection method, the multi-scale fusion dual-temporal remote sensing image multi-classification change detection system comprising:

[0045] Dataset selection module, used to select public datasets;

[0046] The dataset preprocessing module is used to crop the dataset and perform image enhancement preprocessing;

[0047] Image feature extraction module, used to extract bi-phase image features by constructing a network model based on ShelfNet;

[0048] Network model building module, used to design and build a network model based on multi-scale double superposition;

[0049] The network model testing module is used to select training samples to train the network model and select test sets to test the network model.

[0050] In combination with the above technical solutions and the technical problems solved, please analyze the advantages and positive effects of the technical solutions to be protected by the present invention from the following aspects:

[0051] First, in view of the technical problems existing in the above-mentioned prior art and the difficulty of solving the problems, the technical solutions to be protected by the present invention and the results and data during the research and development process are closely combined to analyze in detail and deeply how the technical solutions of the present invention solve the technical problems, and some creative technical effects brought about after solving the problems. The specific description is as follows:

[0052] The multi-classification change detection method of multi-scale fused dual-temporal remote sensing images of the present invention introduces ShelfNet to extract features from dual-temporal images, fuses the two sets of features, maps the fused features to a specific feature space, and segmentes them through PSPNet. At the same time, the two loss functions are weighted to solve the problem of category imbalance.

[0053] Second, considering the technical solution as a whole or from the perspective of the product, the technical effects and advantages of the technical solution to be protected by the present invention are described in detail as follows:

[0054] The present invention mainly uses ShelfNet and PSPNet networks to detect changes in remote sensing images, and considers the semantic segmentation network for segmentation. At the same time, it considers the impact of class imbalance on the detection results, which greatly speeds up the operation speed and reduces resource consumption.

[0055] Third, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:

[0056] (1) The expected benefits and commercial value of the technical solution of the present invention after transformation are:

[0057] The technical solution of the present invention can be applied in the fields of climate change, environmental protection, disaster monitoring, etc., and has a wide range of uses in many industries related to the national economy and people's livelihood. At present, the status of satellite image change detection technology in the global commercial field is constantly improving. The development of the Internet and information technology has caused the earth observation data market to shift from pure government orders to the common needs of the government and enterprises. For example, my country has great potential in satellite images for updating maps and supporting geographic information. Internet companies such as Baidu and Tencent invest a lot of money every year in updating and purchasing remote sensing data. These corporate needs have laid a very solid market foundation for the breakthrough development of the remote sensing industry.

[0058] (2) The technical solution of the present invention fills the technical gap in the industry at home and abroad:

[0059] The technology of the present invention uses the latest ShelfNet network model to reduce parameters in the feature extraction stage, improves the accuracy of feature extraction, and then uses the PSPNet network to fully utilize the contextual relationship for fusion to generate the final change detection map. At this point, we use the combination of its two different models to apply to the change detection of dual-time images. This is a bold innovation and attempt in the field of image change detection at home and abroad.

[0060] (3) The technical solution of the present invention overcomes technical prejudice:

[0061] Compared with the previous traditional change detection methods, most of them use hand-drawn features, which are weak in image representation. In recent years, with the continuous development of deep learning, it has achieved unparalleled advantages in image analysis and other fields. The use of deep learning for change detection in remote sensing images is an unstoppable trend. Compared with the traditional manual feature classification algorithm, the present invention uses convolutional neural network for change detection, which has better performance. It can automatically learn complex feature space from a large amount of image data. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 is a flow chart of a multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images provided by an embodiment of the present invention;

[0063] Figure 2 is a schematic diagram of the structure of a multi-classification change detection system for multi-scale fusion dual-temporal remote sensing images provided by an embodiment of the present invention;

[0064] Figure 3 It is a structural block diagram of a multi-classification change detection system for multi-scale fusion dual-temporal remote sensing images provided by an embodiment of the present invention;

[0065] Figure 4 It is an overall network framework diagram provided by an embodiment of the present invention;

[0066] Figure 5 It is a framework diagram of a dual-phase image feature extraction and multi-scale fusion network model provided by an embodiment of the present invention;

[0067] In the figure: Figure a, a framework diagram of extracting features from dual-phase images based on the ShelfNet network model; Figure b, a framework diagram based on the PSPNet multi-scale fusion network model;

[0068] Figure 6 It is a schematic diagram of the results of the experiment provided by the embodiment of the present invention;

[0069] Figure 7 It is a qualitative analysis diagram comparing various models in the experiment provided by the embodiment of the present invention;

[0070] In the figure: 1. Data set selection module; 2. Data set preprocessing module; 3. Image feature extraction module; 4. Network model construction module; 5. Network model testing module. DETAILED DESCRIPTION

[0071] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0072] 1. Explanatory Examples In order to enable those skilled in the art to fully understand how to implement the present invention, this section provides an illustrative example that expands and describes the technical solution of the claims.

[0073] like Figure 1 As shown, the multi-classification change detection method of multi-scale fusion dual-temporal remote sensing images provided by the embodiment of the present invention includes:

[0074] S101: Select a public data set and preprocess the data set; the preprocessing of the data set makes the training data samples more complex, so that the trained network structure has stronger robustness.

[0075] S102: Build a network model based on ShelfNet to extract dual-phase image features.

[0076] S103: Build a network model based on multi-classification detection and a semantic segmentation network based on PSPNet to distinguish different changes.

[0077] S104: Select training samples to train the network model, select test sets to test the network model, and verify the effectiveness of the extracted network model.

[0078] In S101 provided in the embodiment of the present invention, the preprocessing of the data set includes cropping and image enhancement.

[0079] In S102 provided in the embodiment of the present invention, the specific process of extracting the dual-phase image features is as follows:

[0080] In the stage of extracting features from dual-phase images, ShelfNet is used as the basic network to extract features; the speed is increased by reducing the number of channels, using a 1×1 convolutional layer followed by BatchNormalization and Relu layers, and the number of channels is converted (output) from 256, 512, 1024, 2048 to 64, 128, 256, 512 at the spatial level. The output tensor is the extracted features, and the parameters are adaptively adjusted based on the extracted general features to make the model suitable for a specific data set.

[0081] In order to reduce the model size and extract features more efficiently, an improved residual block is used, where the two convolutional layers in the same block share the same weights, but the two Normalization layers are different. The shared weight design reuses the weights of the convolution and has similar properties to the recursive convolutional neural network (RCNN). A dropout layer is added between the two convolutional layers to avoid overfitting. The shared weight residual block combines the advantages of skip connections, recurrent convolutions, and dropout regularization, and has fewer parameters than the standard residual block.

[0082] In S103 provided in the embodiment of the present invention, the specific process of constructing a network model based on multi-classification detection is as follows:

[0083] The dual-phase feature maps extracted by the Shelf-Net network are fused; the fused feature maps are used to collect contextual information of different scales through the pyramid pooling module in PSPNet and fuse to generate feature maps of different levels, which are finally flattened and spliced ​​together, and then input into the fully connected layer for classification to obtain the final multi-classification change detection map.

[0084] In S104 provided in the embodiment of the present invention, a training sample is selected to train the network model and a test set is selected to test the network model to verify the effectiveness of the extracted network model. The specific process is as follows:

[0085] 1) Loss Function

[0086] By combining the two loss functions, Dice Loss and CrossEntropy Loss, we can solve the problem of sample imbalance in binary classification. In practice, in order to improve the stability of model training, Dice loss is usually combined with CrossEntropy loss, so the total loss is defined as:

[0087] Loss = L Dice +L CrossEntropy (1)

[0088] 2) Evaluation criteria

[0089] The performance of different change detection algorithms is evaluated using the overall accuracy and mIoU evaluation criteria.

[0090] The Dice loss provided in the embodiment of the present invention is specifically:

[0091] When performing multi-class change detection, first obtain the binary change map, then obtain the multi-class change map under the guidance of the binary change map, and evaluate it through Dice loss;

[0092]

[0093] Where X is the ground truth, Y is the prediction output by the network; |X|+|Y| represents the sum of the matrix elements. X∩Y represents the number of elements shared between X and Y, which is actually calculated by taking the sum of the pixel products of the two matrices.

[0094] The cross entropy loss provided in the embodiment of the present invention is specifically:

[0095] The cross entropy loss is mainly used to determine the degree of closeness between the actual output and the expected output, and the loss function is combined. The closer the predicted distribution is to the true distribution, the smaller the cross entropy loss is, and the farther the predicted distribution is from the true distribution, the larger the cross entropy loss is. For a multi-label classification task with N data sets, the calculation method of the cross entropy loss function is:

[0096]

[0097] Where y is the ground truth value, Output for the network.

[0098] The overall accuracy provided by the embodiment of the present invention is specifically:

[0099] Overall accuracy (OA) refers to the number of correctly classified bi-temporal pixels divided by the number of test samples. It usually measures the classification performance and can directly reflect the correct proportion. The calculation is very simple and can be used to evaluate the change detection algorithm. OA is defined as:

[0100]

[0101] By counting all the output images and the corresponding change labels, we get the confusion matrix M={Mij}, where Mij represents the image that is identified as the i-th change type but actually belongs to the j-th change type; N represents the total number of change types.

[0102] The mIoU provided in the embodiment of the present invention is specifically:

[0103] Using mIoU to evaluate the change detection results, a confusion matrix M is given, as follows:

[0104]

[0105]

[0106] Among them, IoU1 evaluates the extraction effect of unchanged pixels, and IoU2 evaluates the extraction effect of changed pixels, so the definition of mIoU is:

[0107] mIoU=0.5*IoU1+0.5*IoU2 (7).

[0108] like Figure 2As shown, the multi-classification change detection system of multi-scale fusion dual-temporal remote sensing images provided by the embodiment of the present invention includes:

[0109] Data set selection module 1, used to select public data sets;

[0110] Dataset preprocessing module 2, used for cropping the dataset and preprocessing image enhancement;

[0111] Image feature extraction module 3, used for extracting bi-phase image features by constructing a network model based on ShelfNet;

[0112] The network model construction module 4 is used to design and construct a network model based on multi-scale double superposition;

[0113] The network model testing module 5 is used to select training samples to train the network model and select test sets to test the network model.

[0114] The technical solution of the present invention is described in detail below in conjunction with specific embodiments.

[0115] The present invention proposes a network structure for multi-scale feature fusion. First, high-level features of the dual-phase images are extracted, and then the features are fused and put into a multi-scale fusion network to extract the fused features again, and finally a multi-classification change detection map is obtained.

[0116] like Figure 3 and Figure 4 As shown, the specific implementation process includes the following steps:

[0117] Step 1: Select a public dataset;

[0118] There are 4662 sets of remote sensing data sets with a resolution of 0.5 to 3 meters and a pixel size of 512*512. Two images of the previous and next phases correspond to a label map, indicating the area that has changed and the type of change in the changed area of ​​the image. Note that the annotations of the data set are highly unbalanced. Unchanged pixels account for the vast majority of the total pixels, while the types of changes account for only a small proportion.

[0119] Step 2, preprocessing of the data set;

[0120] Used for cropping the dataset and preprocessing of image enhancement.

[0121] Step 3: Build a network model based on ShelfNet to extract dual-phase image features, such as Figure 5 (a)

[0122] In the stage of extracting features from dual-phase images, ShelfNet is used as the basic network to extract features; the speed is increased by reducing the number of channels, using a 1×1 convolutional layer followed by BatchNormalization and Relu layers, and the number of channels is converted (output) from 256, 512, 1024, 2048 to 64, 128, 256, 512 at the spatial level. The output tensor is the extracted features, and the parameters are adaptively adjusted based on the extracted general features to make the model suitable for a specific data set.

[0123] In order to reduce the model size and extract features more efficiently, an improved residual block is used, where the two convolutional layers in the same block share the same weights, but the two Normalization layers are different. The shared weight design reuses the weights of the convolution and has similar properties to the recursive convolutional neural network (RCNN). A dropout layer is added between the two convolutional layers to avoid overfitting. The shared weight residual block combines the advantages of skip connections, recurrent convolutions, and dropout regularization, and has fewer parameters than the standard residual block.

[0124] Step 4: Design and construct a network model based on multi-classification detection; Design and construct a network model based on multi-classification detection to distinguish different changes, such as Figure 5 (b)

[0125] (1) Fusion of the dual-phase feature maps extracted by the ShelfNet network.

[0126] (2) The fused feature map is passed through the pyramid pooling module in PSPNet to collect contextual information of different scales and fuse the generated feature maps of different levels. Finally, it is flattened and concatenated, and then input into the fully connected layer for classification to obtain the final change detection map.

[0127] Step 5: Select training samples to train the network model and select test sets to test the network model to verify the effectiveness of the extracted network model.

[0128] (1) Loss Function

[0129] By combining the two loss functions, Dice Loss and CrossEntropy Loss, we can solve the problem of sample imbalance in binary classification. In practice, in order to improve the stability of model training, Dice loss is usually combined with CrossEntropy loss, so the total loss is defined as:

[0130] Loss = L Dice +L CrossEntropy (1)

[0131] The Dice loss is specifically:

[0132] When performing multi-class change detection, we first obtain the binary change map, and then obtain the multi-class change map under the guidance of the binary change map, and evaluate it through Dice loss.

[0133]

[0134] Where X is the ground truth, Y is the prediction output by the network, and |X|+|Y| represents the sum of the matrix elements. X∩Y represents the number of elements shared between X and Y, which is actually calculated by summing the pixel products of the two matrices.

[0135] The cross entropy loss is specifically:

[0136] The cross entropy loss is mainly used to determine the degree of closeness between the actual output and the expected output, and the loss function is combined. The closer the predicted distribution is to the true distribution, the smaller the cross entropy loss is, and the farther the predicted distribution is from the true distribution, the larger the cross entropy loss is. For a multi-label classification task with N data, the calculation method of the cross entropy loss function is:

[0137]

[0138] Where y is the ground truth value, Output for the network.

[0139] (2) Evaluation criteria

[0140] To evaluate the performance of different change detection algorithms, the following evaluation criteria are used:

[0141] a. Overall accuracy

[0142] Overall accuracy (OA) refers to the number of correctly classified bi-temporal pixels divided by the number of test samples. It usually measures the classification performance and can directly reflect the correct proportion. The calculation is very simple and can be used to evaluate the change detection algorithm. OA is defined as:

[0143]

[0144] By counting all the output images and the corresponding change labels, we get the confusion matrix M={Mij}, where Mij represents the images that are identified as the i-th change type but actually belong to the j-th change type, and N represents the total number of change types.

[0145] b. The specific process of mIoU is as follows:

[0146] Using mIoU to evaluate the change detection results, a confusion matrix M is given, as follows:

[0147]

[0148]

[0149] Among them, IoU1 evaluates the extraction effect of unchanged pixels, and IoU2 evaluates the extraction effect of changed pixels, so the definition of mIoU is:

[0150] mIoU=0.5*IoU1+0.5*IoU2 (7)

[0151] Finally, the change detection results on the dataset are shown in the figure Figure 6 shown.

[0152] 2. Application Examples: In order to prove the creativity and technical value of the technical solution of the present invention, this section provides application examples of the technical solution of the claims on specific products or related technologies.

[0153] The present invention is implemented using software, and the experiment is implemented on a Windows system with a system memory of 64GB, a graphics card GeForce RTX2080Ti graphics card, and a graphics card memory of 32GB.

[0154] The embodiments of the present invention can be implemented by complete hardware, complete software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by a suitable instruction execution system, such as a microprocessor or dedicated design hardware.

[0155] It will be appreciated by those skilled in the art that the above-described apparatus and methods may be implemented using computer executable instructions and / or contained in processor control code, such as provided on a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a particular manner, or may be loaded onto a computer or other programmable data processing device so that a series of operating steps are performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0156] The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., and can also be implemented by software executed by various types of processors, or by a combination of the above hardware circuits and software, such as firmware.

[0157] 3. Evidence of the effects of the embodiments. The embodiments of the present invention have achieved some positive effects during the development or use process, and indeed have great advantages over the prior art. The following content is described in conjunction with the data, charts, etc. of the test process.

[0158] In order to verify the overall effectiveness of the proposed network structure, the proposed network is compared with PSPNet and UNet++ on the same dataset. The experimental results are as follows Figure 7 As shown. Figure 7 As shown in the figure, the first and second columns are remote sensing images taken in two time periods, the third column is the label map, the fourth column is the result map of PSPNet, the fifth column is the result map of UNet++, and the sixth column is the result map of the proposed method. From the third set of data, it can be seen that the general outline of the detected objects by PSPNet and UNet++ is not complete. In addition, in the remaining data, all methods have detected the basic outline of the changing objects, and the difference lies in the accuracy of the shape outline of the detected objects. From the sixth column of data, it can be seen that the proposed method has fewer detected error points than UNet++ and PSPNet. In summary, the proposed method is more detailed than other methods, the contour lines are clearer, and it is more resistant to noise points.

[0159] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images, characterized in that: The multi-classification change detection method of multi-scale fusion dual-temporal remote sensing images includes: First, two single-phase images are placed in the first-stage ShelfNet network to extract their respective high-level semantic features, and then the extracted features are fused and mapped to a new space; the second-stage semantic segmentation network PSPNet is constructed in the space, and the deep-level features of the fused features are extracted and similarity judgment is performed, so that the correlation of unchanged pixels increases and the correlation between changed pixels decreases, and finally the result map of multi-classification change detection is determined; The specific process of the multi-classification change detection method of multi-scale fusion dual-temporal remote sensing images is as follows: Step 1: Select a public data set and preprocess it. The preprocessing of the data set makes the training data samples more complex, making the trained network structure more robust. Step 2: Build a network model based on ShelfNet to extract dual-phase image features; Step 3: Build a network model based on multi-classification detection and a semantic segmentation network based on PSPNet to distinguish different changes; Step 4: Select training samples to train the network model, and select test sets to test the network model to verify the effectiveness of the extracted network model; In the step three, the specific process of constructing a network model based on multi-classification detection is as follows: fusing the dual-phase feature maps extracted by the Shelf-Ne t network; collecting context information of different scales through the pyramid pooling module in PSPNet, and fusing the fused feature maps to generate feature maps of different levels, which are finally flattened and spliced ​​together, and then input into the fully connected layer for classification to obtain the final multi-classification change detection map.

2. The multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images according to claim 1, characterized in that: In the step 1, the data set is preprocessed including cropping and image enhancement.

3. The multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images as claimed in claim 1, characterized in that: In step 2, the specific process of extracting the dual-phase image features is as follows: In the stage of extracting features from dual-phase images, ShelfNet is used as the basic network to extract features. By reducing the number of channels to increase the speed, a 1×1 convolutional layer followed by BatchNormalization and Relu layers is used to change the number of channels from 256, 512, 1024, 2048 to 64, 128, 256, 512 at the spatial level. The output tensor is the extracted features, and the parameters are adaptively adjusted based on the extracted general features to make the model suitable for specific data sets. Through the improved residual block, the model size is reduced and features are extracted more efficiently. The two convolutional layers in the same block share the same weights, and the two Normalization layers are different; the shared weight design reuses the weights of the convolution and has similar characteristics to the recursive convolutional neural network; a dropout layer is added between the two convolutional layers to avoid overfitting; the shared weight residual block combines skip connections, recurrent convolutions, and exit regularization, and has fewer parameters than the standard residual block.

4. The multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images as claimed in claim 1, characterized in that: In step 4, a training sample is selected to train the network model and a test set is selected to test the network model to verify the effectiveness of the extracted network model. The specific process is as follows: 1) Loss Function By combining Dice Loss and CrossEntropy Loss, the imbalance of samples in binary classification can be solved; in practice, Dice loss is combined with CrossEntropy loss to improve the stability of model training. The total loss is defined as: Loss=L Dice +L CrossEntropy (1) 2) Evaluation criteria The performance of different change detection algorithms is evaluated using the overall accuracy and mIoU evaluation criteria.

5. The multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images as claimed in claim 4, characterized in that: The Dice loss is specifically: When performing multi-class change detection, first obtain the binary change map, then obtain the multi-class change map under the guidance of the binary change map, and evaluate it through Dice loss; Where X is the ground truth, Y is the prediction output by the network; |X|+|Y| represents the sum of the matrix elements; X∩Y represents the number of elements shared by X and Y, which is actually calculated by taking the sum of the pixel products of the two matrices.

6. The multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images as claimed in claim 4, characterized in that: The cross entropy loss is specifically: The cross entropy loss determines the degree of closeness between the actual output and the expected output, and the loss function is combined; the closer the predicted distribution is to the true distribution, the smaller the cross entropy loss is, and the farther the predicted distribution is from the true distribution, the larger the cross entropy loss is; for a multi-label classification task with N data sets, the calculation method of the cross entropy loss function is: Where y is the ground truth value, Output for the network.

7. The multi-classification change detection method for multi-scale fusion dual-temporal remote sensing images as claimed in claim 4, characterized in that: The overall accuracy is specifically: The overall accuracy is the number of correctly classified bi-temporal pixels divided by the number of test samples, which measures the classification performance and reflects the correct proportion of classifications. The change detection algorithm is evaluated as: By counting all the output images and the corresponding change labels, we get the confusion matrix M = {Mij}, where Mij represents the image that is identified as the i-th change type but actually belongs to the j-th change type; N represents the total number of change types; mIoU is specifically: Using mIoU to evaluate the change detection results, a confusion matrix M is given, which is: Among them, IoU1 evaluates the extraction effect of unchanged pixels, and IoU2 evaluates the extraction effect of changed pixels, so the definition of mIoU is: mIoU=0.5*IoU1+0.5*IoU2(7).

8. A multi-classification change detection system for multi-scale fused dual-temporal remote sensing images implementing the multi-classification change detection method for multi-scale fused dual-temporal remote sensing images as claimed in any one of claims 1 to 7, characterized in that: The multi-classification change detection system of multi-scale fusion dual-temporal remote sensing images comprises: Dataset selection module, used to select public datasets; The dataset preprocessing module is used to crop the dataset and perform image enhancement preprocessing; Image feature extraction module, used to extract bi-phase image features by constructing a network model based on ShelfNet; Network model building module, used to design and build a network model based on multi-scale double superposition; The network model testing module is used to select training samples to train the network model and select test sets to test the network model.