Multi-scale building and construction waste extraction method based on high-resolution remote sensing image

By introducing ResNet-101, DS-ASPP and dual attention mechanism into the deep learning model, the problem of insufficient multi-scale target extraction capabilities in high-resolution remote sensing images is solved, and more accurate detection of buildings and construction debris is achieved.

CN118736433APending Publication Date: 2024-10-01BEIJING UNIV OF TECH

Patent Information

Application Number
CN202410747931.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing deep learning models have poor feature extraction and fusion capabilities for multi-scale and multi-morphological targets in high-resolution remote sensing images, resulting in discontinuous holes, blurred boundaries and omissions when extracting buildings, making it difficult to accurately detect irregular shapes and fragments. of construction waste.

Method used

A multi-scale target attention enhancement network (MT-AENet) is designed, using ResNet-101 as the encoder, combined with the depth-separable-attenuated spatial pyramid pooling module (DS-ASPP) and the dual attention mechanism module (DAMM). , and a multi-scale feature fusion module to enhance the network’s extraction capabilities in complex scenes.

Benefits of technology

It improves the accuracy of multi-scale feature extraction of buildings and construction waste, reduces information loss, enhances the robustness and detection accuracy of the model, and can more accurately identify buildings and construction waste in complex scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736433A_ABST
    Figure CN118736433A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-scale building and construction waste extraction method based on a high-resolution remote sensing image, and the method dynamically tracks the changes of urban buildings and construction waste absorption fields based on a multi-scale target attention enhancement network MT-AENet. And an encoder-decoder architecture is introduced into the MT-AENet. The encoder part adopts ResNet-101 to extract high-level semantic features. Depth separable-cavity spatial pyramid pooling modules DS-ASPP with different expansion rates are designed, and the problem of discontinuous holes caused by insufficient receptive fields when a large target is extracted is solved. A dual attention mechanism module (DAMM) is used to better preserve location and channel details. In a decoder, context information is captured through multi-scale feature fusion MS-FF, and shallow and middle features of a backbone network are integrated, so that the extraction capability of a complex scene is enhanced. According to the method, the building and the building waste absorption field can be effectively extracted from the high-resolution remote sensing image, and the problem of non-fine building edge identification is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to spatiotemporal remote sensing, building image segmentation, multi-scale feature extraction of buildings, image segmentation of construction waste disposal sites, dual attention enhancement technology, and semantic segmentation technology. It details a method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images, and the method is an MT-AENet network. Background Art

[0002] Construction waste is an inevitable byproduct of urban renewal, which puts great pressure on the environment, health and ecology. Accurately estimating the amount of construction waste generated is crucial to assessing the consumption cost of urban renewal. However, traditional manual estimation methods rely heavily on statistical data and historical experience, lack flexibility in practical applications, are time-consuming and labor-intensive, and their accuracy and timeliness need to be improved urgently. Fortunately, with the advantages of high-resolution remote sensing images such as strong timeliness, large amount of information, and macroscopic observation, they are suitable for large-scale dynamic change detection of buildings and construction waste. However, the existing deep learning models have relatively poor feature extraction and fusion capabilities for multi-scale and multi-morphological targets in high-resolution remote sensing images; insufficient multi-scale feature fusion may lead to misclassification, ordinary convolution usually cannot preserve spatial details well, fixed receptive fields cannot effectively capture global backgrounds, and always produce discontinuous holes when extracting large buildings, resulting in blurred boundaries and omissions; construction waste is often in a complex environment with similar feature information, making it difficult for the network to extract hidden features. In addition, construction waste has the characteristics of irregular shape, fragmentation and dispersion, which brings great difficulties to accurate detection.

