Three-dimensional building model construction method, device, electronic equipment and storage medium

Point cloud data is extracted through airborne LiDAR data filtering and super-voxel division methods, and combined with oblique photography images for surface vector fitting and texture mapping, which solves the problems of low efficiency and poor accuracy in constructing three-dimensional building models in the existing technology. It achieves the construction of high-quality three-dimensional building models, which can more realistically express the spatial distribution of urban buildings.

CN112927370BActive Publication Date: 2024-09-27KQ GEO TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110215260.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-25
Publication Date
2024-09-27
Estimated Expiration
2041-02-25

AI Technical Summary

Technical Problem

Existing urban 3D model construction technology has shortcomings in accuracy and efficiency, especially in terms of high-precision and high-efficiency reproduction of buildings. Existing methods have low efficiency, poor accuracy, or insufficient model texture, making it impossible to obtain high-quality images. 3D model of city buildings.

Method used

Airborne LiDAR data is used for filtering processing and super-voxel division method to extract building point cloud data, and oblique photography images are combined for surface vector fitting and texture mapping to generate high-quality three-dimensional building models.

Benefits of technology

It improves the efficiency of dividing individual buildings and creates a smooth and high-quality three-dimensional vector model, which can more realistically restore the real scene of urban buildings and express the spatial distribution of urban buildings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112927370B
    Figure CN112927370B
Patent Text Reader

Abstract

The present application proposes a method, device, electronic device and storage medium for constructing a three-dimensional building model, which relates to the field of three-dimensional modeling. The specific implementation method includes: extracting point cloud data of at least one building from point cloud data after filtering; extracting surface vectors from the point cloud data of at least one building to obtain a building vector model; extracting the corner points of the building vector model; obtaining control points corresponding to the corner points of the building vector model on the pre-processed oblique photography image, and obtaining a corresponding relationship based on the control points; based on the corresponding relationship, texture mapping the building vector model using the pre-processed oblique photography image to obtain a three-dimensional building model. By adopting the embodiments of the present application, a three-dimensional building model can be established simply, quickly and with high precision, and the real scene of the urban building can be highly restored.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of three-dimensional modeling, and in particular to a method, device, electronic device and storage medium for constructing a three-dimensional building model. Background Art

[0002] With the continuous development and deepening of digital city related technologies, the technology of building real-life 3D models of cities has also developed rapidly. Among them, buildings are the most important components of the city. How to reproduce them in three dimensions with high precision and high efficiency is the key to building a "real-life 3D model of the city".

[0003] In the related technologies, the main means of 3D building modeling include: modeling based on 2D vector graphics, modeling based on feature textures obtained by manually photographing objects, modeling based on photogrammetry technology, etc. However, these methods either have low modeling efficiency, poor accuracy, or insufficient model textures, which results in the inability to obtain high-quality 3D models of urban buildings. There is currently no effective solution to this problem. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for constructing a three-dimensional building model to solve the problems existing in the related technologies. The technical solutions are as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for constructing a three-dimensional building model, which, in one implementation, includes:

[0006] Extracting point cloud data of at least one building from the filtered point cloud data;

[0007] Extracting surface vectors from point cloud data of at least one building to obtain a building vector model;

[0008] Extracting corner points of the building vector model;

[0009] Obtaining control points corresponding to corner points of the building vector model on the pre-processed oblique photography image, and obtaining a corresponding relationship based on the control points;

[0010] Based on the corresponding relationship, the pre-processed oblique photography image is used to perform texture mapping on the building vector model to obtain a three-dimensional building model.

[0011] In a second aspect, an embodiment of the present application provides a three-dimensional building model construction device, which in one implementation includes:

[0012] A point cloud extraction module, used to extract point cloud data of at least one building from the point cloud data after filtering;

[0013] A vector model generation module is used to extract surface vectors from the point cloud data of the building to obtain a vector model of the building;

[0014] A corner point extraction module is used to extract corner points of the building vector model;

[0015] A control point acquisition module is used to obtain control points corresponding to the corner points of the building vector model on the pre-processed oblique photography image, and obtain a corresponding relationship based on the control points;

[0016] The mapping module is used to perform texture mapping on the building vector model using the pre-processed oblique photography image based on the corresponding relationship to obtain a three-dimensional building model.

[0017] In a third aspect, an embodiment of the present application provides a three-dimensional building model construction device, the device comprising: a memory and a processor. The memory and the processor communicate with each other through an internal connection path, the memory is used to store instructions, the processor is used to execute the instructions stored in the memory, and when the processor executes the instructions stored in the memory, the processor executes the method in any one of the above-mentioned embodiments.

