CN-116310789-B - Three-dimensional building ceiling extraction method, device, terminal and medium
Abstract
The invention discloses a three-dimensional building ceiling extraction method, a device, a terminal and a medium, which are characterized in that a dense three-dimensional building grid is used for realizing the extraction of a single building body according to a building substrate surface, three types of noise removal are carried out, an original building body panel set is refined, detecting a top set of each building top set by using a layered vertical probe detection method, judging abnormal conditions by using Mesh directional compression auxiliary comparison with top data, correcting, and finally completing the output of the top data set. Therefore, the embodiment of the invention can realize mass production of the sky data in the dense building environment, support the urban village management data construction in the three-dimensional construction background of the live-action, achieve higher balance in the aspects of automation degree, data production precision and data processing volume, realize effective supervision of urban village buildings by collecting the sky data, prevent illegal construction and facilitate the promotion of urban landscapes.
Inventors
- LI CHANGHUI
- LI CHENGPENG
- LIU YANZHI
- HU SHUGUANG
- HE JIAN
- YANG YOUSHENG
- GAN LIQIN
Assignees
- 广州市城市规划勘测设计研究院
Dates
- Publication Date
- 20260512
- Application Date
- 20230110
Claims (9)
- 1. The three-dimensional building ceiling extraction method is characterized by comprising the following steps of: acquiring a Mesh set of a single building body according to Mesh data of the dense three-dimensional building grid and data of a building basal plane; carrying out noise treatment on each independent building body of the Mesh set to form a standardized building body; collecting a weather candidate set of the standardized building, and detecting an elevation value of each weather in the weather candidate set, so as to extract a rough weather aggregate set of the standardized building; Screening out abnormal brown-sky surfaces of the brown-sky surface collection through live-action comparison; correcting the abnormal matte surfaces finely, carrying out semantic assignment on all matte surfaces, and outputting a matte data set; The method for extracting the rough weather collection of the standardized building body comprises the following steps of collecting a weather candidate collection of the standardized building body, detecting an elevation value of each weather in the weather candidate collection, and extracting the rough weather collection of the standardized building body, wherein the method specifically comprises the following steps: Gradually moving up the building basal plane with a preset step distance by taking the building basal plane as a foundation, and calculating the intersection condition of the building basal plane and a standardized building body so as to acquire a weather candidate set of the standardized building body; establishing uniform density grids in the building foundation surface, and setting up a vertical probe in the center of each grid vertical to the building foundation surface so as to detect the elevation value of the sky of the standardized building body; and comparing the weather candidate sets by calculating the weather elevation value detected by the probe, thereby extracting the rough weather integrated set of the standardized building body.
- 2. The method for extracting a three-dimensional building ceiling according to claim 1, wherein the step of obtaining the Mesh set of the individual building body according to the Mesh data of the dense three-dimensional building grid and the data of the building substrate surface specifically comprises: carrying out space position registration on Mesh data of the dense three-dimensional building grid and data of a building basal surface; Establishing a vertical elevation vertical to the building basal plane, and extracting a triangular patch set of adjacent edges of Mesh data in the coverage range of the building basal plane according to the intersection condition of the vertical elevation and the triangular patches of the Mesh data; Iteratively calculating adjacent triangular patches by taking the adjacent triangular patch sets as seed sets to obtain all communicated triangular patch sets in the coverage range of the building base surface; establishing a connection relation between the triangular face set and the building basal surface, and taking the building with the connection relation as a single building to obtain a Mesh set of the single building.
- 3. The method for extracting three-dimensional building ceiling according to claim 1, wherein the noise processing is performed on each individual building body of the Mesh set to form a standardized building body, specifically comprising: judging the data noise condition of each independent building body of the Mesh set so as to perform noise processing; If the independent building contains adjacent data noise, cleaning the adjacent data noise; If the independent building body contains the aerial data noise, automatically eliminating the aerial data part after connectivity judgment; if the single building contains singular data noise, manually judging and manually removing or shielding the single building; And marking all the independent buildings subjected to noise treatment as standardized buildings.
- 4. The method for extracting three-dimensional building sky according to claim 1, wherein the screening out abnormal matte of the matte aggregate set by live-action comparison comprises the following steps: Performing vertical flattening treatment on the Mesh data, performing plane comparison on the vertical flattening data and the rough weather surfaces of the rough weather surface integrated set, and selecting abnormal rough weather surfaces; Carrying out transverse flattening treatment on the Mesh data, vertically comparing the transverse flattening data with the rough weather surface, and selecting the abnormal rough weather surface; and carrying out three-dimensional comparison on the Mesh data and the brown sky, and selecting the abnormal brown sky.
- 5. The method for extracting three-dimensional building sky surface according to claim 1, wherein said fine correction of said abnormal matte surface and outputting a sky surface data set after semantic assignment of all matte surfaces, specifically comprising: performing vertical correction on the abnormal rough weather surfaces, and adjusting the elevation value of each abnormal rough weather surface point position; Finely correcting the plane coordinate value of the abnormal matte surface point position after vertical adjustment; And carrying out semantic assignment on all the matte surfaces, and outputting a matte surface data set.
- 6. A three-dimensional building ceiling extraction device, comprising: The acquisition collection module is used for acquiring a Mesh collection of the single building body according to Mesh data of the dense three-dimensional building grid and data of the building foundation surface; The noise processing module is used for carrying out noise processing on each single building body of the Mesh set to form a standardized building body; The acquisition detection module is used for acquiring a weather candidate set of the standardized building body and detecting an elevation value of each weather in the weather candidate set so as to extract a rough weather combined set of the standardized building body; the live-action comparison module is used for screening out abnormal rough weather surfaces of the rough weather surface collection through live-action comparison; The correction output module is used for precisely correcting the abnormal matte surfaces and outputting a matte data set after carrying out semantic assignment on all the matte surfaces; Wherein, gather detection module is used for: Gradually moving up the building basal plane with a preset step distance by taking the building basal plane as a foundation, and calculating the intersection condition of the building basal plane and a standardized building body so as to acquire a weather candidate set of the standardized building body; establishing uniform density grids in the building foundation surface, and setting up a vertical probe in the center of each grid vertical to the building foundation surface so as to detect the elevation value of the sky of the standardized building body; and comparing the weather candidate sets by calculating the weather elevation value detected by the probe, thereby extracting the rough weather integrated set of the standardized building body.
- 7. The three-dimensional building ceiling extraction device according to claim 6, wherein the acquisition aggregation module is specifically configured to: carrying out space position registration on Mesh data of the dense three-dimensional building grid and data of a building basal surface; Establishing a vertical elevation vertical to the building basal plane, and extracting a triangular patch set of adjacent edges of Mesh data in the coverage range of the building basal plane according to the intersection condition of the vertical elevation and the triangular patches of the Mesh data; Iteratively calculating adjacent triangular patches by taking the adjacent triangular patch sets as seed sets to obtain all communicated triangular patch sets in the coverage range of the building base surface; establishing a connection relation between the triangular face set and the building basal surface, and taking the building with the connection relation as a single building to obtain a Mesh set of the single building.
- 8. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the three-dimensional building sky surface extraction method according to any one of claims 1-5 when executing the computer program.
- 9. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform the three-dimensional building sky surface extraction method according to any one of claims 1-5.
Description
Three-dimensional building ceiling extraction method, device, terminal and medium Technical Field The invention relates to the technical field of machine vision, in particular to a three-dimensional building ceiling extraction method, a device, a terminal and a medium. Background The urban village construction has the characteristics of large building quantity, dense construction, shared wall bodies among a plurality of buildings, centralized connection, irregular building layout, close connection and coverage of environmental elements such as forests, vegetation and the like, so that the urban village informatization treatment is a comprehensive technical problem, and the foundation building data of the urban village is used as an important support for the urban village comprehensive treatment by adopting a geographic information mapping means. The high-precision three-dimensional data of the top of the urban village building is an important component of the basic building data, and the effective supervision of the urban village building is realized by collecting the top of the building data, so that the construction of violations is prevented, and the urban landscape is improved. The building ceiling is a surface of a building adjacent to the sky and is characterized in that 1, the building ceiling stores information and structures which cannot be seen by people on the ground, such as a shed built by violations, a covered building body and the like, 2, the ceiling data is graphical representation of a roof structure, and 3, the ceiling three-dimensional data at least comprises a contour surface of a top layer and the height of the surface from the ground surface. The existing method for extracting the roof comprises the following steps of firstly calculating the product of the number of floors and the fixed floor height to serve as the height of the building roof by taking the precisely measured building bottom as a base, so that the three-dimensional building roof is formed, but the calculated roof is a rough estimated value, the reliability is low, the method cannot be directly applied to a real management scene, secondly, roof contour line extraction is realized based on building point cloud data, the three-dimensional building roof is constructed by the method, but the method cannot adapt to dense data environments of villages in cities and cannot realize batch processing due to large data volume and difficult acquisition, and thirdly, three-dimensional building roof identification is realized based on orthographic remote sensing images by using a deep learning method, but the method cannot distinguish a plurality of roof conditions of the same building, and the problems of limited identification accuracy and difficult processing of building and environmental shielding are solved. To sum up, the current method is not enough to be applied to batch three-dimensional building sky extraction in the dense environment of urban village scene buildings. Therefore, for the application scenario of comprehensive treatment of villages in cities, a method for realizing batch extraction of high-precision three-dimensional building ceilings in dense building environments is needed. Disclosure of Invention The invention provides a three-dimensional building ceiling extraction method, a device, a terminal and a medium, which are used for solving the technical problem that the batch extraction of high-precision three-dimensional building ceiling is difficult to realize in a dense building environment in the prior art, and can automatically extract the high-precision three-dimensional building ceiling by utilizing dense three-dimensional building grid Mesh data and combining with a building basal surface. In order to achieve the above object, in a first aspect, an embodiment of the present invention provides a three-dimensional building ceiling extraction method, including: acquiring a Mesh set of a single building body according to Mesh data of the dense three-dimensional building grid and data of a building basal plane; carrying out noise treatment on each independent building body of the Mesh set to form a standardized building body; collecting a weather candidate set of the standardized building, and detecting an elevation value of each weather in the weather candidate set, so as to extract a rough weather aggregate set of the standardized building; Screening out abnormal brown-sky surfaces of the brown-sky surface collection through live-action comparison; And correcting the abnormal matte surface finely, carrying out semantic assignment on all the matte surfaces, and outputting a matte surface data set. As an improvement of the above solution, the obtaining the Mesh set of the individual building body according to the Mesh data of the dense three-dimensional building grid and the data of the building substrate surface specifically includes: carrying out space position registration on Mesh data of the dense three-d