Building three-dimensional reconstruction method, device and equipment based on dual-view remote sensing image

By extracting and fusing building information from dual-view remote sensing images using a three-branch neural network, the problems of false detection and occlusion interference in single-image reconstruction were solved, achieving more accurate 3D reconstruction of buildings.

CN123181700APending Publication Date: 2026-11-27NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511620399.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-06
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing methods for 3D reconstruction of buildings based on single-frame off-nadir remote sensing images suffer from false detections and false negatives, and the estimation of roof-base offset is easily affected by occlusion and shadows, resulting in inaccurate height and base position.

Method used

A three-branch neural network based on dual-view remote sensing imagery is used to extract and fuse image information from two different perspectives, detect the building target bounding box, roof-base offset, and roof parallax offset, and perform 3D reconstruction by combining the roof response value.

Benefits of technology

It improves the accuracy of building detection and height estimation, overcomes interference from occlusion and shadows, and achieves more accurate 3D reconstruction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181700A_ABST
    Figure CN123181700A_ABST
Patent Text Reader

Abstract

The application relates to a building three-dimensional reconstruction method, device and equipment based on a dual-view remote sensing image. The method comprises the following steps: after receiving input images at different angles, fusing more abundant input information and extracting a building target based on fused image features, so that the accuracy of building detection and positioning is improved. Secondly, compared with a roof-base offset amount, a parallax of a roof of the same building at different angles is less disturbed by shadows and occlusions, the method introduces the parallax into a building height discrimination basis, and the accuracy of height estimation is improved. Thirdly, the translation and fusion of a network response value to a roof are further performed, information of two views is better integrated, and a more accurate building base is extracted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of 3D reconstruction technology, and in particular to a method, apparatus and equipment for 3D reconstruction of buildings based on dual-view remote sensing images. Background Technology

[0002] Three-dimensional data of urban buildings can intuitively and comprehensively showcase the urban landscape and provide a data foundation for various important applications, such as urban planning, disaster relief, and skyline analysis. Therefore, the construction of three-dimensional models of urban buildings has consistently received widespread attention from scholars. Scholars have proposed various methods for 3D reconstruction from multiple perspectives, including LiDAR-based methods, UAV-based methods, and satellite imagery-based methods. Among these, satellite imagery-based 3D reconstruction methods are more efficient and economical than other methods due to their wide coverage and high acquisition efficiency, thus playing a crucial role in applications with high timeliness requirements or limited data acquisition conditions.

[0003] By analyzing the characteristics of urban satellite imagery, scholars have proposed a class of 3D reconstruction methods for urban buildings based on building target detection and analysis. These methods rely on deep learning to extract buildings and estimate their bases and heights, enabling reconstruction from a single image, filling the gap in the capabilities of traditional multi-view methods in large-scale, data-scarce scenarios. Among these methods, the reconstruction based on single-image off-nadir satellite imagery is widely used. It achieves modeling by extracting rooftops and roof-base offsets, utilizing massive amounts of off-nadir imagery and height cues provided by parallax effects. These proposed methods address the problems of high data acquisition difficulty and long reconstruction time in traditional satellite imagery 3D reconstruction.

[0004] However, existing reconstruction methods based on single off-nadir images face two main problems: First, using neural networks to extract buildings from single remote sensing images may result in false positives and false negatives; second, these methods rely on estimating the roof-base offset to determine the building height and base location, but shadows or occlusions are common in remote sensing images, leading to interference and difficulties in accurately estimating building height and base location. In this situation, methods relying on roof-base offsets are less reliable than traditional parallax-based height estimation methods. Summary of the Invention

[0005] Therefore, it is necessary to provide a method, apparatus, and equipment for 3D reconstruction of buildings based on dual-view remote sensing images that can improve the accuracy of 3D reconstruction of buildings and address the aforementioned technical problems.