[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.

[0019] The advantages or beneficial effects of the above technical solution include at least: after comprehensive filtering of the point cloud data, the supervoxel partitioning method is used to obtain relatively accurate point cloud data of the building monomer, thereby improving the efficiency of the building monomer partitioning; the surface vector fitting is performed based on the building surface point cloud data, and the three-dimensional vector model created is relatively smooth, with good effect and quality; based on this three-dimensional vector model, mapping can be performed to obtain a more realistic three-dimensional building model. It can restore the real scene of urban buildings, thereby more realistically expressing the spatial distribution form of urban buildings.

[0020] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0022] Figure 1 A flowchart of a method for constructing a three-dimensional building model according to an embodiment of the present application;

[0023] Figure 2 is a flow chart of a method for constructing a three-dimensional building model according to another embodiment of the present application;

[0024] Figure 3 A flowchart of a method for constructing a three-dimensional building model according to another embodiment of the present application;

[0025] Figure 4 A step diagram of a method for constructing a three-dimensional building model according to an embodiment of the present application;

[0026] Figure 5 A flowchart of a method for constructing a three-dimensional building model according to another embodiment of the present application;

[0027] Figure 6 A schematic diagram of a three-dimensional building vector model according to an embodiment of the present application;

[0028] Figure 7 A schematic diagram of a three-dimensional real model of a building after mapping according to an embodiment of the present application;

[0029] Figure 8 A structural block diagram of a three-dimensional building model construction device according to an embodiment of the present application;

[0030] Fig. 9 A structural block diagram of a three-dimensional building model construction device according to another embodiment of the present application;

[0031] Fig.10 The present invention is a structural block diagram of a three-dimensional building model construction device according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0033] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The term "at least one" in this article means any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C. The terms "first" and "second" in this article refer to multiple similar technical terms and distinguish them. They do not mean to limit the order or to limit them to only two. For example, the first feature and the second feature refer to two types / two features. The first feature can be one or more, and the second feature can also be one or more.

[0034] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0035] In recent years, as the country pays more and more attention to urban informatization, major cities are striving to invest and build in the direction of "digital city" and "smart city". Building a real-life 3D model of a city is a basic condition for a city to carry out digital urban management. At the same time, different modeling technologies and methods usually have a great impact on modeling accuracy and efficiency. Therefore, how to build a high-precision real-life 3D model of the city and restore the real components and spatial layout of the city is extremely important. Buildings are the most important components of the city. High-precision and high-efficiency 3D reproduction of buildings is the key to building a "real-life 3D model of the city". Therefore, the study of 3D modeling methods of urban buildings is of great significance.

[0036] The method of three-dimensional modeling of urban buildings is closely related to the development of spatial information technology. The use of different spatial information technologies to obtain data sources will directly determine the modeling method, accuracy and efficiency. In the related technology, people used to mainly rely on the two-dimensional vector map of the city and the method of manually photographing the ground objects to obtain characteristic textures for three-dimensional modeling, which had poor accuracy and lacked the top information of the buildings. Later, a modeling method based on photogrammetry technology appeared, which obtained ground object information through aerial photography. Although it could obtain the top information of the buildings, it was still impossible to accurately match the images for some complex buildings or shadows between buildings. Therefore, the workload of reconstruction was large and the degree of automation was low. Subsequently, a modeling method based on oblique photogrammetry technology appeared. This method used a multi-angle camera on a flying platform to break through the limitation of only being able to shoot from a vertical angle, and simultaneously obtain the same ground object image from five different angles such as vertical and four oblique angles. The ground object information contained in the image was comprehensive and rich. It can be said to be an advanced high-tech developed in the field of surveying and mapping in recent years. However, its disadvantage is that it cannot separate some building models separately, so it cannot meet the needs of analyzing and managing a single building. Compared with the high-precision three-dimensional point coordinates obtained by the laser radar (LiDAR) technology, the data obtained by the oblique photogrammetry technology has low accuracy and cannot meet the requirements for building urban digital elevation models. Therefore, relying solely on oblique photography technology for three-dimensional modeling and display of buildings cannot achieve good results. Airborne LiDAR is a new type of space-based earth observation technology. It uses aircraft as a carrier and laser as a medium to scan the earth's surface to obtain three-dimensional coordinate information and point cloud data of objects. Since laser has a certain degree of penetration, it can obtain multiple echoes of objects and their intensity information. It has the characteristics of high data acquisition accuracy, fast speed, and large range. Compared with traditional spatial information acquisition technology, the laser point cloud data obtained by the LiDAR system has higher accuracy and density. Therefore, combining the respective advantages of airborne LiDAR and oblique photography, carrying out the fusion processing of the two technologies and using them to construct a three-dimensional model of urban buildings is a good research direction.

[0037] According to literature search, a technical process for fusing airborne LiDAR point cloud and oblique photography image data has been proposed, and the point cloud registration, flight strip cutting, 3D modeling, and orthophoto production processes have been elaborated in detail, exploring a new mode of fusing two data sources. However, in terms of building 3D modeling, the method of extracting and classifying building top points based on point cloud data to confirm buildings, although efficient, has certain limitations. This method is completely dependent on the quality of the source data, so there may be a risk of missing building models when constructing them due to the lack of laser data on some building roofs.

