Semantic scene migration-based post-earthquake damaged building identification method and system

Through the integration of semantic scene transfer and deep learning models, the problem of lack of sample data and weak model adaptability in post-seismic damage building recognition is solved, high-precision damage building recognition is achieved, and the intelligence of post-disaster response is improved level.

CN118968281AActive Publication Date: 2024-11-15BEIJING NORMAL UNIV AT ZHUHAI

Patent Information

Application Number
CN202410935785.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-15
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

In the prior art, the identification of post-seismic damage buildings based on remote sensing imaging and deep learning technology has problems such as lack of sample data and weak model adaptability, resulting in low recognition accuracy.

Method used

Using a method based on semantic scene migration, the sample set of damaged buildings is expanded through the scene reconstruction sample augmentation strategy, and a deep learning model integrating hierarchical semantic features is constructed, combining the multi-level features of the general semantic segmentation big model and the shallow image features. Realize dynamic adaptation and accurate identification of the model.

Benefits of technology

It effectively improves the accuracy and recognition efficiency of damaged buildings, improves the problems of lack of sample data and weak model adaptability, and improves the intelligence level of earthquake disaster acquisition and post-disaster response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118968281A_ABST
    Figure CN118968281A_ABST
Patent Text Reader

Abstract

The invention discloses a post-earthquake damaged building identification method and system based on semantic scene migration, and the method comprises the steps: marking a building damaged sample for a remote sensing image, constructing a building damaged sample data set, and carrying out the sample amplification through a sample augmentation strategy; constructing a universal semantic segmentation network encoder, designing a decoder with hierarchical semantic feature extraction and dynamic adaptive identification target capability, and reconstructing a damaged building identification model adaptive to semantic scene migration; training the model, and carrying out loop iteration training by adopting the newly recognized damaged building until the recognition precision is converged and the model training is completed; and inputting the damaged building area image into the model for identification, converting a pixel identification result into a damaged area vector, carrying out spatial comprehensive analysis on the damaged area vector and building vector data, and generating a damaged building vector diagram obtained through identification. Through the technical scheme of the invention, semantic scene migration of the model is realized, and intelligent and accurate extraction of the damaged building is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pattern recognition, and in particular to a method for identifying post-earthquake damaged buildings based on semantic scene migration and a system for identifying post-earthquake damaged buildings based on semantic scene migration. Background Art

[0002] Buildings are one of the most severely damaged objects in high-intensity earthquakes. The transverse and longitudinal waves generated by high-intensity earthquakes will jointly damage buildings, causing them to be damaged or even collapsed. Considering the dense distribution of buildings and concentrated population in residential areas in my country, once a high-intensity earthquake occurs, damaged and collapsed buildings will often cause large casualties and property losses. Therefore, it is crucial to quickly and accurately identify damaged buildings after an earthquake for the timely implementation of disaster prevention and mitigation work.

[0003] With the rapid development of remote sensing technology, the revisit cycle of remote sensing images is getting shorter and shorter, and the spatial resolution is getting higher and higher, providing a high-quality data source for the identification of post-earthquake building damage. Rapid and accurate identification of large-scale building damage has gradually become possible. The identification of damaged buildings based on high-resolution remote sensing images can quickly grasp the damage to buildings in the post-earthquake area, and the recognition efficiency is greatly improved compared with traditional field recognition methods. With the rapid development of artificial intelligence technology in recent years, a variety of deep learning models with powerful feature extraction and expression capabilities have been proposed and applied in the field of remote sensing image interpretation, achieving performance far superior to traditional methods. Therefore, the application of deep learning, an advanced technology, to the identification of damaged buildings is expected to further improve the accuracy of damaged building identification, which is of great significance.

[0004] However, there are still many problems to be overcome in the current identification of damaged buildings based on remote sensing images and deep learning technology:

[0005] First, there is a lack of reliable remote sensing datasets of earthquake-damaged buildings. The sample set of damaged buildings has few examples and low quality, which greatly limits the feature extraction ability of deep learning models and leads to low accuracy of recognition results.

[0006] Second, classic deep learning models are usually developed to solve computer vision problems, and the training samples are usually natural images. However, remote sensing data is different from natural images. The diversity of spatial resolution, temporal resolution, spectral resolution and payload types makes it difficult to achieve good results by directly applying large deep learning models to the task of damaged building identification. Summary of the invention