[0006] A method for 3D reconstruction of buildings based on dual-view remote sensing imagery, the method comprising: Obtain a training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group. Using the training pairs in the training dataset, the building top extraction network is trained so that the trained building top extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of the building in the target area. The building top extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different views respectively, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different views. Two non-orthophoto remote sensing images of the area to be reconstructed from different angles are acquired. The two images are then input into a trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset, and roof response value of the building targets in the area to be reconstructed. Based on the building target bounding box, roof-base offset, roof parallax offset, and roof response value, the base shape information and height information of the building are obtained, and the building is reconstructed in three dimensions based on the base shape information and height information.

[0007] In one embodiment, in the building frame top extraction network, the two single-view information extraction branches have the same structure and share weights, both including a backbone network, an offset estimation head, and a mask prediction head. The backbone network extracts multi-scale image features from remote sensing training images of the corresponding viewpoint, and then extracts building target features from the multi-scale image features based on the building target bounding boxes provided by the fusion information extraction branch. The offset estimation head and the mask prediction head extract the roof-base offset and roof response value of the building based on the building target features, respectively.

[0008] In one embodiment, the building frame top extraction network further includes a feature fusion neck unit; The feature fusion neck unit fuses the multi-scale image features extracted by the backbone network from the two single-view information extraction branches to obtain multi-scale fused features.

[0009] In one embodiment, the fusion information extraction branch includes a region proposal unit, a bounding box extraction head, and a disparity offset estimation head; The region proposal unit and the bounding box extraction head extract the building target bounding box from the dual-view perspective based on the multi-scale fusion features. The fusion features in the building target bounding box of the multi-scale fusion features are input into the disparity offset estimation head to extract the roof disparity offset under dual views.

[0010] In one embodiment, during the training of the building frame top extraction network: Based on the ground truth values ​​of the building target bounding box, roof-base offset, roof disparity offset, and roof response value in the corresponding annotation group of the training pair, and the predicted values ​​output by the building box top extraction network, a bounding box constraint loss function, a disparity offset constraint loss function, a roof-base offset constraint loss function under two views, and a roof response value constraint loss function are constructed. The parameters in the building frame top extraction network are optimized by backpropagation using a loss function until the network converges, thus obtaining the trained building frame top extraction network.

[0011] In one embodiment, when calculating the shape information of the building's base: The roof response values ​​obtained from the two single-view information extraction branches are first translated according to the corresponding roof-base offset, and then the mean is calculated and fused to obtain the fused data. A threshold judgment is performed on the fused data to obtain the base mask, and the base shape information is obtained based on the base mask.

[0012] In one embodiment, when calculating the height information of a building, it is calculated based on a multi-view stereo vision formula using the roof parallax offset, remote sensing satellite altitude, and focal length.

[0013] In one embodiment, when performing three-dimensional reconstruction of the building based on the building's base shape information and height information: Based on the base shape and height information of the building, the three-dimensional shape of the building model is determined according to the LoD1 standard, and then the three-dimensional model of the building is reconstructed in the form of a triangular mesh based on the three-dimensional shape of the building model.

[0014] This application also provides a three-dimensional reconstruction device for buildings based on dual-view remote sensing imagery, the device comprising: The training data acquisition module is used to acquire the training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group. The building top frame extraction network training module is used to train the building top frame extraction network using training pairs in the training dataset, so that the trained building top frame extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of buildings in the target area. The building top frame extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different views respectively, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different views. The building information extraction module is used to acquire two non-orthophoto remote sensing images of the area to be reconstructed from different angles. The two remote sensing images from different angles are input into the trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset and roof response value of the building target in the area to be reconstructed. The building 3D reconstruction module is used to obtain the building's base shape information and height information based on the building's target bounding box, roof-base offset, roof parallax offset, and roof response value, and to perform 3D reconstruction of the building based on the building's base shape information and height information.

[0015] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the specific steps in the above-described method for three-dimensional reconstruction of buildings based on dual-view remote sensing images.

[0016] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the specific steps in the above-described method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery.

