A model matching method, device and storage medium for house type

By dividing the house floor into a station and using three-dimensional laser scanning equipment to obtain point cloud data, building the optimal rectangle for matching, the problem of manual marking of the matching of the house floor plan and scan data is solved, automatic matching is achieved, and improved Efficiency and accuracy.

CN118587461BActive Publication Date: 2024-11-12METADIGITAL(SHENZHEN) TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411069713.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-12
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

During construction, matching the design drawings of the house floor type with scanned data requires manual marking, resulting in complex operations and error-prone, affecting the accuracy of matching.

Method used

By dividing the house type into multiple measurement stations, using three-dimensional laser scanning equipment to obtain point cloud data, and building the optimal rectangle based on the design diagram and point cloud data for matching, automatically establishing the matching relationship of the wall to achieve automatic matching of house type.

Benefits of technology

The wall matching relationship between room point cloud data and design drawings can be achieved without manual annotation, which improves matching efficiency and reduces manual participation, and is suitable for most house types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587461B_ABST
    Figure CN118587461B_ABST
Patent Text Reader

Abstract

The present invention discloses a model matching method, device and storage medium for house type, the method comprising: firstly obtaining a house type and dividing the house type to form a plurality of measuring stations, and obtaining a house type design drawing of the house type and obtaining a design drawing of each measuring station according to the house type design drawing, and then obtaining a first optimal rectangle of each measuring station; then obtaining point cloud data of each measuring station of the house type and obtaining a point cloud plan of each measuring station according to the point cloud data of each measuring station, and then obtaining a second optimal rectangle of each measuring station according to the point cloud plan of each measuring station; finally, matching the first optimal rectangle of each measuring station with the second optimal rectangle of each measuring station to obtain a matching model of the house type design drawing and the point cloud data. The present invention can solve the problem that the matching of the design drawing of the house type and the scanned data in the prior art requires manual marking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a building floor plan, and in particular to a model matching method, device and storage medium for house floor plans. Background Art

[0002] For the construction industry, when constructing a building, drawings are generally issued first, and then the construction workers carry out construction according to the issued drawings. However, during the construction process, the actual situation or construction errors may cause the actual house to not match the data of the floor plan. Therefore, it is necessary for the staff to arrive at the site to scan the actual house to obtain the actual data of the house, and then compare it with the design data of the floor plan to determine whether the actual house has defects. However, normally, the staff who arrive at the site and the designers of the floor plan belong to different systems. When scanning the house, the scanning staff is not clear about the correspondence between the actual wall of each room of the house and the wall of the corresponding room on the floor plan, resulting in the scanned data of each room cannot be matched with the data of the floor plan. Once the matching is wrong, it will lead to an error in the judgment of the actual house. The current solution is to measure manually, and then manually mark each wall of the corresponding room on the design drawing according to the measurement results, so that data matching can be achieved later. However, this manual method has problems such as complex operation, and once a marking error occurs, the entire scanned data will be invalidated. Therefore, there is an urgent need for a method that can automatically complete house type matching to solve the above-mentioned method of achieving house matching through manual marking. Summary of the invention

[0003] In order to overcome the deficiencies of the prior art, one of the purposes of the present invention is to provide a model matching method for house types, which can solve the problem that the matching of house design drawings and scanned data in the prior art requires manual marking.

[0004] The second object of the present invention is to provide a model matching device for house types, which can solve the problem that the matching of house design drawings and scanned data in the prior art requires manual marking.

[0005] The third object of the present invention is to provide a computer-readable storage medium that can solve the problem of the need for manual marking to match the design drawings of a house with the scanned data in the prior art.

[0006] One of the purposes of the present invention is achieved by the following technical solution:

[0007] A model matching method for house types, the model matching method comprising:

[0008] Station division step: obtaining a house type and dividing the house type into multiple stations;

[0009] Drawing processing step: obtaining a floor plan design drawing of the house type and obtaining a design drawing of a station to be matched in the house type according to the floor plan design drawing of the house type, and then constructing a first optimal rectangle according to the design drawing of the station to be matched;

[0010] Point cloud processing step: acquiring point cloud data of the station to be matched and obtaining a point cloud plane map according to the point cloud data of the station to be matched, and then constructing a second optimal rectangle according to the point cloud plane map of the station to be matched;