[0038] Some scholars have proposed methods to construct three-dimensional models of cities (buildings) based on airborne LiDAR data and oblique photography. The technical routes adopted are similar, and in the modeling process, processing oblique photography and laser point clouds as well as modeling require reliance on different third-party software (such as 3DMax, Skyline, MicroStation, CixMo, etc.). Although better results can be obtained in the end, the process is relatively complicated and cumbersome.

[0039] The present invention proposes a method for constructing a three-dimensional building model using airborne LiDAR data. Figure 1 FIG. 1 is a flow chart showing a method for constructing a three-dimensional building model according to an embodiment of the present application. Figure 1 As shown, the three-dimensional building model construction method may include:

[0040] S101, extracting point cloud data of at least one building from the point cloud data after filtering;

[0041] In one example, initial point cloud data (also referred to as airborne LiDAR point cloud data) is first obtained, and then the initial point cloud data is subjected to a variety of filtering processes to remove noise or abnormal points in the point cloud data and accurately extract non-ground points. Related filtering methods for removing noise include but are not limited to profile filtering (also known as profile denoising), elevation filtering (also known as elevation comparison) and sparse outlier removal filtering (SOR, Statistical Outlier Removal). Specifically, for the noise points in the point cloud data caused by the reflection of the laser pulse signal due to the obstruction of flying birds and low-altitude flying objects, they can be directly eliminated by the profile denoising method based on the profile of the point cloud; the elevation comparison method can eliminate local low noise points caused by multipath effects or rangefinder errors. When extracting the elevation value of a certain point cloud to be measured, it can be compared with the elevation values ​​of the surrounding point clouds and a certain threshold can be set. When the difference in elevation values ​​exceeds the set threshold, the point is eliminated; the SOR filtering algorithm performs statistical analysis on the area of ​​each point in the point cloud data, and deletes outliers from the data set by calculating the distance distribution of each point to all its adjacent points to achieve the purpose of filtering out noise points. After obtaining the point cloud data after noise removal, the cloth simulation filter (CSF) method is further used to separate the point cloud data on the ground, and then the super voxel partitioning method is used to extract the point cloud data of each independent building.

[0042] S102: Extracting surface vectors from point cloud data of at least one building to obtain a building vector model.

[0043] In one example, the irregular triangulated network method and the least square method are used to obtain a smooth vector surface of the building surface, and multiple vector surfaces are combined to obtain a vector model of the building.

[0044] S103, extracting corner points of the building vector model;

[0045] In one example, based on the plane equation of the building vector model, a mathematical method can be used to solve the intersection of the planes as the building boundary line, and the intersection of any two boundary lines is solved as the building corner point, and the corresponding corner point coordinates are automatically obtained.

[0046] S104, obtaining control points corresponding to corner points of the building vector model on the pre-processed oblique photography image, and obtaining a corresponding relationship based on the control points;

[0047] In one example, the preprocessing of the oblique photographic image includes but is not limited to: verification, registration and editing, wherein the verification and registration specifically include: after obtaining the oblique photographic image, checking whether the coordinate system is unified with the point cloud data, specifically, error checking can be performed in the form of control points, and if there is an error, it needs to be corrected; after unifying the coordinate system, numbering the oblique photographic image to make each image unique, performing data format conversion and other operations, and making the oblique photographic image more convenient for post-processing by unifying the data format and unit; further editing the oblique photographic image, including but not limited to auxiliary preparation work such as determining the range line, in order to better match it with the building vector surface later.

[0048] In one example, the preprocessing of the oblique photography image also includes aerial triangulation processing, that is, digital differential correction and mosaicking of the multi-level, multi-angle and multi-view images in the oblique photography image, and finally obtaining a digital orthophoto map with map geometric accuracy and image characteristics. The specific steps include: using a multi-angle and multi-view matching model method suitable for the characteristics of oblique images, combining the multi-view image exterior orientation elements provided by the aerial positioning and orientation system (POS, Position and Orientation System), and adopting a coarse-to-fine pyramid matching strategy to automatically match the same-name points and perform free-net bundle adjustment on each level of the image obtained by the oblique photography, quickly and accurately obtain the coordinates of the same-name image points on the multi-angle and multi-view images, and complete the automatic matching of the same-name image points between the vertical image and the oblique image in the oblique photography image. Then, the error equation of the multi-view image self-calibration regional network adjustment of the connection points and connection lines, the coordinates of the control points, and the auxiliary data of the geographic information system / inertial measurement unit is established. The overall regional network adjustment is performed using the bundle method. A beam of light composed of a photo is used as an adjustment unit. Through the rotation and translation of each beam in space, the common light between the models is optimally intersected, and the overall area is optimally added to the control point coordinate system. In the adjustment process, the gross error matching is effectively detected and eliminated. At the same time, through joint solution, the accuracy of the adjustment result is ensured, and the coordinate posture of each image and the coordinates of the encryption points are determined. After the above processing, the pre-processed oblique photography image, namely the digital orthophoto map (DOM, Digital Orthophoto Map) is obtained.

