Target object change detection method and device based on deep learning, equipment and medium

By constructing an end-to-end target change detection model, the problems of insufficient feature fusion, pseudo-change suppression, and multi-scale detection in building (structure) change detection are solved, achieving high-precision and robust building (structure) change detection, which is suitable for smart city management and disaster assessment.

CN121640302AActive Publication Date: 2026-03-10HUNAN GUOTIAN ELECTRONICS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-02-05
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing deep learning methods for detecting changes in buildings and structures suffer from problems such as insufficient fusion of dual-temporal features, sensitivity to pseudo-changes, weak multi-scale feature representation capabilities, and strong dependence on a large amount of labeled data, making it difficult to meet the high accuracy and robustness requirements of urban planning and disaster assessment.

Method used

An end-to-end target change detection model is constructed, including a feature extraction module, a bidirectional semantic alignment module, and a decoder module. Spatial details are restored through multi-scale feature extraction, bidirectional semantic alignment, and decoder. Combined with an edge enhancement loss function and an online hard sample mining strategy, the model training is optimized to improve detection accuracy and generalization ability.

Benefits of technology

It achieves high-precision and robust building change detection, significantly reduces spurious change interference, improves the integrity of multi-scale building detection and the generalization ability of the algorithm, adapts to different geographical regions and sensor data, and supports automated analysis of smart city management and disaster emergency response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121640302A_ABST
    Figure CN121640302A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of image processing, and provides a target object change detection method, device and equipment based on deep learning, and a medium, and the method comprises the steps: obtaining a dual-temporal remote sensing image pair containing target object registration and a training sample of a binary change annotation graph corresponding to the pixel level of the dual-temporal remote sensing image pair; constructing a target object change detection model, wherein the target object change detection model comprises a feature extraction module used for extracting multi-scale features of two time-phase images in the dual-time-phase remote sensing image pair, a bidirectional semantic alignment module used for fusing the multi-scale features of the two time-phase images, and a decoder module used for recovering spatial details; training a target object change detection model by using the training sample to obtain a trained target object change detection model; and inputting the dual-temporal remote sensing image pair registered with the target object to be detected into the trained target object change detection model, and outputting a corresponding binary change prediction map. According to the invention, a changing target object area can be accurately and robustly segmented from the dual-time-phase low-altitude image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, specifically to a method, apparatus, device, and medium for detecting changes in target objects based on deep learning. Background Technology

[0002] With the rapid development of Earth observation technology, low-altitude airspace has become an indispensable data source for monitoring urban development, assessing disaster losses, and updating geographic information databases. Among these, target change detection, as a core task of Earth image interpretation, aims to automatically identify and locate areas of change in targets by analyzing low-altitude image data acquired at different times. It has wide-ranging applications in urban planning, illegal construction supervision, disaster assessment, and rescue. Accurate and automated detection of target changes is crucial for achieving dynamic perception and refined management in smart cities.

[0003] Object change detection, especially of buildings and structures, is essentially a pixel-level or object-level classification problem of multi-temporal low-altitude images, that is, determining whether each pixel or each image object belongs to the "changed" or "unchanged" category. However, due to differences in imaging conditions (such as lighting, season, sensor angle, and weather), as well as the complexity of the building's structure and interference from the surrounding environment (such as shadows and vegetation obstruction), how to robustly extract discriminative change features and effectively suppress "spurious changes" (such as changes caused by lighting, vehicle movement, and vegetation growth) has long been a serious challenge for this technology.

[0004] Traditional change detection methods mainly rely on image algebraic methods (such as image differencing and ratio methods) and image classification methods (such as principal component analysis and change vector analysis). These methods usually require complex preprocessing (such as radiometric correction and precise registration), and their feature representation capabilities are limited, heavily relying on manually designed features. When faced with complex scenes and various interferences, their generalization ability and detection accuracy often fail to meet the needs of practical applications.