[0011] Matching step: matching the first optimal rectangle and the second optimal rectangle of the station to be matched to obtain a matching relationship between the wall in the design drawing of the station to be matched and the wall in the point cloud data, and then obtaining a wall matching model of the station to be matched.

[0012] Furthermore, the point cloud processing step specifically includes: placing a three-dimensional laser scanning device in the to-be-matched measuring station of the house type to scan the to-be-matched measuring station to obtain point cloud data of the to-be-matched measuring station.

[0013] Furthermore, the measuring station division step specifically includes: dividing the house type into a plurality of measuring stations according to the rooms of the house type.

[0014] Furthermore, the drawing processing step specifically includes:

[0015] Marking step: marking each measuring station on the house type design drawing of the house type to obtain the measuring station identification point and design drawing of each measuring station of the house type, and marking any measuring station as a measuring station to be matched;

[0016] The first construction step: deriving all wall boundaries of the station to be matched according to the design drawing of the station to be matched, and then constructing a first optimal rectangle of the station to be matched according to all wall boundaries of the station to be matched and preset rules.

[0017] Furthermore, the point cloud processing step specifically includes:

[0018] Point cloud plane map processing step: acquiring the point cloud data of the station to be matched and projecting the three-dimensional points in the point cloud data of the station to be matched along the gravity direction to obtain a point cloud plane map; the point cloud plane map of the station to be matched is obtained by projecting all or part of the points in the point cloud data of the station to be matched along the gravity direction onto the plane XOY;

[0019] The second construction step: deriving all wall boundaries of the station to be matched according to the point cloud plane map of the station to be matched, and then constructing a second optimal rectangle of the station to be matched according to all wall boundaries of the station to be matched and preset rules.

[0020] Further, the preset rule specifically includes: first, finding all the wall boundaries of the to-be-matched measuring station according to the design drawing of the to-be-matched measuring station; then constructing and obtaining a plurality of rectangles according to the wall boundaries of the to-be-matched measuring station and the measuring station identification points; then obtaining all the wall boundary points of the to-be-matched measuring station according to each rectangle, and then connecting each wall boundary point with the measuring station identification point of the to-be-matched measuring station to obtain a plurality of line segments, and then obtaining line segment angles that meet the requirements; finally, finding the line segment angle corresponding to each rectangle, and then selecting a rectangle from the plurality of rectangles according to the sum of the line segment angles corresponding to each rectangle as the first optimal rectangle of the to-be-matched measuring station;

[0021] Among them, the triangle that meets the requirements is specifically: two sides of the triangle are line segments connecting the wall boundary point and the marking point, and the other side is the wall side; the line segment angle that meets the requirements is specifically: both sides of the line segment angle are line segments connecting the wall boundary point and the marking point;

[0022] Each of the plurality of rectangles constructed according to the wall boundary, the wall boundary point and the marking point of the station to be matched satisfies the following conditions: the marking point is located in the corresponding rectangle, and at least one side of the rectangle coincides with a wall boundary or coincides with a part of a wall boundary;

[0023] When all the wall boundaries of the to-be-matched measuring station are obtained from the design drawing of the to-be-matched measuring station, the marking point is the measuring station identification point of the to-be-matched measuring station; when all the wall boundaries of the to-be-matched measuring station are obtained from the point cloud plane diagram of the to-be-matched measuring station, the marking point is the installation position point of the 3D laser scanning device when the to-be-matched measuring station is scanned.

[0024] Further, selecting a rectangle from a plurality of rectangles as the optimal rectangle of the station to be matched according to the sum of the angles of the line segments corresponding to each rectangle specifically includes: calculating the sum of the angles of the line segment angles corresponding to each rectangle, and selecting a rectangle with the largest sum of the angles of the line segment angles as the optimal rectangle of the station to be matched.

[0025] Furthermore, the method further comprises: a feature marker acquisition step: firstly, the feature marker corresponding to each wall boundary of the to-be-matched measuring station is acquired through the design drawing of the to-be-matched measuring station, and the feature marker corresponding to each wall boundary in the first optimal rectangle is obtained in combination with the first optimal rectangle of the to-be-matched measuring station; and the feature marker corresponding to each wall boundary of the to-be-matched measuring station is acquired through the point cloud plane drawing of the to-be-matched measuring station, and the feature marker corresponding to each wall boundary in the second optimal rectangle is obtained in combination with the second optimal rectangle of the to-be-matched measuring station;