[0007] In response to the above problems, the present invention provides a method and system for identifying post-earthquake damaged buildings based on semantic scene migration. By adopting a sample augmentation strategy of scene reconstruction to increase the high-quality sample set of damaged buildings, the damaged samples are effectively expanded, and the scene migration of damaged targets is realized. A deep learning model decoder structure integrating hierarchical semantic features is constructed, and the multi-level semantic features extracted by the general semantic segmentation large model are cleverly integrated with the shallow features of the image to realize semantic scene migration. The advantages of remote sensing big data and visual large models are cleverly combined, and the problems of lack of sample data of damaged buildings and weak adaptability of the general semantic segmentation model in the task of damaged building recognition are effectively improved. The model can dynamically adapt to the task of damaged building recognition, and the intelligent and accurate extraction of damaged buildings is realized, which is of great significance for improving the intelligent level of earthquake disaster information acquisition and post-disaster response.

[0008] To achieve the above object, the present invention provides a method for identifying damaged buildings after an earthquake based on semantic scene migration, comprising:

[0009] Annotate building damage samples in post-earthquake optical remote sensing images to construct a building damage sample dataset, and amplify the damaged buildings in the building damage sample dataset through a sample augmentation strategy based on scene reconstruction;

[0010] Construct a universal semantic segmentation network encoder, design a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities, and reconstruct a damaged building recognition model that adapts to semantic scene migration;

[0011] The damaged building recognition model is trained using the amplified damaged building sample data set, and during the training process, the damaged building sample data set is updated using the newly identified damaged building data, and then the damaged building recognition model is iteratively trained using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed;

[0012] The damaged building area image is input into the trained damaged building recognition model for recognition, and the pixel recognition result is converted into a damaged area vector, which is spatially comprehensively analyzed with the building vector data of the corresponding area to generate a vector diagram of the recognized damaged building.

[0013] In the above technical solution, preferably, the specific process of amplifying the samples of the damaged buildings in the building damage sample data set by using the sample augmentation strategy based on scene reconstruction includes:

[0014] For the damaged building image in the building damage sample data set, determine the size of the damaged building image, and crop the damaged building image;

[0015] Calculate the horizontal number, vertical number and row and column coordinates of the cropped image, obtain the target sample, and generate the initial target semantic scene;

[0016] The target sample is subjected to position transformation, rotation and flipping operations to generate a target image pseudo label, and the target image pseudo label is spliced ​​with the target sample to generate a target pseudo image, thereby achieving sample amplification.

[0017] In the above technical solution, preferably, the general semantic segmentation network encoder is constructed, a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities is designed, and a damaged building recognition model adapted to semantic scene migration is reconstructed. The specific process includes:

[0018] Constructing an encoder based on a general semantic segmentation network to extract semantic features of a preset level for the damaged building to obtain hierarchical features;

[0019] A cross-feature fusion module is used to perform deep feature extraction and cross-fusion on the hierarchical features to obtain hierarchical feature fusion information related to the damaged buildings;

[0020] The SFE is constructed by using three groups of convolution modules and three groups of EPSA modules. The input image can be downsampled eight times through three convolution processes. The shallow information of the image can be extracted through three groups of EPSA modules, thereby extracting the semantic information of architectural details lost in the encoder due to downsampling of the input image and obtaining shallow semantic features.

[0021] The hierarchical features and the shallow semantic features are spliced ​​in the feature dimension, and the spliced ​​feature map can be restored to the size of the input image through two convolutional layers, thereby realizing the adaptation of the model to the identified target semantic scene.

[0022] In the above technical solution, preferably, the damaged building recognition model is trained using the amplified damaged building sample data set, and the damaged building sample data set is updated using the newly identified damaged building data during the training process, and then the damaged building recognition model is iteratively trained using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed. The specific process includes:

[0023] Using the amplified building damage sample data set to train the damaged building recognition model;

[0024] The damaged building recognition model is trained by using the sum of binary cross entropy loss and Dice loss as the total loss function;

[0025] Selecting a preset probability threshold as a classification standard for damaged buildings, taking pixels whose damaged building probability values ​​in the damaged building recognition model recognition results are higher than the preset probability threshold as newly identified damaged samples, and adding them to the building damaged sample data set for data amplification;

[0026] The damaged building recognition model is trained iteratively by repeatedly updating the damaged building sample data set and using the updated damaged building sample data set until the total loss function converges to complete the model training process.

[0027] In the above technical solution, preferably, the specific process of performing spatial comprehensive analysis on the building vector data of the corresponding area includes:

[0028] An open source building outline dataset is introduced as auxiliary data to perform spatial constraints on the building damage area identified by the damaged building recognition model, and single building outline vectors that intersect or contain spatial relationships with the building damage area are identified as damaged buildings;

[0029] The ratio of the intersection area of ​​the building outline vector and the damaged area of ​​the building to the area of ​​the building outline vector is calculated to determine the damage degree information of the building.

[0030] The present invention further proposes a post-earthquake damaged building recognition system based on semantic scene migration, which uses the post-earthquake damaged building recognition method based on semantic scene migration disclosed in any one of the above technical solutions, including:

[0031] A sample data construction module is used to annotate building damage samples for post-earthquake optical remote sensing images, construct a building damage sample data set, and perform sample augmentation on damaged buildings in the building damage sample data set through a sample augmentation strategy based on scene reconstruction;

[0032] The recognition model construction module is used to build a general semantic segmentation network encoder, design a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities, and reconstruct a damaged building recognition model that adapts to semantic scene migration;

[0033] The recognition model training module is used to train the damaged building recognition model using the amplified damaged building sample data set, and to update the damaged building sample data set using the newly recognized damaged building data during the training process, and then to perform cyclic iterative training on the damaged building recognition model using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed;

[0034] The damaged building recognition module is used to input the damaged building area image into the trained damaged building recognition model for recognition, convert the pixel recognition result into a damaged area vector, perform spatial comprehensive analysis with the building vector data of the corresponding area, and generate a vector map of the recognized damaged building.

[0035] In the above technical solution, preferably, the sample data construction module is specifically used to:

[0036] For the damaged building image in the building damage sample data set, determine the size of the damaged building image, and crop the damaged building image;

[0037] Calculate the horizontal number, vertical number and row and column coordinates of the cropped image, obtain the target sample, and generate the initial target semantic scene;

[0038] The target sample is subjected to position transformation, rotation and flipping operations to generate a target image pseudo label, and the target image pseudo label is spliced ​​with the target sample to generate a target pseudo image, thereby achieving sample amplification.

[0039] In the above technical solution, preferably, the recognition model building module is specifically used for:

[0040] Constructing an encoder based on a general semantic segmentation network to extract semantic features of a preset level for the damaged building to obtain hierarchical features;

[0041] A cross-feature fusion module is used to perform deep feature extraction and cross-fusion on the hierarchical features to obtain hierarchical feature fusion information related to the damaged buildings;

[0042] The SFE is constructed by using three groups of convolution modules and three groups of EPSA modules. The input image can be downsampled eight times through three convolution processes. The shallow information of the image can be extracted through three groups of EPSA modules, thereby extracting the semantic information of architectural details lost in the encoder due to downsampling of the input image and obtaining shallow semantic features.

[0043] The hierarchical features and the shallow semantic features are spliced ​​in the feature dimension, and the spliced ​​feature map can be restored to the size of the input image through two convolutional layers, thereby realizing the adaptation of the model to the identified target semantic scene.

[0044] In the above technical solution, preferably, the recognition model training module is specifically used for:

[0045] Using the amplified building damage sample data set to train the damaged building recognition model;

[0046] The damaged building recognition model is trained by using the sum of binary cross entropy loss and Dice loss as the total loss function;

[0047] Selecting a preset probability threshold as a classification standard for damaged buildings, taking pixels whose damaged building probability values ​​in the damaged building recognition model recognition results are higher than the preset probability threshold as newly identified damaged samples, and adding them to the building damaged sample data set for data amplification;

[0048] The damaged building recognition model is trained iteratively by repeatedly updating the damaged building sample data set and using the updated damaged building sample data set until the total loss function converges to complete the model training process.

[0049] In the above technical solution, preferably, the damaged building identification module is specifically used for:

[0050] An open source building outline dataset is introduced as auxiliary data to perform spatial constraints on the building damage area identified by the damaged building recognition model, and single building outline vectors that intersect or contain spatial relationships with the building damage area are identified as damaged buildings;

[0051] The ratio of the intersection area of ​​the building outline vector and the damaged area of ​​the building to the area of ​​the building outline vector is calculated to determine the damage degree information of the building.

[0052] Compared with the prior art, the beneficial effects of the present invention are as follows: by adopting a sample augmentation strategy for scene reconstruction to increase the high-quality sample set of damaged buildings, the damaged samples are effectively expanded, the scene migration of damaged targets is realized, a deep learning model decoder structure integrating hierarchical semantic features is constructed, the multi-level semantic features extracted by the general semantic segmentation large model are cleverly integrated with the shallow features of the image to realize semantic scene migration, and the advantages of remote sensing big data and visual large models are cleverly combined to effectively improve the problems of lack of damaged building sample data and weak adaptability of the general semantic segmentation model in the damaged building identification task, so that the model can dynamically adapt to the damaged building identification task, and realize the intelligent and accurate extraction of damaged buildings, which is of great significance for improving the intelligence level of earthquake disaster information acquisition and post-disaster response. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A schematic diagram of a flow chart of a method for identifying damaged buildings after an earthquake based on semantic scene migration disclosed in an embodiment of the present invention;

[0054] Figure 2 A schematic diagram of a process of image overlapping and cropping disclosed in an embodiment of the present invention;

