A method and system for intelligently collecting tunnel disease data
By calculating the curvature and normal vector variation index, optimizing the KD tree construction and ICP algorithm, the problem of low efficiency of the traditional registration algorithm is solved, and the rapid collection and accurate detection of tunnel disease data are achieved.
Patent Information
- Application Number
- CN202410741481.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-11
AI Technical Summary
The traditional 3D point cloud data registration algorithm is inefficient when processing large amounts of data, resulting in reduced data processing efficiency for tunnel disease detection and making it difficult to achieve rapid splicing.
By calculating the curvature variation index and normal vector variation index of each point, the structural surface characteristic index and occurrence index are constructed, combined with the iterative closest point algorithm, to optimize the registration process of KD tree construction and ICP algorithm, and realize the point cloud data Quick splicing.
It improves the search efficiency and registration efficiency of point cloud data, and realizes the rapid collection and accurate detection of tunnel disease data.
Smart Images

Figure CN118314015B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic digital data processing, and in particular to a method and system for intelligently collecting tunnel disease data. Background Art
[0002] As an important transportation infrastructure, the structural health of the tunnel is directly related to traffic safety and operational efficiency. Tunnel diseases such as water leakage, lining cracking, and support structure damage may lead to serious safety accidents if not detected and treated in time. High-stress bias soft rock tunnels usually refer to tunnels under high stress geological conditions where one or both sides of the tunnel are subjected to uneven ground stress, resulting in more prominent surrounding rock deformation and stability problems. Such tunnels often face more severe challenges during construction and operation.
[0003] In order to study the disaster mechanism and repair technology of high-stress biased soft rock tunnels, it is necessary to first establish a three-dimensional point cloud data model of the tunnel based on the laser point cloud precision detection technology, which can realize the unmanned detection of tunnel diseases and the accurate judgment of the location of the disease. In the process of pre-processing the data after data collection, due to the large amount of collected data, the efficiency of subsequent data processing will be reduced, and the traditional three-dimensional point cloud data registration algorithm will have the problem of low registration efficiency when processing a large amount of data. Therefore, this application proposes a tunnel disease data intelligent collection method and system, which aims to solve the defects of the traditional three-dimensional point cloud data registration algorithm. Summary of the invention
[0004] In order to solve the above technical problems, the purpose of this application is to provide a method and system for intelligent collection of tunnel disease data. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for intelligently collecting tunnel disease data, the method comprising the following steps:
[0006] Collect point cloud data at each monitoring station in the tunnel;
[0007] In the point cloud data of each monitoring station, the influence range of each point is obtained according to the distribution of each point and its surrounding points; the curvature variation index of each point is constructed according to the difference between each point and the points in its influence range;
[0008] Construct a covariance matrix based on the directional relationship between each point and all points within its influence range and the curvature variation index, and decompose the covariance matrix to obtain the normal vector of each point;
[0009] The normal vector variation index of each point is constructed based on the directional difference between the normal vectors of each point and the points within its influence range; the structural surface characteristic index of each point is constructed based on the curvature variation index and normal vector variation index of each point; the inclination and dip of each point are obtained based on the normal vector of each point, and the structural surface occurrence index of each point is constructed;
[0010] The structural surface membership of each point is constructed according to the structural surface characteristic index and structural surface occurrence index of each point;
[0011] In the point cloud data of each monitoring station, the points to be registered in the source point cloud set and the segmentation points and segmentation axes in the target point cloud set are obtained according to the structural surface membership of each point. The iterative nearest point algorithm is used to realize rapid point cloud splicing and complete the tunnel disease data collection.
[0012] Preferably, the process of obtaining the influence range of each point is:
[0013] In the point cloud data of each monitoring station, the points whose distance to each point is less than a preset value constitute the influence range of each point.
[0014] Preferably, the construction process of the curvature variation index of each point is:
[0015] In the point cloud data of each monitoring station, the curvature of each point is calculated, and the difference between the maximum curvature and the minimum curvature within the influence range of each point is recorded as the curvature change factor of each point;
[0016] Calculate the average value of the difference between the curvature of each point and all the points within its influence range, and record it as the mean value of the curvature variation of each point; calculate the difference between the mean value of the curvature variation of each point and the minimum curvature within its influence range, and record it as the curvature variation coefficient of each point;
[0017] The curvature variation index of each point is positively correlated with the curvature variation coefficient and negatively correlated with the curvature change factor.
[0018] Preferably, the constructing of the covariance matrix includes:
[0019] In the point cloud data of each monitoring station, the point pair vectors from each point to all points within its influence range are calculated; the curvature variation index is used as the weight of each point, and all the point pair vectors within the influence range of each point are weighted summed up, and the weighted summation results constitute the covariance matrix of each point.
[0020] Preferably, the process of constructing the normal vector variation index of each point is:
[0021] The average value of the angles between the normal vector of each point and the normal vectors of all points within its influence range is calculated, and the normal vector variation index of each point is the normalized result of the average value.
[0022] Preferably, the structural surface characteristic index of each point is a forward fusion result of the curvature variation index and the normal vector variation index of each point.
[0023] Preferably, the normal vector of each point obtains the inclination and dip angle of each point, and constructs the structural surface occurrence index of each point, including:
[0024] In the point cloud data of each monitoring station, the angle between the normal vector of each point and the gravity vector determines the inclination of each point; the projection direction of the normal vector of each point on the horizontal plane is recorded as the inclination of each point;
[0025] Analyze the average value of the dip angle of each point and all points within its influence range, and record it as the dip angle occurrence mean value of each point; analyze the difference between the dip angle of each point and the dip angle occurrence mean value, and record it as the dip angle occurrence difference coefficient of each point;
[0026] Accordingly, for the inclination of each point, the inclination occurrence difference coefficient of each point is obtained;
[0027] The dip angle occurrence difference coefficient and the dip occurrence difference coefficient are both positively correlated with the structural surface occurrence index of each point.
[0028] Preferably, the structural surface membership of each point is positively correlated with the structural surface characteristic index of each point, and negatively correlated with the structural surface occurrence index.
[0029] Preferably, the step of obtaining the points to be registered in the source point cloud set and the segmentation points and segmentation axes in the target point cloud set, and combining the iterative closest point algorithm to realize fast point cloud stitching to collect tunnel disease data includes:
[0030] The structural surface membership of each point is used as the weight of each point; the point cloud set scanned by two consecutive monitoring stations is recorded as the source point cloud set in the first order, and the target point cloud set in the second order;
[0031] In the source point cloud set, the points with the highest sampling weight and the preset ratio are used as the points to be registered;
[0032] According to the structural surface membership of each point, the target point cloud set is divided into multiple clusters in combination with the clustering algorithm; principal component analysis is performed on all clusters to obtain the principal components; the cluster center of the principal component with the largest variance is used as the segmentation point of the KD tree, and the line between the segmentation point and the point closest to it is used as the segmentation axis of the KD tree;
[0033] Traverse the points to be matched in the source point cloud, query the nearest neighbor points to be matched in the KD tree of the target point cloud set, and splice the point clouds to collect tunnel disease data.
[0034] In a second aspect, an embodiment of the present application further provides a tunnel disease data intelligent collection system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above-mentioned methods when executing the computer program.
[0035] This application has at least the following beneficial effects:
[0036] According to the special structure of the rock mass in the tunnel, this application calculates the curvature variation index and the normal vector variation index to obtain the structural surface characteristic index, and combines it with the structural surface attitude index. Its beneficial effect is that by describing the characteristics of the structural surface in the tunnel point cloud data, the KD tree construction process is optimized, and the search efficiency of the KD tree search for tunnel point cloud data is increased. The target point cloud set is constructed as a KD tree, and sampling is performed from the source point cloud set at the same time, which optimizes the search efficiency of the nearest neighbor point during the ICP algorithm registration, thereby speeding up the search speed, improving the registration efficiency, and achieving the goal of quickly splicing the tunnel source point cloud set and the target point cloud set. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 A flowchart of the steps of a method for intelligently collecting tunnel disease data;
[0039] Figure 2 Extraction flow chart for curvature anomaly index;
[0040] Figure 3 It is a flow chart for extracting the occurrence index of the structural surface;
[0041] Figure 4 This is a schematic diagram of the occurrence of the structural surface;
[0042] Figure 5 It is the flow chart for extracting the structural surface membership;
[0043] Figure 6 Schematic diagram of the point cloud matching process. DETAILED DESCRIPTION
[0044] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a tunnel disease data intelligent collection method and system proposed in accordance with the present application, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0045] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0046] The specific scheme of a method and system for intelligently collecting tunnel disease data provided by the present application is described in detail below with reference to the accompanying drawings.
[0047] See also Figure 1 , which shows a flowchart of a method for intelligently collecting tunnel disease data provided by an embodiment of the present application, the method comprising the following steps:
[0048] Step S001: Combine high-precision inertial navigation and a mobile three-dimensional laser scanning system to scan the tunnel to be inspected, and pre-process the point cloud data obtained by the scan.
[0049] A 3D laser scanner is installed on the inspection vehicle. Since the tunnel is long, a one-time scan may result in data loss, so N monitoring stations are set up in the tunnel to be inspected. A high-precision inertial navigation system is used to record the position of the inspection vehicle. The inspection vehicle starts from the first station and gradually moves in the tunnel to ensure that all areas are scanned. When the inspection vehicle arrives at the next station, it uploads the data and walks back a distance before starting the scan again. This is done to obtain more complete data and retain a certain overlapping area between the two monitoring stations. After the scan is completed, the tunnel point cloud data of N monitoring stations is obtained. A filtering algorithm is used to smooth the N point cloud data obtained and remove noise.
[0050] It should be noted that the value of monitoring station N is manually set. As an embodiment of the present application, the value of N in this embodiment is 10. The implementer can set it according to the specific situation, and this embodiment does not impose any special restrictions.
[0051] It should be understood that there are many commonly used filtering algorithms. As an embodiment of the present application, the Gaussian filtering algorithm is used in the present embodiment to denoise the collected point cloud data. Under the premise of ensuring the purpose of denoising the data, the implementer may also use other filtering algorithms in the prior art, and this embodiment does not impose any special restrictions. Among them, Gaussian filtering is a well-known technology, and its denoising process will not be described in detail.
[0052] At this point, N preprocessed point cloud data are obtained.
[0053] Step S002: constructing the curvature variation index of each point according to the difference between each point and each point within its influence range.
[0054] To study tunnel defects, we must first determine the characteristics of the structural surface. The structural surface refers to the general term for various geological interfaces that cut the rock mass. It is a two-dimensional geological interface with a certain direction, wide extension and thinness. The structural surface includes layers, sedimentary discontinuities, joints, fissures, cracks, faults, and thin weak interlayers. Rock masses with structural surfaces often have tunnel defects. By analyzing these point cloud data, some information about the internal structural surface of the rock mass can be inferred. This application uses the PCL point cloud library to process the point cloud data.
[0055] In point cloud processing, curvature is an important geometric property that indicates the density of the point cloud at that point and the relative directions between adjacent points. It can be used to describe the degree of change in the direction of a curve or surface near a certain point, and provide information about the local shape of the point cloud. Changes in curvature can indicate surface features of an object, such as grooves, protrusions, edges, etc. Therefore, calculating the curvature of a point cloud is of great significance for point cloud analysis and processing. For the point cloud data of a tunnel, high curvature indicates that the point cloud is highly dense or has large changes in direction, while low curvature indicates that the point cloud is sparsely distributed or has small changes in direction.
[0056] In the point cloud data of each monitoring station, the points whose Euclidean distance from each point is less than the preset value are selected to form the influence range of each point, and the curvature of each point is calculated. According to the difference between each point and the points in its influence range, the curvature variation index of each point is calculated. The specific process is as follows:
[0057] The difference between the maximum curvature and the minimum curvature of the points within the influence range of each point is recorded as the curvature variation factor of each point, and the curvature variation index of each point is negatively correlated with the curvature variation factor; further, the average value of the difference between the curvature of each point and all the points within its influence range is calculated, which is recorded as the mean curvature variation of each point, and the difference between the mean curvature variation of each point and the minimum curvature of the points within its influence range is calculated, which is recorded as the curvature variation coefficient of each point, and the curvature variation index of each point is positively correlated with the curvature variation coefficient.
[0058] It should be noted that there are many methods for calculating the difference between the curvature of each point and all the points within its influence range. As an embodiment of the present application, in this embodiment, the absolute value of the difference between the curvature of each point and all the points within its influence range is taken to measure the difference between the curvature of each point and the points within its influence range; similarly, the absolute value of the difference between the mean curvature variation of each point and the minimum curvature of the points within its influence range is taken to measure the difference between the mean curvature variation and the minimum curvature. The implementer may also adopt other methods, and this embodiment does not impose any special restrictions.
[0059] It should be understood that a positive correlation indicates that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship may be an additive relationship or a multiplicative relationship, etc., which is determined by the actual application and the present application does not impose any special restrictions. A negative correlation indicates that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It may be a subtractive relationship or a division relationship, etc., which is determined by the actual application.
[0060] Preferably, as an embodiment of the present application, the curvature variation index of each point is the ratio of each curvature variation coefficient to the curvature change factor.
[0061] In the point cloud data of each monitoring station, for each point, the curvature variation index reflects the difference in curvature between each point and other points in its neighborhood. This difference reflects the local curvature change of the point cloud data. The larger the value of the curvature variation index, the greater the curvature change in the local area where the point is located, and the more drastic the local geometric change. Furthermore, since points on the structural surface usually have higher curvature changes, the larger the value of the curvature variation index, the more likely the point is on the structural surface, and vice versa, the probability that the point is located on the structural surface is small.
[0062] Preferably, as an embodiment of the present application, the curvature variation index extraction flow chart is as follows: Figure 2 shown.
[0063] Step S003: construct the normal vector variation index of each point according to the direction difference between the normal vectors of each point and the points within its influence range; construct the structural surface feature index of each point according to the curvature variation index and the normal vector variation index of each point.
[0064] From the spatial transformation, we know that the normal vector angle and curvature of each point in the point cloud will not change with the movement of the object, and it has the invariance of rigid body motion. Therefore, calculating the point cloud normal vector plays an important role in estimating the structural surface. The calculation of the point cloud normal vector requires the information support of other points in its neighborhood, and is calculated based on the influence range of each point mentioned above.
[0065] In the point cloud data of each monitoring station, the point pair vectors from each point to all points within its influence range are calculated, and the curvature variation index is used as the weight to weight the point pair vectors of each point and all points within its influence range. The covariance matrix is constructed based on the weighted results, which can capture the geometric information of the local neighborhood of the point cloud. The matrix is subjected to eigenvalue decomposition to obtain eigenvalues and eigenvectors. The eigenvector corresponding to the smallest eigenvalue points to the direction with the smallest curvature change, which is usually the direction of the normal vector of the point cloud surface.
[0066] According to the direction difference between the normal vectors of each point and the points within its influence range, the normal vector variation index of each point is calculated. The specific process is:
[0067] Calculate the average of the angles between each point and the normal vectors of all points within its influence range, normalize the average, and record the normalized result as the normal vector mutation index of each point. When the normal vector mutation index of each point is 0, it means that the normal vector direction of each point and all points within its influence range completely coincide; when the normal vector mutation index of each point is 1, it means that the normal vector direction of each point and all points within its influence range are completely inconsistent.
[0068] Specifically, the curvature variation index describes the concave-convex nature of the local surface of the point cloud. By considering the curvature information, the response of the point cloud processing system to local geometric features can be enhanced. Using curvature weighting in places where the curvature changes significantly can improve the accuracy of normal vector direction estimation. Furthermore, the consistency of the normal vector direction of each point and all points in its influence range is used to evaluate whether the point is on the structural surface, because the normal vector direction of the points on the structural surface changes greatly, while the normal vector of the points on the non-structural surface changes less and their directions tend to be consistent. Therefore, the larger the value of the normal vector variation index, the more likely it is that the point is on the structural surface, otherwise the point is less likely to be on the structural surface.
[0069] Furthermore, in order to measure the roughness of each point and its influence range, the structural surface characteristic index of each point is calculated. Specifically, the structural surface characteristic index of each point is the forward fusion result of the curvature variation index and the normal vector variation index of each point.
[0070] It should be understood that forward fusion refers to combining two or more indicators by adding or multiplying them together in order to obtain a comprehensive indicator, thereby more comprehensively and accurately evaluating a phenomenon or problem. This fusion method is not limited to simple arithmetic operations, but can also include more complex statistical models and analysis methods. The implementer can choose according to the specific situation, and this embodiment does not impose any special restrictions.
[0071] Preferably, as an embodiment of the present application, the structural surface characteristic index of each point is the product of the curvature variation index and the normal vector variation index of each point.
[0072] Preferably, as another embodiment of the present application, the structural surface characteristic index of each point is an exponential function value with a natural constant as the base and the sum of the curvature variation index and the normal vector variation index of each point as the independent variable.
[0073] For point cloud data on structural surfaces, the roughness is greater than that on non-structural surfaces, because structural surfaces may contain a variety of rock mass variations, which are richer in features than normal rock features. The larger the value of the structural surface characteristic index, the rougher the area where the point is located, the richer the features, and the more likely it is to be located on the structural surface; on the contrary, the probability of being located on the structural surface is smaller.
[0074] Step S004: construct the structural surface occurrence index of each point, and construct the structural surface membership of each point according to the structural surface characteristic index and the structural surface occurrence index of each point.
[0075] The occurrence of a structural surface refers to the spatial position and direction of the structural surface. The occurrence of a structural surface is usually described by dip, inclination and pitch. The dip is the angle between the structural surface and the horizontal plane, indicating the degree of inclination of the structural surface relative to the horizontal plane, and is determined by the angle between the normal vector of each point and the gravity vector (or vertical vector); the dip is the direction of the inclination of the structural surface, that is, from the observer's perspective, the direction in which the structural surface dips downward, which is determined by the direction of the projection of the normal vector of the point on the horizontal plane; the pitch is the direction of the projection of the line perpendicular to the inclination line of the structural surface on the horizontal plane, which is determined by the dip and inclination. The normal vector of each point in the point cloud analyzed above is used to evaluate the occurrence of the structural surface where the point is located.
[0076] It should be noted that the gravity vector refers to the vertical direction in the earth's gravity field. The calculation process of the inclination and dip belongs to the well-known technology, and the specific process will not be repeated here.
[0077] According to the difference in inclination and dip between each point and the points within its influence range, the structural surface occurrence index of each point is calculated. The specific process is as follows:
[0078] In the point cloud data of each monitoring point, the average value of the inclination of each point and all points within its influence range is calculated, which is recorded as the inclination occurrence mean value of each point; the difference between the inclination of each point and the inclination occurrence mean value is calculated, which is recorded as the inclination occurrence difference coefficient of each point, and the structural surface occurrence index of each point is positively correlated with the inclination occurrence difference coefficient;
[0079] Furthermore, the average value of the inclination of each point and all points within its influence range is calculated, which is recorded as the mean inclination occurrence value of each point; the difference between the inclination of each point and the mean inclination occurrence value is calculated, which is recorded as the inclination occurrence difference coefficient of each point, and the structural surface occurrence index of each point is positively correlated with the inclination occurrence difference coefficient.
[0080] Preferably, as an embodiment of the present application, the structural surface occurrence index extraction flow chart is as follows: Figure 3 shown.
[0081] It should be noted that, as an embodiment of the present application, in this embodiment, the absolute value of the difference between the inclination of each point and the mean of the inclination-origin is used as the inclination-origin difference coefficient of each point. Similarly, the absolute value of the difference between the inclination of each point and the mean of the inclination-origin is used as the inclination-origin difference coefficient of each point. The implementer may use other methods to calculate the difference between the inclination and the mean of the inclination, as well as the difference between the inclination and the mean of the inclination, and this embodiment does not impose any special restrictions.
[0082] It should be understood that a positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be an additive relationship or a multiplicative relationship, etc., which is determined by actual application and is not specifically limited in this application.
[0083] Preferably, as an embodiment of the present application, the structural surface occurrence index of each point is the sum of the dip occurrence difference coefficient and the dip occurrence difference coefficient of each point.
[0084] The structural surface occurrence index characterizes the difference in dip and inclination between each point and other points within its influence range. For a structural surface, the dip and inclination of the points on it are less different from those of the structural surface. Specifically, the larger the value of the structural surface occurrence index of each point, the greater the difference in dip and inclination between the point and other points within its influence range, indicating that the probability that the point is not on the structural surface is greater or that the point and the points within its influence range cannot form a structural surface. On the contrary, the point is more likely to be on the structural surface.
[0085] In the point cloud data of each monitoring point, in order to determine whether a point is located on the structural surface, the structural surface characteristic index of each point and its structural surface occurrence index are combined to construct the structural surface membership of each point. Specifically, the structural surface membership of each point is positively correlated with the structural surface characteristic index of each point, and negatively correlated with the structural surface occurrence index of each point.
[0086] It should be understood that a positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship may be an additive relationship or a multiplicative relationship, etc., which is determined by the actual application and this application does not impose any special restrictions. A negative correlation means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It may be a subtractive relationship or a division relationship, etc., which is determined by the actual application.
[0087] Preferably, as an embodiment of the present application, the structural surface membership of each point is the ratio of the normalized result of the structural surface characteristic index of each point to the normalized result of its structural surface occurrence index.
[0088] Preferably, as an embodiment of the present application, the schematic diagram of the occurrence of the structural surface is as follows Figure 4 shown.
[0089] Preferably, as an embodiment of the present application, the structural surface membership extraction flow chart is as follows: Figure 5 shown.
[0090] Step S005: In the point cloud data of each monitoring station, the points to be registered in the source point cloud set and the segmentation points and segmentation axes in the target point cloud set are obtained according to the structural plane membership of each point, and a KD tree of the target point cloud set is constructed.
[0091] In order to achieve accurate registration of point clouds, we first roughly register the two continuously scanned point clouds. We can use a method based on local feature description to obtain a rough point cloud registration matrix through rough registration. On this basis, we use the iterative closest point algorithm (ICP) for fine registration to obtain a more accurate registration result. The point clouds in the order of the first point cloud scanned by the two consecutive monitoring stations are recorded as the source point cloud set, and the point clouds in the order of the last point cloud are recorded as the target point cloud set.
[0092] It should be noted that there are many commonly used local feature description algorithms. As an embodiment of the present application, this embodiment uses a fast point feature histogram to describe point cloud features. The implementer can choose according to the specific situation, and this embodiment does not impose any special restrictions.
[0093] When using the ICP algorithm to accurately align two point clouds, the algorithm needs to perform a cyclic search for each point in the target point cloud set during the iteration process to find the nearest neighbor point of the corresponding point in the source point cloud set. Therefore, the amount of calculation and the overhead are relatively large. The target point cloud set can be constructed as a KD tree and sampled from the source point cloud set for matching, so as to quickly splice the point cloud data and accurately align the target.
[0094] The structural surface membership of each point is used as the weight of each point, and the points with the highest sampling weight and the preset ratio are used as the points to be registered. Furthermore, the target point cloud set is constructed as a KD tree. The key to constructing a KD tree is the selection of segmentation axes and segmentation points. The characteristics of the structural surface are analyzed as above to select segmentation axes and segmentation points.
[0095] It should be noted that the value of the preset ratio is artificially determined. In this embodiment, the value of the preset ratio is 10%. The implementer can set it according to the specific situation, and this embodiment does not impose any special restrictions.
[0096] The structural surface membership of each point in the target point cloud set is applied to the clustering algorithm, and the points in the target point cloud set are clustered. The clustering results are divided into two categories: one is a cluster composed of points that do not belong to the structural surface, and the other is another cluster composed of points that belong to the structural surface; however, due to the different characteristics of the structural surfaces, the points on different structural surfaces form different clusters. Principal component analysis is performed on all clusters, and the output is a set of principal components with different variances. The cluster center of the principal component with the largest variance is used as the segmentation point of the KD tree, and the line between the point closest to the segmentation point and the segmentation point is used as the segmentation axis of the KD tree, thereby constructing the target point cloud set into a KD tree.
[0097] It should be noted that there are many commonly used clustering algorithms. As an embodiment of the present application, the spectral clustering algorithm is used in this embodiment to cluster the points in the target point cloud set. The implementer may also use other clustering algorithms, and this embodiment does not impose any special restrictions.
[0098] Among them, spectral clustering, principal component analysis and the construction of KD tree are well-known technologies, and the specific process will not be repeated here.
[0099] Step S006: Execute the ICP algorithm to register and stitch the source point cloud set and the target point cloud set.
[0100] The registration matrix obtained by the rough registration in step S005 is used as the initial transformation parameter of ICP. For each point in the source point cloud set to be registered, the corresponding nearest neighbor point is quickly found in the KD tree of the target point cloud set. After iteration, when the convergence condition is met, the algorithm terminates. Among them, the ICP algorithm belongs to the well-known technology, and the specific steps are not repeated here.
[0101] Preferably, as an embodiment of the present application, the schematic diagram of the point cloud matching process is as follows: Figure 6 shown.
[0102] At this point, a new point cloud is obtained after registering the source point cloud set and the target point cloud set, achieving the goal of rapid point cloud splicing, thereby completing the tunnel disease data collection.
[0103] Based on the same inventive concept as the above method, an embodiment of the present application also provides a tunnel disease data intelligent collection system, including a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the steps of any one of the above-mentioned tunnel disease data intelligent collection methods are implemented.
[0104] It should be noted that the above sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0105] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0106] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for intelligently collecting tunnel disease data. It is characterized in that The method comprises the following steps: Collect point cloud data at each monitoring station in the tunnel; In the point cloud data of each monitoring station, the influence range of each point is obtained according to the distribution of each point and its surrounding points; the curvature variation index of each point is constructed according to the difference between each point and the points in its influence range; Construct a covariance matrix based on the directional relationship between each point and all points within its influence range and the curvature variation index, and decompose the covariance matrix to obtain the normal vector of each point; The normal vector variation index of each point is constructed based on the directional difference between the normal vectors of each point and the points within its influence range; the structural surface characteristic index of each point is constructed based on the curvature variation index and normal vector variation index of each point; the inclination and dip of each point are obtained based on the normal vector of each point, and the structural surface occurrence index of each point is constructed; The structural surface membership of each point is constructed according to the structural surface characteristic index and structural surface occurrence index of each point; In the point cloud data of each monitoring station, the points to be registered in the source point cloud set and the segmentation points and segmentation axes in the target point cloud set are obtained according to the structural surface membership of each point. The point cloud is quickly spliced in combination with the iterative nearest point algorithm to collect tunnel disease data. The construction process of the curvature variation index of each point is: In the point cloud data of each monitoring station, the curvature of each point is calculated, and the difference between the maximum curvature and the minimum curvature within the influence range of each point is recorded as the curvature change factor of each point; Calculate the average value of the difference between the curvature of each point and all the points within its influence range, and record it as the mean value of the curvature variation of each point; calculate the difference between the mean value of the curvature variation of each point and the minimum curvature within its influence range, and record it as the curvature variation coefficient of each point; The curvature variation index of each point is positively correlated with the curvature variation coefficient and negatively correlated with the curvature change factor.
2. A method for intelligently collecting tunnel disease data according to claim 1, It is characterized in that The process of obtaining the influence range of each point is as follows: In the point cloud data of each monitoring station, the points whose distance to each point is less than a preset value constitute the influence range of each point.
3. A method for intelligently collecting tunnel disease data according to claim 1, It is characterized in that The constructing of the covariance matrix includes: In the point cloud data of each monitoring station, the point pair vectors from each point to all points within its influence range are calculated; the curvature variation index is used as the weight of each point, and all the point pair vectors within the influence range of each point are weighted summed up, and the weighted summation results constitute the covariance matrix of each point.
4. The method for intelligently collecting tunnel disease data according to claim 1, It is characterized in that The construction process of the normal vector variation index of each point is: The average value of the angles between the normal vector of each point and the normal vectors of all points within its influence range is calculated, and the normal vector variation index of each point is the normalized result of the average value.
5. The method for intelligently collecting tunnel disease data according to claim 1, It is characterized in that The structural surface characteristic index of each point is a forward fusion result of the curvature variation index and the normal vector variation index of each point.
6. The method for intelligently collecting tunnel disease data according to claim 1, It is characterized in that The normal vector of each point obtains the inclination and dip angle of each point, and constructs the structural surface occurrence index of each point, including: In the point cloud data of each monitoring station, the angle between the normal vector of each point and the gravity vector determines the inclination of each point; the projection direction of the normal vector of each point on the horizontal plane is recorded as the inclination of each point; Analyze the average value of the dip angle of each point and all points within its influence range, and record it as the dip angle occurrence mean value of each point; analyze the difference between the dip angle of each point and the dip angle occurrence mean value, and record it as the dip angle occurrence difference coefficient of each point; Accordingly, for the inclination of each point, the inclination occurrence difference coefficient of each point is obtained; The dip angle occurrence difference coefficient and the dip orientation difference coefficient are both positively correlated with the structural surface occurrence index of each point.
7. The method for intelligently collecting tunnel disease data according to claim 1, It is characterized in that The structural surface membership of each point is positively correlated with the structural surface characteristic index of each point, and negatively correlated with the structural surface occurrence index.
8. The method for intelligently collecting tunnel disease data according to claim 1, It is characterized in that The method of obtaining the points to be registered in the source point cloud set and the segmentation points and segmentation axes in the target point cloud set, and combining the iterative closest point algorithm to realize the rapid splicing of point clouds to collect tunnel disease data includes: The structural surface membership of each point is used as the weight of each point; the point cloud set scanned by two consecutive monitoring stations is recorded as the source point cloud set in the first order, and the point cloud set scanned by the latter order is recorded as the target point cloud set; In the source point cloud set, the points with the highest sampling weight and the preset ratio are used as the points to be registered; According to the structural surface membership of each point, the target point cloud set is divided into multiple clusters in combination with the clustering algorithm; principal component analysis is performed on all clusters to obtain the principal components; the cluster center of the principal component with the largest variance is used as the segmentation point of the KD tree, and the line between the segmentation point and the point closest to it is used as the segmentation axis of the KD tree; Traverse the points to be matched in the source point cloud, query the nearest neighbor points to be matched in the KD tree of the target point cloud set, and splice the point clouds to collect tunnel disease data.
9. A tunnel disease data intelligent collection system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