[0026] The matching step specifically includes: combining the feature markers corresponding to each wall boundary in the first optimal rectangle and the feature markers corresponding to each wall boundary in the second optimal rectangle, matching the first optimal rectangle and the second optimal rectangle of the station to be matched to obtain a matching relationship between the wall in the design drawing of the station to be matched and the wall in the point cloud data.

[0027] The second object of the present invention is achieved by adopting the following technical solution:

[0028] A model matching device for house types, comprising a memory and a processor, wherein the memory stores a model matching program running on the processor, the model matching program being a computer program, and the processor implements the steps of a model matching method for house types adopted as one of the purposes of the present invention when executing the model matching program.

[0029] The third object of the present invention is achieved by adopting the following technical solution:

[0030] A computer-readable storage medium stores a model matching program, which is a computer program. When the model matching program is executed by a processor, the steps of a model matching method for house types adopted as one of the purposes of the present invention are implemented.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] The present invention does not require manual annotation of the point cloud data of each room of the house type obtained after scanning and the design drawings of each room, and can achieve the matching relationship between the point cloud data of the room and the wall in the design drawings, so as to build a matching model between the room and the drawings of the real-time house. This process is completed automatically without manual participation, making the model construction more efficient; at the same time, the present invention does not limit the house type, is widely applicable, and is suitable for most of the existing house types. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A flow chart of a model matching method for house types provided by the present invention;

[0034] Figure 2 for Figure 1 Flow chart of step S2 in FIG.

[0035] Figure 3 for Figure 2 Flow chart of step S22 in FIG.

[0036] Figure 4 A schematic diagram of the positional relationship of the optimal rectangle of the first measuring station provided by the present invention;

[0037] Figure 5 for Figure 4 Schematic diagram of the positional relationship of the rectangle constructed by the measuring stations in ;

[0038] Figure 6 A schematic diagram of the structure of the optimal rectangle of the second measuring station provided by the present invention;

[0039] Figure 7 for Figure 6 Schematic diagram of the positional relationship of the rectangle constructed by the measuring stations in ;

[0040] Figure 8 A schematic diagram of the structure of the optimal rectangle of the third measuring station provided by the present invention;

[0041] Fig. 9 for Figure 8 Schematic diagram of the positional relationship of the rectangle constructed by the measuring stations in ;

[0042] Fig.10 A schematic structural diagram of the optimal rectangle of the fourth measuring station provided by the present invention;

[0043] Fig.11 for Fig.10 Schematic diagram of the positional relationship of the rectangles constructed by the measuring stations in . DETAILED DESCRIPTION

[0044] 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.

[0045] Embodiment 1

[0046] In order to solve the problem of matching the existing apartment design drawings with the scanned data of the actual house, the present invention provides a preferred embodiment, a model matching method for house apartment types, such as Figure 1 As shown, including:

[0047] Step S1, obtaining a house type and dividing the house type into multiple measuring stations.

[0048] The house type refers to the house type of a residence. In order to facilitate the matching of the design drawing of the house type with the scan data of the actual house, the present invention needs to process the house type, that is, divide the house type into multiple measurement stations. More specifically, in this embodiment, one room of the house type is used as a measurement station.

[0049] Step S2, obtaining a floor plan design drawing of the house type and obtaining a design drawing of the to-be-matched measuring station in the house type according to the floor plan design drawing of the house type, and then constructing a first optimal rectangle of each measuring station according to the design drawing of the to-be-matched measuring station.

[0050] Design of house type Figure 1 Generally, the layout of the rooms of a house type is represented by a CAD file, a PDF file or a picture, which is also called a house design drawing. The design drawing of each station can be obtained by analyzing the house design drawing of the house type, and then the first optimal rectangle of each station is constructed according to the design drawing of each station. Since the present invention matches each station during matching, the present invention can obtain the design drawing of each station through the house design drawing of the house type, and then select one of the stations as the station to be matched for the next matching operation. That is, the station to be matched is any station in the house type.

