An automatic inspection method for point cloud spatial position quality based on surface points

Through the automatic inspection method based on surface points, using principal component analysis method and Otsu algorithm, the problem of low efficiency of vehicle-mounted laser scanning point cloud spatial position inspection is solved, automated inspection is realized, data quality and work efficiency are improved, and resources are saved. .

CN114092419BActive Publication Date: 2024-10-15NANJING RES INST OF SURV MAP & GEOTECH INVESTIG CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111317392.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-09
Publication Date
2024-10-15
Estimated Expiration
2041-11-09

AI Technical Summary

Technical Problem

In urban road vehicle-mounted laser scanning projects, the amount of point cloud data is huge and the environment is complex, causing the satellite signal to lose lock, resulting in poor quality of the point cloud space. The existing technology requires human-computer interaction inspection, which is inefficient and cannot automatically inspect the point cloud space. Is the location correct?

Method used

Using an automatic inspection method based on surface points, through principal component analysis and Otsu's intensity histogram division method, it classifies point cloud data, extracts road marking line points, calculates the accuracy of inspection points and marking line points, and outputs inspection results, completely No manual intervention is required.

Benefits of technology

It realizes automated inspection of point cloud spatial position quality, improves inspection efficiency, saves manpower, material resources and time costs. It directly uses road markings without laying out signal signs, improving data quality and work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114092419B_ABST
    Figure CN114092419B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for automatically checking the spatial position quality of a point cloud based on surface points, comprising the following steps: preparing laser point cloud data and control point files; searching for a target point set from an original laser point set according to a certain radius search threshold based on the obtained check point file; separating the surface points from non-surface points by using a method based on principal component analysis based on the fact that the normal lines between the surface points and non-surface points are usually inconsistent; extracting road marking points from the surface point set, and finally searching for the road marking line closest to the check point to complete the automatic inspection of the spatial position quality of the point cloud. The application of the technology of the present invention can reduce manual intervention and improve production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of resource and environmental remote sensing or surveying and mapping science and technology, and specifically to a method for automatically checking the spatial position accuracy of data when acquiring data using laser scanning technology, and requiring that the control point be located at the turning point of a road marking line, based on surface points. Background Art

[0002] Laser radar (LiDAR) is a measurement device that integrates global satellite navigation and positioning system (GNSS), inertial measurement unit (INS) and other facilities. According to the different platforms on which the scanner is mounted, it can be divided into airborne, vehicle-mounted, stand-mounted and portable three-dimensional laser scanning. Compared with traditional spatial information acquisition technology, laser radar scanning can obtain a large amount of three-dimensional point cloud data while ensuring measurement accuracy. The laser emitted during measurement has the ability to penetrate vegetation and is little affected by visible light, so high-precision three-dimensional point cloud data can be directly obtained. After post-processing, the three-dimensional point cloud data can generate high-precision digital elevation model (DEM), contour map (CM) and digital surface model (DSM) and other surveying and mapping products. It has advantages that cannot be replaced by traditional photogrammetry and ground conventional measurement technology, and can be widely used in water conservancy, forestry, electricity and urban management and other fields. As a result, it has become a new technical means widely used in data collection in the current surveying and mapping industry.

[0003] At present, in the urban road vehicle laser scanning engineering project, on the one hand, the amount of point cloud data obtained is astonishing, and 150Gb of point cloud data can be obtained per hour; on the other hand, due to the complex urban environment, the satellite signal is lost and the point cloud space quality is very poor. In order to ensure that the submitted point cloud data results meet the requirements, the human-computer interaction inspection method is usually used to check the point cloud space quality first, and then the position is corrected according to the real coordinates of the feature points. Therefore, it is necessary to automatically check the point cloud space quality. Road markings can be seen everywhere in urban areas, naturally forming spatial feature points. In order to check the data quality of the point cloud, the checkpoints are generally placed at the turning points of the markings. Since the materials of road markings and road surfaces are usually different, there is a large difference in the reflection of the laser between the two. This feature can be used to automatically obtain the spatial position of the corner features of the road markings in the laser scanning point cloud and compare them with the actual measurement control point positions.

[0004] In summary, a method for automatically checking the spatial position quality of point clouds based on surface points is provided to solve the problem of automatically obtaining whether the spatial position of vehicle-mounted laser scanning point clouds is correct. Compared with the human-computer interactive inspection method, the efficiency is greatly improved, which is an urgent problem to be solved. Summary of the invention

[0005] In order to solve the above-mentioned deficiencies in the prior art, the present invention proposes an automatic inspection method for the spatial position quality of a point cloud based on surface points.

[0006] The object of the present invention is achieved in that:

[0007] A method for automatically checking the spatial position quality of a point cloud based on surface points comprises the following steps:

[0008] The first step is data preparation: the data used is mainly divided into two categories: laser point cloud data to be inspected and inspection point coordinate files;

[0009] The second step is to obtain the point set around the checkpoint: each checkpoint is processed according to a certain radius search threshold, and the searched laser point data is regarded as a target point set;

[0010] The third step is point cloud classification: using principal component analysis to classify points belonging to the ground surface and points not belonging to the ground surface; the third step includes the following sub-steps:

[0011] (1) Count the distribution of laser point elevation values. If the laser point elevation value is within a given threshold range, it is considered that the points in the target point set are all surface points; if not, proceed to the next step;

[0012] (2) Calculate the normal vector of the laser point, and consider the points whose normal vector value is within a certain threshold range as points within the approximate elevation range: use the principal component analysis method to calculate the normal information of the point cloud according to formula (1);

[0013]

[0014] The above formula is recorded as Hx = λx, where H is the covariance matrix of the n points adjacent to the point to be solved. Requiring the values ​​of A, B, and C is equivalent to solving the characteristic matrix corresponding to the eigenvalue λ; when λ takes the minimum value, the corresponding eigenvector is the normal corresponding to the point to be solved;

[0015] The fourth step is road marking line extraction: Since the target point set contains general ground points and road marking points, in order to separate the marking points from these data, an intensity histogram partitioning method based on Otsu is used; this method determines the optimal partitioning threshold by continuously searching for the maximum variance between classes, and finally achieves the separation of the two; the fourth step includes the following sub-steps:

[0016] (1) Generation of intensity histogram: The horizontal axis of the histogram represents a certain range of intensity values, such as [0, 255]; the vertical axis of the histogram represents the number of times each intensity value appears in the entire point cloud data. The intensity histogram is generated by traversing the original data set and counting the corresponding information;

[0017] (2) Calculation of inter-class variance: Calculate the inter-class variance according to formula (2);

[0018]

[0019] Where P1 is the probability that the intensity value is classified into class 1, P2 is the probability that the intensity value is classified into class 2, m1 is the average intensity of class 1, m2 is the average intensity of class 2, and m G is the average intensity of all data;

[0020] (3) Determination of the classification threshold: Count the inter-class variances calculated in step (2), and take the intensity value corresponding to the maximum value as the optimal threshold. The intensity values ​​less than the threshold are classified into class 1, and the intensity values ​​greater than the threshold are classified into class 2.

[0021] Step 5: Quality inspection: From the extracted identification line points, the point closest to the current check point is selected as the point to be checked. The inspection value on the plane is the coordinate difference between the two in the X and Y coordinates; the inspection value in the vertical direction is the difference between the average elevation of the point set around the check point and the elevation of the check point;

[0022] Step 6: Output the results: The output format is a txt file. Each line in the output file records the checkpoint number, the 3D information of the checkpoint, the 3D information of the point to be checked, the inspection accuracy on the plane, the inspection accuracy in the vertical direction, and the spatial distance accuracy between the two.

[0023] Positive and beneficial effects: During inspection, the present invention only needs to load surface points and checkpoint data, set the checkpoint radius search threshold and the output address of the result file to complete the automatic inspection of the point cloud spatial position quality. The inspection process does not require any human intervention, which improves the inspection efficiency. The existing technology usually requires the deployment of signal signs in the survey area in advance before the software can realize automatic inspection. The technical method of the present invention directly uses the driving marking lines on the road, and there is no need to deploy signal signs in urban areas, saving a lot of manpower, material resources and time costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is the overall flow chart of the present invention;

[0025] Figure 2 This is a schematic diagram of laser point cloud data rendered according to intensity information. The red dots in the circles represent the locations of the checkpoints.

[0026] Figure 3 It is a sample area in the original point cloud data. The red dot represents the checkpoint location, and the green circle represents the coverage area within a certain radius from the checkpoint.

[0027] Figure 4 for Figure 3 A local enlarged view of the image, where the red dots represent checkpoints and the green circles represent the coverage area within a certain radius from the checkpoints;

[0028] Figure 5 The left and right sides of the figure respectively show the positions of two sample checkpoints in the surface point set and the corresponding radius coverage: the red dots represent the checkpoints, and the blue laser dots represent the target point set;

[0029] Figure 6 The left and right sides of the figure respectively represent the road marking lines extracted by the Otsu algorithm from the target point set searched for two sample checkpoints: the red dot represents the checkpoint, the green laser point is the road marking point, and the blue laser point is the road surface point;

