Point cloud and house type map automatic matching method based on visibility point cloud features
By acquiring point cloud data and floor plan feature sets, and utilizing line detection and line-of-sight feature recognition technologies, the problem of low efficiency in the automated matching of point clouds and floor plans was solved, achieving an automated and efficient matching process.
Patent Information
- Application Number
- CN202311511599.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-11-14
AI Technical Summary
Existing technologies suffer from low automation and low matching efficiency in point cloud and floor plan automatic matching methods.
The target point cloud data is acquired through an interactive point cloud acquisition device, the feature set of the target floor plan is collected, the target cross-section point set is obtained by horizontal cross-section extraction, the target contour features are obtained by line detection algorithm, initial matching is performed, and the optimal matching result is generated by combining line-of-sight point cloud feature recognition and displacement optimization.
It enables automated matching of point clouds and floor plans, improving the efficiency of matching calculations.
Smart Images

Figure CN119131094B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic digital processing technology, and in particular to a method for automatic matching of point clouds and floor plans based on line-of-sight point cloud features. Background Technology
[0002] Point clouds are three-dimensional data representations composed of a large number of discrete points, used in fields such as architecture, interior design, and map making. Establishing the relationship between two-dimensional floor plans and point clouds through point cloud matching is of great significance for the three-dimensional digitization of interior spaces. However, existing matching methods suffer from technical problems such as low automation and low matching computation efficiency. Summary of the Invention
[0003] The purpose of this application is to provide an automatic matching method between point clouds and floor plans based on line-of-sight point cloud features. This aims to solve the technical problems of low automation and low matching calculation efficiency in existing technologies.
[0004] In view of the above technical problems, this application provides a method for automatic matching of point cloud and floor plan based on line-of-sight point cloud features.
[0005] Firstly, this application provides a method for automatically matching point clouds and floor plans based on line-of-sight point cloud features, wherein the method includes:
[0006] An interactive point cloud acquisition device acquires target point cloud data; acquires a target floor plan and obtains a floor plan feature set; based on the target point cloud data, performs horizontal section extraction to obtain a target section point set, which includes multiple sets of floor height points; selects any set of floor height points in the target section point set and obtains target contour features based on a line detection algorithm; performs initial matching based on the floor plan feature set and the target contour features; performs viewpoint feature recognition based on the target section point set to obtain target viewpoint features; and performs displacement optimization on the initial matching result based on the target viewpoint features and the floor plan feature set to obtain the optimal match and generate a matching result.
[0007] Secondly, this application also provides an automatic matching system for point clouds and floor plans based on line-of-sight point cloud features, wherein the system includes:
[0008] The system comprises the following modules: a data acquisition module for interacting with a point cloud acquisition device to acquire target point cloud data; an image feature extraction module for acquiring a target floor plan and obtaining a floor plan feature set; a horizontal section extraction module for extracting horizontal sections based on the target point cloud data to obtain a target section point set, which includes multiple sets of layer height points; a contour detection module for selecting any set of layer height points in the target section point set and obtaining target contour features based on a line detection algorithm; an initial matching module for performing initial matching between the floor plan feature set and the target contour features; a view-through feature recognition module for performing view-through point cloud feature recognition based on the target section point set to obtain target view-through features; and an optimal matching module for performing displacement optimization on the initial matching result based on the target view-through features and the floor plan feature set to obtain the optimal match and generate a matching result.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] The system acquires target point cloud data using an interactive point cloud acquisition device; it also acquires the target floor plan and obtains its feature set; based on the target point cloud data, it extracts horizontal sections to obtain a target section point set, which includes multiple sets of floor height points; it selects any set of floor height points from the target section point set and uses a line detection algorithm to obtain the target contour features; it performs initial matching based on the floor plan feature set and the target contour features; it then performs viewpoint feature recognition based on the target section point set to obtain the target viewpoint features; finally, it performs displacement optimization on the initial matching result based on the target viewpoint features and the floor plan feature set to obtain the optimal match and generate the matching result. This achieves the technical effects of automated matching and improved matching calculation efficiency.
[0011] The above description is merely an overview of the technical solution of this application. In order to more clearly explain the technical means of this application, and to enable its implementation in accordance with the contents of the specification, and to make the above and other objectives, features and advantages of this application more apparent and understandable, specific embodiments of this application are described below. Attached Figure Description
[0012] The embodiments of the present invention and the following brief description are illustrated in conjunction with the figures, which are described below:
[0013] Figure 1 This is a flowchart illustrating the automatic matching method between point clouds and floor plans based on line-of-sight point cloud features proposed in this application.
[0014] Figure 2This is a schematic diagram of the process for obtaining the target cross-sectional point set in the automatic matching method between point cloud and floor plan based on line-of-sight point cloud features in this application;
[0015] Figure 3 This is a schematic diagram of the automatic matching system between point cloud and floor plan based on line-of-sight point cloud features, as described in this application.
[0016] Figure labeling: 11 Data acquisition module, 12 Image feature extraction module, 13 Horizontal section extraction module, 14 Contour detection module, 15 Initial matching module, 16 Visibility feature recognition module, 17 Optimization matching module. Detailed Implementation
[0017] This application solves the technical problems of low automation and low matching calculation efficiency faced by existing technologies by providing an automatic matching method between point clouds and floor plans based on line-of-sight point cloud features.
[0018] The overall approach adopted in this technical embodiment to solve the above problems is as follows:
[0019] First, an interactive point cloud acquisition device acquires target point cloud data. Next, a target floor plan is acquired to obtain its feature set. Based on the target point cloud data, horizontal cross-sections are extracted to obtain the target cross-section point set. This cross-section point set includes multiple sets of points at different floor heights. Then, from these floor height point sets, one set is selected, and a line detection algorithm is used to obtain the target contour features. Subsequently, the feature set of the floor plan is initially matched with the target contour features. Then, based on the target cross-section point set, viewpoint cloud feature recognition is performed. Finally, based on the target viewpoint features and the floor plan feature set, displacement optimization is performed on the initial matching result to generate the optimal matching result, accurately matching the point cloud data with the floor plan. This achieves the technical effects of automated matching and improved matching calculation efficiency.
[0020] To better understand the above technical solutions, the following detailed description will be provided in conjunction with the accompanying drawings and specific embodiments. It should be noted that the described embodiments are only a part of the embodiments of this application, not all of them. It should be understood that this application is not limited to the exemplary embodiments described herein. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention. Furthermore, it should be noted that, for ease of description, only the parts related to this invention are shown in the accompanying drawings, not all of them.
[0021] Example 1
[0022] like Figure 1 As shown, this application provides a method for automatically matching point clouds and floor plans based on line-of-sight point cloud features, the method comprising:
[0023] S100: Interactive point cloud acquisition device, used to acquire target point cloud data;
[0024] Point cloud acquisition equipment refers to devices used to acquire point cloud data, including laser scanners, LiDAR devices, or 3D cameras. The raw data acquired by the point cloud acquisition equipment is processed using point cloud data processing software to obtain the target point cloud data.
[0025] Optionally, first, prepare the point cloud acquisition device, ensuring it is connected and operational. Then, place the device in the target area where point cloud data needs to be collected, ensuring the device can achieve the required coverage. Next, start the acquisition device to begin data acquisition and create point cloud data. Depending on the device type, device parameters, and target area acquisition requirements, set different parameters, such as sampling density and scanning angle. Then, store the acquired point cloud data in the device's internal memory or on a connected computer. Finally, import the raw point cloud data into point cloud data processing software. This software is used for noise removal, data registration at different scanning positions, 3D model creation, and feature extraction. The target point cloud data is then generated using this software.
[0026] S200: Collect the target floor plan and obtain the floor plan feature set;
[0027] The target floor plan refers to the floor plan of the target apartment type that needs to be matched with point clouds. This floor plan includes features such as the apartment's outline, edges, corners, doors, and windows. Specifically, a feature set of the floor plan is obtained. Feature extraction is performed to extract digital features from the floor plan, and these extracted features are saved as a digital dataset, forming the floor plan feature set. This set includes room outlines, measured dimensions and locations of walls, windows, and doors, as well as markings indicating the room's purpose.
[0028] S300: Based on the target point cloud data, perform horizontal section extraction to obtain the target section point set, which includes multiple sets of layer height points;
[0029] Optionally, horizontal cross-section extraction is performed on the target point cloud data. By extracting point cloud data points from multiple horizontal planes at different heights, point cloud data compression is achieved, reducing the number of point cloud data points that need to be processed subsequently. This has the technical effect of improving processing efficiency and reducing processing computing power consumption.
[0030] Optionally, the target cross-section point set includes multiple sets of layer height points, which contain all the target point cloud data features. Each target point cloud data feature corresponds one-to-one with multiple floor plan features in the floor plan feature set.
[0031] Furthermore, such as Figure 2 As shown, based on the target point cloud data, horizontal cross-section extraction is performed to obtain the target cross-section point set. Step S300 further includes:
[0032] Obtain design parameter information for the target area;
[0033] Based on the design parameter information, determine the horizontal section height;
[0034] Select a cross-sectional thickness threshold, and extract the horizontal cross-section based on the horizontal cross-sectional height to obtain the target cross-sectional point set.
[0035] Target area design parameter information refers to the design parameters of the house, building, project, etc., corresponding to the target floor plan. Specifically, this includes door height, window height, and opening height. Target area design parameter information is used to determine the horizontal section height. This information can be obtained through on-site measurements and extraction from design documents.
[0036] Optionally, a horizontal section is a plane located at a specific height within the target area, used to analyze and display cross-sectional information at that specific height. The horizontal section height is determined by an expert system or professional technicians based on the design parameters of the target area. The selection of the horizontal section is based on the principle of including as many features as possible; the horizontal section height includes multiple height values, corresponding to the elevations of multiple horizontal sections, and these elevation values are relative heights in the point cloud coordinate system.
[0037] Optionally, the horizontal cross-section has a certain thickness. The cross-section thickness threshold refers to the set thickness value of the horizontal cross-section, which is used to ensure that the number of data points in the target cross-section point set extracted by the horizontal cross-section and the data points in the multiple sets of layer height points can form a relatively clear and complete edge, which is convenient for subsequent contour recognition based on the target cross-section point set.
[0038] S400: Select any set of layer height points in the target section point set, and obtain the target contour features based on the line detection algorithm;
[0039] Optionally, target contour features refer to the edge features formed by any set of layer height points. Examples include contour shape and contour area. Target contour features are used for initial matching of the point cloud and the target floor plan. The target contour represents relatively coarse overall feature information at a larger scale in the point cloud, which helps to quickly understand the features related to the target point cloud contour, improving the speed and efficiency of initial matching.
[0040] Optionally, before obtaining target contour features based on line detection algorithms, firstly, edge detection algorithms (such as Canny edge detection) are used to detect the edges of the layer height point set. Then, line detection algorithms (such as Hough transform) are used to detect straight lines in the layer height point set. Multiple contour lines are obtained, and the closed shape enclosed by these multiple contour lines forms the target contour image. Furthermore, relevant features, such as length, angle, and position, are extracted. Multiple features are then obtained to form the target contour features.
[0041] Specifically, line detection refers to processing a set of edge points to identify possible straight lines. Common line detection algorithms include the Hough Transform and RANSAC (Random Sample Consensus). Based on the distribution characteristics of the edge point set, the parameters of the line or the start and end points of the line segment can be estimated. An example is using line detection based on the Hough Transform to detect straight lines in a set of high-level points. The principle of the Hough Transform is as follows:
[0042] In the image plane, a point can be represented by its x and y coordinates; a straight line in the image plane can be represented by its distance ρ from the origin and the angle θ perpendicular to it. Therefore, a straight line in the image plane can be represented by a point in the θ-ρ plane. Thus, a point in the image plane can be represented by a curve formed by the corresponding points in the θ-ρ plane of the family of straight lines passing through it. Based on these properties, the intersection of two curves in the θ-ρ plane corresponding to a straight line passing through two points in the image plane is a collinear straight line between those two points.
[0043] Specifically, firstly, a two-dimensional plane coordinate system is established at the set of layer height points. For each edge point, multiple first and second coordinates are obtained. Then, a linear equation transformation is performed to obtain multiple first and second line parameters, which are represented in polar coordinates, using distance ρ and angle θ to represent the line. Multiple parameters correspond to multiple lines passing through the edge points. Next, intersection analysis is performed based on the first and second line parameters. This involves converting multiple families of lines passing through multiple edge points into multiple lines in the parameter space, where each family of lines corresponds one-to-one with a line in the parameter space. Then, an accumulator is created to count the intersections of the lines in the parameter space. For each edge point, the corresponding position in the accumulator is incremented by one based on its parameter value. Finally, parameter values with high accumulation counts are identified in the accumulator. These values correspond to lines with high probability in the original image. These high accumulation count values in the parameter space are then converted back to the two-dimensional plane coordinate space to obtain the detected lines.
[0044] S500: Perform initial matching between the floor plan feature set and the target contour features;
[0045] Initial matching refers to pre-matching based on the feature set of the floor plan and the target contour features to determine whether the point cloud data and the target floor plan are based on the same target floor plan. Then, the point cloud data that passes the adaptability test is quickly coarsely registered with the target floor plan. That is, positional matching is performed between the point cloud data and the target floor plan in the same coordinate system.
[0046] Furthermore, based on the floor plan feature set and the target contour features, initial matching is performed, and step S500 further includes:
[0047] The target contour features are filled in to obtain the contour area;
[0048] Based on the outline area, calculate the initial fit with the target floor plan, and then determine the fit based on a preset fit threshold.
[0049] If the initial fit is satisfied, then an initial matching is performed based on the geometric center of the target outline and the target floor plan.
[0050] Optionally, the fit can be judged by calculating the area of the closed shape formed by the target contour features, where the contour area is the area of the closed shape formed by the target contour features, which involves scaling and proportional transformation of the coordinate system.
[0051] Optionally, the initial fit of the target floor plan can be determined by calculating the ratio of the outline area to the floor plan area. For example, the calculation formula is as follows:
[0052]
[0053] Where α is the initial fit, a is the scaling factor for the floor plan coordinates, S is the area of the floor plan, and s is the outline area. The initial fit represents the degree of similarity between the point cloud data and the target floor plan.
[0054] Optionally, the initial fit of the target floor plan can also be obtained by calculating the aspect ratio of the outline area to the floor plan area.
[0055] The initial fit is compared with a preset fit threshold. If the initial fit meets or exceeds the preset threshold, it indicates that the point cloud data fits the target floor plan. Initial matching can be performed based on the geometric center of the target outline and the target floor plan, aligning the point cloud data with the target floor plan.
[0056] Furthermore, based on the geometric center of the target outline and the target floor plan, an initial matching is performed, which also includes the following steps:
[0057] Calculate and obtain the geometric center of the target contour and the geometric center of the target floor plan;
[0058] Align the geometric center of the target outline with the geometric center of the target floor plan, and iterate through and rotate the target outline or the target floor plan to calculate the coarse fit degree;
[0059] The rotation angle corresponding to the best among the multiple coarse matching fits is selected as the initial matching result.
[0060] The geometric center refers to a specific point in a geometric figure, which can be the centroid, circumcenter, incenter, or orthocenter, etc. Different geometric figures require different methods to determine the location of their geometric centers. For example, for a convex polygon, first, the coordinates of the polygon's vertices are determined. Then, the arithmetic mean of the x and y coordinates is calculated using the x and y coordinate formulas to obtain the coordinates of the geometric center point. For a non-convex polygon, it can be decomposed into convex polygons, and the geometric center point of each convex polygon can be calculated. Finally, the mean of all geometric center points is taken as the geometric center point of the non-convex polygon.
[0061] Optionally, the geometric center of the target contour is aligned with the geometric center of the target floor plan. This alignment process ensures that the center positions of the two are consistent through translation. Then, using the aligned geometric center as the rotation center, a traversal rotation is performed to calculate the coarse fit between the point cloud data and the target floor plan. This coarse fit measures the similarity between the point cloud data and the floor plan at different rotation angles. For example, the coarse fit is calculated by determining the overlap ratio between the point cloud data and the target floor plan.
[0062] Optionally, the target outline or target floor plan can be traversed and rotated to calculate the coarse matching degree. The rotation angle is determined based on the coarse matching accuracy and timeliness requirements. Multiple rotation angles generate multiple coarse matching positions and multiple coarse matching degrees.
[0063] Optionally, the rotation angle corresponding to the optimal coarse fit among multiple coarse fits is selected as the initial matching result. First, a Cartesian coordinate system is constructed, with the first coordinate being the rotation angle and the second coordinate being the coarse fit. Then, multiple coarse matching positions and multiple coarse fits are marked as multiple data points in this coordinate system, and curve fitting is performed to generate a coarse fit curve. Finally, the data point with a slope of zero and the maximum coarse fit on the coarse fit curve is selected as the initial matching result. The initial matching result includes the rotation angle and the translation vector of the geometric center of the target contour.
[0064] S600: Based on the target cross-section point set, perform view-through point cloud feature recognition to obtain target view-through features;
[0065] Viewpoint cloud feature recognition refers to the process of identifying features from multiple sets of height points within a target cross-section point set to obtain all features of the target cross-section point set. Specifically, firstly, feature extraction is performed on each set of height points. Feature extraction includes detecting point cloud-related attributes such as shape, edges, curvature, normals, height, and density. These features help describe different aspects of the point cloud data. Then, the features of the set of height points are fused to obtain all features of the target cross-section point set. Fusion includes summing, averaging, weighted averaging, or other suitable methods to integrate different feature information. After feature fusion, duplicate or redundant features are filtered out to ensure that each feature is unique, or the most representative features are selected. Viewpoint cloud feature recognition obtains all matching-related features from the point cloud, facilitating subsequent feature-based matching.
[0066] S700: Based on the target visibility features and the floor plan feature set, perform displacement optimization on the initial matching result to obtain the optimal match and generate the matching result.
[0067] Furthermore, based on the target visibility features and the floor plan feature set, displacement optimization is performed on the initial matching result to obtain the optimal match and generate the matching result. Step S700 also includes:
[0068] Based on the initial matching results, multiple undetermined matching positions are generated under different displacement vectors;
[0069] Each of the proposed matching positions is evaluated, and a matching quality index is calculated.
[0070] Based on multiple matching quality indicators, the position with the best matching quality is selected as the optimal match.
[0071] Optionally, multiple undetermined matching positions are generated under different displacement vectors. The displacement vectors reflect different translation, rotation, and other transformation operations to search for possible matching positions. These multiple different displacement vectors are generated randomly after a preset displacement step size.
[0072] Each potential matching position is evaluated, and a matching quality index is calculated. The matching quality index comprehensively considers the calculation results of parameters including matching error, feature point alignment, and shape similarity. It measures the matching quality of each potential matching position. The potential matching position with the highest matching quality index is the optimal match.
[0073] Furthermore, for each of the undetermined matching positions, an evaluation is performed and a matching quality index is calculated. The steps also include:
[0074] Based on the feature set of the floor plan, feature weights are assigned to obtain a feature weight set;
[0075] Calculate the deviation of each corresponding feature in each of the undetermined matching positions, and obtain the deviation calculation results;
[0076] Activate the quality assessment channel, perform a matching quality assessment based on the deviation calculation results and the feature weight set, and generate the matching quality index.
[0077] Optionally, feature weighting refers to assigning weights to the corresponding quality evaluation parameters based on the importance of different features in the matching process. The weights reflect the importance of different features to the matching quality. The feature weight set reflects the correspondence between multiple quality evaluation parameters and their corresponding weights.
[0078] Optionally, the quality assessment channel is a mathematical model built based on a set of feature weights, used to perform a weighted summation of the deviation values for each feature to calculate the matching quality index. The matching quality index reflects the quality of the match between the point cloud data and the target floor plan, given a potential matching location. By evaluating the quality of each potential matching location more accurately through matching quality assessment, the optimal matching location can be selected, ensuring accurate alignment between the point cloud data and the target floor plan.
[0079] Furthermore, the automatic matching of point clouds and floor plans based on line-of-sight point cloud features in this application also includes:
[0080] Based on the matching results, point cloud processing is performed to clean up data points with large deviations in the point cloud.
[0081] Based on 3D visualization technology, point cloud visualization is performed according to the point cloud processing results.
[0082] Optionally, data points with large deviations in the point cloud may be acquisition error points or noise points in the acquisition of the target point cloud data. Specifically, by setting a data point deviation threshold and judging and cleaning based on the deviation value of the data points according to the deviation threshold, noise reduction and smoothing of the point cloud are achieved while preserving the original information of the point cloud to the maximum extent, thus ensuring the presentation effect of the point cloud visualization.
[0083] Based on the point cloud processing results, 3D visualization technology is used to visualize the point cloud data. This helps users better understand and analyze the point cloud data, as well as its matching with the target floor plan. 3D visualization is achieved through 3D modeling software or point cloud visualization tools.
[0084] Optionally, 3D visualization includes coloring the point cloud based on the deviation between the data points in the point cloud and the target floor plan, providing an intuitive display of the matching results.
[0085] In summary, the automatic matching method for point clouds and floor plans based on line-of-sight point cloud features provided by this invention has the following technical effects:
[0086] The system acquires target point cloud data using an interactive point cloud acquisition device; it also acquires the target floor plan and obtains its feature set; based on the target point cloud data, it extracts horizontal sections to obtain a target section point set, which includes multiple sets of floor height points; it selects any set of floor height points from the target section point set and uses a line detection algorithm to obtain the target contour features; it performs initial matching based on the floor plan feature set and the target contour features; it then performs viewpoint feature recognition based on the target section point set to obtain the target viewpoint features; finally, it performs displacement optimization on the initial matching result based on the target viewpoint features and the floor plan feature set to obtain the optimal match and generate the matching result. This achieves the technical effects of automated matching and improved matching calculation efficiency.
[0087] Example 2
[0088] Based on the same concept as the automatic matching method between point cloud and floor plan based on line-of-sight point cloud features in the above embodiment, such as Figure 3 As shown, this application also provides an automatic matching system for point clouds and floor plans based on line-of-sight point cloud features, the system comprising:
[0089] Data acquisition module 11 is used to interact with the point cloud acquisition device to acquire target point cloud data;
[0090] Image feature extraction module 12 is used to collect the target floor plan and obtain the floor plan feature set;
[0091] The horizontal section extraction module 13 is used to extract horizontal sections based on the target point cloud data to obtain a target section point set, wherein the target section point set includes multiple sets of layer height points;
[0092] Contour detection module 14 is used to select any set of layer height points in the target cross-section point set and obtain the target contour features based on the line detection algorithm;
[0093] The initial matching module 15 is used to perform an initial matching based on the floor plan feature set and the target contour features;
[0094] The line-of-sight feature recognition module 16 is used to perform line-of-sight point cloud feature recognition based on the target cross-section point set to obtain the target line-of-sight features;
[0095] The optimization matching module 17 is used to perform displacement optimization on the initial matching result based on the target visibility features and the floor plan feature set to obtain the optimal match and generate the matching result.
[0096] Furthermore, the horizontal section extraction module 13 also includes:
[0097] The parameter acquisition unit is used to acquire design parameter information for the target area.
[0098] A height setting unit is used to determine the horizontal section height based on the design parameter information;
[0099] The thickness setting unit is used to select the cross-sectional thickness threshold, extract the horizontal cross-section based on the horizontal cross-sectional height, and obtain the target cross-sectional point set.
[0100] Furthermore, the initial matching module 15 also includes:
[0101] The completion unit is used to complete the target contour features and obtain the contour area.
[0102] The adaptation discrimination unit is used to calculate the initial adaptation degree with the target floor plan based on the outline area, and to judge the adaptation degree according to the preset adaptation degree threshold.
[0103] The center matching unit is used to perform initial matching based on the geometric center of the target outline and the target floor plan if the preliminary fit is satisfied.
[0104] Furthermore, the central matching unit also includes:
[0105] A center acquisition unit is used to calculate and acquire the geometric center of the target contour and the geometric center of the target floor plan;
[0106] A rotation adaptation unit is used to align the geometric center of the target outline with the geometric center of the target floor plan, and to traverse and rotate the target outline or the target floor plan to calculate the coarse adaptation degree.
[0107] The optimal selection unit is used to select the rotation angle corresponding to the best among the multiple coarse matching fits as the initial matching result.
[0108] Furthermore, the optimal matching module 17 also includes:
[0109] The offset position setting unit is used to generate multiple undetermined matching positions under different displacement vectors based on the initial matching result;
[0110] A quality assessment unit is used to assess each of the undetermined matching positions and calculate the matching quality index;
[0111] The optimal matching unit is used to select the position with the best matching quality as the optimal match based on multiple matching quality indicators.
[0112] Furthermore, the quality assessment unit also includes:
[0113] A unit is used to assign feature weights based on the feature set of the floor plan to obtain a feature weight set;
[0114] The unit is used to calculate the deviation of each corresponding feature in each of the undetermined matching positions and obtain the deviation calculation result;
[0115] The unit is used to activate the quality assessment channel, perform matching quality assessment based on the deviation calculation result and the feature weight set, and generate the matching quality index.
[0116] Furthermore, the system also includes:
[0117] The unit is used to perform point cloud processing based on the matching results, and to clean up data points with large deviations in the point cloud.
[0118] The unit is used to visualize point clouds based on the point cloud processing results using 3D visualization technology.
[0119] It should be understood that the focus of the embodiments mentioned in this specification is their difference from other embodiments. The specific embodiments in the aforementioned Embodiment 1 are also applicable to the automatic matching system of point cloud and floor plan based on line-of-sight point cloud features described in Embodiment 2. For the sake of brevity, they will not be further elaborated here.
[0120] It should be understood that the embodiments disclosed in this application and the above description can enable those skilled in the art to implement this application. At the same time, this application is not limited to the embodiments mentioned above; obvious modifications and variations to the embodiments mentioned in this application also fall within the scope of this application's principles.
Claims
1. A method for automatic matching of point clouds and floor plans based on line-of-sight point cloud features, characterized in that, The method includes: Interactive point cloud acquisition device to acquire target point cloud data; Collect the target floor plan and obtain the floor plan feature set; Based on the target point cloud data, horizontal cross-sections are extracted to obtain a target cross-section point set, which includes multiple sets of layer height points. Select any set of layer height points from the target section point set, and obtain the target contour features based on the line detection algorithm; Initial matching is performed between the floor plan feature set and the target contour features; Based on the target cross-section point set, perform view-through point cloud feature recognition to obtain target view-through features; Based on the target visibility features and the floor plan feature set, displacement optimization is performed on the initial matching results to obtain the optimal match and generate the matching result; Specifically, based on the target point cloud data, horizontal section extraction is performed to obtain a target section point set, including: Obtain design parameter information for the target area; Based on the design parameter information, determine the horizontal section height; Select a cross-sectional thickness threshold, and extract the horizontal cross-section based on the horizontal cross-sectional height to obtain the target cross-sectional point set; The initial matching process involves comparing the floor plan feature set with the target contour features, including... The target contour features are filled in to obtain the contour area; Based on the outline area, calculate the initial fit with the target floor plan, and then determine the fit based on a preset fit threshold. If the initial fit is satisfied, then an initial matching is performed based on the geometric center of the target outline and the target floor plan; The initial matching process, based on the geometric center of the target outline and the target floor plan, includes: Calculate and obtain the geometric center of the target contour and the geometric center of the target floor plan; Align the geometric center of the target outline with the geometric center of the target floor plan, and iterate through and rotate the target outline or the target floor plan to calculate the coarse fit degree; The rotation angle corresponding to the best among the multiple coarse matching fits is selected as the initial matching result; Specifically, based on the target visibility features and the floor plan feature set, displacement optimization is performed on the initial matching result to obtain the optimal match and generate the matching result, including: Based on the initial matching results, multiple undetermined matching positions are generated under different displacement vectors; Each of the proposed matching positions is evaluated, and a matching quality index is calculated. Based on multiple matching quality indicators, the position with the best matching quality is selected as the optimal match; This includes evaluating each of the undetermined matching positions and calculating a matching quality index, including: Based on the feature set of the floor plan, feature weights are assigned to obtain a feature weight set; Calculate the deviation of each corresponding feature in each of the undetermined matching positions, and obtain the deviation calculation results; Activate the quality assessment channel, perform a matching quality assessment based on the deviation calculation results and the feature weight set, and generate the matching quality index.
2. The method as described in claim 1, characterized in that, The method further includes: Based on the matching results, point cloud processing is performed to clean up data points with large deviations in the point cloud. Based on 3D visualization technology, point cloud visualization is performed according to the point cloud processing results.
3. An automatic point cloud and floor plan matching system based on line-of-sight point cloud features, characterized in that, The system is used to execute the automatic matching method for point clouds and floor plans based on line-of-sight point cloud features as described in any one of claims 1 to 2, the system comprising: The data acquisition module is used to interact with the point cloud acquisition device to acquire target point cloud data; Image feature extraction module, which is used to acquire the target floor plan and obtain the floor plan feature set; A horizontal section extraction module is used to extract horizontal sections based on the target point cloud data to obtain a target section point set, which includes multiple sets of layer height point sets. The contour detection module is used to select any set of layer height points in the target cross-section point set and obtain the target contour features based on the line detection algorithm. An initial matching module is used to perform an initial matching based on the floor plan feature set and the target contour features; A view-through feature recognition module is used to perform view-through point cloud feature recognition based on the target cross-section point set to obtain target view-through features; The optimal matching module is used to perform displacement optimization on the initial matching result based on the target visibility features and the floor plan feature set to obtain the optimal match and generate the matching result.
Citation Information
Patent Citations
Precise matching method for point cloud data, laser radar and system
CN116859361A