[0051] Furthermore, since each room in the apartment is not actually square and may have corners, the design drawing of each station is not a square but may be a polygonal plan, which will complicate the data calculation for subsequent matching. Therefore, in order to facilitate subsequent matching, the present invention pre-processes the design drawing of the station to construct an optimal rectangle that can identify a station, and then performs subsequent data matching to reduce data complexity.

[0052] More specifically, Figure 2 As shown, step S2 also includes:

[0053] Step S21: Mark each measuring station on the house type design drawing to obtain the measuring station identification point and design drawing of each measuring station, and record any measuring station as the measuring station to be matched.

[0054] Step S22: Obtain all wall boundaries of the to-be-matched station according to the design drawing of the to-be-matched station, and then construct a first optimal rectangle of the to-be-matched station according to all wall boundaries of the to-be-matched station and preset rules.

[0055] After obtaining the design drawing of each measuring station from the house design drawing of the house type, multiple wall boundaries of each measuring station are obtained from the design drawing. The wall edge in this embodiment refers to the boundary line of the wall of the room in the house design drawing. The first optimal rectangle of the measuring station to be matched is constructed according to the wall boundary obtained above and the preset rules. Preferably, when constructing the first optimal rectangle of the measuring station to be matched, the present invention specifically adopts the following method to construct it, such as Figure 3 As shown, including:

[0056] Step S221: Find all wall boundaries of the to-be-matched measuring station according to the design drawing of the to-be-matched measuring station.

[0057] like Figure 4 and Figure 5 The wall boundaries of the station shown in the figure specifically include: wall boundary AB, wall boundary BC, wall boundary CD, and wall boundary DA. The identification point of the station is point O.

[0058] Step S222: construct a plurality of rectangles according to the wall boundaries of the stations to be matched and the identification points of the stations.

[0059] When constructing a rectangle, the constructed rectangle satisfies the following conditions: the station identification point is located within the corresponding rectangle, and at least one side of the rectangle coincides with a wall boundary or coincides with a portion of a wall boundary. This embodiment sets the conditions for the constructed rectangle to reduce the number of constructed rectangles, avoid constructing many invalid rectangles, and improve system processing efficiency.

[0060] According to the conditions of rectangle construction, such as Figure 4 and Figure 5 The station shown here constructs rectangles including: rectangle 1 (also known as rectangle ABCD).

[0061] Step S223: Obtain all the wall boundary points of the to-be-matched measuring station according to each rectangle, and then connect each wall boundary point with the measuring station identification point of the to-be-matched measuring station to obtain a plurality of line segments.

[0062] The wall boundary points include not only the intersection points between the wall edges (i.e., concave and convex points), but also the end points of the wall boundary and the intersection points of the wall extension line and the rectangle.

[0063] The line segment angle that meets the requirements is specifically: the two sides of the line segment angle are both line segments connecting the wall boundary point and the measuring station mark point.

[0064] like Figure 4 For the measuring station shown, all the wall boundary points of the measuring station can be obtained according to each rectangle, namely: wall boundary point A, wall boundary point B, wall boundary point C, and wall boundary point D.

[0065] At the same time, each wall boundary point is connected with the measuring station identification point to obtain multiple line segments: line segment AO, line segment BO, line segment CO, and line segment DO.

[0066] The line segment angles that meet the requirements are: ∠AOB, ∠BOC, ∠COD, ∠DOA. Among them, the line segment angle means that both sides of the angle are line segments.

[0067] Step S224: Find out the line segment angle corresponding to each rectangle, and then select a rectangle from a plurality of rectangles as the first optimal rectangle of the station to be matched according to the sum of the line segment angles corresponding to each rectangle.

[0068] Figure 5 The measuring station constructed by it is rectangle 1, and the line segment angles corresponding to rectangle 1 include: ∠AOB, ∠BOC, ∠COD, and ∠DOA.

[0069] The sum of the angles of the line segments of each rectangle is calculated respectively, and then one is selected from the multiple rectangles as the first optimal rectangle according to the sum of the angles. More preferably, in this embodiment, when selecting the first optimal rectangle, the rectangle corresponding to the maximum sum of the angles is selected as the first optimal rectangle of the station to be matched.

[0070] like Figure 5 As shown, since there is only one rectangle constructed here, rectangle 1 is recorded as the optimal rectangle.