[0005] In recent years, deep learning technology, especially convolutional neural networks (CNNs), has brought revolutionary breakthroughs to the field of change detection due to its powerful ability to automatically extract and represent hierarchical features. Some studies employ a pixel-level comparison paradigm, first extracting deep features from bi-temporal images using independent or weight-shared CNN branches, then constructing difference maps through feature differencing, feature concatenation, or convolution operations, and finally classifying the difference maps to obtain change detection maps. Others have proposed a Siamese network-based architecture, ensuring consistency in feature extraction through a dual-branch network with shared weights, and combining attention mechanisms to focus on significant change regions. Still others have explored fully convolutional networks and U-Net structures, fusing deep semantic information with shallow detail information through encoder-decoder paths and skip connections to achieve end-to-end pixel-level accurate segmentation. Furthermore, to address the imbalanced sample problem, some researchers have introduced weighted cross-entropy loss, Dice loss, or adversarial loss to optimize model training. Still other studies treat change detection as a spatiotemporal sequence analysis problem, attempting to combine recurrent neural networks or Transformer models to capture long-range dependencies between multi-temporal images.

[0006] Despite significant progress in deep learning-based methods, they still face numerous challenges: how to design efficient network architectures to better integrate dual-temporal and multi-level features; how to effectively distinguish between real building (structure) changes and various pseudo-changes; how to reduce the model's dependence on large amounts of finely labeled data; and how to improve the model's generalization ability across regions and sensor scenarios. Therefore, developing a building (structure) change detection algorithm that can balance high accuracy, strong robustness, and good generalization remains a key problem that urgently needs to be solved in the field of low-altitude imagery.

[0007] Insufficient dual-temporal feature fusion capability: Many existing methods employ simple feature concatenation or difference operations for dual-temporal feature fusion. This shallow fusion strategy is insufficient to fully capture the complex spatiotemporal dependencies and interaction information between images from different periods, resulting in incomplete semantic representation of changes, easy loss of subtle change features, or introduction of fusion noise.

[0008] Limited ability to suppress "spurious changes": "Spurious changes" caused by non-target factors such as changes in illumination, seasonal changes, vehicle movement, and vegetation growth are common in low-altitude imagery. Existing models often lack targeted mechanisms to distinguish changes in the essential features of ground features from these apparent disturbances, resulting in a high false alarm rate, especially in complex urban scenes and cross-seasonal data, where detection accuracy drops significantly.

[0009] Poor representation of multi-scale buildings: Buildings in cities vary greatly in scale, from large factories to small residences. Traditional encoder-decoder structures may lose detailed information about small-scale buildings during feature extraction or fail to effectively model the overall structure of large-scale buildings, leading to issues such as missed detection of small buildings or incomplete boundaries of large buildings in the detection results. Summary of the Invention

[0010] To address the problems of insufficient fusion of dual-temporal features, sensitivity to "pseudo-changes," weak multi-scale feature representation capabilities, and strong dependence on large amounts of labeled data in existing deep learning change detection methods, this invention provides a deep learning-based method, apparatus, device, and medium for detecting changes in target objects.

[0011] To achieve the above objectives, the present invention provides the following technical solution:

[0012] On the one hand, a deep learning-based method for detecting changes in target objects is provided, comprising the following steps: Obtain a training dataset, wherein the training samples in the training dataset include dual-temporal remote sensing image pairs registered with the target object and their corresponding pixel-level binary variation annotation maps; A target change detection model is constructed, which includes a feature extraction module for extracting multi-scale features of two temporal images in a mid-image pair, a bidirectional semantic alignment module for fusing multi-scale features of two temporal images, and a decoder module for restoring spatial details. A target object change detection model is trained using a training dataset. During the training process, the target object change detection model is optimized using a constructed loss function to obtain a well-trained target object change detection model. The dual-temporal remote sensing image pairs registered with the target object to be detected are input into the trained target object change detection model, and the corresponding binary change prediction map is output.