[0049] In one example, the coordinates of the building corner points are used as control points to puncture the preprocessed oblique images. During the puncture operation, the approximate position of the building corner points on each image can be predicted first, and all related images containing the corner points can be extracted. Then, the control points corresponding to the building corner point coordinates can be obtained on at least one oblique image. Specifically, the ground coordinates of the control points can be converted into ground photogrammetry coordinates, and the error equation of absolute orientation can be established. By solving the absolute orientation elements, absolute orientation can be performed. After the puncture is completed on at least one oblique image, the puncture can be completed on other related images according to the position matching relationship between each image, reducing the tediousness of the puncture operation and increasing accuracy. Through accurate puncture, an accurate correspondence is established between the building vector model and the oblique image.

[0050] S105 . Based on the corresponding relationship, use the pre-processed oblique photography image to perform texture mapping on the building vector model to obtain a three-dimensional building model.

[0051] In one example, mapping is performed based on the precise correspondence between the building vector model obtained in the previous step and the oblique image. Specifically, the oblique photography image for mapping is first selected. After determining the building vector surface to be mapped, multiple oblique images containing the building vector surface can be determined. Then, based on the observation angle and projection area of ​​the building vector surface on the aforementioned image, the best oblique photography image for mapping is selected. It should be added that it is preferred to use one oblique photography image to map the building vector surface. If not, it can be considered to select multiple oblique photography images to map the building vector surface by splicing. After selecting the oblique photography image for mapping, based on the correspondence obtained in the previous step, the corresponding part of the building vector surface is cut out, and then deformation operations such as stretching and twisting are performed to make its shape completely consistent with the vector surface corresponding to the building vector model, and then cutting and mapping are performed to finally obtain a three-dimensional building model with a textured surface.

[0052] Figure 2 FIG. 1 is a flow chart showing a method for constructing a three-dimensional building model according to another embodiment of the present application. Figure 2 As shown, in a possible implementation manner, extracting point cloud data of at least one building from the point cloud data after filtering may specifically include:

[0053] S201, performing comprehensive filtering processing on the point cloud data to obtain denoised non-ground point cloud data;

[0054] In one example, noise data is first removed by multiple filtering methods, and then the ground point cloud data is separated from the non-ground point cloud data to extract a non-ground point cloud set including buildings, wherein the filtering methods used to remove noise include but are not limited to: profile filtering method, elevation filtering method and sparse outlier removal filtering method; the filtering methods for obtaining non-ground point cloud data include but are not limited to mathematical morphology-based methods, gradient-based methods, linear prediction-based methods and CSF filtering algorithms. Among them, the CSF filtering algorithm first flips the point cloud, and then assumes that a piece of cloth falls from above under the influence of gravity and covers the point cloud. By analyzing the relationship between the cloth and the corresponding point cloud, the position of the cloth node is determined as an approximate surface. Finally, the distance between the original point cloud and the cloth is calculated to achieve non-ground point extraction.

[0055] S202: Obtain point cloud data of at least one building from the non-ground point cloud data using a supervoxel partitioning method.

[0056] In one example, the supervoxel partitioning method can be used to first perform supervoxel partitioning on the separated non-ground point cloud data to partition multiple supervoxels, and determine the initial seed object from them. Then, based on the initial seed object, the local neighborhood normal vector angle criterion is used to realize regional growth, and multiple supervoxels are fused to finally obtain the point cloud data of a single building. Specifically, the following steps are included:

[0057] First, the separated non-ground point cloud data is voxelized. The specific steps include: dividing the space where the point cloud is located into multiple small cubes of a certain size, calculating the position of the geometric center of each cube, and finding the point closest to the geometric center as the central initial point of the supervoxel. The point cloud data set in and around each cube is characterized, and the weighted Euclidean distance between the point cloud data and the central initial point is used as the distance metric. If the weighted distance is within the preset value range, it is considered to be classified into one category. Based on this, starting from the central initial point of each cube, the iterative clustering of the point cloud data is completed, and the point cloud data belonging to the same category is merged to generate a supervoxel.

[0058] Through the above-mentioned supervoxel generation steps, the non-ground point cloud data is divided into multiple supervoxels, and then the supervoxels are fused using the region growing algorithm according to the supervoxel similarity measure, and finally the point cloud data of a single building is obtained. The specific steps include: for each supervoxel, the neighborhood Q corresponding to the supervoxel is first obtained by the K-neighbor method, and then the least squares method is used to perform plane fitting on the collection of the supervoxel and the corresponding neighborhood, and the residual value is calculated; all supervoxel collections are sorted according to the calculated residual values, and the supervoxel corresponding to the minimum residual value is used as the initial seed object of the region growing algorithm.