[0003] To this end, this patent proposes a Multi-scale Target Attention-Enhanced Network (MT-AENet) for dynamically tracking changes in urban buildings and construction waste disposal sites. MT-AENet adopts a novel encoder-decoder architecture. In the encoder, ResNet-101 extracts high-level semantic features. A depthwise separable-atrous spatial pyramid pooling module (DS-ASPP) with different expansion rates is constructed to solve the problem of discontinuous holes when extracting large targets due to insufficient receptive field. A dual attention mechanism module (DAMM) is used to better preserve position and channel details. Multi-scale feature fusion (MS-FF) is used in the decoder to capture contextual information and integrate the shallow and intermediate features of the backbone network to enhance the extraction capability in complex scenes. Summary of the invention

[0004] The technical problem solved by the present invention is: in order to solve the problems of insufficient fusion of multi-scale features of buildings based on high-resolution remote sensing images, discontinuous holes, blurred and missed boundaries when extracting large buildings, and inability to accurately detect irregular, fragmented and scattered building waste. The technology proposes a network called MT-AENet, which can improve the accuracy of traditional networks in extracting multi-scale buildings and building waste in complex scenes.

[0005] The technical solution of the present invention is: a method for multi-scale building and construction waste identification using GF-2 remote sensing images. First, GF-2 remote sensing data is obtained, and the data is stored, preprocessed, and data sets are divided to form a sample library of buildings and construction waste disposal sites. Then, the encoding-decoding structure of the MT-AENet network is built.

[0006] In the encoder part, ResNet-101 is used as the backbone network of the encoder, and feature extraction is performed through deep convolution. Compared with shallower networks such as ResNet-34 and ResNet-50, ResNet-101 has a deeper structure and more convolution kernels, which can better capture the deep features in the image and improve the model performance and generalization ability. Adjusting the step size of the convolution layer in Layer4 to 1 helps to retain more detail information and extract denser features. Finally, a high-level feature map with a size of 1 / 16 of the original image is obtained. In addition, the output feature map uses the DS-ASPP structure for multi-scale feature extraction, and uses depthwise separable convolution DSDConv with different dilation rates to replace traditional dilated convolutions to obtain different receptive fields, reduce the number of parameters and computational complexity, improve training speed, and avoid the occurrence of gradient explosion problems. The DS-ASPP module includes a 1×1 convolution, three 3×3 depthwise separable dilated convolutions to expand the receptive field, with dilation rates of (6, 12, 18) and a global pooling operation. DS-ASPP implements parallel sampling of different expansion rates, thereby capturing multi-scale contextual information and reducing information loss. By introducing the attention mechanism, the position attention module (PAM) and the channel attention module (CAM) form a DAMM, which is connected in parallel with DS-ASPP to solve the problems of slow fitting speed, inaccurate edge target segmentation, inconsistent large-scale target segmentation, and omissions when extracting remote sensing images, helping the entire network to obtain better robustness. Through these technical means, the present invention can effectively solve many challenges in the identification of buildings and construction waste based on high-resolution remote sensing images, and provide a more accurate solution for building detection in complex scenes.

[0007] The decoder is responsible for restoring the spatial resolution and position information of the image. In the decoding stage, a Multi-Scale Feature Fusion (MS-FF) module is introduced to fuse the low-level and mid-level features of the backbone network. First, the feature map obtained in the encoding stage is upsampled by four times bilinear interpolation and fused with the mid-level feature map generated by Layer1 of the encoder backbone network. Secondly, the result is upsampled by two times bilinear interpolation after 3×3 convolution and fused with the feature map generated by Layer0 of the backbone network after 1×1 convolution, enhancing the network's ability to obtain multi-scale contextual features. Finally, the feature map is convolved by 3×3 and then upsampled by two times bilinear interpolation to obtain a more refined segmentation result.

[0008] Based on the constructed MT-AENet network, training is performed on two training sets of buildings and construction waste disposal sites, and model parameters are optimized until the model converges. A building extraction model and a construction waste disposal site segmentation model are constructed, and predictions are made on the test set to output the building and construction waste extraction results. The specific steps are as follows:

[0009] (1) Obtain GF-2 remote sensing data, store and preprocess the data.