[0013] On the other hand, a target change detection device based on deep learning is provided, comprising: The first module is used to acquire a training dataset, wherein the training samples in the training dataset include dual-temporal remote sensing image pairs registered with the target object and their corresponding pixel-level binary change annotation maps. The second module is used to build a target change detection model. The model includes a feature extraction module for extracting multi-scale features of the two temporal images in the mid-phase remote sensing image pair, a bidirectional semantic alignment module for fusing multi-scale features of the two temporal images, and a decoder module for restoring spatial details. The third module is used to train the target object change detection model using the training dataset. During the training process, the constructed loss function is used to optimize the target object change detection model to obtain a well-trained target object change detection model. The fourth module is used to input the dual-temporal remote sensing image pairs registered with the target object to be detected into the trained target object change detection model, and output the corresponding binary change prediction map.

[0014] On the other hand, the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described deep learning-based target change detection method.

[0015] On the other hand, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the above-described deep learning-based target change detection method.

[0016] On the other hand, the present invention provides a computer program product stored on a computer-readable storage medium and including computer instructions that, when executed by a processor, cause an electronic device to implement the steps of the deep learning-based target change detection method described above.

[0017] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention provides a target change detection method based on deep learning. By constructing an end-to-end target change detection model, the deep learning network model includes a feature extraction module for extracting multi-scale features of two temporal images in a dual-temporal remote sensing image pair, a bidirectional semantic alignment module for fusing multi-scale features of two temporal images, and a decoder module for restoring spatial details, thereby achieving accurate and robust segmentation of changed target areas from dual-temporal low-altitude images.

[0018] Specifically, the target object change detection model first utilizes a shared-weight feature extraction backbone network to extract deep features from dual-temporal images. Second, a bidirectional semantic alignment module is introduced to perform deep feature interaction and fusion at multiple scales, rather than simply stitching or differencing, thereby more fully capturing spatiotemporal dependencies. Then, the decoder module gradually recovers spatial details and integrates contextual information from different scales through upsampling, cross-layer connections, and feature aggregation to simultaneously detect changes in target objects (such as buildings) at both large and small scales. Furthermore, this invention optimizes model training through a strategy combining edge enhancement loss function and online hard sample mining, effectively suppressing spurious changes and improving the segmentation accuracy of target object boundaries in the target object change detection model. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart of a target change detection method based on deep learning in one embodiment; Figure 2 This is a block diagram of an electronic device in one embodiment. Detailed Implementation

[0021] The technical solution of the present invention will now be clearly and completely described through specific embodiments. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.

[0022] In one embodiment, reference is made to Figure 1 This paper provides a deep learning-based method for detecting changes in target objects, comprising the following steps: Obtain a training dataset, wherein the training samples in the training dataset include dual-temporal remote sensing image pairs registered with the target object and their corresponding pixel-level binary variation annotation maps; A target change detection model is constructed, which includes a feature extraction module for extracting multi-scale features of two temporal images in a mid-image pair, a bidirectional semantic alignment module for fusing multi-scale features of two temporal images, and a decoder module for restoring spatial details. A target object change detection model is trained using a training dataset. During the training process, the target object change detection model is optimized using a constructed loss function to obtain a well-trained target object change detection model. The dual-temporal remote sensing image pairs registered with the target object to be detected are input into the trained target object change detection model, and the corresponding binary change prediction map is output.

[0023] This invention is applicable to a variety of application scenarios. The target objects described in this invention include, but are not limited to, buildings, structures, lakes, and topography.

[0024] Furthermore, the registered dual-temporal remote sensing image pair is input into the feature extraction module, which includes two feature extraction backbone networks with shared weights. The two temporal images in the registered dual-temporal remote sensing image pair are respectively input into the two shared weight feature extraction backbone networks for multi-scale feature extraction, generating multi-scale feature map groups corresponding to the two temporal images. Each multi-scale feature map group contains feature maps of different levels from shallow to deep.