[0059] After the initial seed object is determined, the normal vectors of its adjacent supervoxel set are calculated, and the angle between the normal vectors of the initial seed object and its adjacent supervoxel set is calculated. If the angle is less than the pre-set threshold T θ , then the supervoxel set is merged into the supervoxel where the initial seed object is located. Then the merged supervoxel is used as a new growth point, and the above operation is repeated until no new supervoxel set is added.

[0060] In the case that no new supervoxels are added, a new initial seed object is reselected. The supervoxel with the smallest residual among the remaining supervoxels can be selected as the new initial seed object, and the above operation is repeated until all supervoxels are searched, the region growing stops, and the building point cloud data is obtained, and each building exists independently.

[0061] By adopting the embodiment of the present application, noise-free non-ground point cloud data can be first extracted through a variety of filtering methods, and then the point cloud data of a single building can be extracted from the non-ground point cloud data using the super voxel segmentation method, thereby avoiding the under-segmentation and over-segmentation problems caused by directly processing the point cloud data, improving the overall efficiency of the algorithm for segmenting a single building, and having simple steps and a high degree of automation.

[0062] Figure 3 FIG. 2 is a flow chart showing a method for constructing a three-dimensional building model according to another embodiment of the present application. Figure 3 As shown, in a possible implementation, the three-dimensional building model construction method performs surface vector fitting on the point cloud data of the building to obtain the building vector model may specifically include:

[0063] S301, using an irregular triangulated network method to obtain building point cloud data belonging to the same surface, wherein the voxel center points generated during the execution of the supervoxel partitioning method are selected as the vertices of the irregular triangulated network;

[0064] In one example, an irregular triangulated network is constructed based on building point cloud data. The irregular triangulated network (TIN) method uses a series of connected triangles to fit the ground surface or other irregular surfaces. Specifically, a network is constructed on the surface of the building vector model, and the normal vector of each small triangle face is set as V N , each vertex is a common vertex of multiple triangles, and its normal vector is defined as v = (V1 + V2 + ... + V n ) / n. After the initial network construction is completed, the surface smoothness is improved by normalizing the normal vector. Specifically, a point on the irregular triangulated network is selected as the seed point v1, and the distance D between the normal vectors of other points v2 on the irregular triangulated network and the seed point v1 is calculated. Thresholds a and b are set, where a<b. When D satisfies the condition 0≤D≤a or b≤D≤2, it means that the vectors of the two points tend to be consistent, and they are classified as the same plane for smoothing.

[0065] In one example, preferably, when meshing the surface of the building vector model, key points in the supervoxel generation step are selected as vertices for meshing, such as selecting the initial center point of the supervoxel as the vertex for meshing, which can improve meshing efficiency.

[0066] S302: Perform surface vector fitting on the building point cloud data belonging to the same surface to obtain a building vector model.

[0067] In one example, the least square method is used to fit a plane, and the points belonging to the same plane are fitted to obtain the mathematical equation expression parameters of the plane, and the plane equation is listed to finally obtain a vector model of the building.

[0068] By using the embodiment of the present application, the surface of the building is firstly smoothed by the triangulation method, and the key points generated in the execution process of the supervoxel partitioning method in the previous step are used as the vertices of the triangulation network, so that the triangulation network of the surface can be constructed quickly and efficiently; then the building surface is vector fitted, the building surface is a plane, and the intersection lines between the surfaces are straight lines. The created three-dimensional model is smooth, the effect and quality are relatively good, and it is convenient for subsequent mapping. The intersection lines and surfaces of the model surfaces obtained by traditionally creating a triangulation network through point clouds are not smooth, which does not conform to the actual situation of the building.

[0069] In summary, in one example, the technical solution provided by the present invention is based on airborne LiDAR point cloud data and oblique photography data, such as Figure 4 As shown, after the point cloud data is preprocessed by multiple filtering for denoising, the building point cloud data is extracted and surface fitting is performed to generate a building vector model, and the coordinates of the corner points in the vector model are extracted; at the same time, the oblique photography data is processed, including aerial triangulation processing of the oblique photography image to obtain aerial triangulation results (aerial triangulation results); then, the corresponding points of the corner points of the building vector model are found on the processed oblique photography to perform absolute orientation; finally, the absolute orientation results of the oblique image are texture mapped on the building vector model to obtain a three-dimensional model of the building.

[0070] The present invention provides a complete set of processes for extracting independent building points from raw point cloud data and integrating oblique photography images to complete the three-dimensional reconstruction of urban buildings. The airborne LiDAR point cloud acquired can be directly processed, a simple and effective building extraction method is proposed, and building points can be monomerized. An improved irregular triangulated network construction method is adopted, that is, the key points generated during the execution of supervoxel division, such as the center point of the voxel, are used as the center point of the irregular triangulated network for network construction, which reduces the search range during network construction and speeds up the network construction speed. The points, lines, and surfaces of the building are extracted based on the network construction results, and the contour of the created three-dimensional model of the building can be ensured to be relatively smooth through surface fitting, thereby ensuring that the constructed three-dimensional model of the building has a good effect and quality, and solves the problems of low efficiency and poor precision in traditional three-dimensional modeling; the method also innovatively uses the airborne LiDAR point cloud as the control point to realize the rapid reconstruction of the three-dimensional model and the mapping of the texture. The problem that the model texture is not rich enough and does not conform to the actual situation in traditional three-dimensional modeling is solved, and it has the characteristics of simplicity, speed, high degree of automation, strong independence, and high precision. Using this method, we can restore the real scene of urban buildings, thereby more realistically expressing the spatial distribution of urban buildings.