[0010] In step (1), the acquired GF-2 remote sensing data is stored in a standard data structure. At the same time, the image data is preprocessed, and the specific steps include:

[0011] (a) Writing spatial information: Write the spatial information of the study area into high-resolution remote sensing images to ensure accuracy.

[0012] (b) Screening of construction waste disposal sites. Using the geographic coordinates of the construction waste disposal sites in the study area, locate the locations of these disposal sites on the remote sensing images with existing spatial coordinate information, manually screen out areas with obvious construction waste disposal site characteristics, and cut them into 500*500 pixel blocks. Construct a sample database of original construction waste disposal sites.

[0013] (c) Geo-reference. Obtain vector data of the study area and use ArcGIS tools to geo-reference the building vector map with the high-resolution remote sensing image in (a).

[0014] (d) Image cutting: The registered original high-resolution remote sensing image data in (c) is cut into 500*500 pixel images.

[0015] (e) Image cleaning: The cut data in (d) are filtered out to remove images without buildings or images with a large number of buildings blocked, and the original building sample database is constructed.

[0016] (f) Manually label the areas of buildings and construction waste disposal sites. Use Photoshop software combined with roof vector graphics for semi-automatic labeling. Use white (255,255,255) to label the building area, and black (0,0,0) to label the non-building area. Internally classify the construction waste disposal site: use black (0,0,0) to label the background area around the disposal plant, white (255,255,255) to label the vacant stacking area in the disposal plant, blue (0,0,255) to label the buildings and engineering facilities in the disposal plant, and red (255,0,0) to label the area where garbage has been piled up in the disposal plant. After labeling, save the result in PNG format as sample label data. Ensure that the label data image corresponds one-to-one with the original data image and use the same name to build the initial sample database.

[0017] (g) Data enhancement. The sample label data and original data in (f) are subjected to five data enhancement techniques, including horizontal flipping, brightness reduction, brightness enhancement, superimposed Gaussian noise, and random scaling, and then concatenated with the initial sample database in (f) to obtain the data-enhanced building sample database and construction waste disposal site sample database.

[0018] (h) Image classification. The sample database obtained in step (g) is divided into a training set, a validation set, and a test set in a ratio of 8:1:1.

[0019] (2) Perform semantic segmentation on the sample database of buildings and construction waste disposal sites obtained in step (1), and construct a multi-scale building and construction waste disposal site segmentation model based on the MT-AENet network with an encoding-decoding structure. The specific steps include:

[0020] (a) Construct the encoding structure of the MT-AENet network. The main task of the encoder is to extract multi-scale features. ResNet-101 is used as the backbone network of the encoder, and deep convolution is performed through convolutional layers and pooling layers. Finally, a high-level feature map with a size of 1 / 16 of the original image is obtained. Experiments show that when the output step size of the encoder is 16, the best balance between speed and accuracy can be achieved. The DS-ASPP module includes a 1×1 convolution, three 3×3 depth-separable dilated convolutions to expand the receptive field, with expansion rates of (6, 12, 18) and a global pooling operation. The DAMM composed of position attention and channel attention is introduced in parallel with DS-ASPP to extract multi-scale contextual information and help the entire network to obtain better robustness. In the encoder structure, the input image passes through the ResNet-101 backbone network to obtain low-level feature maps and high-level feature maps. The low-level feature map enters the decoder, and the high-level feature map passes through the DAMM and DS-ASPP modules respectively. The results are element-wise summed to obtain the output of the encoder and serve as the input of the decoder.

[0021] (b) Construct the decoding structure of the MT-AENet network. The task of the decoder is to restore the spatial resolution and position information of the image. In the decoding stage, a multi-scale feature fusion module is added to fuse the low-level and mid-level features of the backbone network. First, the feature map obtained in the encoding stage is upsampled by four times bilinear interpolation and fused with the mid-level feature map generated by Layer1 of the encoder backbone network. Secondly, the result is upsampled by two times bilinear interpolation after 3×3 convolution, and fused with the feature map generated by Layer0 of the backbone network after 1×1 convolution, to enhance the network's ability to obtain multi-scale contextual features. Finally, the feature map is convolved by 3×3 and then upsampled by two times bilinear interpolation to obtain a more refined segmentation result.