[0017] The aforementioned method, apparatus, and equipment for 3D building reconstruction based on dual-view remote sensing imagery trains a building frame top extraction network using multiple training datasets, including training pairs. This trained network is capable of extracting the building target bounding box, roof-base offset, roof disparity offset, and roof response value of buildings within a target area. The building frame top extraction network is a three-branch network, comprising two single-view information extraction branches that extract information from two different remote sensing images, and a fusion information extraction branch that correlates and fuses information between the two images. The two remote sensing images are input into the trained network to obtain the building target bounding box, roof-base offset, roof disparity offset, and roof response value of the building target in the area to be reconstructed. Based on these parameters, the base shape and height information of the building are then obtained, and the building is 3D reconstructed using this information. This method enables accurate 3D reconstruction of buildings within a target area. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating a method for 3D reconstruction of buildings based on dual-view remote sensing imagery in one embodiment. Figure 2 This is a schematic diagram of the technical process of three-dimensional reconstruction using the method described in one embodiment in a practical application. Figure 3 This is a schematic diagram of building annotations in a dual-view remote sensing imagery in one embodiment; Figure 4 This is a schematic diagram of the structure of the building frame top extraction network in one embodiment; Figure 5 This is a schematic diagram showing the results of reconstructing a 3D model of a building based on dual-view imagery using different methods in an experiment. Figure 6 This is a structural block diagram of a building 3D reconstruction device based on dual-view remote sensing images in one embodiment; Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0020] In view of the problems existing in the prior art, this application, such as Figure 1As shown, a method for 3D reconstruction of buildings based on dual-view remote sensing imagery is proposed, which specifically includes the following steps: Step S100: Obtain the training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group.

[0021] Step S110: Using the training pairs in the training dataset, train the building frame top extraction network so that the trained building frame top extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of the building in the target area. The building frame top extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different perspectives, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different perspectives.

[0022] Step S120: Acquire two non-orthophoto remote sensing images of the area to be reconstructed from different angles. Input the two remote sensing images from different angles into the trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset and roof response value of the building target in the area to be reconstructed.

[0023] Step S130: Obtain the base shape information and height information of the building based on the building target bounding box, roof-base offset, roof parallax offset and roof response value, and perform three-dimensional reconstruction of the building based on the base shape information and height information.

[0024] Analysis reveals that existing building reconstruction methods based on single-image off-nadir images suffer from insufficient information to support reconstruction in partially occluded or shadowed scenes. Therefore, this method, based on the concept of multi-view stereo vision (MVS) for 3D reconstruction from parallax, designs a method to analyze dual-view 3D information for building reconstruction. Furthermore, this method utilizes the semantic understanding capabilities of deep neural networks to extract and match building targets from two perspectives to establish connections between them. This eliminates the need for multiple highly homogeneous satellite images for feature point matching, as required by traditional 3D reconstruction methods, thus maintaining the advantage of lower data acquisition difficulty.

[0025] Furthermore, this method proposes a dual-view input approach to address the errors in building target detection and the susceptibility of roof-base offset estimation to interference from shadows and occlusions inherent in methods based on single-view off-nadir imagery. Specifically, by receiving input images from different angles, richer input information is fused, and building targets are extracted based on the fused image features, thereby improving the accuracy of building detection and localization. Secondly, compared to roof-base offset, the parallax of the same building's roof at different angles is less affected by shadows and occlusions. This method incorporates this parallax into the building height determination criterion, improving the accuracy of height estimation. Thirdly, by translating and fusing the network's response values ​​to the roof, information from both views is better integrated to extract a more accurate building base.

[0026] Specifically, such as Figure 2 As shown, the input of this method is two remote sensing images of the target area from different angles. The two images are input together into a pre-trained neural network to detect building targets in the images and estimate the base and offset of each building target. Based on this building information, a 3D reconstruction result of the building is constructed.

[0027] In step S100, the acquired training dataset includes multiple training pairs, and each training pair includes two remote sensing training images of the same target area from different perspectives, along with their corresponding annotation groups. Each training pair is represented as follows: The corresponding annotation group is the ground truth annotation for subsequent network training, including: building target boxes. Roof response values ​​from two perspectives The parallax offset between two roof views is called the roof parallax offset. The offset from the roof to the base from both perspectives is the roof-base offset. The final result is a dual-view building reconstruction training dataset, where each training pair contains: ,like Figure 3 As shown.