[0025] In one embodiment, the two temporal images in the registered dual-temporal remote sensing image pair and Inputting each feature extraction backbone network with shared weights (such as ResNet-50 / 101) generates multi-scale feature maps. , , , , } and{ , , , , }, where superscripts 1 to 5 represent different feature levels from shallow to deep. In practical applications, feature levels... =1,2,..., N, N The settings are unlimited.

[0026] The bidirectional semantic alignment module is key to solving the problems of insufficient feature fusion and pseudo-changes. The bidirectional semantic alignment module is used to perform bidirectional spatiotemporal context fusion of feature maps of the same level in multi-scale feature map groups of two temporal images to obtain a fused feature map.

[0027] In one embodiment, the bidirectional semantic alignment module performs a first-order semantic alignment on the input two-temporal images. First phase feature map of the hierarchy Second phase feature map Perform the following operations: For the first of the two-phase images First phase feature map of the hierarchy Second phase feature map , =1,2,..., N ; Generate the first phase feature map respectively The first query feature and the first key value feature, and the second temporal feature map. The second query feature and the second key-value feature. Specifically, for example, the first phase feature map Second phase feature map The features are respectively input into at least one convolutional layer for processing to obtain the first query feature and the first key value feature of the first temporal feature map, and the second query feature and the second key value feature of the second temporal feature map.

[0028] Based on the first query feature and the second key-value feature, calculate the forward attention weights that represent the dependency relationship from the first time phase to the second time phase. Based on the second query features and the first key-value features, calculate the backward attention weights that represent the dependency relationship from the second time phase to the first time phase. ; ; ; in, Represents forward attention weights The weight in the p-th row and q-th column represents the temporal image. Features and temporal images of position p The similarity of features at position q in the middle; Represents the backward attention weights The weight of the p-th row and q-th column; · represents the dot product; , These represent the p-th values ​​of the first query feature and the second query feature, respectively. , Let q represent the q-th value of the first key-value feature and the second key-value feature, respectively. This represents the predicted value of the binary change during forward propagation.

[0029] Utilizing forward attention weights For the first phase feature map Weighting is performed to obtain the first enhanced feature map enhanced by the second phase information. ; Using backward attention weights For the second phase feature map Weighting is performed to obtain the second enhanced feature map enhanced by the first phase information. ; ; ; The first enhanced feature map Second Enhanced Feature Map First phase characteristic diagram Second phase feature map The images are stitched together and fused using a 1x1 convolutional layer to obtain the first image from the two temporal phases. Hierarchical fusion feature map ; ; The bidirectional semantic alignment module can dynamically establish the correspondence between two temporal images by calculating bidirectional, dense pixel-level correlations, thereby enhancing areas of real change and suppressing pseudo-changes caused by appearance differences during fusion.

[0030] The decoder module is responsible for restoring the low-resolution, high-semantic fused features of the encoded output to a high-resolution variation map.

[0031] In one embodiment, the decoder module starts from the first... Hierarchical fusion feature map Initially, spatial details are recovered from deep to shallow layers to generate an initial probability map of change. For the initial change probability map Threshold segmentation is performed to obtain a binary change prediction map. ,include: S101, No. Hierarchical fusion feature map As the current level input features of the decoder module In the first iteration, the current level = N; S102, input features of the current level Perform convolution and upsampling; for example, use a 3x3 convolution to reduce the number of channels and extract features, and then perform bilinear interpolation upsampling to increase the spatial size by 2 times.

[0032] S103, For the current fused feature map at the same level Perform global average pooling to generate channel attention weights, and simultaneously fuse the current feature maps at the same level. Spatial attention weights are computed through a convolutional layer, and the current fused feature map at the same level is then analyzed based on channel attention weights and spatial attention weights. We perform weighting to obtain the weighted skip connection features. This allows the decoder to focus more on the fused feature maps at the same level. The channels and locations that contain important information about changes and the edges of the target object.