[0055] Figure 3A schematic diagram of a scene reconstruction process disclosed in an embodiment of the present invention;

[0056] Figure 4 A schematic diagram of the network structure of a damaged building recognition model disclosed in an embodiment of the present invention;

[0057] Figure 5 A schematic diagram of a basic process of extracting damaged building information disclosed in an embodiment of the present invention;

[0058] Figure 6 The present invention is a schematic diagram of a module of a post-earthquake damaged building identification system based on semantic scene migration disclosed in an embodiment of the present invention.

[0059] In the figure, the corresponding relationship between each component and the reference numeral is as follows:

[0060] 1. Sample data construction module, 2. Recognition model construction module, 3. Recognition model training module, 4. Damaged building recognition module. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] The present invention is further described in detail below in conjunction with the accompanying drawings:

[0063] like Figure 1 As shown, a method for identifying damaged buildings after an earthquake based on semantic scene migration is provided according to the present invention, comprising:

[0064] The damaged building samples were annotated in the post-earthquake optical remote sensing images to construct a damaged building sample dataset. The damaged buildings in the damaged building sample dataset were augmented by a sample augmentation strategy based on scene reconstruction.

[0065] Construct a universal semantic segmentation network encoder, design a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities, and reconstruct a damaged building recognition model that adapts to semantic scene migration;

[0066] The damaged building recognition model is trained using the expanded damaged building sample data set, and the newly identified damaged building data set is used to update the damaged building sample data set during the training process. The damaged building recognition model is then iteratively trained using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed.

[0067] The damaged building area image is input into the trained damaged building recognition model for recognition, and the pixel recognition result is converted into a damaged area vector. A spatial comprehensive analysis is performed with the building vector data of the corresponding area to generate a vector map of the recognized damaged building.

[0068] In this implementation, a sample augmentation strategy for scene reconstruction is adopted to increase the high-quality sample set of damaged buildings, effectively expand the damaged samples, realize the scene migration of damaged targets, construct a deep learning model decoder structure that integrates hierarchical semantic features, and cleverly integrate the multi-level semantic features extracted by the general semantic segmentation large model with the shallow features of the image to achieve semantic scene migration. The advantages of remote sensing big data and visual large models are cleverly combined, effectively improving the problems of lack of damaged building sample data and weak adaptability of the general semantic segmentation model in the damaged building identification task, so that the model can dynamically adapt to the damaged building identification task, and realize the intelligent and accurate extraction of damaged buildings, which is of great significance for improving the intelligence level of earthquake disaster information acquisition and post-disaster response.

[0069] Specifically, we first annotate damaged building samples based on post-earthquake optical images and construct a damaged building dataset. We then adopt a sample augmentation strategy of scene reconstruction to increase the high-quality damaged building sample set. We then adjust the structure of the Segment Anything Model (SAM) visual large model to adapt it to the task of building damage recognition and achieve semantic scene migration. We then train the model using self-annotated damaged building samples to automatically identify damaged buildings in high-resolution remote sensing images.

[0070] During implementation, follow these steps:

[0071] Step 1: Based on the post-earthquake optical high-resolution remote sensing images, the damaged building samples are marked in them, and a building damaged sample data set is constructed. The sample data is enhanced by geometric transformation, color transformation, overlapping cropping and other data enhancement processing. The damaged building samples are amplified through the sample augmentation strategy based on scene reconstruction to achieve semantic scene migration of the damaged targets, solve the problem of few instances and low quality of the damaged building sample set, and provide richer training data for feature extraction of deep learning models.

[0072] Step 2: Construct a general semantic segmentation network model encoder. By designing a model decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities, the semantic scene migration from the basic visual model to the damaged building recognition model is realized, and the model weights pre-trained on a large-scale natural scene dataset are used for parameter initialization.

[0073] Step three, fine-tune the model with the building damage sample dataset generated in step one. During the model training process, use the newly identified damaged building data to update the training samples, and use the updated training samples to retrain the model to improve the robustness and accuracy of the model in identifying damaged buildings. Continuously iterate this process until the optimal accuracy is achieved, realizing model training based on semantic scene transfer.

[0074] Step 4: Use the model trained in step 3 to perform pixel-level recognition of damaged building areas, convert the pixel recognition results into damaged area vectors, and conduct spatial comprehensive analysis with the latest building vector data collected in the post-earthquake disaster area to generate damaged building vectors and obtain the damaged building area. Furthermore, classic accuracy evaluation indicators can be used to evaluate the model recognition accuracy from three aspects: pixel-level damaged area, number of damaged buildings, and area.

[0075] In the above implementation, preferably, the specific process of performing sample augmentation on the damaged buildings in the building damage sample dataset by using the sample augmentation strategy based on scene reconstruction includes:

[0076] like Figure 2 As shown, for the damaged building images in the building damage sample data set, the size of the damaged building images is determined to be A×B, and the damaged building images are cropped. The size of the cropped small images is C×C, and the overlap rate between adjacent small images is P;

[0077] Calculate the horizontal number m, vertical number n, and row and column coordinates (upper left corner X and Y coordinates) of the cropped image to obtain the target sample and generate the initial target semantic scene. The specific formula is as follows:

[0078]

[0079] x=i×C×(1-P)

[0080] y=j×C×(1-P)

[0081] Among them, i∈(0,m-1), j∈(0,n-1), i and j represent the row index and column index of the small image in the original remote sensing image respectively.

[0082] Q i,j =Q[x:x+C-1,y:y+C-1]

[0083] Among them, Q represents the original remote sensing image raster data;

[0084] like Figure 3 As shown, the target sample is transformed, rotated and flipped to generate a target image pseudo label, and the target image pseudo label is spliced ​​with the target sample to generate a target pseudo image to achieve sample amplification. The specific details are as follows:

[0085] L new =f1(f2(f3(L)))

[0086]

[0087] Among them, L new represents the target image pseudo label, L represents the target image pseudo label, f1, f2 and f3 represent position transformation, rotation and flipping operations respectively, T new represents the target pseudo image, T represents the target image, S represents the source sample image, and i and j represent the row and column values ​​of the raster image.

[0088] like Figure 4 As shown, in the above implementation, preferably, a general semantic segmentation network encoder is constructed, a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities is designed, and a damaged building recognition model that adapts to semantic scene migration is reconstructed. The specific process includes:

[0089] The deep feature maps output by multiple Vision Transformer (ViT) encoders in the original SAM model lack rich semantic information. In order to obtain more semantic features related to damaged buildings, an encoder based on a general semantic segmentation network is constructed to extract semantic features of preset levels for damaged buildings, such as the four levels of semantic features output in the 6th, 12th, 18th and 24th Vit blocks, to obtain hierarchical features;

[0090] The cross feature fusion module (CFFM) is used to perform deep feature extraction and cross fusion of hierarchical features to obtain hierarchical feature fusion information related to damaged buildings. The CFFM consists of three feature cross fusion modules. In each module, the four input features are arranged according to the C4 rule. 3 Divided into four groups, each of which consists of three different features. The feature cross-fusion module is used to cross-fuse features of different depths, which can realize the fusion of multi-level feature information of damaged buildings and effectively improve the recognition performance of the network;

[0091] The SFE is constructed by using three groups of convolution modules and three groups of EPSA modules. The input image can be downsampled eight times through three convolution processes. The shallow information of the image can be extracted through three groups of EPSA modules, so as to extract the semantic information of architectural details lost in the input image due to downsampling in the ViT encoder and obtain shallow semantic features.

[0092] The hierarchical features and shallow semantic features are spliced ​​in the feature dimension. The spliced ​​feature map can be restored to the size of the input image through two convolutional layers, so that the model can be adapted to the recognized target semantic scene.

[0093] In the above implementation, preferably, the damaged building recognition model is trained using the amplified damaged building sample data set, and during the training process, the damaged building sample data set is updated using the newly identified damaged building data, and then the damaged building recognition model is iteratively trained using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed. The specific process includes:

[0094] The damaged building recognition model is trained using the expanded building damage sample dataset;

[0095] The sum of binary cross entropy loss and Dice loss is used as the total loss function to train the damaged building recognition model to adapt to the category imbalance between damaged buildings and undamaged buildings and improve the stability of the model. The specific formula is:

[0096]

[0097]

[0098]

[0099] in, represents the total loss, represents the cross entropy loss, represents the Dice loss, y i represents the label of sample i, the positive class is 1, the negative class is 0, N represents the number of pixels, p i Indicates the probability that sample i is predicted to be a positive class;

[0100] A preset probability threshold is selected as the classification standard for damaged buildings. Pixels with damaged building probability values ​​higher than the preset probability threshold in the damaged building recognition model recognition results are taken as newly identified damaged samples and added to the damaged building sample dataset for data augmentation to achieve adaptive training of the model for semantic scene migration.

[0101] By repeatedly updating the building damage sample dataset and using the updated building damage sample dataset to iteratively train the damaged building recognition model until the total loss function converges to complete the model training process, the optimal recognition accuracy is gradually achieved.

[0102] like Figure 5 As shown, in the above implementation, preferably, the specific process of performing spatial comprehensive analysis with the building vector data of the corresponding area includes:

[0103] The open source building outline dataset is introduced as auxiliary data to perform spatial constraints on the damaged building area identified by the damaged building recognition model, and the outline vectors of individual buildings that intersect or contain spatial relationships with the damaged building area are identified as damaged buildings. The specific formula is:

[0104]

[0105] Where, dmg i Represents the i-th building vector Building i The damage recognition result, 1 indicates damage, 0 indicates no damage, Result indicates the damage vector of the building area identified by the model, ∩ indicates the spatial intersection operation;

[0106] Calculate the ratio of the intersection area of ​​the building outline vector and the building damaged area to the building outline vector area to determine the damage degree of the building. The specific formula is:

[0107]

[0108] Where, dmg_class i It represents the degree of damage of the i-th building vector, S represents the spatial area represented by a single pixel of the vector-to-raster result, m represents the number of pixels damaged by the i-th building, and n represents the number of pixels covered by the i-th building.

[0109] like Figure 6 As shown, the present invention further proposes a post-earthquake damaged building identification system based on semantic scene migration, which uses the post-earthquake damaged building identification method based on semantic scene migration disclosed in any one of the above embodiments, including:

[0110] Sample data construction module 1 is used to annotate building damage samples for post-earthquake optical remote sensing images, perform data enhancement processing such as geometric transformation, color transformation, overlapping clipping, etc. on the sample data, and construct a building damage sample data set. The damaged buildings in the building damage sample data set are amplified by a sample augmentation strategy based on scene reconstruction.

[0111] Recognition model construction module 2 is used to build a general semantic segmentation network encoder, design a model decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities, and reconstruct a damaged building recognition model that adapts to semantic scene migration;

[0112] The recognition model training module 3 is used to train the damaged building recognition model using the expanded damaged building sample data set, and during the training process, the newly recognized damaged building data set is used to update the damaged building sample data set, and then the updated damaged building sample data set is used to perform cyclic iterative training on the damaged building recognition model until the recognition accuracy converges and the model training based on semantic scene migration is completed;

[0113] The damaged building recognition module 4 is used to input the damaged building area image into the trained damaged building recognition model for recognition, convert the pixel recognition result into a damaged area vector, perform spatial comprehensive analysis with the building vector data of the corresponding area, and generate a vector map of the recognized damaged building.

[0114] In this implementation, scene migration of damaged building targets is achieved through a sample augmentation strategy based on scene reconstruction, which effectively improves the problem of lack of sample data in the remote sensing identification task of damaged buildings. A deep learning model decoder structure that can fuse hierarchical semantic features is designed to effectively fuse the multi-level semantic features extracted by the general semantic segmentation model with its shallow features that are difficult to obtain, thereby achieving the semantic scene migration of the model and solving the problem that the general semantic segmentation model cannot dynamically adapt to the damaged building identification task.

[0115] In the above implementation, preferably, the sample data construction module 1 is specifically used for:

[0116] For the damaged building images in the building damage sample data set, the size of the damaged building images is determined, and the damaged building images are cropped;

[0117] Calculate the horizontal number, vertical number and row and column coordinates of the cropped image, obtain the target sample, and generate the initial target semantic scene;

[0118] The target sample is transformed, rotated and flipped to generate a target image pseudo label, and the target image pseudo label is spliced ​​with the target sample to generate a target pseudo image to achieve sample amplification.

[0119] In the above implementation, preferably, the recognition model building module 2 is specifically used for:

[0120] Construct an encoder based on a general semantic segmentation network to extract semantic features of the damaged buildings at preset levels and obtain hierarchical features;

[0121] A cross-feature fusion module is used to perform deep feature extraction and cross-fusion of hierarchical features to obtain hierarchical feature fusion information related to damaged buildings;

[0122] The SFE is constructed by using three groups of convolution modules and three groups of EPSA modules. The input image can be downsampled eight times through three convolution processes. The shallow information of the image can be extracted through three groups of EPSA modules, thereby extracting the semantic information of architectural details lost in the encoder due to downsampling of the input image and obtaining shallow semantic features.

[0123] The hierarchical fusion features and shallow semantic features are spliced ​​in the feature dimension. The spliced ​​feature map can be restored to the size of the input image through two convolutional layers, thereby realizing the adaptation of the model to the identified target semantic scene.

[0124] In the above implementation, preferably, the recognition model training module 3 is specifically used for:

[0125] The damaged building recognition model is trained using the expanded building damage sample dataset;

[0126] The sum of binary cross entropy loss and Dice loss is used as the total loss function to train the damaged building recognition model;

[0127] A preset probability threshold is selected as the classification standard for damaged buildings, and pixels with damaged building probability values ​​higher than the preset probability threshold in the damaged building recognition model recognition results are used as newly identified damaged samples, and added to the building damaged sample data set for data augmentation;

[0128] The damaged building recognition model is iteratively trained by repeatedly updating the damaged building sample dataset and using the updated damaged building sample dataset until the total loss function converges to complete the model training process.