[0028] In this embodiment, the two remote sensing images from different angles input into the neural network need to be orthorectified into pseudo-orthophotos, meaning the bases of the buildings are aligned. Such data is widely available in online maps and has a mature production process, so it will not be described in detail here.

[0029] Furthermore, in this method, to perform 3D reconstruction of the building, the base and height information of the building are utilized, thus a neural network, namely the building frame top extraction network, is designed, which takes two images as input. Output the building target bounding box, roof parallax offset, roof-base offset, and corresponding roof value in the image. Subsequently, the base shape information of the building can be obtained by translating the roof response quantities under the two applied conditions, while the height information of the building is calculated from the parallax offset output by the model based on the satellite image angle information.

[0030] The dual-view 3D information extraction task proposed in this paper includes both single-view information extraction and information association and fusion between the two views. Based on this output information, the shape and height information of the building's base are calculated. Therefore, as... Figure 4 As shown, this paper proposes a building frame top extraction network including a three-branch network, where the red and blue branches represent the single-view information extraction branches of two perspectives, respectively, and the branches represented by the black arrows represent the fusion information extraction branches for information association and fusion between the two perspectives.

[0031] In this embodiment, the building frame top extraction network has two identical single-view information extraction branches with shared weights, each including a backbone network, an offset estimation head, and a mask prediction head. The backbone network extracts multi-scale image features from the remote sensing training images of the corresponding viewpoint, and then extracts building target features from the multi-scale image features based on the building target bounding box provided by the fusion information extraction branch. The offset estimation head and the mask prediction head extract the roof-base offset and roof response value of the building, respectively, based on the building target features.

[0032] Specifically, the two single-view information extraction branches share the same structure and are responsible for extracting the 3D information of buildings from a single-view image. In the single-view information extraction branch, the backbone network is first used to extract the image features of the single-view image. The process is as follows:

[0033] In the above formula, This represents a backbone network with shared weights. In one embodiment, the backbone network used is ResNet50. It consists of multi-scale image features from two perspectives.

[0034] Next, based on the location guidance of the building target bounding box provided by the fusion information extraction branch, the building target features are extracted from the multi-scale image features using RoI-Align. The process is as follows:

[0035] In the above formula, It is the number of building targets in the remote sensing image. It is the first A target bounding box of a building from two perspectives. It's a perspective The Middle Image features of a building target.

[0036] Furthermore, the roof-base offset of the building is extracted using the offset estimation header and the mask prediction header. and the response value to the roof. .

[0037]

[0038]

[0039] In this embodiment, the two single-view information extraction branches share the same network structure and parameters, which saves the number of parameters and also improves the training efficiency and robustness by allowing simultaneous training using dual-view information.

[0040] In this embodiment, the building frame top extraction network also includes a feature fusion neck unit. The feature fusion neck unit fuses the multi-scale image features extracted by the backbone network from the two single-view information extraction branches to obtain multi-scale fused features. The process is represented as follows: .

[0041] In this embodiment, the fusion information extraction branch takes the feature fusion of the two perspectives as input and is responsible for extracting dual-view fusion information and related information, including a Region Proposal Network (RPN), a bounding box extraction head, and a disparity offset estimation head. The RPN and the bounding box extraction head extract building target bounding boxes in the dual perspectives based on the multi-scale fusion features, and input the fusion features in the building target bounding boxes in the multi-scale fusion features into the disparity offset estimation head to extract the roof disparity offset in the dual perspectives.

[0042] Specifically, the fused features are used to extract the building target bounding boxes from the image from both perspectives using region proposal units and bounding box extraction heads. The process is represented as follows:

[0043] In the above formula, This represents the anchor box extracted from the image. Represents the bounding box of the building target from two perspectives, such as Figure 4 The yellow box in the upper middle section indicates that the same building will be framed in both viewpoints. Furthermore, the extracted building target bounding box also provides location guidance for the two single-view information extraction branches mentioned above.

[0044] Furthermore, based on the building target bounding boxes, the dual-view fusion features of each building target are extracted from the fusion features. Input to disparity offset estimation head In this process, the roof disparity offset of buildings in both perspectives is extracted. The process is represented as follows:

[0045]

[0046] In this embodiment, when training the building frame top extraction network: based on the ground truth values ​​of the building target bounding box, roof-base offset, roof disparity offset, and roof response value in the corresponding annotation group of the training pair, and the predicted values ​​output by the building frame top extraction network, a bounding box constraint loss function, a disparity offset constraint loss function, a roof-base offset constraint loss function under two viewpoints, and a roof response value constraint loss function are constructed. Then, backpropagation is performed using the loss functions to optimize the parameters in the building frame top extraction network until the network converges, resulting in a trained building frame top extraction network.

[0047] Specifically, during training, four loss functions are used, respectively for learning the bounding box, disparity offset, two roof-base offsets, and two roof masks. The total loss function is expressed as:

[0048] In the above formula, and These are the weights of each loss.

[0049] Preferably, the weights of each loss are set as follows: ,and Through experimental research, it was set to 16.

[0050] Furthermore, the loss functions are expressed as follows:

[0051] In the above formula, and These represent the true values ​​of the predicted view offset and disparity offset, respectively. and They represent the first Predict the roof-base offset from one viewpoint and the corresponding ground truth value. and They represent the first Predicted roof values ​​and their corresponding true values ​​from each perspective. These represent the predicted building target bounding box and the corresponding ground truth value, respectively.

[0052] Specifically, from Figure 4 As can be seen from the network structure, and Used to constrain the training of the information extraction branch, and and This is then used to constrain the learning of the single-view information extraction branch (including the extraction of image features and the extraction of single image information).

[0053] In this embodiment, the training process can be divided into the following steps: The first step is to randomly select one data point from the constructed training dataset: .

[0054] The second step is to extract the dual-view remote sensing images from the data. The process of inputting data into the network to obtain building detection and 3D information extraction results can be represented as follows:

[0055] In the above formula, Each includes .

[0056] The third step is to calculate the loss function using the different methods described above, based on the extracted data types. :

[0057] And backpropagation optimization model The parameters.

[0058]

[0059] Repeat steps one through three above to train the model until the model... The network converges, resulting in a well-trained network for extracting building frames.

[0060] In step S120, the non-orthorectified remote sensing image of the area to be reconstructed is input into the trained building frame top extraction network to obtain... .

[0061] In step S130, the base shape information and height information of the building are calculated based on the information extracted from the network at the top of the building frame, thereby realizing the three-dimensional reconstruction of the building in the target area.

[0062] In this embodiment, when determining the base shape information of a building: the roof response values ​​obtained from the two single-view information extraction branches are first translated according to the corresponding roof-base offset, and then fused by calculating the mean to obtain fused data. The fused data is then thresholded to obtain the base mask, and the base shape information is obtained based on the base mask.

[0063] Specifically, using information extracted from two single-view images, the roof response values ​​are analyzed. according to After translating the image and then calculating the mean value for fusion, a threshold judgment is made to obtain the base of the building. The process is represented as follows: ( )

[0064] Then, the base mask is vectorized to obtain the polygon of the building's base:

[0065] In this embodiment, when calculating the height information of a building, it is calculated based on the multi-view stereo vision formula, using the roof parallax offset, remote sensing satellite altitude, and focal length.

[0066] Specifically, the building height is calculated based on the Multi-View Stereo (MVS) depth calculation formula, where the MVS formula is expressed as:

[0067] The calculation of building height can then be expressed as:

[0068] In the above formula, This indicates the depth of the ground, i.e., the satellite's altitude. , Indicates the depth of the building's roof. This represents the distance between the image of the ground corresponding to the building and the image after it has been mapped onto the corrected plane. The baseline length, in the context of this article, refers to the temporal distance between satellite images taken from two different perspectives. Indicates focal length.

[0069] Furthermore, considering:

[0070] The following formula is used to calculate the height of a building:

[0071] Therefore, by substituting the parameters from satellite imagery, the building height can be calculated from the roof parallax offset.

[0072] In this embodiment, when performing 3D reconstruction of the building based on its base shape and height information: the 3D shape of the building model is determined according to the LoD1 standard based on the base shape and height information, and then the 3D model of the building is reconstructed in the form of a triangular mesh based on the 3D shape of the building model, such as... Figure 2 As shown, the process is represented as follows: .