[0033] S104, weighted skip connection features The features are added element-wise to the upsampled features in S102, and then fused through a residual convolutional block to output the decoded features of the current stage. And use it as the input feature for the next level. Update the current level Return to step S102 until all levels of fused feature maps have been processed, ultimately obtaining multiple decoded features at different scales. , , ,..., }; S105 upsamples decoding features at different scales to the same spatial size and then stitches them together; S106, the concatenated features are sequentially subjected to convolutional fusion, channel dimensionality reduction, and nonlinear activation to output the initial change probability map. If the concatenated features are fused using a 3x3 convolutional layer, followed by a 1x1 convolution and a sigmoid activation function, the initial change probability map will be output. This design ensures that the model can utilize both deep semantic information (which is helpful for identifying changes in large areas) and shallow detailed information (which is helpful for accurately locating small targets and boundaries).

[0034] S107, Initial Change Probability Map Threshold segmentation is performed to obtain a binary change prediction map. In this context, a pixel value of 1 represents a change, and 0 represents no change. For example, consider the initial change probability map. The binary change prediction map is obtained by comparing it with the threshold T (default is 0.5). .

[0035] To address class imbalance (where changed pixels are typically far fewer than unchanged pixels) and improve boundary quality, a composite loss function is designed in one embodiment of this invention. The loss function... Dice loss term Weighted binary cross-entropy loss term Edge consistency loss term constitute, , where α, β∈(1,0), α + β=1.

[0036] Specifically, Dice loss item This formula is used to address the issue of unbalanced foreground / background pixel counts. ; in, A binary transformation annotation map for the training samples. This is a binary change prediction map for the training samples, where ε is the smoothing term; Weighted binary cross-entropy loss term This provides a foundation for mining difficult samples, and its formula is: ; in, It is a weight that is dynamically calculated based on the ratio of positive to negative samples in the training dataset. ∈ (1, 0), used to increase the loss contribution of pixels of the change class.

[0037] Using the Sobel operator to annotate the binary transformation of the training samples Binary change prediction chart The edges extracted from each are used to calculate the edge consistency loss term between them. , The edge consistency loss term forces the model to learn clear object boundaries, which aligns the predicted boundaries of the change region as closely as possible to the true boundaries.

[0038] During training, in each batch, a binary transformation prediction map is generated based on the training samples. The model calculates the loss for each sample and automatically identifies difficult samples that are misclassified by the model (i.e., high confidence but incorrect prediction). During backpropagation, gradients are backpropagated only to the top K% (e.g., 30%) of samples with the highest loss values, forcing the model to focus on optimizing these difficult samples and improving its discriminative ability.

[0039] For a dual-temporal remote sensing image registered with the target object to be detected, inputting it into a trained target object change detection model will yield its binary change prediction map, thus completing the target object change detection. Specifically, the trained target object change detection model performs the following steps: Multi-scale feature extraction is performed on the two temporal images in the dual-temporal remote sensing image pair to generate multi-scale feature map groups corresponding to the two temporal images. Each multi-scale feature map group contains feature maps of different levels from low to high. By performing bidirectional spatiotemporal context fusion on feature maps of the same level from two temporal images, fused feature map groups at each level are obtained. Spatial details are recovered from the fused feature maps of each level through upsampling, cross-layer connections, and feature aggregation operations to generate an initial change probability map; The initial change probability map is binarized to generate a binary change prediction map.

[0040] Furthermore, it also includes prediction maps of binary changes. First, an opening operation is performed to remove noise points and small spurious change regions. Then, a closing operation is performed to fill small holes inside the change regions, making the detected target area more complete. Finally, area filtering is performed: all connected regions with an area smaller than a preset threshold are removed. (For example, a patch corresponding to an actual ground area of ​​30 square meters) is further filtered to remove minor changes that are not the target object, and the final smooth and complete binary change prediction map of the target object is output.