[0129] In the above implementation, preferably, the damaged building identification module 4 is specifically used for:

[0130] An open source building outline dataset is introduced as auxiliary data to impose spatial constraints on the damaged building area identified by the damaged building recognition model, and the outline vectors of individual buildings that intersect or contain spatial relationships with the damaged building area are identified as damaged buildings.

[0131] The ratio of the intersection area of ​​the building outline vector and the building damaged area to the area of ​​the building outline vector is calculated to determine the damage degree information of the building.

[0132] According to the post-earthquake damaged building identification system based on semantic scene migration disclosed in the above-mentioned implementation mode, the functions to be implemented by each module thereof correspond to the steps in the post-earthquake damaged building identification method based on semantic scene migration disclosed in the above-mentioned implementation mode. During the implementation process, operations are performed with reference to the above-mentioned implementation mode, which will not be repeated here.

[0133] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for identifying damaged buildings after earthquake based on semantic scene migration. It is characterized in that include: Annotate building damage samples in post-earthquake optical remote sensing images to construct a building damage sample dataset, and amplify the damaged buildings in the building damage sample dataset through a sample augmentation strategy based on scene reconstruction; Construct a universal semantic segmentation network encoder, design a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities, and reconstruct a damaged building recognition model that adapts to semantic scene migration; The damaged building recognition model is trained using the amplified damaged building sample data set, and during the training process, the damaged building sample data set is updated using the newly identified damaged building data, and then the damaged building recognition model is iteratively trained using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed; The damaged building area image is input into the trained damaged building recognition model for recognition, and the pixel recognition result is converted into a damaged area vector, which is spatially comprehensively analyzed with the building vector data of the corresponding area to generate a vector diagram of the recognized damaged building.

2. According to claim 1, the method for identifying damaged buildings after earthquake based on semantic scene migration, It is characterized in that The specific process of performing sample augmentation on the damaged buildings in the building damage sample dataset by using the sample augmentation strategy based on scene reconstruction includes: For the damaged building image in the building damage sample data set, determine the size of the damaged building image, and crop the damaged building image; Calculate the horizontal number, vertical number and row and column coordinates of the cropped image, obtain the target sample, and generate the initial target semantic scene; The target sample is subjected to position transformation, rotation and flipping operations to generate a target image pseudo label, and the target image pseudo label is spliced ​​with the target sample to generate a target pseudo image, thereby achieving sample amplification.

3. According to claim 2, the method for identifying damaged buildings after earthquake based on semantic scene migration, It is characterized in that The general semantic segmentation network encoder is constructed, a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities is designed, and a damaged building recognition model that adapts to semantic scene migration is reconstructed. The specific process includes: Constructing an encoder based on a general semantic segmentation network to extract semantic features of a preset level for the damaged building to obtain hierarchical features; A cross-feature fusion module is used to perform deep feature extraction and cross-fusion on the hierarchical features to obtain hierarchical fusion feature information related to the damaged buildings; A shallow feature extractor (SFE) is constructed using three groups of convolution modules and three groups of efficient pyramid compression attention (EPSA) modules. The input image can be downsampled eight times through three convolution processes. The shallow information of the image can be extracted through three groups of EPSA modules, thereby extracting the semantic information of architectural details lost in the encoder due to downsampling of the input image and obtaining shallow semantic features. The hierarchical features and the shallow semantic features are spliced ​​in the feature dimension, and the spliced ​​feature map can be restored to the size of the input image through two convolutional layers, thereby realizing the adaptation of the model to the identified target semantic scene.

4. According to claim 3, the method for identifying damaged buildings after earthquake based on semantic scene migration, It is characterized in that The damaged building recognition model is trained by using the amplified damaged building sample data set, and the damaged building sample data set is updated by using the newly identified damaged building data during the training process, and then the damaged building recognition model is trained iteratively by using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed. The specific process includes: Using the amplified building damage sample data set to train the damaged building recognition model; The damaged building recognition model is trained by using the sum of binary cross entropy loss and Dice loss as the total loss function; Selecting a preset probability threshold as a classification standard for damaged buildings, taking pixels whose damaged building probability values ​​in the damaged building recognition model recognition results are higher than the preset probability threshold as newly identified damaged samples, and adding them to the building damaged sample data set for data amplification; The damaged building recognition model is trained iteratively by repeatedly updating the damaged building sample data set and using the updated damaged building sample data set until the total loss function converges to complete the model training process.

5. According to claim 4, the post-earthquake damaged building identification method based on semantic scene migration, It is characterized in that The specific process of performing spatial comprehensive analysis on the building vector data of the corresponding area includes: An open source building outline dataset is introduced as auxiliary data to perform spatial constraints on the building damage area identified by the damaged building recognition model, and single building outline vectors that intersect or contain spatial relationships with the building damage area are identified as damaged buildings; The ratio of the intersection area of ​​the building outline vector and the damaged area of ​​the building to the area of ​​the building outline vector is calculated to determine the damage degree information of the building.

