CN-115169679-B - Automatic planning method, device and equipment for indoor point cloud data acquisition site of building
Abstract
The embodiment of the invention discloses a method, a device and equipment for automatically planning a point cloud data acquisition site in a building room. The method comprises the steps of obtaining a BIM model of a building to be detected, extracting geometric information and topological relation of a target component from the BIM model, determining an ordinate of a scanning site and room boundary convexity of the building to be detected according to the geometric information and the topological relation, determining an abscissa of the scanning site according to the ordinate and the room boundary convexity, and determining the position of the scanning site according to the ordinate and the abscissa. Therefore, the automatic planning of the scanning site is realized, the scanning efficiency is greatly improved, the labor cost is reduced, meanwhile, the difficulty of drawing recognition in engineering is also reduced, the scheme of easily receiving the scanning site for personnel in different fields or in different professions is also solved, the defect that the traditional manual scanning only depends on manual experience to make judgment is overcome, and the accidents and errors are reduced.
Inventors
- TAN YI
- CHEN YUZHE
- CHEN LIMEI
- LI SHENGHAN
- DING ZHIKUN
Assignees
- 深圳大学
Dates
- Publication Date
- 20260505
- Application Date
- 20220701
Claims (10)
- 1. An automatic planning method for a point cloud data acquisition site in a building is characterized by comprising the following steps: Acquiring a BIM model of a building to be detected; extracting geometric information and topological relation of target components from the BIM model, wherein the target components comprise rooms and doors; Determining the ordinate of a scanning station and the room boundary convexity of the building to be detected according to the geometric information and the topological relation, wherein the room boundary convexity is the trend of a room boundary; determining an abscissa of the scanning station according to the ordinate and the room boundary concave-convex, and determining a scanning station position according to the ordinate and the abscissa; the determining the abscissa of the scanning station according to the ordinate and the room boundary concave-convex comprises the following steps: Based on the ordinate, scanning from left to right and/or scanning from right to left, and based on the room boundary convexity, determining the abscissa by comparing and analyzing the number of scanning stations and the scanning path length under the condition that the scanning can completely cover the surface area of the wall surface and the ceiling of the room.
- 2. The method for automatically planning a point cloud data collection site in a building according to claim 1, wherein determining an ordinate of a scanning site according to the geometric information and the topological relation comprises: determining a segment function of a room according to the geometric information, and determining a lower boundary maximum value and an upper boundary minimum value corresponding to each segment of the segment function; determining a gate ordinate according to the geometric information and the topological relation; the ordinate is determined from the door ordinate and the lower boundary maximum and the upper boundary minimum.
- 3. The method for automatically planning a point cloud data collection site in a building according to claim 2, wherein said determining said ordinate from said door ordinate and said lower boundary maximum and upper boundary minimum comprises: Comparing the door ordinate with the lower boundary maximum value and the upper boundary minimum value corresponding to each section respectively; if the ordinate of the door is greater than or equal to the upper boundary minimum value, taking the difference between the upper boundary minimum value and a preset safety distance as the ordinate; If the ordinate of the door is smaller than or equal to the maximum value of the lower boundary, taking the sum of the maximum value of the lower boundary and the preset safety distance as the ordinate; And if the door ordinate is greater than the lower boundary maximum value and less than the upper boundary minimum value, taking the door ordinate as the ordinate.
- 4. The method for automatically planning a point cloud data collection site in a building according to claim 2, wherein the geometric information includes corner information of a room, and the determining a piecewise function of the room according to the geometric information includes: and determining the piecewise function by using the coordinate positions of the three consecutive room corner points according to the coordinate sequence derived by revit.
- 5. The method for automatically planning a point cloud data collection site in a building according to claim 2, wherein the determining the room boundary convexity of the building to be detected according to the geometric information and the topological relation comprises: and extracting polygonal concave-convex surface information of the room according to the change rule of the piecewise function on the dependent variable.
- 6. The method for automatically planning a point cloud data collection site in a building according to claim 1, wherein the extracting geometric information and topological relation of a target component from the BIM model comprises: Attribute information of the BIM model is obtained through a secondary development component window of revit, and the geometric information and the topological relation are extracted by adding a dependency term in c# and adding a UI port in an additional module of revit.
- 7. The method for automatically planning a point cloud data collection site in a building according to claim 1, further comprising, after said determining a scanning site position according to said ordinate and said abscissa: reading the generated scanning site information through C# and giving the scanning site information to the class object in revit; scanning sites are mapped in the BIM model using revit's secondary development technique.
- 8. An automatic planning device for a point cloud data acquisition site in a building, which is characterized by comprising: The model acquisition module is used for acquiring a BIM model of the building to be detected; the model information extraction module is used for extracting geometric information and topological relation of a target component from the BIM model, wherein the target component comprises a room and a door; the convexity determining module is used for determining the ordinate of the scanning station and the convexity of the room boundary of the building to be detected according to the geometric information and the topological relation, wherein the convexity of the room boundary is the trend of the room boundary; the scanning station determining module is used for determining the abscissa of the scanning station according to the ordinate and the room boundary concave-convex, and determining the position of the scanning station according to the ordinate and the abscissa; the determining the abscissa of the scanning station according to the ordinate and the room boundary concave-convex comprises the following steps: Based on the ordinate, scanning from left to right and/or scanning from right to left, and based on the room boundary convexity, determining the abscissa by comparing and analyzing the number of scanning stations and the scanning path length under the condition that the scanning can completely cover the surface area of the wall surface and the ceiling of the room.
- 9. A computer device, comprising: One or more processors; A memory for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for automatically planning a point cloud data collection site within a building of any of claims 1-7.
- 10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a method for automatically planning a point cloud data collection site in a building according to any one of claims 1-7.
Description
Automatic planning method, device and equipment for indoor point cloud data acquisition site of building Technical Field The embodiment of the invention relates to the technical field of building detection, in particular to a method, a device and equipment for automatically planning a point cloud data acquisition site in a building. Background There are two ways of traditional indoor scanning planning of buildings, the first way is to let the scanner enter the house and then place the site according to his own experience. The second way is that the scanner arranges the scanning plan according to the CAD drawing in advance before the scanning work. The scanning instrument comprises a theodolite, a total station, a three-dimensional laser scanner and the like. The scanning work is generally performed by a group of two persons, and the traditional scanning work has high requirements on experience of the scanning personnel and needs to be manually arranged for scanning sites for scanning. The existing indoor scanning of the building is carried out by virtue of manual experience, so that the building has great contingency and great error risk. Because of a plurality of corners and concave-convex parts in the indoor space, a scanner can hardly scan every part in the room completely only by experience, so that the scanner spends extra time to scan for a plurality of times, the scanning speed is greatly reduced, and time resources are wasted. Moreover, if there are many different types of area in the building, the scanning becomes more cumbersome and complex. Disclosure of Invention The embodiment of the invention provides a method, a device and equipment for automatically planning a point cloud data acquisition site in a building, which are used for realizing automatic planning of a scanning site, improving scanning efficiency and accuracy and reducing labor cost. In a first aspect, an embodiment of the present invention provides a method for automatically planning a point cloud data acquisition site in a building, where the method includes: Acquiring a BIM model of a building to be detected; extracting geometric information and topological relation of target components from the BIM model, wherein the target components comprise rooms and doors; Determining the ordinate of a scanning site and the convexity and convexity of the room boundary of the building to be detected according to the geometric information and the topological relation; And determining the abscissa of the scanning station according to the ordinate and the room boundary concave-convex, and determining the scanning station position according to the ordinate and the abscissa. Optionally, the determining the ordinate of the scanning site according to the geometric information and the topological relation includes: determining a segment function of a room according to the geometric information, and determining a lower boundary maximum value and an upper boundary minimum value corresponding to each segment of the segment function; determining a gate ordinate according to the geometric information and the topological relation; the ordinate is determined from the door ordinate and the lower boundary maximum and the upper boundary minimum. Optionally, the determining the ordinate according to the door ordinate and the lower boundary maximum value and the upper boundary minimum value includes: Comparing the door ordinate with the lower boundary maximum value and the upper boundary minimum value corresponding to each section respectively; if the ordinate of the door is greater than or equal to the upper boundary minimum value, taking the difference between the upper boundary minimum value and a preset safety distance as the ordinate; If the ordinate of the door is smaller than or equal to the maximum value of the lower boundary, taking the sum of the maximum value of the lower boundary and the preset safety distance as the ordinate; And if the door ordinate is greater than the lower boundary maximum value and less than the upper boundary minimum value, taking the door ordinate as the ordinate. Optionally, the geometric information includes corner information of a room, and determining a piecewise function of the room according to the geometric information includes: and determining the piecewise function by using the coordinate positions of the three consecutive room corner points according to the coordinate sequence derived by revit. Optionally, the determining the convexity of the room boundary of the building to be detected according to the geometric information and the topological relation includes: and extracting polygonal concave-convex surface information of the room according to the change rule of the piecewise function on the dependent variable. Optionally, the extracting the geometric information and the topological relation of the target component from the BIM model includes: Attribute information of the BIM model is obtained through a secondary d