[0071] In addition, when actually constructing the rectangle, the side of the first optimal rectangle overlaps or partially overlaps with the wall boundary of the station to be matched. In order to make it easier to distinguish in the diagram, in this embodiment, when drawing, the first optimal rectangle and the wall boundary are divided and drawn to distinguish them, such as Figure 5 shown.

[0072] More preferably, if Figure 6 and Figure 7 For the measuring station shown, all wall boundaries of the measuring station can be obtained according to the aforementioned method, specifically including: wall boundary AB, wall boundary AB, wall boundary BC, wall boundary CD, wall boundary DE, wall boundary EF, and wall boundary FA.

[0073] According to the construction conditions of the rectangle, multiple rectangles can be constructed, such as Figure 7 As shown, rectangle 1 (rectangle ABCEFG), rectangle 2 (ABCDG), and rectangle 3 (AIDG).

[0074] All wall boundary points can be obtained according to the constructed rectangle, including: wall boundary point A, wall boundary point B, wall boundary point C, wall boundary point D, wall boundary point E, wall boundary point F, wall boundary point G, wall boundary point H, and wall boundary point I.

[0075] Then, each wall boundary point is connected to the measuring station identification point to obtain multiple line segments, namely: line segment OA, line segment OB, line segment OC, line segment OD, line segment OE, line segment OF, line segment OG, line segment OH, and line segment OI.

[0076] Then the line segment angles corresponding to rectangle 1 include: ∠AOB, ∠BOC, ∠EOF, ∠FOA;

[0077] The line segment angles corresponding to rectangle 2 include: ∠AOB, ∠BOC, ∠COD, ∠GOA;

[0078] The line segment angles corresponding to rectangle 3 include: ∠AOI, ∠GOA.

[0079] Obviously, the sum of the angles of the line segments corresponding to rectangle 1 is the largest, so rectangle 1 is the optimal rectangle for the station. Figure 6 and Figure 7 The optimal rectangle shown.

[0080] More preferably, for another station, Figure 8 and Fig. 9 For the measuring station shown, all wall boundaries of the measuring station can be obtained according to the above method, specifically including: wall boundary AB, wall boundary BC, wall boundary CD, wall boundary DE, wall boundary EF, and wall boundary FA.

[0081] According to the construction conditions of the rectangle, multiple rectangles can be constructed, such as Fig. 9 As shown, they are: rectangle 1 (rectangle AIBCEFG), rectangle 2 (rectangle AIBCDGA), rectangle 3 (rectangle IBCD).

[0082] All wall boundary points can be obtained according to the constructed rectangle, including: wall boundary point A, wall boundary point B, wall boundary point C, wall boundary point D, wall boundary point E, wall boundary point F, wall boundary point G, wall boundary point H, and wall boundary point I.

[0083] Then, each wall boundary point is connected to the measuring station identification point to obtain multiple line segments, namely: line segment OA, line segment OB, line segment OC, line segment OD, line segment OE, line segment OF, line segment OG, line segment OH, and line segment OI.

[0084] Then the line segment angles corresponding to rectangle 1 include: ∠AOB, ∠BOC, ∠EOF, ∠FOA;

[0085] The line segment angles corresponding to rectangle 2 include: ∠AOB, ∠BOC, ∠COD, ∠GOA

[0086] The line segment angles corresponding to rectangle 3 include: ∠IOB, ∠BOC, ∠COD.

[0087] Obviously, the sum of the angles of the line segments corresponding to rectangle 1 is the largest, so rectangle 1 is the optimal rectangle.

[0088] More preferably, for another station, Fig.10 and Fig.11 For the station shown, all wall boundaries of the station can be obtained according to the above method, including: wall boundary BC, wall boundary DA, wall boundary EF, and wall boundary GH.

[0089] According to the construction conditions of the rectangle, multiple rectangles can be constructed, such as Fig. 9 As shown, they are: rectangle 1 (rectangle ABIJCDKL) and rectangle 2 (rectangle EFIJGHKL).

[0090] According to the constructed rectangle, all wall boundary points can be obtained, including: wall boundary point A, wall boundary point B, wall boundary point C, wall boundary point D, wall boundary point E, wall boundary point F, wall boundary point G, wall boundary point H, wall boundary point I, wall boundary point J, wall boundary point K, and wall boundary point L.