[0071] like Figure 5 As shown, the three-dimensional building model construction method may also include:

[0072] S106: Merge multiple three-dimensional building models into a unified platform, and import relevant information to obtain a real-scene three-dimensional model of the city.

[0073] In one example, after generating a 3D building model, multiple 3D building models can be merged into a unified platform, and related information can be imported to obtain a real-life 3D model of the city. Specifically, after generating individual 3D building models, they are merged according to the location coordinates of the models. After generating a real-life 3D model of an area, related information is merged, where the related information includes geometric information and non-geometric information, such as the building age, purpose, internal structure, pipe network, etc. of the building; the merged results are imported into a unified platform, and storage, update, query and application are performed in a unified manner to achieve visual display, and related data are queried in linkage, thereby improving the utilization efficiency of 3D building models and related data.

[0074] Application examples:

[0075] The processing flow of the first embodiment of the present application can be divided into the following five stages, including the following contents:

[0076] 1. Point cloud data processing stage

[0077] A variety of filtering methods are used to remove noise points and abnormal points in airborne LiDAR point cloud data (also known as initial point cloud data). Specifically, one or more of the following methods can be used: profile filtering, elevation filtering, and sparse outlier removal filtering (SOR). The specific steps of the SOR method are as follows: ① Define the neighborhood, use the K-neighbor (k-NN) method, and define the neighborhood K value according to the point cloud density. The larger the density, the larger the K value, such as defining K=50; ② Calculate the average distance from each point to all neighboring points, and the result is a Gaussian distribution, and calculate the mean μ and a standard deviation σ; ③ Set the standard multiple threshold, and define the threshold std_mul according to the point cloud quality. For example, std_mul can be defined as 1. When the distance between a point and its neighborhood is greater than μ+std_mul×σ, the point is considered to be an abnormal outlier and is removed from the point cloud set.

[0078] Considering that the effects of many denoising filtering methods are easily affected by surface features and are not suitable for large-scale urban scenes, the present invention uses the CSF filtering algorithm to further filter the denoised point cloud data to separate ground points from non-ground points. The specific steps are as follows:

[0079] ① Reverse the initial point cloud data;

[0080] ②Initialize the cloth grid;

[0081] ③ Project all points and cloth mesh particles to the same horizontal plane, find the point closest to each particle, and record its elevation before projection;

[0082] ④ Calculate the displacement of each grid particle affected by gravity and compare it with the elevation of the point closest to it. If the particle height is lower than the point elevation, set the particle as an immovable point;

[0083] ⑤ Calculate the displacement caused by internal factors for each grid particle;

[0084] ⑥ Repeat the above steps ④ and ⑤ until the maximum elevation change of all mesh particles is small enough or the number of iterations reaches the preset value of the user;

[0085] ⑦ Calculate the height difference between the LiDAR point and the grid particle. If the distance between the point and the particle is less than the preset threshold, it is considered to be a ground point, otherwise it is considered to be a non-ground point.

[0086] In the point cloud data processing stage, the main thing is to select a variety of filtering methods to filter the original point cloud data to achieve the best effect of smoothing data and removing noise, and then use the CSF filtering algorithm to extract non-ground points including building points, laying the foundation for the subsequent extraction of building points.

[0087] 2. Building point extraction stage

[0088] In this stage, the separated non-ground points are divided into supervoxels, the surface fitting residual of the supervoxels is calculated, the supervoxel with the smallest residual is used as the seed object, the regional growth of the seed object is realized according to the local neighborhood normal vector angle criterion, and the building points are extracted from the non-ground points. The specific steps include:

[0089] ① Divide non-ground points into supervoxels;

[0090] ② Define the supervoxel neighborhood Q using the K-neighbor method, and use the least squares method to obtain the quadratic surface f fitted by the neighborhood set;

[0091] ③ Calculate the residual error ε of the local neighborhood surface fitting of the supervoxel q ;

[0092] ④Using the region growing method, the supervoxel with the smallest residual is used as the seed point to obtain each independent building point set.

[0093] 3. Building vector model generation and corner point extraction stage

[0094] In this stage, the building point cloud data obtained in the previous stage is fitted to obtain the building vector model, and then the boundary line of the building is obtained through the intersecting surface, and the intersection point of the boundary line is calculated to obtain the building corner point. The specific steps are as follows:

[0095] ① Construct an irregular triangulated network based on the building point cloud data, and obtain the normal vector v of each triangle vertex according to formula (1);

[0096] v=(V1+V2+…+V n ) / n (1)

[0097] ② Perform preliminary clustering and smoothing of the building surface through normal vector normalization method;

[0098] ③ Use the least squares method to perform plane fitting on the segmented point cloud data of a single building to obtain the building surface vector. Multiple surface vectors are combined into a building vector model, such as Figure 6 As shown;

[0099] ④ Intersect the fitted building surface vectors to obtain the intersection line, which is the building boundary box;

[0100] ⑤Find the intersection point of the intersecting lines obtained in the previous step, that is, the corner point of the building.

[0101] 4. Establishing the relationship between the building vector model and the oblique image

[0102] Before establishing the relationship, the oblique image needs to be preprocessed, including but not limited to: calibration, registration, and aerial triangulation.

[0103] The aerial triangulation specifically includes the following steps:

[0104] ① Use the multi-angle and multi-view matching model method suitable for the characteristics of oblique images to perform initial matching between multiple oblique images;

[0105] ② Regional block adjustment: Combined with the exterior orientation elements of multi-view images provided by the aviation positioning and orientation system (POS), a pyramid matching strategy from coarse to fine is adopted to perform automatic matching of same-name points and free-net bundle adjustment on each level of image, so as to quickly and accurately obtain the coordinates of same-name image points on multi-view images and complete the automatic matching of same-name image points between vertical images and oblique images in multi-view images.

[0106] ③ Aerial triangulation: Establish the error equation of the multi-view image self-calibration regional network adjustment of connecting points and connecting lines, control point coordinates, and geographic information system / inertial measurement unit (GPS / IMU) auxiliary data. Use the bundle method for overall regional network adjustment. Take a beam of light composed of a picture as an adjustment unit. Through the rotation and translation of each light beam in space, the common light between the models is optimally intersected, and the overall area is optimally added to the control point coordinate system. In the adjustment process, the gross error matching is effectively detected and eliminated. At the same time, the accuracy of the adjustment result is ensured through joint solution, and the coordinate posture of each image and the coordinates of the encryption points are determined.

[0107] After the above processing, the pre-processed oblique photography image is obtained, namely the digital orthophoto map (DOM).

[0108] The extracted building corner coordinates are used as control points for absolute orientation, and an accurate correspondence is established between the building vector model and the pre-processed oblique image (digital orthophoto).

[0109] 5. Texturing Stage

[0110] In this step, based on the obtained correspondence, the pre-processed oblique image is pasted onto the building model. The main steps include:

[0111] ①Intercept the oblique image according to the corner points of each face of the building;

[0112] ②Building model texture mapping, the three-dimensional real model of the building after mapping is as follows Figure 7 shown.

[0113] Figure 8 FIG. 1 is a block diagram showing a structure of a three-dimensional building model construction device 100 according to an embodiment of the present invention. Figure 8 As shown, the device may include:

[0114] A point cloud extraction module 110, configured to extract point cloud data of at least one building from the point cloud data after filtering;

[0115] A vector model generation module 120 is used to extract surface vectors from the point cloud data of the building to obtain a vector model of the building;

[0116] A corner point extraction module 130 is used to extract corner points of the building vector model;

[0117] A control point acquisition module 140 is used to obtain control points corresponding to corner points of the building vector model on the pre-processed oblique photography image, and obtain a corresponding relationship based on the control points;

[0118] The mapping module 150 is used to perform texture mapping on the building vector model using the pre-processed oblique photography image based on the corresponding relationship to obtain a three-dimensional building model.

[0119] The device is also used for preprocessing the oblique photography images, including calibration, registration and aerial triangulation.

[0120] Among them, the point cloud extraction module in the three-dimensional building model construction device may include:

[0121] Point cloud unit, used to perform comprehensive filtering on point cloud data to obtain denoised non-ground point cloud data;

[0122] The segmentation unit is used to obtain point cloud data of at least one building from the non-ground point cloud data by using a supervoxel partitioning method.

[0123] The vector generation module in the three-dimensional building model construction device according to another embodiment of the present invention may further include:

[0124] A surface generation unit, used for obtaining building point cloud data belonging to the same surface by using an irregular triangulation method, wherein the center points of the voxels generated during the execution of the supervoxel partitioning method are selected as the vertices of the irregular triangulation network;

[0125] The surface fitting unit is used to perform surface vector fitting on the building point cloud data belonging to the same surface to obtain the vector model of the building.

[0126] Fig. 9 FIG. 2 shows a structural block diagram of a three-dimensional building model construction device 100 according to another embodiment of the present invention. Fig. 9 As shown, the device may also include:

[0127] The real scene generation module 160 is used to merge the multiple three-dimensional building models into a unified platform and import relevant information to obtain a real-scene three-dimensional model of the city.

[0128] The functions of the modules and units in the devices of the embodiments of the present invention can be found in the corresponding descriptions of the above methods, which will not be repeated here.