[0030] Figure 7 The left and right figures show the final inspection results of two sample checkpoints: red dots represent checkpoints, green laser dots represent road marking points, blue laser dots represent road surface points, and black dots represent road marking points closest to the checkpoints. DETAILED DESCRIPTION

[0031] The present invention is further described below in conjunction with specific implementation cases:

[0032] Example 1

[0033] A method for automatically checking the spatial position quality of a point cloud based on surface points comprises the following steps:

[0034] The first step is data preparation: Figure 2 As shown in the figure, the actual collected laser point cloud data and the distribution of checkpoints in the measurement area: the total number of laser points is 1079852570. Figure 2 For the left area in the figure, the measuring area is about 980m long and 1980m wide, and for the right area, it is about 170m long and 760m wide. There are relatively few interference factors such as pedestrians and vehicles in the collected data, and the spatial distribution of the checkpoints is relatively uniform. The laser point cloud data file adopts the international unified format LAS format, and the checkpoint coordinate file is in txt format. Each line in the txt file consists of the checkpoint number, X coordinate component, Y coordinate component, and Z coordinate component, and each field is separated by a space symbol.

[0035] The second step is to obtain the point set around the checkpoint: In order to better illustrate the experimental results of this article, the data in area A is taken from the original point set as sample data. The enlarged image of area A is shown in Figure 3As shown in the figure; for the sample data, each checkpoint is processed according to a certain radius search threshold, and the searched laser point data is regarded as a target point set; here, a radius search threshold of 1m is set, and the radius coverage of the sample checkpoint in the original point cloud data and the search result map are as follows Figure 4 , Figure 5 As shown;

[0036] The third step is point cloud classification: using principal component analysis to classify points belonging to the ground surface and points not on the ground surface:

[0037] (1) For each target point set searched in the second step, the corresponding elevation distribution is counted. Here, 2dm is used as the threshold. When the maximum elevation difference in the target point set is less than this value, it means that all the data in the target point set are surface point sets. At this time, the data can be directly processed; on the contrary, when the maximum elevation difference in the target point set is greater than this value, it means that there are non-surface points in the area. At this time, the following step (2) needs to be executed;

[0038] (2) The principal component analysis method is used to calculate the normal information of each point in the target point set. Here, the normal threshold is set to 15°, that is, when the angle between the normal direction of the current point and the Z axis is greater than this value, it is identified as a non-surface point. On the contrary, it is marked as a pending point. When using the principal component analysis method to calculate the normal of the point cloud, a certain number of neighboring points must be considered. The number of neighboring points will affect the calculation of the normal. When the number of points is too large, the normal information calculated in the area with large fluctuations in the point cloud will be biased. Correspondingly, when the number of neighboring points is too small, the fitted plane will fall into the local optimum, thereby causing the calculated normal information to be biased. Here, in order to more accurately calculate the normal information of the point cloud, the number of neighbors is selected as 20.

[0039] The principal component analysis method is used to calculate the normal information of the point cloud according to formula (1):

[0040]

[0041] (3) The above formula is recorded as Hx = λx, where H is the covariance matrix of the n points adjacent to the point to be solved, Requiring the values ​​of A, B, and C is equivalent to solving the characteristic matrix corresponding to the eigenvalue λ; when λ takes the minimum value, the corresponding eigenvector is the normal corresponding to the point to be solved;

[0042] (4) When the radius search threshold is too large, the search results may contain a certain amount of vehicle and pedestrian data. The processing method in step (2) is usually not sensitive to the vehicle top surface data, making it difficult to remove this part of the data by relying on normal information. In this case, in order to extract the real surface point cloud data from the undetermined point set, the bottom layer of data is extracted by clustering and used as the surface data in the current data set.

[0043] Step 4: Road marking line extraction: by traversing the data in the target point set, counting the number of occurrences of each intensity value to generate an intensity histogram;

[0044] (1) The reflection intensity range of laser point cloud is generally divided into two types: [0, 255] and [0, 65535]. In order to improve the robustness of the algorithm, a linear stretching method is used here to uniformly generate an intensity histogram of [0, 65535].

[0045] (2) For the intensity histogram generated in step (1), the Otsu algorithm is used to calculate the inter-class variance according to formula (2), and the intensity value corresponding to the maximum inter-class variance is taken as the optimal partitioning threshold:

[0046]

[0047] Where P1 represents the probability of the intensity value being classified as a road sign, P2 represents the probability of the intensity value being classified as a ground point, m1 is the average intensity of the intensity value being classified as a road sign, m2 is the average intensity of the intensity value being classified as a ground point, and m G is the average intensity of all data;

[0048] (3) Each point in the current point set is judged. If the intensity value of the current point is greater than the calculated division threshold, the point is determined to be a road marking point, otherwise it is determined to be a ground point;