[0073] The aforementioned method for 3D building reconstruction based on dual-view remote sensing imagery extracts 3D building information from two remote sensing images taken from different angles and reconstructs the 3D model of the building. It proposes a method that fuses features from the two images using a deep neural network and matches the same building from different angles based on the fused features to detect the building. This method is more accurate than building detection based on a single image. Furthermore, it proposes a method to estimate building height based on the parallax offset of the roof in remote sensing images from different angles. This method is more accurate than existing height estimation methods based on roof-base offset. Finally, it proposes a three-branch neural network structure, including two twin single-view branches and a fusion branch, which can fuse extracted building information while improving the training efficiency of the neural network.

[0074] Furthermore, this method can extract more accurate building detection information and more accurately extract 3D information such as building height by fusing information from two remote sensing images. Compared with existing building reconstruction methods based on off-nadir images, which estimate building height based on roof-base offset, this invention estimates building height based on parallax offset. Therefore, it can overcome some interference caused by image shadows and occlusions, and achieve more accurate building height estimation.

[0075] It should be understood that, although Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0076] In one embodiment, such as Figure 6 As shown, a 3D building reconstruction device based on dual-view remote sensing imagery is provided, comprising: a training data acquisition module 200, a building frame top extraction network training module 210, a building information extraction module 220, and a building 3D reconstruction module 230, wherein: The training data acquisition module 200 is used to acquire a training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group. The building top frame extraction network training module 210 is used to train the building top frame extraction network using training pairs in the training dataset, so that the trained building top frame extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of buildings in the target area. The building top frame extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different views respectively, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different views. The building information extraction module 220 is used to acquire two non-orthophoto remote sensing images of the area to be reconstructed from different angles. The two remote sensing images from different angles are input into the trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset and roof response value of the building target in the area to be reconstructed. The building 3D reconstruction module 230 is used to obtain the building's base shape information and height information based on the building's target bounding box, roof-base offset, roof parallax offset and roof response value, and to perform 3D reconstruction of the building based on the building's base shape information and height information.

[0077] Specific limitations regarding the 3D building reconstruction device based on dual-view remote sensing imagery can be found in the limitations of the 3D building reconstruction method based on dual-view remote sensing imagery mentioned above, and will not be repeated here. Each module in the aforementioned 3D building reconstruction device based on dual-view remote sensing imagery can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0078] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for 3D reconstruction of buildings based on dual-view remote sensing imagery. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0079] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0080] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps: Obtain a training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group. Using the training pairs in the training dataset, the building top extraction network is trained so that the trained building top extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of the building in the target area. The building top extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different views respectively, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different views. Two non-orthophoto remote sensing images of the area to be reconstructed from different angles are acquired. The two images are then input into a trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset, and roof response value of the building targets in the area to be reconstructed. Based on the building target bounding box, roof-base offset, roof parallax offset, and roof response value, the base shape information and height information of the building are obtained, and the building is reconstructed in three dimensions based on the base shape information and height information.

[0081] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor: Obtain a training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group. Using the training pairs in the training dataset, the building top extraction network is trained so that the trained building top extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of the building in the target area. The building top extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different views respectively, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different views. Two non-orthophoto remote sensing images of the area to be reconstructed from different angles are acquired. The two images are then input into a trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset, and roof response value of the building targets in the area to be reconstructed. Based on the building target bounding box, roof-base offset, roof parallax offset, and roof response value, the base shape information and height information of the building are obtained, and the building is reconstructed in three dimensions based on the base shape information and height information.

[0082] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0083] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0084] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery, characterized in that, The method includes: Obtain a training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group. Using the training pairs in the training dataset, the building top extraction network is trained so that the trained building top extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of the building in the target area. The building top extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different views respectively, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different views. Two non-orthophoto remote sensing images of the area to be reconstructed from different angles are acquired. The two images are then input into a trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset, and roof response value of the building targets in the area to be reconstructed. Based on the building target bounding box, roof-base offset, roof parallax offset, and roof response value, the base shape information and height information of the building are obtained, and the building is reconstructed in three dimensions based on the base shape information and height information.