[0022] (c) Loss function optimization. In the multi-classification task of semantic segmentation, the cross entropy loss function is commonly used to measure the difference between the model's prediction results and the true label. It is widely used in multi-classification tasks.

[0023] 1) The building extraction task is a binary classification task, so the binary cross entropy loss function is used. The Sigmoid activation function is used as the output of the last layer. In the case of binary classification, the model's prediction results have only two cases. The calculation formula is:

[0024]

[0025] σ(x)=1 / (1+exp(-x))

[0026] In the above formula, y i represents the label of sample i, the positive example is 1, the negative example is 0; the number of pixels is N, p i represents the probability that sample i is predicted as a positive class, and σ(x) is the Sigmoid activation function, which is used to make the predicted value between 0 and 1.

[0027] 2) In the construction waste extraction task, the construction waste disposal site is divided into four areas. Therefore, it is a multi-label multi-classification task. The cross entropy loss function (CrossEntropyLoss) is used, and the SoftMax function is used as the output of the last layer of the network. The multi-classification situation is actually an extension of the binary classification:

[0028]

[0029]

[0030] In the above formula, M represents the number of categories; the number of pixels is N, y ijrepresents the true category of sample j. If the predicted category is the same as the true category, it takes 1, otherwise it takes 0; p ij It represents the predicted probability that sample i belongs to category j. is the SoftMax function, z i is the output value of the i-th pixel.

[0031] 3) MT-AENet composite loss function, since the high-level feature image obtained by the encoder has rich global information, combining the encoder features with the decoder features allows more useful information to be retained in the decoding stage, which helps to improve the accuracy of segmentation. Therefore, this study combines the encoder and decoder to calculate the loss function. The composite loss function is calculated as follows:

[0032] Loss MT-AENet =α1·L decoder +α2·L encoder

[0033] In the above formula, Loss MT-AENet is the composite loss function used by the network, L decoder is the loss value output by the decoder, L encoder is the loss value output by the encoder, α1 and α2 are bias parameters, α1+α2=1, which are used to adjust the weights of the loss values ​​in the encoder and decoder.

[0034] (3) Based on the MT-AENet building and construction waste disposal site extraction network constructed in (2), training is performed on the training set to optimize the model parameters until the MT-AENet network converges. The specific steps include:

[0035] (a) Experimental environment. The compilation environment is Python 3.7, the deep learning framework is PyTorch 1.9.0, the PyCharm integrated development environment is used, the operating system is Windows 10×64, the CUDA version is 11.7, the hardware platform is Intel(R) Core(TM) i9-10900X CPU@3.70GHz, single CPU, RAM is 64.0GB, and Nvidia GeForce RTX 2080TI graphics card.

[0036] (b) Train the multi-scale building and construction waste feature model. First, set the initial learning rate of the model to 0.001, and train the training set and validation set for 200 rounds. During the training process, observe the loss value of the model training and the values ​​of evaluation indicators (Acc, Precision, Recall, F1-Score), and improve the segmentation accuracy by tuning the parameters.

[0037] (c) Verify the multi-scale building and construction waste feature model. The best model in the training round of process (b) is retained, and the model is used to perform the first round of verification on the verification set to generate a prediction set. Check the pictures with low prediction results, and add the same category data to the training set so that the model can learn the features of this category.

[0038] (d) Repeat the processes of (b) and (c) until the accuracy of the model reaches a usable level and retain the optimal model. At this point, the building and construction waste extraction model is completed.

[0039] (e) Based on the optimal MT-AENet building and construction waste extraction network after convergence, the test set is predicted, the extraction result is obtained using the output probability, and the prediction result png image is stored.