[0041] In another embodiment, a target change detection device based on deep learning is provided, comprising: The first module is used to acquire a training dataset, wherein the training samples in the training dataset include dual-temporal remote sensing image pairs registered with the target object and their corresponding pixel-level binary change annotation maps. The second module is used to build a target change detection model. The model includes a feature extraction module for extracting multi-scale features of the two temporal images in the mid-phase remote sensing image pair, a bidirectional semantic alignment module for fusing multi-scale features of the two temporal images, and a decoder module for restoring spatial details. The third module is used to train the target object change detection model using the training dataset. During the training process, the constructed loss function is used to optimize the target object change detection model to obtain a well-trained target object change detection model. The fourth module is used to input the dual-temporal remote sensing image pairs registered with the target object to be detected into the trained target object change detection model, and output the corresponding binary change prediction map.

[0042] The object change detection method and apparatus based on deep learning provided by this invention have achieved significant technical progress through a series of innovative designs, including the introduction of a bidirectional semantic alignment module, a multi-scale detail recovery decoder, and an edge enhancement composite loss function. The beneficial effects are specifically reflected in the following aspects: (1) Significantly improved the accuracy and robustness of change detection: The core of this invention, the bidirectional semantic alignment module, achieves deep-level spatiotemporal feature interaction and adaptive fusion by calculating dense, bidirectional pixel-level correlations between two temporal images. Compared with traditional simple feature stitching or difference methods, this module can more accurately capture the semantic information of real building changes, while effectively suppressing "spurious change" interference caused by changes in lighting, seasonal changes, vehicle movement, and vegetation growth. Experimental results show that on public datasets, the algorithm of this invention significantly outperforms mainstream methods such as FC-EF, STANet, and BIT in key metrics such as F1 score and intersection-over-union ratio, especially in complex urban scenes and cross-seasonal data, where the false alarm rate is significantly reduced.

[0043] (2) Enhanced the ability to perform detailed inspections of buildings at multiple scales: This invention designs a multi-scale detail recovery decoder that combines a feature pyramid structure with a residual attention upsampling module. This structure can effectively fuse features from different levels of the encoder, making full use of the high-resolution detail information of shallow networks and the rich semantic information of deep networks. This enables the invention to simultaneously and accurately detect the complete outline of large-scale buildings and the fine structure of small-scale buildings, effectively solving the common problems of missed detection of small targets and fragmented boundaries of large targets in traditional methods. The final output transformation map has more complete and clearer building boundaries.

[0044] (3) It reduces the dependence on a large amount of finely labeled data and improves the generalization ability of the algorithm: This invention employs an edge-enhancing composite loss function (combining Dice loss, weighted cross-entropy, and edge consistency loss) with an online hard sample mining strategy to optimize the model's training process. This loss function, by emphasizing boundary accuracy and dynamically adjusting sample weights, guides the model to learn more discriminative features, thus maintaining high performance even with limited labeled data. Furthermore, the BSA module learns a general spatiotemporal relationship modeling capability, rather than overfitting to the apparent features of a specific dataset. This makes the algorithm of this invention exhibit stronger adaptability and generalization ability when facing new geographical regions or image data from different sensors.

[0045] (4) It provides an end-to-end, high-performance automation solution: This invention integrates complex feature fusion, multi-scale processing, and fine segmentation into a unified deep learning network, achieving end-to-end automated processing from raw dual-temporal image input to final binary change map output. The entire process requires no complex manual intervention or tedious feature engineering, significantly improving change detection efficiency. It can meet the needs of smart city management, disaster emergency response, and other application scenarios for rapid and automated analysis of large-scale low-altitude image data. Its modular design also allows for easy deployment on various cloud or edge computing platforms, possessing high practical value and promising industrialization prospects.

[0046] In summary, this invention, through multiple innovations at the algorithm level, effectively overcomes the technical bottlenecks of existing deep learning change detection methods in terms of feature fusion, pseudo-change suppression, multi-scale detection, and generalization ability, and provides a building (structure) change detection scheme with higher accuracy, stronger robustness, and better practicality.