[0091] Each wall boundary point is connected to the measuring station identification point to obtain multiple line segments, namely: line segment OA, line segment OB, line segment OC, line segment OD, line segment OE, line segment OF, line segment OG, line segment OH, line segment OI, line segment OJ, line segment OK, and line segment OL.

[0092] The line segment angles corresponding to rectangle 1 include: ∠FOG, ∠HOE. (For ∠AOB and ∠COD, the wall surfaces corresponding to these two angles cannot be scanned when the device is used for scanning)

[0093] The line segment angles corresponding to rectangle 2 include: ∠EOF, ∠IOJ, ∠GOH, and ∠KOL.

[0094] Since the sum of the angles of the line segments corresponding to rectangle 2 is the largest, rectangle 2 is selected as the first optimal rectangle of the measuring station.

[0095] The optimal rectangle in this embodiment includes at least all the optimal line segments, including part or all of the optimal wall edges.

[0096] The optimal rectangle refers to an identifier that can distinguish the measuring station from other measuring stations.

[0097] Preferably, in step S3, point cloud data of the station to be matched is obtained and a point cloud plane diagram is obtained according to the point cloud data of the station to be matched, and then a second optimal rectangle is constructed according to the point cloud plane diagram of the station to be matched.

[0098] The second optimal rectangle is constructed based on the actual scanning data of the station to be matched. That is, a point cloud plane is constructed based on the point cloud data of the station to be matched, and then the wall boundary of the station to be matched is obtained based on the point cloud plane, and then the second optimal rectangle is constructed based on the wall boundary. That is, step S3 also includes:

[0099] Step S31, obtaining the point cloud data of the station to be matched and projecting the three-dimensional points in the point cloud data of the station to be matched along the gravity direction to obtain a point cloud plane map; the point cloud plane map of the station to be matched is obtained by projecting all or part of the points in the point cloud data of the station to be matched along the gravity direction onto the plane XOY.

[0100] Step S32: derive all wall boundaries of the station to be matched according to the point cloud plane map of the station to be matched, and then construct a second optimal rectangle of the station to be matched according to all wall boundaries of the station to be matched and preset rules.

[0101] Similarly, the method of constructing the second optimal rectangle is the same as that of constructing the first optimal rectangle. However, for the scanned data, there is no station identification point, and the installation position of the three-dimensional laser scanning device during the scanned data can be used as the marking point, which will not be described in detail in this article.

[0102] Step S4: Match the first optimal rectangle of the station to be matched with the second optimal rectangle of the station to be matched to obtain a matching relationship between the wall in the design drawing of the station to be matched and the wall in the point cloud data, and then obtain a wall matching model of the station to be matched.

[0103] Preferably, the present invention constructs a first optimal rectangle through a design drawing and a second optimal rectangle through point cloud data, and then matches and compares the first optimal rectangle and the second optimal rectangle of the station to be matched to obtain a wall matching relationship of the station to be matched for subsequent data processing.

[0104] In order to achieve the matching of point cloud data and design floor plan, the present invention processes the design drawing of the house and the actual scanned data of the house respectively to construct the corresponding optimal rectangle, and then realizes the wall matching relationship between each measuring station in the design drawing of the house floor plan and each measuring station in the data obtained after the actual scan according to the optimal rectangle, that is, the wall matching model of the house floor plan. In addition, when matching the first optimal rectangle and the second optimal rectangle of a measuring station, it is also necessary to construct the design drawing and the point cloud data into the same coordinate system by scaling, translating, rotating, etc., to compare the matching degree of the two optimal rectangles, and finally obtain the matching model of the floor plan design drawing of the house floor plan and the point cloud data, so as to provide data support for the next step of engineering measurement, engineering splicing and other data.

[0105] Preferably, after constructing the corresponding optimal rectangle of the station to be matched, the characteristic identifier of each wall of the station to be matched, such as windows, doors, etc., can be obtained according to the design drawing or point cloud data, etc., and the accuracy of wall matching can be improved by applying the characteristic identifier of the wall to the matching of the wall matching relationship of the station to be matched. The identification components of windows, doors, etc. on the four sides of the corresponding optimal rectangle are obtained, so that when matching the station, the identification components are used to assist the matching, which can improve the matching accuracy, improve the matching efficiency, and avoid redundant matching.