[0040] The advantages of the present invention compared with the prior art are:

[0041] 1. The new MT-AENet model based on the encoder-decoder structure is designed for feature extraction from high-resolution remote sensing images (HRSI). The encoder uses the ResNet-101 deep residual network structure as the backbone to extract high-dimensional features. Unlike other shallow or traditional convolutional neural networks (CNNs), ResNet101 effectively alleviates the gradient vanishing problem in deep networks by introducing residual connections, achieving deeper feature extraction. This deep feature extraction capability enables MT-AENet to show higher accuracy and robustness in building extraction tasks.

[0042] 2. MT-AENet incorporates a dual attention mechanism model: channel attention and position attention. The channel attention mechanism enhances the model's ability to capture key features by adaptively adjusting the importance of different feature channels. At the same time, the position attention mechanism improves the model's ability to detect building boundaries and details by focusing on important areas of the image. By adopting a dual attention mechanism, the model can more effectively focus on important features and areas, thereby improving the accuracy and richness of feature representation. This approach is superior to a single attention mechanism or traditional CNN in dealing with complex backgrounds and multi-scale buildings.

[0043] 3. MT-AENet integrates DS-ASPP, which has significant advantages in building extraction tasks. DS-ASPP captures multi-scale information in images through convolution operations with multiple sampling rates (i.e., different dilation rates). This is especially important for complex building extraction tasks. Many existing studies rely on multi-level feature fusion to handle buildings of different scales. However, the MT-AENet model can expand the receptive field through DS-ASPP without increasing the number of parameters and computational complexity, thereby better capturing building features of different scales. This makes multi-scale feature fusion (MS-FF) more efficient, thereby improving the robustness and accuracy of the model.

[0044] 4. The decoder uses multi-scale feature fusion (MS-FF) technology, which can extract features from local and global image levels, helping to better integrate contextual information. Traditional models usually extract features at a single scale and may ignore the details of buildings at different scales. By fusing features at different scales, MT-AENet can capture both the overall structure at a large scale and the detailed information at a small scale, thereby improving the accuracy and completeness of building extraction. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is the overall flow chart of the present invention.

[0046] Figure 2 This is the network structure diagram of MT-AENet. DETAILED DESCRIPTION

[0047] In order to enable persons skilled in the art to better understand the solutions of the embodiments of the present invention, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and implementation modes.

[0048] like Figure 1 , Figure 2 As shown, the present invention comprises the following steps:

[0049] 1. Data storage and preprocessing: GF-2 remote sensing data is stored. Data preprocessing includes the following steps: writing spatial information, georeferencing, image cutting, image cleaning, manual marking of buildings and construction waste disposal sites, data enhancement, and image classification.

[0050] Write spatial information. On the basis of ensuring accuracy, embed the spatial information of the study area into high-resolution remote sensing images. Screen construction waste disposal sites. According to the obtained geographic coordinates of the construction waste disposal sites in the study area, locate them on the remote sensing images with existing spatial coordinate information, manually screen out areas with obvious construction waste disposal site characteristics, and cut them into 500*500 pixels, thereby completing the construction of the original construction waste disposal site sample database.

[0051] Geo-reference. Obtain vector data of the study area and use ArcGIS tools to geo-reference the building roof vector map and high-resolution remote sensing imagery.

[0052] Image cutting: Cut the registered original high-resolution remote sensing image data into 500*500 pixel images.

[0053] Image cleaning: The cut data is filtered out to remove images without buildings or with large amounts of buildings obscured, and the original building sample database is thus constructed.

[0054] Manually label the areas of buildings and construction waste disposal sites. Use Photoshop software to open the sample image and perform semi-automatic labeling in combination with the roof vector map. The building area is represented by white (255,255,255), and the non-building area is represented by black (0,0,0); the internal classification of the construction waste disposal site is as follows: the background area is marked with black (0,0,0), the vacant stacking area is marked with white (255,255,255), the buildings and engineering facilities are marked with blue (0,0,255), and the area where garbage has been stacked is marked with red (255,0,0). The labeling results are saved in PNG format as sample label data. The label data image is matched one by one with the original data image and named the same, and the sample database is initially formed.