[0047] Figure 2 The figure shows a block diagram of an electronic device according to an embodiment, such as Figure 2As shown, the electronic device includes one or more processors and a memory. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of the deep learning-based target change detection method provided in any of the above embodiments. The processor may be a central processing unit (CPU) or other processing unit with data processing capabilities and / or instruction execution capabilities, and can control other components in the electronic device to perform desired functions. The memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.

[0048] In one example, the electronic device may also include input devices and output devices, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).

[0049] Of course, for the sake of simplicity, Figure 2 Only some of the components of the electronic device relevant to this application are shown in this illustration; components such as buses, input / output interfaces, etc., are omitted. In addition, the electronic device may include any other suitable components depending on the specific application.

[0050] Embodiments of the present invention may also be computer-readable storage media storing a computer program thereon, which, when executed by a processor, implements the steps of the deep learning-based target change detection method provided in any of the above embodiments. The computer-readable storage medium may be any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0051] The basic principles of this application have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not restrict the application from being implemented using the specific details described above.

[0052] The block diagrams of devices, apparatuses, devices, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.

[0053] It should also be noted that in the apparatus, equipment, and methods of this application, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions of this application.

[0054] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this application. Therefore, this application should not be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0055] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this application to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.

Claims

1. A target object change detection method based on deep learning, characterized by, The method comprises the following steps: obtaining a training data set, wherein each training sample in the training data set comprises a target object registered dual-temporal remote sensing image pair and a binary change label map corresponding to the target object registered dual-temporal remote sensing image pair; constructing a target object change detection model, wherein the model comprises a feature extraction module for extracting multi-scale features of two temporal images in the target object registered dual-temporal remote sensing image pair, a bidirectional semantic alignment module for fusing the multi-scale features of the two temporal images, and a decoder module for restoring spatial details; training the target object change detection model by using the training data set, and optimizing the target object change detection model by using a loss function constructed in the training process to obtain a trained target object change detection model; inputting a target object registered dual-temporal remote sensing image pair to be detected into the trained target object change detection model, and outputting a corresponding binary change prediction map. 2.The deep learning-based target change detection method of claim 1, wherein, The target object is a building or a structure. 3.The deep learning-based target change detection method according to claim 1 or 2, characterized in that, The target object registered dual-temporal remote sensing image pair is input into the feature extraction module, the feature extraction module comprises two feature extraction backbone networks sharing weights, and the two temporal images in the target object registered dual-temporal remote sensing image pair are input into the two feature extraction backbone networks sharing weights for multi-scale feature extraction, so as to generate a multi-scale feature map group corresponding to each of the two temporal images, and each multi-scale feature map group comprises feature maps of different levels from shallow to deep. 4.The deep learning-based target change detection method of claim 3, wherein, The bidirectional semantic alignment module is used for bidirectional spatio-temporal context fusion of the feature maps of the same level in the multi-scale feature map groups of the two temporal images to obtain fused feature maps, and the bidirectional semantic alignment module comprises: for the first time phase of the two time phases first time phase feature map of the hierarchy and second time phase feature map , = 1, 2,..., N ; generate a first query feature and a first key-value feature from a first time-phase feature map generate a second query feature and a second key-value feature from a second time-phase feature map ​ compute a forward attention weight representing a first time phase to a second time phase dependency based on the first query feature and the second key value feature ; compute a backward attention weight representing a dependency relationship from the second time phase to the first time phase based on the second query feature and the first key-value feature ; Utilizing forward attention weights On the first phase feature map Weighted to obtain a first enhanced feature map enhanced by second phase information ; Utilizing backward attention weights to the second temporal feature map to obtain a second enhanced feature map enhanced by first temporal information ; The first enhanced feature map , the second enhanced feature map , the first phase feature map , and the second phase feature map are spliced and fused to obtain a first-level fusion feature map of two-phase images . ​ 5.The deep learning-based target change detection method of claim 4, wherein, The decoder module is configured to decode the encoded feature maps to generate a first prediction of the change map. Hierarchical fused feature maps Initially, spatial details are recovered from deep to shallow layers, an initial change probability map is generated, and the initial change probability map is threshold segmented to obtain a binary change prediction map, including: S101, the Fused feature maps of the hierarchy Current level input features to the decoder module , at the first iteration, the current level = N; S102, input the current level feature convolution and up-sampling are performed; S103, performing global average pooling on the current same-level fusion feature map to generate channel attention weights, and simultaneously performing global average pooling on the current same-level fusion feature map to generate spatial attention weights, and performing weighting on the current same-level fusion feature map based on the channel attention weights and the spatial attention weights to obtain weighted skip connection features to generate spatial attention weights, and performing weighting on the current same-level fusion feature map based on the channel attention weights and the spatial attention weights to obtain weighted skip connection features to generate spatial attention weights, and performing weighting on the current same-level fusion feature map based on the channel attention weights and the spatial attention weights to obtain weighted skip connection features ; S104, the weighted skip connection feature is element-wise added to the up-sampled feature in S102, and then fused through a residual convolution block to output the decoding feature of the current level , which is taken as the input feature of the next level , the current level is updated , and step S102 is returned until all levels of fused feature maps are processed, and finally a plurality of decoding features of different scales are obtained , , , ; S105, upsampling the decoding features of different scales to the same spatial size and performing splicing; S106, performing convolution fusion, channel dimension reduction and non-linear activation on the spliced features in sequence to output an initial change probability map; S107, performing threshold segmentation on the initial change probability map to obtain a binary change prediction map. 6.The deep learning-based target change detection method according to claim 4 or 5, characterized in that, The loss function consists of a Dice loss term , a weighted binary cross-entropy loss term , and an edge consistency loss term , wherein a, b e (1, 0), a + b = 1. 7.The deep learning-based target change detection method of claim 6, wherein, Dice loss term , the formula is: wherein, is a binary change annotation map of the training sample, is a binary change prediction map of the training sample, and ε is a smoothing term. weighted binary cross-entropy loss term with the formula: wherein, is a weight dynamically calculated according to the proportion of positive and negative samples in the training data set, ∈(1, 0); edges extracted from the binary change map of the training sample and the binary change prediction map, respectively, to compute an edge consistency loss term between the two and the binary change prediction map , , .