[0106] That is, after constructing the first optimal rectangle and the second optimal rectangle of the station to be matched, the present invention first obtains the corresponding feature markers on each wall boundary of the station to be matched through the design drawing of the station to be matched, and obtains the feature markers corresponding to each wall boundary in the first optimal rectangle in combination with the first optimal rectangle of the station to be matched; at the same time, obtains the corresponding markers on each wall boundary of the station to be matched through the point cloud plane of the station to be matched, and obtains the feature markers corresponding to each wall boundary in the second optimal rectangle in combination with the second optimal rectangle of the station to be matched. In this way, when matching the first optimal rectangle and the second optimal rectangle of the station to be matched in step S5, the first optimal rectangle and the second optimal rectangle of the station to be matched are also combined with the feature markers corresponding to each wall boundary in the first optimal rectangle and the feature markers corresponding to each wall boundary in the second optimal rectangle to obtain the matching relationship between the wall in the design drawing of the station to be matched and the wall in the point cloud data, that is, to obtain the wall matching model of the station to be matched.

[0107] Preferably, when in use, the back-end designer divides each house type into multiple measuring stations and uploads them to the system, and also uploads the design drawings of each house type to the system. The system will automatically process the design drawings of each house type according to the method provided in this embodiment. At the same time, the measurement task of each measuring station is generated according to the uploaded house type and dispatched to the corresponding front-end staff. After receiving the dispatch, the front-end staff scans each measuring station of the house in turn and uploads the point cloud data of each scanned measuring station to the system. The system will automatically match and obtain the design drawings of each measuring station, and then match the design drawings of each measuring station with the point cloud data to realize the matching model of the house type. Through the present invention, when performing data matching, the staff does not need any manual participation throughout the process, but only does the simple work of uploading data, which greatly improves the efficiency of house type matching, reduces the manual workload, and is more suitable for batch measurement and matching of house types. At the same time, by matching the design drawings of each room with the point cloud data, once an abnormality is found in a certain position of the room through the point cloud data, the abnormal position can be marked on the design drawings of the room according to the matching results, and provided to maintenance personnel more intuitively, so as to quickly determine the abnormal location point.

[0108] Embodiment 2

[0109] Based on Example 1, the present invention also provides a model matching device for house types, including a memory and a processor, the memory stores a model matching program running on the processor, the model matching program is a computer program, and when the processor executes the model matching program, the steps of a model matching method for house types provided in Example 1 of the present invention are implemented.

[0110] Embodiment 3

[0111] Based on the first embodiment, the present invention also provides a computer-readable storage medium on which a model matching program is stored, wherein the model matching program is a computer program, and when the model matching program is executed by a processor, the steps of a model matching method for house types provided in the first embodiment are implemented.

[0112] 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 model matching method for house types, characterized in that: The model matching method comprises: Drawing processing step: obtaining a floor plan design drawing of the house type and obtaining a design drawing of a station to be matched in the house type according to the floor plan design drawing of the house type, and then constructing a first optimal rectangle according to the design drawing of the station to be matched; the station to be matched is a station after the house type is divided into stations; the drawing processing step specifically includes: Marking step: marking each measuring station on the house type design drawing of the house type to obtain the measuring station identification point and design drawing of each measuring station of the house type, and marking any measuring station as a measuring station to be matched; The first construction step: obtaining all the wall boundaries of the station to be matched according to the design drawing of the station to be matched, and then constructing a first optimal rectangle of the station to be matched according to all the wall boundaries of the station to be matched and preset rules; The preset rules specifically include: first, constructing a plurality of rectangles according to the wall boundaries and marking points of the station to be matched; then, obtaining all the wall boundary points of the station to be matched according to each rectangle, and then connecting each wall boundary point with the station marking point of the station to be matched to obtain a plurality of line segments, and then obtaining line segment angles that meet the requirements; finally, finding the line segment angle corresponding to each rectangle, and selecting a rectangle from the plurality of rectangles according to the sum of the line segment angles corresponding to each rectangle as the first optimal rectangle of the station to be matched; The line segment angle that meets the requirements is specifically: both sides of the line segment angle are line segments connecting the wall boundary point and the marking point; Each of the rectangles constructed according to the wall boundaries, wall boundary points and marking points of the station to be matched satisfies the following conditions: the marking point is located in the corresponding rectangle, and at least one side of the rectangle coincides with a wall boundary or coincides with a part of a wall boundary; when all the wall boundaries of the station to be matched are obtained from the design drawing of the station to be matched, the marking point is the station identification point of the station to be matched; Point cloud processing step: acquiring point cloud data of the station to be matched and obtaining a point cloud plane map according to the point cloud data of the station to be matched, and then constructing a second optimal rectangle according to the point cloud plane map of the station to be matched; Matching step: matching the first optimal rectangle and the second optimal rectangle of the station to be matched to obtain a matching relationship between the wall in the design drawing of the station to be matched and the wall in the point cloud data, and then obtaining a wall matching model of the station to be matched.