[0055] Data enhancement. The sample label data and the original data were subjected to five data enhancements using Python, namely horizontal flipping, brightness reduction, brightness enhancement, superimposed Gaussian noise, and random scaling. They were then concatenated with the sample database to obtain the data-enhanced building sample database and construction waste disposal site sample database.

[0056] Image classification: The samples and sample labels in the obtained sample database are divided into training set, validation set and test set in a ratio of 8:1:1.

[0057] 2. Perform semantic segmentation on the sample data sets of buildings and construction waste disposal sites, and build a multi-scale building and construction waste segmentation model based on MT-AENet. The specific steps include: building a feature learning model, training a feature model, adjusting model parameters, and storing the optimal model;

[0058] Constructing feature learning model: First, construct the encoding structure of MT-AENet network. The encoder is mainly used to extract multi-scale target features. ResNet-101 is selected as the backbone network. Using the residual structure, the feature map is reduced to 1 / 16 of the original through four-layer convolution groups. The deep feature map passing through the backbone network is input into the DS-ASPP structure to extract the multi-scale features of the target. The DS-ASPP structure contains a 1×1 convolution, three 3×3 depth-separable dilated convolutions, and the expansion rates are (6, 12, 18) and a global pooling operation. The dual attention mechanism DAMM composed of position attention and channel attention is introduced. Position attention can better combine contextual information in the process of image feature extraction. The channel attention mechanism can extract different features between different channels, making feature extraction richer and the training process more efficient. The feature maps extracted by the ResNet-101 network are input into the DAMM module and the DS-ASPP module respectively, and the output results are summed element by element. Finally, a 1×1 convolution is performed to obtain the high-level feature map output after encoder feature extraction, which better extracts the multi-scale features of the target.

[0059] Secondly, the decoding structure of the MT-AENet network is constructed. The decoder is mainly used to upsample and restore the spatial detail information of the image. The large-scale features output by the shallow and middle layers in the backbone network contain rich small-scale information. Therefore, the large-scale features output by the shallow and middle layers are learned in the decoding stage, and the middle-layer feature map is fused with the high-level feature map output by the decoding stage after 4 times upsampling. After 3×3 convolution and 2 times upsampling, it is fused with the shallow feature map to better utilize the deep and shallow features of the target. Finally, the recognition result is obtained after 3×3 convolution and 2 times upsampling. After the decoder and upsampling layer, the multi-scale features of the target can be better utilized for feature fusion, spatial information can be restored, and more refined results can be obtained.

[0060] Multi-scale feature model training: Initially, the model learning rate is set to 0.001, the Pytorch framework is used, the loss function is CrossEntropyLoss, the optimizer is defined as SGD, and the learning rate, weight decay, momentum and other parameters are set. At the same time, the StepLR learning rate scheduler is used to adjust the learning rate. The training set is trained for 200 rounds, and the model training results ACC, precision, recall, F1 and other values ​​are observed. On the premise of ensuring that the precision and recall values ​​are similar, the precision value is improved by parameter tuning.

[0061] Model tuning: retain the best model in the training round, use the model to perform the first round of verification on the validation set to generate a prediction set, check the images with low prediction results, add the same category data to the training set so that the model can learn this type of features. Repeat the model training and model testing process until the model accuracy reaches a usable level, retain the best model, and the building and construction waste disposal site feature extraction model is completed.

[0062] Storing the average model: Use centralized high-performance computing facilities or utilize distributed computing environments and storage structures to retain the last round of model optimization.