[0129] Fig.10 FIG. 2 shows a structural block diagram of a three-dimensional building model construction device according to an embodiment of the present invention. Fig.10 As shown, the 3D building model construction device includes: a memory 910 and a processor 920, wherein the memory 910 stores a computer program that can be run on the processor 920. When the processor 920 executes the computer program, the 3D building model construction method in the above embodiment is implemented. The number of the memory 910 and the processor 920 can be one or more.

[0130] The three-dimensional building model construction device also includes:

[0131] The communication interface 930 is used to communicate with external devices and perform data exchange transmission.

[0132] If the memory 910, the processor 920 and the communication interface 930 are implemented independently, the memory 910, the processor 920 and the communication interface 930 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0133] Optionally, in a specific implementation, if the memory 910, the processor 920 and the communication interface 930 are integrated on a chip, the memory 910, the processor 920 and the communication interface 930 can communicate with each other through an internal interface.

[0134] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.

[0135] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.

[0136] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0137] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0138] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0139] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0140] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0141] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0142] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0143] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0144] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0145] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0146] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for constructing a three-dimensional building model, characterized in that: The method comprises: Obtain airborne LiDAR point cloud data, filter the airborne LiDAR point cloud data to obtain denoised non-ground point cloud data; obtain point cloud data of at least one building from the non-ground point cloud data using a supervoxel partitioning method; Performing face vector extraction on the point cloud data of the at least one building to obtain a building vector model; wherein, performing face vector extraction on the point cloud data of the at least one building to obtain a building vector model comprises: obtaining building point cloud data belonging to the same face by using an irregular triangulated network method, wherein the voxel center points generated during the execution of the supervoxel partitioning method are selected as vertices of the irregular triangulated network; performing face vector fitting on the building point cloud data belonging to the same face to obtain the building vector model; the method of generating the voxel center point comprises: dividing the space where the point cloud data is located into a plurality of cubes, calculating the position of the geometric center of each cube, and taking the point closest to the geometric center as the voxel center point; Extracting corner points of the building vector model; Obtaining control points corresponding to corner points of the building vector model on the preprocessed oblique photography image, and obtaining a corresponding relationship based on the control points; Based on the corresponding relationship, the pre-processed oblique photography image is used to perform texture mapping on the building vector model to obtain a three-dimensional building model.

2. The method according to claim 1, characterized in that Also includes: For the oblique photography image, at least one preprocessing including calibration, registration, and aerial triangulation is performed to obtain the preprocessed oblique photography image.

3. The method according to claim 1, characterized in that Also includes: The plurality of three-dimensional building models are merged into a unified platform, and relevant information is imported to obtain a real-scene three-dimensional model of the city.

4. A three-dimensional building model construction device, characterized in that: The device comprises: A point cloud extraction module is used to obtain airborne LiDAR point cloud data, filter the airborne LiDAR point cloud data, and obtain denoised non-ground point cloud data; and obtain point cloud data of at least one building from the non-ground point cloud data using a supervoxel partitioning method; The vector model generation module is used to extract the surface vector of the point cloud data of the at least one building to obtain the building vector model; wherein the extraction of the surface vector of the point cloud data of the at least one building to obtain the building vector model includes: obtaining the building point cloud data belonging to the same surface by using the irregular triangulation method, wherein the voxel center points generated during the execution of the supervoxel partitioning method are selected as the vertices of the irregular triangulation; performing surface vector fitting on the building point cloud data belonging to the same surface to obtain the building vector model; the generation method of the voxel center point includes: dividing the space where the point cloud data is located into a plurality of cubes, calculating the position of the geometric center of each cube, and taking the point closest to the geometric center as the voxel center point; A corner point extraction module, used for extracting corner points of the building vector model; A control point acquisition module, used to obtain control points corresponding to corner points of the building vector model on the pre-processed oblique photography image, and obtain a corresponding relationship based on the control points; A mapping module is used to perform texture mapping on the building vector model using the pre-processed oblique photography image based on the corresponding relationship to obtain a three-dimensional building model.

5. The device according to claim 4, characterized in that The device is also used for: For the oblique photography image, at least one preprocessing including calibration, registration, and aerial triangulation is performed to obtain the preprocessed oblique photography image.

6. The device according to claim 4, characterized in that The device also includes: The real scene generation module is used to merge the multiple three-dimensional building models into a unified platform and import relevant information to obtain a real-scene three-dimensional model of the city.

7. A device for constructing a three-dimensional building model, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 3.

8. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Interaction-based building point cloud model texture mapping method and device

    CN104851127A

  • Real scene three-dimensional modeling method for urban building

    CN106327573A

  • Point cloud data partitioning method based on hyper voxels

    CN106600622A

  • Public security crime scene three dimensional real and fast restoration method based on cloud computing

    CN107507274A

  • An airborne LiDAR point cloud data and aerial image automatic registration method

    CN109727278A