2. The model matching method for house types according to claim 1, characterized in that: The point cloud processing step specifically includes: placing a three-dimensional laser scanning device in the to-be-matched measuring station of the house type to scan the to-be-matched measuring station to obtain point cloud data of the to-be-matched measuring station.

3. The model matching method for house types according to claim 1, characterized in that: The measuring station division step specifically includes: dividing the house type into a plurality of measuring stations according to the rooms of the house type.

4. The model matching method for house types according to claim 1, characterized in that: The point cloud processing step specifically includes: Point cloud plane map processing step: acquiring the point cloud data of the station to be matched and projecting the three-dimensional points in the point cloud data of the station to be matched along the gravity direction to obtain a point cloud plane map; the point cloud plane map of the station to be matched is obtained by projecting all or part of the points in the point cloud data of the station to be matched along the gravity direction onto the plane XOY; The second construction step: deriving all wall boundaries of the station to be matched according to the point cloud plane map of the station to be matched, and then constructing a second optimal rectangle of the station to be matched according to all wall boundaries of the station to be matched and preset rules.

5. The model matching method for house types according to claim 4, characterized in that: When all the wall boundaries of the to-be-matched measuring station are obtained from the point cloud plane diagram of the to-be-matched measuring station, the marking point is the installation position point of the three-dimensional laser scanning device when the to-be-matched measuring station is scanned.

6. The model matching method for house types according to claim 5, characterized in that: Selecting a rectangle from a plurality of rectangles as the optimal rectangle of the station to be matched according to the sum of the angles of the line segments corresponding to each rectangle specifically includes: calculating the sum of the angles of the line segment corresponding to each rectangle, and selecting a rectangle with the largest sum of the angles of the line segment as the optimal rectangle of the station to be matched.

7. The model matching method for house types according to claim 1, characterized in that: Also includes: Features Marker acquisition step: firstly, the feature marker corresponding to each wall boundary of the to-be-matched measuring station is acquired through the design drawing of the to-be-matched measuring station, and the feature marker corresponding to each wall boundary in the first optimal rectangle is obtained by combining the first optimal rectangle of the to-be-matched measuring station; and the feature marker corresponding to each wall boundary of the to-be-matched measuring station is acquired through the point cloud plane map of the to-be-matched measuring station, and the feature marker corresponding to each wall boundary in the second optimal rectangle is obtained by combining the second optimal rectangle of the to-be-matched measuring station; The matching step specifically includes: combining the feature markers corresponding to each wall boundary in the first optimal rectangle and the feature markers corresponding to each wall boundary in the second optimal rectangle, matching the first optimal rectangle and the second optimal rectangle of the station to be matched to obtain a matching relationship between the wall in the design drawing of the station to be matched and the wall in the point cloud data.

8. A model matching device for house type, comprising a memory and a processor, wherein the memory stores a model matching program running on the processor, and the model matching program is a computer program, characterized in that: When the processor executes the model matching program, the steps of a model matching method for house types as described in any one of claims 1-7 are implemented.

9. A computer-readable storage medium having a model matching program stored thereon, characterized in that: The model matching program is a computer program, and when the model matching program is executed by a processor, the steps of a model matching method for house types as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Residential replacement matching system based on information analysis

    CN120929658A

  • A residential replacement matching system based on information analysis

    CN120929658B