2. The method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery according to claim 1, characterized in that, In the building frame top extraction network, the two single-view information extraction branches have the same structure and share weights, both including a backbone network, an offset estimation head, and a mask prediction head; The backbone network extracts multi-scale image features from remote sensing training images of the corresponding viewpoint, and then extracts building target features from the multi-scale image features based on the building target bounding boxes provided by the fusion information extraction branch. The offset estimation head and the mask prediction head extract the roof-base offset and roof response value of the building based on the building target features, respectively.

3. The method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery according to claim 2, characterized in that, The building frame top extraction network also includes a feature fusion neck unit; The feature fusion neck unit fuses the multi-scale image features extracted by the backbone network from the two single-view information extraction branches to obtain multi-scale fused features.

4. The method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery according to claim 3, characterized in that, The fusion information extraction branch includes a region proposal unit, a bounding box extraction head, and a disparity offset estimation head; The region proposal unit and the bounding box extraction head extract the building target bounding box from the dual-view perspective based on the multi-scale fusion features. The fusion features in the building target bounding box of the multi-scale fusion features are input into the disparity offset estimation head to extract the roof disparity offset under dual views.

5. The method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery according to any one of claims 1-4, characterized in that, When training the network for extracting the top of the building frame: Based on the ground truth values ​​of the building target bounding box, roof-base offset, roof disparity offset, and roof response value in the corresponding annotation group of the training pair, and the predicted values ​​output by the building box top extraction network, a bounding box constraint loss function, a disparity offset constraint loss function, a roof-base offset constraint loss function under two views, and a roof response value constraint loss function are constructed. The parameters in the building frame top extraction network are optimized by backpropagation using a loss function until the network converges, thus obtaining the trained building frame top extraction network.

6. The method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery according to claim 5, characterized in that, When calculating the shape information of the building's base: The roof response values ​​obtained from the two single-view information extraction branches are first translated according to the corresponding roof-base offset, and then the mean is calculated and fused to obtain the fused data. A threshold judgment is performed on the fused data to obtain the base mask, and the base shape information is obtained based on the base mask.

7. The method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery according to claim 6, characterized in that, When calculating the height information of a building, it is calculated based on the multi-view stereo vision formula, using the roof parallax offset, remote sensing satellite altitude, and focal length.

8. The method for three-dimensional reconstruction of buildings based on dual-view remote sensing imagery according to claim 7, characterized in that, When performing three-dimensional reconstruction of the building based on the building's base shape and height information: Based on the base shape and height information of the building, the three-dimensional shape of the building model is determined according to the LoD1 standard, and then the three-dimensional model of the building is reconstructed in the form of a triangular mesh based on the three-dimensional shape of the building model.

9. A three-dimensional reconstruction device for buildings based on dual-view remote sensing imagery, characterized in that, The device includes: The training data acquisition module is used to acquire the training dataset, which includes multiple training pairs. Each training pair includes two remote sensing training images of the same target area from different perspectives and the corresponding annotation group. The building top frame extraction network training module is used to train the building top frame extraction network using training pairs in the training dataset, so that the trained building top frame extraction network can extract the building target bounding box, roof-base offset, roof disparity offset and roof response value of buildings in the target area. The building top frame extraction network is a three-branch network, including two single-view information extraction branches that extract two remote sensing images from two different views respectively, and a fusion information extraction branch that associates and fuses the information between the two remote sensing images from different views. The building information extraction module is used to acquire two non-orthophoto remote sensing images of the area to be reconstructed from different angles. The two remote sensing images from different angles are input into the trained building frame top extraction network to obtain the building target bounding box, roof-base offset, roof parallax offset and roof response value of the building target in the area to be reconstructed. The building 3D reconstruction module is used to obtain the building's base shape information and height information based on the building's target bounding box, roof-base offset, roof parallax offset, and roof response value, and to perform 3D reconstruction of the building based on the building's base shape information and height information.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.