6. A post-earthquake damaged building recognition system based on semantic scene migration, It is characterized in that The post-earthquake damaged building identification method based on semantic scene migration as claimed in any one of claims 1 to 5 is applied, comprising: A sample data construction module is used to annotate building damage samples for post-earthquake optical remote sensing images, construct a building damage sample data set, and perform sample augmentation on damaged buildings in the building damage sample data set through a sample augmentation strategy based on scene reconstruction; The recognition model construction module is used to build a general semantic segmentation network encoder, design a decoder with hierarchical semantic feature extraction and dynamic adaptive recognition target capabilities, and reconstruct a damaged building recognition model that adapts to semantic scene migration; The recognition model training module is used to train the damaged building recognition model using the amplified damaged building sample data set, and to update the damaged building sample data set using the newly recognized damaged building data during the training process, and then to perform cyclic iterative training on the damaged building recognition model using the updated damaged building sample data set until the recognition accuracy converges and the model training is completed; The damaged building recognition module is used to input the damaged building area image into the trained damaged building recognition model for recognition, convert the pixel recognition result into a damaged area vector, perform spatial comprehensive analysis with the building vector data of the corresponding area, and generate a vector map of the recognized damaged building.

7. The post-earthquake damaged building identification system based on semantic scene migration according to claim 6, It is characterized in that The sample data construction module is specifically used for: For the damaged building image in the building damage sample data set, determine the size of the damaged building image, and crop the damaged building image; Calculate the horizontal number, vertical number and row and column coordinates of the cropped image, obtain the target sample, and generate the initial target semantic scene; The target sample is subjected to position transformation, rotation and flipping operations to generate a target image pseudo label, and the target image pseudo label is spliced ​​with the target sample to generate a target pseudo image, thereby achieving sample amplification.

8. The post-earthquake damaged building identification system based on semantic scene migration according to claim 7, It is characterized in that The recognition model building module is specifically used for: Constructing an encoder based on a general semantic segmentation network to extract semantic features of a preset level for the damaged building to obtain hierarchical features; A cross-feature fusion module is used to perform deep feature extraction and cross-fusion on the hierarchical features to obtain hierarchical fusion feature information related to the damaged buildings; The SFE is constructed by using three groups of convolution modules and three groups of EPSA modules. The input image can be downsampled eight times through three convolution processes. The shallow information of the image can be extracted through three groups of EPSA modules, thereby extracting the semantic information of architectural details lost in the encoder due to downsampling of the input image and obtaining shallow semantic features. The hierarchical features and the shallow semantic features are spliced ​​in the feature dimension, and the spliced ​​feature map can be restored to the size of the input image through two convolutional layers, thereby realizing the adaptation of the model to the identified target semantic scene.

9. The post-earthquake damaged building identification system based on semantic scene migration according to claim 8, It is characterized in that The recognition model training module is specifically used for: Using the amplified building damage sample data set to train the damaged building recognition model; The damaged building recognition model is trained by using the sum of binary cross entropy loss and Dice loss as the total loss function; Selecting a preset probability threshold as a classification standard for damaged buildings, taking pixels whose damaged building probability values ​​in the damaged building recognition model recognition results are higher than the preset probability threshold as newly identified damaged samples, and adding them to the building damaged sample data set for data amplification; The damaged building recognition model is trained iteratively by repeatedly updating the damaged building sample data set and using the updated damaged building sample data set until the total loss function converges to complete the model training process.

10. The post-earthquake damaged building identification system based on semantic scene migration according to claim 9, It is characterized in that The damaged building identification module is specifically used for: An open source building outline dataset is introduced as auxiliary data to perform spatial constraints on the building damage area identified by the damaged building recognition model, and single building outline vectors that intersect or contain spatial relationships with the building damage area are identified as damaged buildings; The ratio of the intersection area of ​​the building outline vector and the damaged area of ​​the building to the area of ​​the building outline vector is calculated to determine the damage degree information of the building.

Citation Information

Patent Citations

  • Damaged building automatic identification method combining pre-disaster and post-disaster remote sensing image information

    CN111126308A

  • Remote sensing image semantic segmentation method based on pyramid segmentation attention module

    CN113807210A

  • Video semantic segmentation method based on active learning

    US20220215662A1

  • Full-automatic natural image matting method

    WO2021139062A1

Cited By

  • Building collapse scene level sparse target detection method based on small sample training

    CN120708078A

  • Building damage detection method and system based on depth estimation

    CN121120545A