8. The target object change detection apparatus based on deep learning, characterized by, The method comprises the following steps: a first module is configured to obtain a training data set, wherein each training sample in the training data set comprises a target object registered dual-temporal remote sensing image pair and a binary change label map corresponding to the target object registered dual-temporal remote sensing image pair; a second module is configured to construct a target object change detection model, wherein the model comprises a feature extraction module for extracting multi-scale features of two temporal images in the target object registered dual-temporal remote sensing image pair, a bidirectional semantic alignment module for fusing the multi-scale features of the two temporal images, and a decoder module for restoring spatial details; a third module is configured to train the target object change detection model by using the training data set, and optimize the target object change detection model by using a loss function constructed in the training process to obtain a trained target object change detection model; a fourth module is configured to input a target object registered dual-temporal remote sensing image pair to be detected into the trained target object change detection model, and output a corresponding binary change prediction map. 9.An electronic device comprising a memory and a processor, the electronic device characterized by: The memory is configured to store computer executable instructions, and the processor is configured to execute the computer executable instructions, and the computer executable instructions, when executed by the processor, implement the steps of the target object change detection method based on deep learning in claim 1.

10. A computer storage medium having stored thereon computer- executable instructions, comprising: The computer executable instructions, when executed by the processor, implement steps of the target change detection method based on deep learning according to claim 1.

Citation Information

Patent Citations

  • TransUNet-based medical image segmentation method

    CN121190758A

  • Building change detection method and system based on siamese unet model

    WO2025030625A1