[0063] 3. Use the multi-scale building feature model to extract the building test set, and use the attention-enhanced construction waste feature extraction model to extract the construction waste disposal site test set. Put the regional construction waste disposal site remote sensing image dataset into the construction waste disposal site segmentation model test set to segment the engineering slag features. And store the prediction results in png format, use centralized high-performance computing facilities or use distributed computing environments and storage structures to physically store the prediction data extracted by MT-AENet.

[0064] The embodiments of the present invention are described in detail above. The present invention is explained in this article using specific implementation methods. The description of the above embodiments is only used to help understand the method of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images, characterized in that: The method comprises the following steps: Step 1: Obtain high-resolution remote sensing image data of the region, store and preprocess the data, write the spatial information of regional buildings, perform georeferencing, mark the buildings and construction waste disposal sites, and build a sample database; Step 2: construct the MT-AENet network coding structure based on the extraction of multi-scale buildings and construction waste disposal sites from high-resolution remote sensing images to obtain multi-scale high-level feature maps aux; the MT-AENet network coding structure includes the backbone network ResNet-101, DS-ASPP module, dual attention mechanism DAMM, and feature output module; The backbone network module uses the ResNet-101 network, adopts a residual structure, performs deep convolution through convolution layers and pooling layers, and includes four convolution groups and one pooling layer to extract features; The DS-ASPP module replaces the dilated convolution by constructing a depthwise separable convolution DSDConv with different dilation rates. The DS-ASPP module includes a 1×1 convolution, three 3×3 depthwise separable dilated convolutions to expand the receptive field, and the dilation rates are 6, 12, and 18 respectively, and a global pooling operation. A dual attention mechanism DAMM consisting of a position attention module PAM and a channel attention module CAM is introduced in parallel with DS-ASPP; The feature output module includes a 1×1 convolution, which performs a 1×1 convolution operation on the feature graphs output by the DS-ASPP module and the DAMM module, and performs element-by-element addition to obtain a high-level feature graph output after feature extraction; Step 3, constructing the decoding structure of MT-AENet to obtain the final recognition result; the decoding structure includes an upsampling module and a feature fusion module; The upsampling module includes performing a 4-fold upsampling operation on the high-level feature map generated in the decoding stage, and performing two 2-fold upsampling operations on the feature map after feature fusion; The feature fusion, the MS-FF module fuses the middle-layer feature map of ResNet-101 with the high-level feature map output in the decoding stage after 4 times upsampling, and then fuses it with the shallow feature map of ResNet-101 after 3×3 convolution and 2 times upsampling, and finally obtains the recognition results of buildings and construction waste disposal sites through 3×3 convolution and 2 times upsampling; Step 4: The MT-AENet network based on the encoding-decoding structure is trained on the sample data set with spatial information. The encoding structure is combined with the decoding structure. The encoding structure is mainly used for multi-scale feature extraction, and the decoding structure is used for feature fusion and recovery of spatial detail information to construct a building extraction and construction waste disposal site segmentation model. Step 5: Based on the constructed MT-AENet multi-scale building extraction model and construction waste disposal site segmentation model, training is performed on the training set, and the loss value of the model training and the result indicators Acc, Precision, Recall, and F1-Score are monitored. Parameters are optimized by adjusting the learning rate and the number of iterations until the MT-AENet model converges; Step 6: Based on the building extraction model after convergence in step 5, predict the test set and obtain the building extraction result by outputting the probability; Step 7: Based on the segmentation model of the construction waste disposal site after convergence in step 5, the test set is predicted, and the construction waste extraction result is obtained by outputting the probability.

2. The method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images according to claim 1 is characterized in that: In the step (1), for the storage of GF-2 remote sensing images, a relational database or a NoSQL database is used to perform logical storage and management of data; a centralized high-performance storage device is used, or a distributed cluster method is adopted to perform physical storage and optimization of data; and the processing of GF-2 remote sensing image data includes spatial information writing, image registration, image cutting, image cleaning, manual annotation, data enhancement and image filtering.

