House type model construction method and device for commodity house and medium
By dividing the apartment types of commercial residential buildings into measuring stations and classifying and splicing their point cloud data, the problem of low efficiency in constructing household type point cloud models in the existing technology is solved, and more efficient and accurate point cloud data splicing is achieved.
Patent Information
- Application Number
- CN202410613997.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, the construction efficiency of household type point cloud models of commercial residential buildings is low, especially because the increase in the number of rooms leads to an increase in the number of splicing times of the ICP algorithm, which affects work efficiency.
By dividing the house type of the commercial housing to be measured into multiple measurement stations, and numbering them according to the location relationship of the measurement stations, the ICP algorithm is used to classify and splice the point clouds on the top, floor and wall of the measurement stations to reduce invalid splicing. Improve the splicing efficiency of point cloud data.
It improves the splicing efficiency and accuracy of point cloud data of commercial residential units, reduces the success rate of splicing, and solves the problems of low efficiency and poor accuracy in the existing technology.
Smart Images

Figure CN118570373A
Abstract
Description
Technical Field
[0001] The present invention relates to point cloud splicing, and in particular to a method, device and storage medium for constructing an apartment model for commercial housing. Background Art
[0002] At present, the point cloud model of commercial residential units is generally obtained by scanning the unit with a portable scanner, and then the point cloud data is spliced to build the model. The more commonly used point cloud model construction on the market is to splice the scanned point cloud data using the ICP algorithm. However, when splicing the point cloud of commercial residential units, since the number of rooms is generally at least 3, the number of splicing times of the ICP algorithm will increase with the increase in the number of rooms, which will lead to low efficiency in building the point cloud model and affect the subsequent work of the staff. Summary of the invention
[0003] In order to overcome the shortcomings of the prior art, one of the objects of the present invention is to provide a method for constructing an apartment model for commercial housing, which can solve the problem of low efficiency in constructing a point cloud model of an apartment in the prior art.
[0004] The second object of the present invention is to provide a method and device for constructing an apartment model for commercial housing, which can solve the problem of low efficiency in constructing the point cloud model of the apartment in the prior art.
[0005] A third object of the present invention is to provide a computer-readable storage medium that can solve the problem of low efficiency in constructing point cloud models of house types in the prior art.
[0006] One of the purposes of the present invention is achieved by the following technical solution:
[0007] A method for constructing a housing type model for commercial housing, the housing type model construction comprising:
[0008] The step of obtaining measuring stations: obtaining the apartment type of the commercial residential building to be measured and dividing the apartment type of the commercial residential building to be measured into a plurality of measuring stations, and numbering the plurality of measuring stations according to the positional relationship of the plurality of measuring stations to construct a measuring station set;
[0009] Point cloud acquisition step: acquiring point cloud data of each measuring station of the apartment type of the commercial residential building to be measured;
[0010] Subsetting step: classifying the points in the point cloud data of each measuring station according to a preset classification rule to construct multiple point cloud sets for each measuring station;
[0011] Splicing step: taking out two measuring stations from the measuring station set in sequence according to the measuring station numbers, splicing the two measuring stations according to the multiple point cloud sets of each measuring station to obtain a new measuring station, and then selecting the next measuring station from the measuring station set and splicing it with the new measuring station; until all the measuring stations in the measuring station set are spliced to obtain the point cloud model of the apartment type of the commercial residential building to be tested.
[0012] Furthermore, the subset division step specifically includes: classifying the points in the point cloud data of each measuring station according to their height coordinates to construct a plurality of point cloud sets corresponding to the measuring station; or, calculating the normal vector of each point and classifying the points in the point cloud data according to the direction of the normal vector of the point to construct a plurality of point cloud sets corresponding to the measuring station.
[0013] Further, numbering the multiple measuring stations according to the positional relationship of the multiple measuring stations to construct the measuring station set specifically includes: numbering the multiple measuring stations in a predetermined order according to the positional relationship of the multiple measuring stations, wherein the predetermined order is a counterclockwise order or a clockwise order.
[0014] Furthermore, the point cloud acquisition step specifically includes: scanning the corresponding measuring station by a three-dimensional laser scanning device placed in each measuring station of the apartment type of the commercial residential building to be measured to obtain point cloud data of each measuring station.
[0015] Furthermore, the point cloud set includes a top point cloud set, a ground point cloud set and a wall point cloud set; wherein, the top point cloud set includes points on the top surface of the apartment type of the commercial residential building to be tested; the ground point cloud set includes points on the ground of the apartment type of the commercial residential building to be tested; and the wall point cloud set includes points on each wall of the apartment type of the commercial residential building to be tested.
[0016] Furthermore, the subset division step specifically includes:
[0017] Simulation steps: According to the apartment size and scanning center point of a measuring station, the top surface, ground surface and wall surface of the measuring station are simulated and constructed;
[0018] Top surface point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the top surface of the measuring station meets the preset requirements, and if so, divide the corresponding point into the top surface point cloud set;
[0019] Ground point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the ground of the measuring station meets the preset requirements. If so, the corresponding point is divided into a ground point cloud set;
[0020] Wall point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and any wall of the measuring station meets the preset requirements. If so, divide the corresponding point into a ground point cloud set;
[0021] Deletion step: When there is a point in the point cloud data of the measuring station that exists in any number of point cloud sets, delete the point.
[0022] Furthermore, the deleting step further includes: when a point is not divided into any point cloud set, deleting the point;
[0023] The point cloud acquisition step further includes: preprocessing the point cloud data of each measuring station to remove invalid points in the point cloud data of each measuring station.
[0024] Furthermore, the stitching step includes: stitching the top surface point cloud sets of the two measuring stations, stitching the ground point cloud sets, and stitching the wall point cloud sets according to an ICP stitching algorithm.
[0025] The second object of the present invention is achieved by adopting the following technical solution:
[0026] A method and device for constructing an apartment model for commercial housing, comprising a memory and a processor, wherein the memory stores an apartment model construction program that runs on the processor, and the apartment model construction program is a computer program. When the processor executes the apartment model construction program, the steps of a method for constructing an apartment model for commercial housing adopted as one of the purposes of the present invention are implemented.
[0027] The third object of the present invention is achieved by adopting the following technical solution:
[0028] A computer-readable storage medium stores a housing model building program, which is a computer program. When the housing model building program is executed by a processor, it implements the steps of a housing model building method for commercial housing adopted as one of the purposes of the present invention.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] The present invention combines the existing ICP algorithm with commercial residential housing types and improves the existing ICP algorithm according to the characteristics of commercial residential housing types, so that the splicing efficiency of point cloud data of commercial residential housing types is higher and more in line with the splicing of point cloud data of commercial residential housing types. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A flowchart of a method for constructing a unit model for commercial housing provided by the present invention;
[0032] Figure 2 for Figure 1 Flow chart of step S3 in FIG. DETAILED DESCRIPTION
[0033] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0034] Embodiment 1
[0035] The present invention improves the existing ICP algorithm according to the characteristics of commercial housing to improve the splicing efficiency of point cloud data of commercial housing. Figure 1 As shown, the present invention provides a preferred embodiment, a method for constructing a unit model for commercial housing, comprising:
[0036] Step S1, obtaining the apartment type of the commercial residential building to be tested and dividing the apartment type of the commercial residential building to be tested into multiple test stations, and numbering the multiple test stations according to their positional relationships to construct a test station set.
[0037] Preferably, the present invention constructs a point cloud model of the commodity housing unit type by splicing the scanned point cloud data of the commodity housing unit type.
[0038] Specifically, the apartment type of the commodity type residential building to be tested is obtained, and then the apartment type of the commodity type residential building to be tested is divided into multiple measuring stations, so as to subsequently obtain the point cloud data of each measuring station of the commodity type residential building to be tested. In actual scanning, since each house type generally includes multiple rooms, when scanning the house type, each room needs to be scanned in turn. Therefore, in this embodiment, the apartment type of the commodity type residential building to be tested is divided according to the number of rooms to form multiple measuring stations, so as to scan the house.
[0039] After segmenting the apartment type of the commercial residential building to be tested, it is also necessary to number the multiple segmented measuring stations to construct a measuring station set. When constructing the point cloud model of the apartment type of the commercial residential building to be tested, the point cloud data of multiple measuring stations are first obtained, and then the point cloud data of multiple measuring stations are spliced to obtain the point cloud model of the apartment type of the commercial residential building to be tested. Therefore, in order to realize the splicing of point cloud data, after the measuring stations are divided, it is also necessary to number the multiple measuring stations according to the positional relationship of the measuring stations to distinguish the positional relationship of the measuring stations. Among them, when the multiple measuring stations are numbered according to the positional relationship of the multiple measuring stations, the established order in this embodiment can be counterclockwise or clockwise, so that when the measuring stations are spliced, they can be spliced directly in sequence according to the measuring station numbers.
[0040] Step S2: Obtain the point cloud data of each measuring station of the commercial residential unit to be measured.
[0041] Specifically, the scanning data of each measuring station is obtained by placing a 3D laser scanning device in each measuring station to scan each measuring station, that is, point cloud data. The measuring station in this embodiment generally refers to a room in the apartment type of the commercial residential building to be measured. In this way, in actual use, the 3D laser scanning device is placed in each room to perform a 3D scanning on each room to obtain the point cloud data of each room, that is, the point cloud data of the measuring station. In this way, the point cloud data of multiple measuring stations can be spliced to form a point cloud model of the apartment type of the commercial residential building to be measured.
[0042] In actual use, the staff can scan the apartment types of multiple different commodity residential buildings to be tested in a building at the same time, and then upload the point cloud data of each commodity residential building to be tested to the system to improve the efficiency of point cloud data scanning. At the same time, the interactive display screen can be used to communicate with the staff to determine the location of the current scanning station. For example, by numbering the stations in a given order on the diagram, and then the staff can observe the numbering order of multiple stations from the electronic drawing, and then select the corresponding stations for scanning in turn according to the numbering order of multiple stations, and upload all the stations of a commodity residential building to be tested to the system after scanning, and the system will do the next step of processing.
[0043] Step S3: classify the points in the point cloud data of each measuring station according to a preset classification rule to construct a plurality of point cloud sets corresponding to the measuring station.
[0044] For a house type, the points in the point cloud data scanned by a three-dimensional laser scanning device include points on the wall, points on the top surface, and points on the ground. The point cloud model finally formed after splicing the two measuring stations is mainly formed by splicing the top surfaces of the two sides, the ground, and the corresponding walls. Therefore, the present invention forms corresponding point cloud sets by classifying different points. In this way, when performing point cloud splicing, the same point cloud sets of the two measuring stations are spliced to reduce invalid splicing and improve the efficiency of point cloud splicing.
[0045] More specifically, for commercial residential housing units, a measuring station (ie, a room) includes a ceiling, a floor, and a wall.
[0046] Therefore, based on the layout characteristics of the apartment types of commercial residential buildings, the point cloud set constructed in this embodiment includes a top point cloud set, a ground point cloud set, and a wall point cloud set. Among them, the top point cloud set includes all points on the top surface of the measuring station, the ground point cloud set includes all points on the ground of the measuring station, and the wall point cloud set includes all points on the wall of the measuring station. Furthermore, when the staff uses a laser three-dimensional scanning device to scan the measuring station, the laser three-dimensional scanner is placed inside the measuring station and then scans it. In this way, according to empirical values, the height coordinate of the point on the ground belonging to the measuring station is the minimum value, the height coordinate of the point on the top surface belonging to the measuring station is the maximum value, and the height coordinate of the point on the wall belonging to the measuring station is a value between the minimum value and the maximum value. Therefore, the present invention divides the point cloud data of each measuring station into three point cloud sets according to the height coordinates of the points on different surfaces of the measuring station.
[0047] In addition, the present embodiment can also classify the points in the point cloud data according to the direction of the normal vector of each point. Specifically, for any point in the point cloud data, the normal vector of the point is calculated. The normal vector of the point is obtained in the following manner: select the N points closest to the point, simulate the N points by the least squares method to construct a plane, calculate the normal vector of the plane, and use the normal vector of the plane facing the scanning center point of the point cloud data as the normal vector of the point. The plane normal vector facing the scanning center point of the point cloud data refers to the normal vector close to the scanning center point when moving along the direction of the corresponding normal vector as the normal vector of the point.
[0048] Step S4, taking out two measuring stations from the measuring station set in sequence according to the measuring station numbers, splicing the two measuring stations according to the multiple point cloud sets of each measuring station to obtain a new measuring station, and then taking out the next measuring station from the measuring station set, and continuing to splice the measuring station with the new measuring station; until all the measuring stations in the measuring station set are spliced, so as to obtain the point cloud model of the apartment type of the commercial residential building to be measured.
[0049] That is, the present invention also uses the ICP algorithm to achieve point cloud splicing during splicing. First, the points in the point cloud data are classified to form three point cloud sets, and then the point cloud sets corresponding to the two measuring stations are spliced by the ICP algorithm. Compared with the prior art that directly splices the point cloud data of the two measuring stations, the points of the spliced point cloud set are relatively small, and at the same time, they all belong to the same type of points, and the splicing efficiency is relatively higher; at the same time, when splicing, the points belonging to the top surface are spliced, the points belonging to the wall surface are spliced, and the points belonging to the ground are spliced. The initial conditions of the splicing are more accurate, and the success rate of the splicing is higher, which solves the problems of low efficiency and poor accuracy when the ICP algorithm is directly used to splice the point cloud data of the apartment type in the prior art. The ICP algorithm completes the splicing by iteratively optimizing the matching and optimizing the movement. In the present invention, points in the point cloud data are classified and divided into a top surface point cloud set, a ground point cloud set and a wall point cloud set, and then the top surface point cloud set is matched, the ground point cloud set is matched and the wall point cloud set is matched, and then the calculation is completed using the same optimization motion steps. Since the matching of the top surface point cloud set and the ground point cloud set, the matching of the top surface point cloud set and the wall point cloud set, and the matching of the ground point cloud set and the wall point cloud set are omitted, the accuracy and efficiency are greatly improved.
[0050] Preferably, if Figure 2 As shown, step S3 specifically includes:
[0051] Step S31: Find points located on the top surface of a measuring station, points located on the ground surface of the measuring station, and points located on the wall surface of the measuring station from the point cloud data of the measuring station according to the apartment size and the scanning center point of the measuring station.
[0052] Specifically, the dimensions of an apartment are known and can be obtained from the apartment design drawings or building data. At the same time, the top, ground and wall of the apartment can be simulated based on the scanning center point of the 3D laser scanning equipment. Each scanned point can be judged by the simulated surfaces to classify the points in the point cloud data.
[0053] Step S32: Calculate whether the distance between each point in the point cloud data of the measuring station and the top surface of the measuring station meets the preset requirements. If so, classify the corresponding points into the top surface point cloud set.
[0054] The top surface obtained by simulation is used to calculate whether the distance between each point and the top surface meets the preset requirements. That is, specifically, the size of the house and the position of the scanning center are known. Therefore, when the distance between a point and the top surface is theoretically zero, it means that the point is on the top surface. At the same time, due to the existence of the concave and convex surface of the wall of the house, the distance between the point on the top surface and the top surface may not be zero. Therefore, this embodiment sets an error threshold. When the calculated distance between the point and the top surface is within a certain threshold range, the point is considered to be on the top surface.
[0055] Similarly, in step S33, it is calculated whether the distance between each point in the point cloud data of the measuring station and the ground of the measuring station meets the preset requirements. If so, the corresponding point is divided into a ground point cloud set.
[0056] Step S34, calculating whether the distance between each point in the point cloud data of the measuring station and the wall of the measuring station meets the preset requirements, and if so, classifying the corresponding point into the wall point cloud set.
[0057] In addition, since a house type has multiple walls, generally speaking, there are at least three walls. Therefore, there are multiple walls simulated in step S32. Therefore, when the distance between the point in step S34 and any wall of the measuring station meets the preset requirements, it is considered that the point can be classified into the wall point cloud set.
[0058] Step S35: When a point exists in multiple point cloud sets at the same time, the point is deleted. That is, when a point exists in multiple point cloud sets at the same time, it is considered a controversial point and the point is deleted. For example, there are some controversial points at the intersection of the wall and the top surface, so this point is deleted and not used for splicing.
[0059] More preferably, step S35 further includes: when a point does not exist in any point cloud set, the point is considered as an abnormal point and deleted. For example, points obtained by scanning foreign objects during scanning are deleted and not used for splicing.
[0060] In addition, after obtaining the point cloud data of each station in step S3, the point cloud data of each station can be preprocessed to remove invalid points in the point cloud data of each station. For example, some points with missing coordinate values obtained after scanning can be deleted to avoid subsequent invalid processing.
[0061] Embodiment 2
[0062] A method and device for constructing a housing model for commercial housing includes a memory and a processor. The memory stores a housing model construction program running on the processor. The housing model construction program is a computer program. When the processor executes the housing model construction program, the following steps are implemented:
[0063] The step of obtaining measuring stations: obtaining the apartment type of the commercial residential building to be measured and dividing the apartment type of the commercial residential building to be measured into a plurality of measuring stations, and numbering the plurality of measuring stations according to the positional relationship of the plurality of measuring stations to construct a measuring station set;
[0064] Point cloud acquisition step: acquiring point cloud data of each measuring station of the apartment type of the commercial residential building to be measured;
[0065] Subsetting step: classifying the points in the point cloud data of each measuring station according to a preset classification rule to construct multiple point cloud sets for each measuring station;
[0066] Splicing step: taking out two measuring stations from the measuring station set in sequence according to the measuring station numbers, splicing the two measuring stations according to the multiple point cloud sets of each measuring station to obtain a new measuring station, and then selecting the next measuring station from the measuring station set and splicing it with the new measuring station; until all the measuring stations in the measuring station set are spliced to obtain the point cloud model of the apartment type of the commercial residential building to be tested.
[0067] Furthermore, the subset division step specifically includes: classifying the points in the point cloud data of each measuring station according to their height coordinates to construct a plurality of point cloud sets corresponding to the measuring station; or, calculating the normal vector of each point and classifying the points in the point cloud data according to the direction of the normal vector of the point to construct a plurality of point cloud sets corresponding to the measuring station.
[0068] Further, numbering the multiple measuring stations according to the positional relationship of the multiple measuring stations to construct the measuring station set specifically includes: numbering the multiple measuring stations in a predetermined order according to the positional relationship of the multiple measuring stations, wherein the predetermined order is a counterclockwise order or a clockwise order.
[0069] Furthermore, the point cloud acquisition step specifically includes: scanning the corresponding measuring station by a three-dimensional laser scanning device placed in each measuring station of the apartment type of the commercial residential building to be measured to obtain point cloud data of each measuring station.
[0070] Furthermore, the point cloud set includes a top point cloud set, a ground point cloud set and a wall point cloud set; wherein, the top point cloud set includes points on the top surface of the apartment type of the commercial residential building to be tested; the ground point cloud set includes points on the ground of the apartment type of the commercial residential building to be tested; and the wall point cloud set includes points on each wall of the apartment type of the commercial residential building to be tested.
[0071] Furthermore, the subset division step specifically includes:
[0072] Simulation steps: According to the apartment size and scanning center point of a measuring station, the top surface, ground surface and wall surface of the measuring station are simulated and constructed;
[0073] Top surface point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the top surface of the measuring station meets the preset requirements, and if so, divide the corresponding point into the top surface point cloud set;
[0074] Ground point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the ground of the measuring station meets the preset requirements. If so, the corresponding point is divided into a ground point cloud set;
[0075] Wall point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and any wall of the measuring station meets the preset requirements. If so, divide the corresponding point into a ground point cloud set;
[0076] Deletion step: When there is a point in the point cloud data of the measuring station that exists in any number of point cloud sets, delete the point.
[0077] Furthermore, the deleting step further includes: when a point is not divided into any point cloud set, deleting the point;
[0078] The point cloud acquisition step further includes: preprocessing the point cloud data of each measuring station to remove invalid points in the point cloud data of each measuring station.
[0079] Furthermore, the stitching step includes: stitching the top surface point cloud sets of the two measuring stations, stitching the ground point cloud sets, and stitching the wall point cloud sets according to an ICP stitching algorithm.
[0080] Embodiment 3
[0081] A computer-readable storage medium stores a housing model building program, wherein the housing model building program is a computer program, and when the housing model building program is executed by a processor, the following steps are implemented:
[0082] The step of obtaining measuring stations: obtaining the apartment type of the commercial residential building to be measured and dividing the apartment type of the commercial residential building to be measured into a plurality of measuring stations, and numbering the plurality of measuring stations according to the positional relationship of the plurality of measuring stations to construct a measuring station set;
[0083] Point cloud acquisition step: acquiring point cloud data of each measuring station of the apartment type of the commercial residential building to be measured;
[0084] Subsetting step: classifying the points in the point cloud data of each measuring station according to a preset classification rule to construct multiple point cloud sets for each measuring station;
[0085] Splicing step: taking out two measuring stations from the measuring station set in sequence according to the measuring station numbers, splicing the two measuring stations according to the multiple point cloud sets of each measuring station to obtain a new measuring station, and then selecting the next measuring station from the measuring station set and splicing it with the new measuring station; until all the measuring stations in the measuring station set are spliced to obtain the point cloud model of the apartment type of the commercial residential building to be tested.
[0086] Furthermore, the subset division step specifically includes: classifying the points in the point cloud data of each measuring station according to their height coordinates to construct a plurality of point cloud sets corresponding to the measuring station; or, calculating the normal vector of each point and classifying the points in the point cloud data according to the direction of the normal vector of the point to construct a plurality of point cloud sets corresponding to the measuring station.
[0087] Further, numbering the multiple measuring stations according to the positional relationship of the multiple measuring stations to construct the measuring station set specifically includes: numbering the multiple measuring stations in a predetermined order according to the positional relationship of the multiple measuring stations, wherein the predetermined order is a counterclockwise order or a clockwise order.
[0088] Furthermore, the point cloud acquisition step specifically includes: scanning the corresponding measuring station by a three-dimensional laser scanning device placed in each measuring station of the apartment type of the commercial residential building to be measured to obtain point cloud data of each measuring station.
[0089] Furthermore, the point cloud set includes a top point cloud set, a ground point cloud set and a wall point cloud set; wherein, the top point cloud set includes points on the top surface of the apartment type of the commercial residential building to be tested; the ground point cloud set includes points on the ground of the apartment type of the commercial residential building to be tested; and the wall point cloud set includes points on each wall of the apartment type of the commercial residential building to be tested.
[0090] Furthermore, the subset division step specifically includes:
[0091] Simulation steps: According to the apartment size and scanning center point of a measuring station, the top surface, ground surface and wall surface of the measuring station are simulated and constructed;
[0092] Top surface point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the top surface of the measuring station meets the preset requirements, and if so, divide the corresponding point into the top surface point cloud set;
[0093] Ground point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the ground of the measuring station meets the preset requirements. If so, the corresponding point is divided into a ground point cloud set;
[0094] Wall point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and any wall of the measuring station meets the preset requirements. If so, divide the corresponding point into a ground point cloud set;
[0095] Deletion step: When there is a point in the point cloud data of the measuring station that exists in any number of point cloud sets, delete the point.
[0096] Furthermore, the deleting step further includes: when a point is not divided into any point cloud set, deleting the point;
[0097] The point cloud acquisition step further includes: preprocessing the point cloud data of each measuring station to remove invalid points in the point cloud data of each measuring station.
[0098] Furthermore, the stitching step includes: stitching the top surface point cloud sets of the two measuring stations, stitching the ground point cloud sets, and stitching the wall point cloud sets according to an ICP stitching algorithm.
[0099] The above-mentioned embodiments are only preferred embodiments of the present invention and cannot be used to limit the scope of protection of the present invention. Any non-substantial changes and substitutions made by technicians in this field on the basis of the present invention shall fall within the scope of protection required by the present invention.
Claims
1. A method for constructing a housing type model for commercial housing, characterized in that: The apartment model construction includes: The step of obtaining measuring stations: obtaining the apartment type of the commercial residential building to be measured and dividing the apartment type of the commercial residential building to be measured into a plurality of measuring stations, and numbering the plurality of measuring stations according to the positional relationship of the plurality of measuring stations to construct a measuring station set; Point cloud acquisition step: acquiring point cloud data of each measuring station of the apartment type of the commercial residential building to be measured; Subsetting step: classifying the points in the point cloud data of each measuring station according to a preset classification rule to construct multiple point cloud sets for each measuring station; Splicing step: taking out two measuring stations from the measuring station set in sequence according to the measuring station numbers, splicing the two measuring stations according to the multiple point cloud sets of each measuring station to obtain a new measuring station, and then selecting the next measuring station from the measuring station set and splicing it with the new measuring station; until all the measuring stations in the measuring station set are spliced to obtain the point cloud model of the apartment type of the commercial residential building to be tested.
2. The method for constructing a housing type model for commercial housing according to claim 1, characterized in that: The subset division step specifically includes: classifying the points in the point cloud data of each measuring station according to their height coordinates to construct a plurality of point cloud sets corresponding to the measuring station; or, calculating the normal vector of each point and classifying the points in the point cloud data according to the direction of the normal vector of the point to construct a plurality of point cloud sets corresponding to the measuring station.
3. The method for constructing a housing type model for commercial housing according to claim 1, characterized in that: The step of numbering the multiple measuring stations according to the positional relationship of the multiple measuring stations to construct the measuring station set specifically includes: numbering the multiple measuring stations in a predetermined order according to the positional relationship of the multiple measuring stations, wherein the predetermined order is a counterclockwise order or a clockwise order.
4. The method for constructing a housing type model for commercial housing according to claim 3, characterized in that: The point cloud acquisition step specifically includes: scanning the corresponding measuring station by a three-dimensional laser scanning device placed in each measuring station of the apartment type of the commercial residential building to be measured to obtain point cloud data of each measuring station.
5. The method for constructing a housing type model for commercial housing according to claim 1, characterized in that: The point cloud set includes a top point cloud set, a ground point cloud set and a wall point cloud set; wherein the top point cloud set includes points on the top surface of the apartment type of the commercial residential building to be tested; the ground point cloud set includes points on the ground surface of the apartment type of the commercial residential building to be tested; and the wall point cloud set includes points on each wall of the apartment type of the commercial residential building to be tested.
6. The method for constructing a housing type model for commercial housing according to claim 5, characterized in that: The subset division step specifically includes: Simulation steps: According to the apartment size and scanning center point of a measuring station, the top surface, ground surface and wall surface of the measuring station are simulated and constructed; Top surface point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the top surface of the measuring station meets the preset requirements, and if so, divide the corresponding point into the top surface point cloud set; Ground point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and the ground of the measuring station meets the preset requirements, and if so, divide the corresponding point into a ground point cloud set; Wall point judgment step: calculate whether the distance between each point in the point cloud data of the measuring station and any wall of the measuring station meets the preset requirements. If so, divide the corresponding point into a ground point cloud set; Deletion step: When there is a point in the point cloud data of the measuring station that exists in any number of point cloud sets at the same time, delete the point.
7. The method for constructing a housing type model for commercial housing according to claim 6, characterized in that: The deleting step further includes: when a point is not divided into any point cloud set, deleting the point; The point cloud acquisition step further includes: preprocessing the point cloud data of each measuring station to remove invalid points in the point cloud data of each measuring station.
8. The method for constructing a housing type model for commercial housing according to claim 1, characterized in that: The stitching step includes: stitching the top surface point cloud sets of the two measuring stations, stitching the ground point cloud sets, and stitching the wall point cloud sets according to the ICP stitching algorithm.
9. A method and device for constructing a housing model for commercial housing, comprising a memory and a processor, wherein the memory stores a housing model construction program running on the processor, and the housing model construction program is a computer program, characterized in that: When the processor executes the apartment model building program, the processor implements the steps of a method for building an apartment model for commercial housing as described in any one of claims 1-8.
10. A computer-readable storage medium having a housing model building program stored thereon, characterized in that: The apartment model building program is a computer program, and when the apartment model building program is executed by a processor, the steps of the apartment model building method for commercial housing according to any one of claims 1 to 8 are implemented.
