Method and system for calculating plane accuracy of inclined point cloud based on house corner points
By calculating the plane position accuracy of tilted point clouds using a method based on house corners, the problem of subjectivity and low accuracy of manual point selection in the existing technology is solved, and efficient and accurate plane position accuracy evaluation of tilted point clouds is achieved.
Patent Information
- Application Number
- CN202210508372.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-11
- Publication Date
- 2024-09-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, in tilt photogrammetry, the manual and interactive method of selecting check points is highly subjective, time-consuming and labor-intensive, and has low accuracy, making it difficult to effectively evaluate the plane position accuracy of tilt point clouds.
Based on the tilt point cloud plane accuracy calculation method of house corners, by acquiring tilt point cloud data, constructing an index structure, performing triangulation processing and similarity screening, using a plane fitting algorithm to obtain the house corner points, and combining the coordinates of the check points Calculate plane position accuracy to avoid human subjective influence.
The accuracy of the tilt point cloud plane position accuracy is improved, automatic and rapid accuracy evaluation is achieved, manual intervention is reduced, and the degree of automation of the evaluation is improved.
Smart Images

Figure CN114913146B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of plane position accuracy quality evaluation of point cloud reconstructed by oblique photogrammetry, and in particular to a method and system for calculating plane accuracy of oblique point cloud based on house corner points. Background Art
[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.
[0003] As the demand for 3D real scenes becomes more and more widespread, collecting 3D spatial information of urban objects has become an important task. Oblique photogrammetry technology obtains spatial information and rich spectral information of objects by synchronously collecting images from one vertical, four oblique, and five different perspectives. Positioning, fusing, and reconstructing oblique photography images can obtain 3D point cloud data with texture information, providing basic data for 3D modeling.
[0004] Due to the influence of the camera itself, measurement errors and other factors, the oblique photography reconstructed point cloud has obvious bending in areas close to the ground, building corners and other areas. Therefore, it is very important to evaluate the plane position accuracy quality of the oblique point cloud. The inventor found that the existing technology mainly uses the method of manually interactively selecting check points. This method is highly subjective, and manual point selection is time-consuming and labor-intensive, and the evaluation accuracy is low. Summary of the invention
[0005] In order to solve the above problems, the present disclosure provides a method and system for calculating the plane accuracy of an inclined point cloud based on the corner points of a house. The scheme estimates the corner points of the house based on the obtained inclined point cloud data, and determines the plane position accuracy of the inclined point cloud based on the obtained coordinates of the corner points of the house and the points to be checked. Based on the quantitative accuracy value index, the problem that the existing methods are affected by human subjectivity is avoided, and the accuracy of the accuracy evaluation is improved.
[0006] According to a first aspect of an embodiment of the present disclosure, a method for calculating plane accuracy of an inclined point cloud based on house corner points is provided, comprising:
[0007] Acquire the collected building tilt point cloud data, and construct an index structure for the point cloud data;
[0008] Triangulating the inclined point cloud data and calculating the structural attributes of each point in the triangulated network;
[0009] Calculating the similarity between each triangular mesh in the triangulated network and the triangular meshes in its neighborhood, and based on the similarity, filtering out triangular meshes whose similarity is greater than a preset threshold;
[0010] Fit the key vertices in the triangulated network based on the plane fitting algorithm to obtain the building facade; and obtain the house corner points in the inclined point cloud data through the principle of intersection of building facades;
[0011] Based on the plane coordinates of the house corner points and the check points, the plane position accuracy of the inclined point cloud is obtained.
[0012] Furthermore, for the triangular meshes after the triangular meshes with similarity greater than a preset threshold are screened out, the triangular meshes with abnormal distribution are screened out based on the pre-established abnormal data judgment rule.
[0013] Furthermore, the abnormal data judgment rule is specifically as follows:
[0014] Calculate the plane equation formed by each triangle mesh endpoint;
[0015] Based on the plane equation, obtaining a posture vector of each triangular mesh;
[0016] The angle between the posture vector and the horizontal ground is calculated to determine whether the angle is within a preset angle range. If not, it is abnormal data.
[0017] Furthermore, the similarity between each triangular mesh in the triangulated network and the triangular meshes in its neighborhood is calculated by the following formula:
[0018]
[0019] Among them, C G1 is the Gaussian curvature of the first triangulated network, C G2 is the Gaussian curvature of the second triangulated network, M1 is the normal vector direction of the first triangulated network, M2 is the normal vector direction of the second triangulated network, and K r1 is the roughness of the first triangulated network, K r2 is the roughness of the second triangulated network, is the slope of the first triangulated network, is the slope of the second triangulation network.
[0020] According to a second aspect of an embodiment of the present disclosure, a system for calculating plane accuracy of an inclined point cloud based on house corner points is provided, comprising:
[0021] A data acquisition unit, which is used to acquire the collected building tilt point cloud data and construct an index structure for the point cloud data;
[0022] A triangulation processing unit, which is used to triangulate the inclined point cloud data and calculate the structural attributes of each point in the triangulation network;
[0023] A triangulated mesh optimization unit, which is used to calculate the similarity between each triangular mesh in the triangulated mesh and the triangular meshes in its neighborhood, and to screen out triangular meshes whose similarity is greater than a preset threshold based on the similarity;
[0024] A house corner point acquisition unit is used to fit the key vertices in the triangulation network based on a plane fitting algorithm to obtain the building facade; and to obtain the house corner points in the inclined point cloud data through the principle of intersection of the building facades;
[0025] The accuracy value calculation unit is used to obtain the plane position accuracy of the inclined point cloud based on the plane coordinates of the house corner points and the check points.
[0026] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored and running on the memory, wherein when the processor executes the program, the method for calculating the plane accuracy of an inclined point cloud based on the corner points of a house is implemented.
[0027] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for calculating the plane accuracy of an inclined point cloud based on the corner points of a house is implemented.
[0028] Compared with the prior art, the beneficial effects of the present invention are:
[0029] (1) The present disclosure provides a method and system for calculating the plane accuracy of an inclined point cloud based on the corner points of a house. The scheme estimates the corner points of the house based on the obtained inclined point cloud data, and determines the plane position accuracy of the inclined point cloud based on the obtained coordinates of the corner points of the house and the points to be checked. Based on the quantitative accuracy value index, the problem of the existing method being affected by human subjectivity is avoided, and the accuracy of the accuracy evaluation is improved.
[0030] (2) The scheme has a high degree of automation and makes full use of the three-dimensional spatial information of the inclined point cloud data, and can effectively and quickly evaluate the plane position accuracy of the inclined point cloud.
[0031] Advantages of additional aspects of the present disclosure will be given in part in the following description and in part will become apparent from the following description or will be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.
[0033] Figure 1 The present invention is a flow chart of a method for calculating plane accuracy of an inclined point cloud based on house corner points described in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.
[0035] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.
[0036] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0037] In the absence of conflict, the embodiments in the present disclosure and the features in the embodiments may be combined with each other.
[0038] Embodiment 1:
[0039] The purpose of this embodiment is to provide a method for calculating the plane accuracy of an inclined point cloud based on the corner points of a house.
[0040] A method for calculating plane accuracy of inclined point cloud based on house corner points, comprising:
[0041] Acquire the collected building tilt point cloud data, and construct an index structure for the point cloud data;
[0042] Triangulating the inclined point cloud data and calculating the structural attributes of each point in the triangulated network;
[0043] Calculating the similarity between each triangular mesh in the triangulated network and the triangular meshes in its neighborhood, and based on the similarity, filtering out triangular meshes whose similarity is greater than a preset threshold;
[0044] Fit the key vertices in the triangulated network based on the plane fitting algorithm to obtain the building facade; and obtain the house corner points in the inclined point cloud data through the principle of intersection of building facades;
[0045] Based on the plane coordinates of the house corner points and the check points, the plane position accuracy of the inclined point cloud is obtained.
[0046] Furthermore, for the triangular meshes after the triangular meshes with similarity greater than a preset threshold are screened out, the triangular meshes with abnormal distribution are screened out based on the pre-established abnormal data judgment rule.
[0047] Furthermore, the abnormal data judgment rule is specifically as follows:
[0048] Calculate the plane equation formed by each triangle mesh endpoint;
[0049] Based on the plane equation, obtaining a posture vector of each triangular mesh;
[0050] The angle between the posture vector and the horizontal ground is calculated to determine whether the angle is within a preset angle range. If not, it is abnormal data.
[0051] Furthermore, the similarity between each triangular mesh in the triangulated network and the triangular meshes in its neighborhood is calculated by the following formula:
[0052]
[0053] Among them, C G1 is the Gaussian curvature of the first triangulated network, C G2 is the Gaussian curvature of the second triangulated network, M1 is the normal vector direction of the first triangulated network, and M2 is the normal vector direction of the second triangulated network. is the roughness of the first triangulated network, is the roughness of the second triangulated network, is the slope of the first triangulated network, is the slope of the second triangulation network.
[0054] Furthermore, the index structure is constructed for the point cloud data using an octree index structure.
[0055] Furthermore, the inclined point cloud data is triangulated using a Delaunay triangulation method.
[0056] Furthermore, the structural attributes include the curvature, normal vector direction, slope and roughness value of each point in the triangulated network.
[0057] Specifically, for ease of understanding, the solution described in this embodiment is described in detail below with reference to the accompanying drawings:
[0058] like Figure 1 As shown, in order to solve the problems existing in the prior art, this embodiment provides a method for calculating the plane accuracy of an inclined point cloud based on the corner points of a house, comprising the following steps:
[0059] Step 1: Load the tilted point cloud data and build an octree index structure;
[0060] Step 2: Construct a Delaunay triangulation network for the inclined point cloud;
[0061] Step 3: Calculate the curvature, normal vector direction, slope, roughness and other properties of each point in the Delaunay triangulation;
[0062] Wherein, the step 3 includes the following sub-steps:
[0063] Step 3.1: Calculate the curvature of each point in the Delaunay triangulation. The point cloud coordinates and their partial derivatives can be expressed as:
[0064]
[0065] Among them, r is the second-order derivative of the point cloud coordinates in the x direction, t is the second-order derivative in the y direction, s is the second-order derivative in the x and y directions, p is the first-order derivative in the x direction, q is the first-order derivative in the y direction, and x and y are the point cloud coordinates.
[0066] The relevant curvature can be constructed as:
[0067]
[0068] (rt-s 2 )R 2 +h[2pqs-(1+p 2 )t-(1+q 2 )r]R+h 4 =0
[0069] So the Gaussian curvature can be expressed as:
[0070]
[0071] Step 3.2: Using p i The neighborhood point set p calculates p i The normal vector direction is calculated as follows:
[0072]
[0073] Among them, k is the number of neighborhood points, are the coordinates of the neighborhood centroid.
[0074] Step 3.3: Calculate the slope of the point in the point cloud. The calculation formula is as follows:
[0075]
[0076] Step 3.4: Calculate the roughness of the points in the point cloud. The calculation formula is as follows:
[0077]
[0078] Among them, S Eis the projection area of the point cloud, x1′y1 to x4, y4 are the horizontal and vertical coordinates of the minimum circumscribed rectangle after the point cloud is projected onto the plane;
[0079] Step 4: Then calculate the similarity between each triangle mesh in the Delaunay triangulation and the triangle meshes in the neighborhood;
[0080] Wherein, the step 4 comprises the following steps:
[0081] Calculate the similarity between the current Delaunay triangular mesh and other triangular meshes in its neighborhood. The calculation formula is as follows:
[0082]
[0083] Step 5: Remove the triangular meshes whose similarity value exceeds the preset threshold according to the similarity of the triangular meshes in the neighborhood;
[0084] Step 6: Establish abnormal data judgment rules and remove triangular meshes with abnormal distribution;
[0085] Wherein, the step 6 includes the following sub-steps:
[0086] Step 6.1: Calculate the equation of the plane formed by each triangle mesh endpoint
[0087] Assume that the three endpoints of the triangle mesh are P1(x1, y1, z1), P2(x2, y2, z2), and P3(x3, y3, z3). Then the plane equation through P1 is:
[0088] A(x-x1)+B(y-y1)+C(z-z1)=0
[0089] Since P1, P2, and P3 are coplanar, P2 and P3 can be substituted into the above formula:
[0090] A(x2-x1)+B(y2-y1)+C(z2-z1)=0
[0091] A(x3-x1)+B(y3-y1)+C(z3-z1)=0
[0092] The above three formulas can be combined to construct the determinant:
[0093]
[0094] The result of this determinant is the plane normal vector.
[0095] Step 6.2: Analyze the posture of each triangular mesh to determine whether the plane posture of the triangular mesh conforms to the facade posture of the building.
[0096] From the elevation equation of each triangular mesh, A(x-x1)+B(y-y1)+C(z-z1)=0, we know that the posture vector of the triangular mesh elevation is (A, B, C). Calculate the angle between the posture vector and the horizontal ground:
[0097]
[0098] Step 6.3: Set the angle threshold range τ. When the angle between the attitude vector and the horizontal ground is not within τ, the attitude of the triangular mesh does not meet the requirements. The calculation rules are as follows:
[0099]
[0100] Step 7: Fit the key vertices based on the plane fitting algorithm to obtain the building facade. According to the principle of building facade intersection (that is, any point on the intersection line of two facade planes in the building is the corner point of the house), obtain the house corner point in the tilt data, and compare the plane coordinates of the house corner point with the check point to calculate the plane position accuracy of the tilt point cloud.
[0101] The calculation method of plane position accuracy is as follows:
[0102]
[0103] Among them, k is the number of check points, (x′ i , y′ i ) is the coordinate of the check point (x i ,y i ) are the coordinates of the house corner points corresponding to the check points.
[0104] The key vertices are the remaining vertices in the triangular mesh after removing the triangular meshes with similarity greater than a preset threshold and the abnormally distributed triangular meshes.
[0105] Embodiment 2:
[0106] The purpose of this embodiment is to provide a system for calculating the plane accuracy of an inclined point cloud based on the corner points of a house.
[0107] A system for calculating plane accuracy of inclined point cloud based on house corner points, comprising:
[0108] A data acquisition unit, which is used to acquire the collected building tilt point cloud data and construct an index structure for the point cloud data;
[0109] A triangulation processing unit, which is used to triangulate the inclined point cloud data and calculate the structural attributes of each point in the triangulation network;
[0110] A triangulated mesh optimization unit, which is used to calculate the similarity between each triangular mesh in the triangulated mesh and the triangular meshes in its neighborhood, and to screen out triangular meshes whose similarity is greater than a preset threshold based on the similarity;
[0111] A house corner point acquisition unit is used to fit the key vertices in the triangulation network based on a plane fitting algorithm to obtain the building facade; and to obtain the house corner points in the inclined point cloud data through the principle of intersection of the building facades;
[0112] The accuracy value calculation unit is used to obtain the plane position accuracy of the inclined point cloud based on the plane coordinates of the house corner points and the check points.
[0113] Furthermore, the system described in this embodiment corresponds to the method described in Embodiment 1, and its specific details have been described in detail in Embodiment 1, so they will not be repeated here.
[0114] In further embodiments, there is also provided:
[0115] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in Embodiment 1 is performed. For the sake of brevity, no further description is given here.
[0116] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0117] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0118] A computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by a processor, the method described in embodiment 1 is completed.
[0119] The method in the first embodiment can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
[0120] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in the present embodiment can be implemented in electronic hardware or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0121] The above-mentioned embodiment provides a method and system for calculating the plane accuracy of an inclined point cloud based on the corner points of a house, which can be realized and has broad application prospects.
[0122] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for calculating plane accuracy of inclined point cloud based on house corner points, characterized in that: include: Acquire the collected building tilt point cloud data, and construct an index structure for the point cloud data; Triangulating the inclined point cloud data and calculating the structural attributes of each point in the triangulated network; wherein the inclined point cloud data is triangulated and the triangulated network is obtained by using the Delaunay triangulation method; Calculate the similarity between each triangle mesh in the triangulated network and the triangle meshes in its neighborhood using the following formula: in, is the Gaussian curvature of the first triangulated mesh, is the Gaussian curvature of the second triangulated mesh, is the normal vector direction of the first triangulation, is the normal vector direction of the second triangulated network, is the roughness of the first triangulated network, is the roughness of the second triangulated network, is the slope of the first triangulation, is the slope of the second triangulated mesh, and based on the similarity, triangulated meshes with a similarity greater than a preset threshold are screened out; Fit the key vertices in the triangulated network based on the plane fitting algorithm to obtain the building facade; and obtain the house corner points in the inclined point cloud data through the principle of intersection of building facades; Based on the plane coordinates of the house corner points and the check points, the plane position accuracy of the inclined point cloud is obtained. The plane position accuracy calculation method is as follows: Where k is the number of check points. Coordinates of the check point The coordinates of the house corner points corresponding to the check points.
2. A method for calculating plane accuracy of inclined point cloud based on house corner points as claimed in claim 1, characterized in that: For the triangular meshes after the triangular meshes with similarity greater than a preset threshold are screened out, the triangular meshes with abnormal distribution are screened out based on the pre-established abnormal data judgment rules.
3. A method for calculating plane accuracy of inclined point cloud based on house corner points as claimed in claim 2, characterized in that: The abnormal data judgment rules are specifically as follows: Calculate the plane equation formed by each triangle mesh endpoint; Based on the plane equation, obtaining a posture vector of each triangular mesh; The angle between the posture vector and the horizontal ground is calculated to determine whether the angle is within a preset angle range. If not, it is abnormal data.
4. A method for calculating plane accuracy of inclined point cloud based on house corner points as claimed in claim 1, characterized in that: The index structure is constructed for the point cloud data using an octree index structure.
5. The method for calculating plane accuracy of inclined point cloud based on house corner points as claimed in claim 1, characterized in that: The structural attributes include the curvature, normal vector direction, slope and roughness value of each point in the triangulated network.
6. A system for calculating plane accuracy of inclined point cloud based on house corner points, characterized in that: include: A data acquisition unit, which is used to acquire the collected building tilt point cloud data and construct an index structure for the point cloud data; A triangulation processing unit, which is used to triangulate the inclined point cloud data and calculate the structural attributes of each point in the triangulation network; wherein the inclined point cloud data is triangulated and the triangulation network is obtained by using the Delaunay triangulation method; The triangulated mesh optimization unit is used to calculate the similarity between each triangular mesh in the triangulated mesh and its neighboring triangular meshes. The specific formula is as follows: in, is the Gaussian curvature of the first triangulated mesh, is the Gaussian curvature of the second triangulated mesh, is the normal vector direction of the first triangulation, is the normal vector direction of the second triangulated network, is the roughness of the first triangulated network, is the roughness of the second triangulated network, is the slope of the first triangulation, is the slope of the second triangulated mesh, and based on the similarity, triangulated meshes with a similarity greater than a preset threshold are screened out; A house corner point acquisition unit is used to fit the key vertices in the triangulation network based on a plane fitting algorithm to obtain the building facade; and to obtain the house corner points in the inclined point cloud data through the principle of intersection of the building facades; The accuracy value calculation unit is used to obtain the plane position accuracy of the inclined point cloud based on the plane coordinates of the house corner point and the check point. The plane position accuracy calculation method is as follows: Where k is the number of check points. Coordinates of the check point The coordinates of the house corner points corresponding to the check points.
7. An electronic device comprising a memory, a processor and a computer program stored and running on the memory, characterized in that: When the processor executes the program, the method for calculating the plane accuracy of the inclined point cloud based on the corner points of the house as described in any one of claims 1 to 5 is implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a method for calculating plane accuracy of an inclined point cloud based on house corner points as described in any one of claims 1 to 5 is implemented.