3. The method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images according to claim 1 is characterized in that: In the step (2), a multi-scale building and construction waste disposal site extraction network MT-AENet is constructed using a coding structure, including: Step 21, introduce depthwise separable convolution into the ASPP structure. The proposed DS-ASPP module contains a 1×1 convolution, three 3×3 depthwise separable dilated convolutions, and a global pooling operation. DS-ASPP performs parallel sampling with different dilation rates. The dilation rates of the depthwise separable dilated convolutions are 6, 12, and 18. Step 22, connecting the position attention module and the channel attention module in parallel to form a dual attention mechanism module; Step 23, in the encoder, the input image is passed through the ResNet-101 backbone network to obtain low-level feature maps and high-level feature maps. The low-level feature maps are input to the decoder, and the high-level feature maps are processed by the DAMM and DS-ASPP modules and then element-by-element summation is performed to obtain the output of the encoder and serve as the input of the decoder.

4. The method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images according to claim 1 is characterized in that: In the step (3), a decoding structure for a multi-scale building and construction waste disposal site extraction network MT-AENet is constructed; The task of the decoder is to restore the spatial resolution and position information of the image; a multi-scale feature fusion module is added in the decoding stage to fuse the low-level and intermediate features of the backbone network; first, the feature map generated in the encoding stage is upsampled by four times bilinear interpolation and fused with the intermediate feature map generated by Layer1 of the encoder backbone network; secondly, the result is upsampled by two times bilinear interpolation after 3×3 convolution and fused with the feature map generated by Layer0 of the backbone network after 1×1 convolution, thereby enhancing the network's ability to acquire multi-scale contextual features; finally, the feature map is convolved by 3×3 and then upsampled by two times bilinear interpolation to obtain a final more refined segmentation result.

5. The method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images according to claim 1 is characterized in that: In step 4, the MT-AENet network based on the encoding-decoding structure performs semantic segmentation on the sample data sets of buildings and construction waste disposal sites; the encoder is responsible for feature extraction, and the output high-level feature map is used as the input of the decoder, while the middle and shallow feature maps of the backbone network are used as the input of feature fusion; The decoder is used to upsample and restore the spatial detail information of the image, combine the deep features with the shallow features, obtain the recognition results of buildings and construction waste disposal sites, and construct a segmentation model for buildings and construction waste disposal sites.

6. The method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images according to claim 1, characterized in that: In step 5, training is performed on the training sets based on the two constructed models, respectively, including: Step 51, initialize the MT-AENet recognition network parameters, fix the cropping size of the training set, the number of inputs per batch, and the initial learning rate; Step 52, the MT-AENet recognition network is trained using the PyTorch framework, and the loss value of the true label and the probability map is calculated according to the segmentation loss function, where the segmentation loss function is composed of the cross entropy loss and the mean square loss; Step 53, the network parameters are continuously updated through back propagation until the MT-AENet recognition network converges.

7. The method for extracting multi-scale buildings and construction waste based on high-resolution remote sensing images according to claim 1 is characterized in that: In step 6, based on the converged MT-AENet building extraction model and construction waste segmentation model, predictions are made on the test set, including: Step 61, input the test set image and perform normalization processing; Step 62, input the normalized image into the trained MT-AENet building extraction model and construction waste segmentation model to obtain the semantic segmentation result map of the test set.

Citation Information

Patent Citations

  • Method for identifying state of construction waste absorption field by using high-resolution remote sensing image

    CN114821339A

  • High-resolution remote sensing image building identification method and system considering shadow information

    CN116665053A

  • Construction waste annual output actuarial method based on RDSA-DeepLabV3 + network

    CN117078925A

Cited By

  • Remote sensing image semantic segmentation method and system fusing feature redundancy removal operation, and readable storage medium

    CN119964161A

  • Method and device for identifying construction waste in ecological protection red line based on remote sensing image

    CN120495692A

  • Garbage detection training data generation method and device based on image fusion and medium

    CN121280850A

  • Rock vein identification method and system based on multi-scale feature fusion and boundary optimization

    CN122200323A