[0049] After Otsu algorithm processing, the data belonging to the identification line in the two target points are as follows Figure 6 As shown in the green part;

[0050] Step 5, quality inspection: From the extracted identification line points, take the point closest to the current checkpoint as the point to be checked. The check value on the plane is the coordinate difference between the two in the X and Y coordinates; the check value in the vertical direction is the difference between the average elevation of the points around the checkpoint and the elevation of the checkpoint; search for the schematic diagram of the point closest to the current checkpoint as shown in Figure 7 As shown, the black dot represents the road marking point closest to the checkpoint;

[0051] Step 6: Output of results: Output of point cloud quality inspection results, where the text file contains the following contents:

[0052]

[0053]

[0054] The present invention only needs to load the surface points and checkpoint data, set the checkpoint radius search threshold and the output address of the result file to complete the automatic inspection of the point cloud spatial position quality during the inspection. The inspection process does not require manual intervention at all, which improves the inspection efficiency. The existing technology usually requires the deployment of signal signs in the survey area in advance before the software can realize automatic inspection. The technical method of the present invention directly uses the driving marking lines on the road, and there is no need to deploy signal signs in urban areas, saving a lot of manpower, material resources and time costs.

Claims

1. A method for automatically checking the spatial position quality of a point cloud based on surface points, characterized in that: The following steps are included: The first step is data preparation: the data used is mainly divided into two categories: laser point cloud data to be inspected and inspection point coordinate files; The second step is to obtain the point set around the checkpoint: each checkpoint is processed according to a certain radius search threshold, and the searched laser point data is regarded as a target point set; The third step is point cloud classification: using principal component analysis to classify points belonging to the ground surface and points not on the ground surface; Step 4: Road marking line extraction: Since the target point set contains general ground points and road marking points, in order to separate the marking points from these data, an intensity histogram partitioning method based on Otsu is used; this method continuously searches for the maximum variance between classes to determine the optimal partitioning threshold, and finally achieves the separation of the two; Step 5: Quality inspection: From the extracted identification line points, the point closest to the current check point is selected as the point to be checked. The inspection value on the plane is the coordinate difference between the two in the X and Y coordinates; the inspection value in the vertical direction is the difference between the average elevation of the point set around the check point and the elevation of the check point; Step 6: Output the results: The output format is a txt file. Each line in the output file records the checkpoint number, the 3D information of the checkpoint, the 3D information of the point to be checked, the inspection accuracy on the plane, the inspection accuracy in the vertical direction, and the spatial distance accuracy between the two. The third step includes the following sub-steps: (1) Count the distribution of laser point elevation values. If the laser point elevation value is within a given threshold range, it is considered that the points in the target point set are all surface points; if not, proceed to the next step; (2) Calculate the normal vector of the laser point. If the normal vector value is within a certain threshold range, it is considered to be a point within the non-plane range. Use the principal component analysis method to calculate the normal information of the point cloud according to formula (1): ; The above formula is written as , where H is the covariance matrix of n points adjacent to the point to be solved, , requiring the values ​​of A, B, and C, which is equivalent to solving the characteristic matrix corresponding to the eigenvalue λ; when λ takes the minimum value, the corresponding eigenvector is the normal corresponding to the point to be solved; (3) After removing the approximate vertical points, the elevation distribution of the laser points is layered, and the laser points in the lowest layer are retained, which are the surface points; The fourth step includes the following sub-steps: (1) Generation of intensity histogram: The horizontal axis of the histogram represents a certain range of intensity values, [0, 255]; the vertical axis represents the number of times each intensity value appears in the entire point cloud data. The intensity histogram is generated by traversing the original data set and counting the corresponding information; (2) Calculation of inter-class variance: Calculate the inter-class variance according to formula (2); ; Where P1 is the probability that the intensity value is classified into class 1, P2 is the probability that the intensity value is classified into class 2, m1 is the average intensity of class 1, m2 is the average intensity of class 2, and m G is the average intensity of all data; (3) Determination of the classification threshold: Count the inter-class variances calculated in step (2) and take the intensity value corresponding to the maximum value as the optimal threshold. The intensity values ​​less than the threshold are classified into class 1, and the intensity values ​​greater than the threshold are classified into class 2.

Citation Information

Patent Citations

  • Automatic quality inspection method of vector map positional precision based on laser point cloud data

    CN107944018A

  • A backpack type three-dimensional laser point cloud data-based building contour line extraction method

    CN109949326A

  • Road marking line extraction method based on driving direction structure feature constraints

    CN112131963A

  • Method for examining the quality of airborne lidar data

    KR100949788B1