Tunnel section geometric model automatic identification system
Through the tunnel section geometric model automatic identification system, B-spline curve fitting and KD-Tree technology are used to solve the problems of low tunnel deformation monitoring accuracy and difficulty in normalized detection in traditional methods, and achieve efficient tunnel deformation detection and early warning.
Patent Information
- Application Number
- CN202310046757.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-31
- Publication Date
- 2024-08-23
AI Technical Summary
Traditional methods rely on manual inspection in tunnel deformation monitoring, which results in fewer data points, low accuracy, and the inability to achieve normalized detection. It is difficult to detect and provide early warning of tunnel diseases in a timely manner, which affects safety.
The tunnel section geometric model automatic identification system is adopted to achieve denoising and automation of tunnel point cloud data through three-dimensional point cloud data preprocessing, B-spline curve fitting, KD-Tree area division, Euclidean distance threshold setting and clustering index calculation. Identify.
It improves the accuracy and efficiency of tunnel deformation detection, achieves accurate identification and optimization of tunnel section geometric models, reduces manual interference, and supports normalized monitoring and early warning of tunnel deformation.
Smart Images

Figure CN118537848A
Abstract
Description
Technical Field
[0001] The present application relates to the field of measurement technology, and in particular to an automatic identification system for a tunnel section geometry model. Background Art
[0002] Tunnels will have different degrees of defects during construction and operation. Cracks, leaks, deformations, etc. will bring severe challenges to tunnel safety. If they are not discovered and warned in time, small defects will become more serious, endangering the safety of trains and even causing unpredictable safety accidents. Tunnel deformation is not a sudden destruction, but more of a gradual evolution during operation over time, and unlike cracks and leaks, it cannot be directly observed. Therefore, real-time monitoring and detection of tunnel deformation is very necessary. Traditional methods rely more on manual inspections, but fewer data points are collected and cannot fully reflect the deformation of the tunnel. In addition, traditional methods have low collection accuracy, and the data collection process is easily affected by the subjective influence of operators. It is time-consuming and labor-intensive to collect data for the entire tunnel, and it is impossible to perform normalized detection of tunnel deformation. Summary of the invention
[0003] In view of this, the purpose of this application is to propose an automatic identification system for a tunnel section geometry model, which can solve the existing problems in a targeted manner.
[0004] Based on the above purpose, this application proposes a tunnel section geometric model automatic recognition system, including:
[0005] Step 1: Preprocessing of 3D point cloud data, including point cloud sorting and point cloud projection, to obtain original point cloud data;
[0006] Step 2: Use the B-spline curve equation to fit the curve model of the tunnel section to obtain fitting point cloud data;
[0007] Step 3: Generate a residual graph between the fitted point cloud data and the original point cloud data;
[0008] Step 4: Use KD-Tree to divide the area and find the nearest neighbor point set of the random point cloud;
[0009] Step 5: Set an optimal Euclidean distance threshold, and extract a point cloud set whose distance is less than the optimal Euclidean distance threshold;
[0010] Step 6: Return the point cloud set to the original point cloud position to obtain a denoised tunnel point cloud;
[0011] Step 7: Compare with the manually marked tunnel point cloud and calculate the denoising effect using clustering indicators;
[0012] Step 8: Run B-spline fitting again on the denoised point cloud to obtain the tunnel section geometry model.
[0013] Furthermore, the specific steps of step 1 include:
[0014] (1) Sorting of unordered point cloud data, based on the X coordinate, in ascending order of data value;
[0015] (2) Project the 3D point cloud onto the 2D ZX surface. The projection formula is:
[0016] The three-dimensional point (a x , a y , a z ) is projected onto a two-dimensional plane to obtain a two-dimensional point (b x , b y ), where the vector (s x ,s y ) is an arbitrary scaling factor, (c x , c y ) is an arbitrary offset, (d x , d y ) is a temporary vector.
[0017] Furthermore, the specific steps of step 2 include:
[0018] The B-spline curve equation is:
[0019]
[0020] U={0,…,0,u p+1 ,…,u m-p-1 , 1,…, 1},u∈(0,1) (2)
[0021]
[0022]
[0023] In formula (1), C(u) is the mathematical expression of the B-spline curve, which represents the control point P i and basis function N i,p (u), where the number of control points is n+1; in formula (2), U is a node vector, representing a set of m+1 non-decreasing nodes u, the number of nodes is m+1, satisfying m=n+p+1; in formula (3), N i,p (u) represents the mathematical expression of the ith p-th B-spline basis function; in formula (4), when p = 0, the basis function is a step function, which means that in the node interval [u i u i+1 ) takes 1, and takes 0 otherwise.
[0024] Furthermore, the specific steps of step 4 include:
[0025] (1) Create a KD-Tree, select the dimension with the largest variance in the two-dimensional point cloud data set of the residual graph, take the median point A of the dimension as the root node, divide the data set into a left subtree and a right subtree, and repeat the above process until the leaf node cannot be reached;
[0026] (2) Query the nearest neighbor point. Randomly select a point cloud P and compare it from the root node of the KD-Tree to the leaf nodes on the path. Let P(k) be the coordinate of the point cloud P and A(k) be the coordinate of A. In the same dimension, if P(k) is less than A(k), visit the left area, otherwise visit the right area, until the search path is empty, completing the nearest neighbor query process.
[0027] Furthermore, the specific steps of step 5 include:
[0028] The first search is completed by constructing a KD-Tree to traverse the random point cloud P and find multiple nearest neighbor points; the second search is completed by clustering the nearest neighbor points whose distance is less than the optimal Euclidean distance threshold into the point cloud set.
[0029] Furthermore, in step 6, the point cloud set is returned to the original point cloud position according to the row vector consistency principle to obtain the denoised tunnel point cloud.
[0030] Furthermore, the specific steps of step 7 include:
[0031] The clustering indicators include precision, recall, Rand coefficient, and F1 score;
[0032] Generates the following confusion matrix:
[0033]
[0034] Among them, TP represents the number of labeled point clouds in set Q; FP represents the number of unlabeled point clouds in set Q; FN represents the number of labeled point clouds not in set Q; TN represents the number of unlabeled point clouds not in set Q.
[0035] Furthermore, the calculation formulas for the precision, recall, Rand coefficient, and F1 score are as follows:
[0036]
[0037] Among them, Precision is the precision, Recall is the recall, RI is the Rand coefficient, and F1 is the F1 score.
[0038] Furthermore, the specific steps of step 8 include:
[0039] (1) Taking the F1 score as a reference, if it is within the interval of (0.9, 1), the denoised point cloud is run through B-spline fitting again to obtain the tunnel section geometry model;
[0040] (2) Taking the F1 score as a reference, if it is in the interval of (0.8, 0.9), repeat steps 2-7 to iteratively obtain the updated tunnel section geometry model.
[0041] In general, the advantages of this application and the experience it brings to users are:
[0042] (1) The present application provides a tunnel section geometry model automatic recognition system, which is based on the B-spline free curve and Euclidean clustering method for processing tunnel point cloud data, and constructs an automated algorithm for tunnel point cloud model recognition, denoising, and optimization.
[0043] (2) The tunnel section geometry model automatic recognition system provided in this application accelerates the retrieval speed of tunnel point cloud and improves the denoising efficiency through the construction of KD-Tree.
[0044] (3) The automatic recognition system for tunnel section geometry model provided in this application comprehensively calculates the influence of Euclidean distance threshold on point cloud denoising through four indicators: accuracy, recall rate, F score and Rand coefficient, and determines the optimal Euclidean distance threshold for tunnel residual point cloud.
[0045] (4) The present application provides a tunnel cross-section geometric model automatic identification system, which analyzes the tunnel fitting profile and observes the impact of common and uncommon interferences on the trend of the B-spline curve.
[0046] (5) The present application provides a tunnel section geometry model automatic recognition system, which analyzes the denoised profile and compares the algorithm automatic denoising results with the manual denoising results from both qualitative and quantitative dimensions.
[0047] (6) The automatic identification system of tunnel section geometry model provided in the present application compares the results of two B-spline fittings. The optimized tunnel curve is accurate, high-precision and robust. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0049] Figure 1 This is a schematic diagram of a tunnel section geometry model automatic recognition system described in this application.
[0050] Figure 2 Create a schematic diagram for KD-Tree.
[0051] Figure 3 Schematic diagram of querying the nearest neighbor point.
[0052] Figure 4 Flowchart for querying nearest neighbors for Euclidean clustering and KD-Tree.
[0053] Figure 5 Graph of optimal distance threshold selection for Euclidean clustering.
[0054] Figure 6 This is a display diagram of the results of the automatic identification system of the tunnel section geometry model.
[0055] Figure 7 A schematic structural diagram of an electronic device provided in one embodiment of the present application is shown.
[0056] Figure 8 A schematic diagram of a storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0057] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0058] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0059] There is great potential in applying visual perception technology to tunnel monitoring projects. Through technologies such as laser scanning and photogrammetry, high-precision geometric model reconstruction of tunnels can be effectively achieved, and information reference can be provided for subsequent tunnel deformation detection. This application proposes a new workflow for automatically identifying tunnel section geometric curve models, quickly separating common interference targets, and optimizing curve geometric features. The innovation of this application lies in combining the B-spline tunnel model construction method with the Euclidean clustering denoising method, comprehensively calculating the denoising results from the accuracy, recall rate, F score, and Rand coefficient, and refitting the automatically extracted healthy point cloud data to achieve the purpose of optimizing the tunnel curve.
[0060] The present application provides a tunnel section geometric model automatic recognition system, the structural principle diagram is as follows Figure 1 As shown, the following steps are included:
[0061] Step 1: preprocessing the three-dimensional point cloud data, including point cloud sorting and point cloud projection, to obtain point cloud data A(u), and the specific steps of the above step 1 include:
[0062] (1) Sorting of unordered point cloud data: based on the X coordinate, sorting is done in ascending order of data value.
[0063] (2) Project the 3D point cloud onto the 2D ZX surface. The projection formula is: The three-dimensional point (a) is projected using an orthogonal projection parallel to the y-axis (side view) x , a y , a z ) is projected onto a two-dimensional plane to obtain a two-dimensional point (b x , b y ), where the vector (s x ,s y ) is an arbitrary scaling factor, (c x , c y ) is an arbitrary offset. These constants can be freely chosen and are used to adjust the viewport to a suitable position. To make the calculation clear, a temporary vector (d x , d y ), projecting the two-dimensional point cloud (b x , b y ) into the set A(u).
[0064] Step 2: Use the B-spline curve equation to fit the curve model of the tunnel section to obtain the fitting point cloud data C(u), and the specific steps of the above step 2 include:
[0065] (1) The B-spline function can be used to describe the curve trend. Because the characteristic polygon it approximates is highly accurate and can be modified locally, the B-spline curve reconstruction can inversely determine the geometric characteristics of the tunnel section.
[0066] (2) In formula (1), C(u) is the mathematical expression of the B-spline curve, which represents the control point P i and basis function N i,p (u), in which the number of control points is n+1. In formula (2), U is a node vector, which represents a set of m+1 non-decreasing nodes u, and the number of nodes is m+1, which must satisfy m=n+p+1. In formula (3), N i,p (u) represents the mathematical expression of the ith p-th B-spline basis function; in formula (4), when p = 0, the basis function is a step function, which means that in the node interval [u i u i+1 ) takes 1, and takes 0 otherwise.
[0067]
[0068] U={0,…,0,u p+1 ,…,u m-p-1, 1,…, 1},u∈(0,1) (2)
[0069]
[0070]
[0071] Step 3: Generate a residual map D(u) between the fitting point cloud and the original point cloud. The specific steps of step 3 include: Generate a residual map formula (5) between the fitting point cloud and the original point cloud: D(u) = C(u) - A(u) (5)
[0072] Step 4: Apply KD-Tree to divide the region to speed up the search for the nearest neighbor point set of the random point cloud. The specific steps of the above step 4 include:
[0073] (1) Create a KD-Tree, select the dimension with the largest variance in the two-dimensional point cloud data set of the residual graph, take the median point A of the dimension as the root node, divide the data set into a left subtree and a right subtree, repeat the above process, the left subtree branches into node B, node B branches into nodes D and nodes E, the right subtree branches into node C, node C branches into node F and child node G, until the leaf node cannot be reached. Figure 2 shown.
[0074] (2) Query the nearest neighbor point, randomly select point cloud P, and compare from the root node A of the KD-Tree to the leaf nodes on the path, where P(k) is the coordinate of point cloud P and A(k) is the coordinate of A. In the same dimension, if P(k) is less than A(k), then visit the left area; otherwise, visit the right area, such as Figure 3 As shown in the left figure, assume that G is a leaf node. In this case, G is the nearest neighbor of P, and the distance L between G and P is the current minimum distance. Backtrack the KD-tree nodes from bottom to top to check whether there are other nearest neighbors. Draw a circle with distance L as the radius. Figure 3 In the left figure, the circle has no other nodes, so G is the final nearest neighbor. Figure 3 In the right figure, the distance between point C and point P in the circle is smaller than L, so point C should be included in the nearest neighbor point. Until the search path is empty, the entire nearest neighbor point query process based on the KD-Tree structure is completed. Figure 3 shown.
[0075] Step 5: Set the optimal Euclidean distance threshold, extract the point cloud set Q less than the distance threshold, and the specific steps of the above step 5 include:
[0076] (1) 2D point cloud data is simple and easy to cluster. This application uses Euclidean clustering to cluster residual point clouds, automatically separating point clouds with large residuals to achieve the effect of removing interference from tunnel contours. The Euclidean clustering algorithm using Euclidean distance as the judgment criterion can achieve faster operating efficiency.
[0077]
[0078] Where Dict ed Represents the distance between two point clouds, and x1, x2, y1, y2 represent the x-coordinates and y-coordinates of the two point clouds.
[0079] (2) Clustering process: construct a KD-Tree to traverse the random point cloud P and quickly find the k nearest neighbor points to complete the first search. Cluster the nearest neighbor points whose distance is less than the optimal Euclidean distance threshold into the point cloud set to complete the second search. In this way, we get the target point cloud set and the points outside the set are interference points. In order to verify whether the set Q contains all the target point clouds, we continue to randomly select the point cloud in the set Q except the point P and repeat the above process. The entire clustering process ends until the number of elements in the set Q no longer changes. The elements in the set Q are the points in the residual graph. The points in the set Q are restored to the original point cloud according to the positional relationship to obtain the denoised healthy point cloud set. Figure 4 shown.
[0080] (3) Setting the optimal Euclidean distance threshold. In Euclidean clustering, the Euclidean distance is the most important parameter. The choice of its threshold is directly related to the quality of clustering effect. In this application, the distance threshold is gradually increased from 0.005m to 0.040m with a step length of 0.005m. The changes in clustering effect are observed from the line graphs of the four external indicators, hoping to obtain the optimal distance threshold. Figure 5 shown.
[0081] Step 6: Return the extracted point cloud set Q less than the threshold to the original point cloud position to obtain the denoised tunnel point cloud. In addition, the above step 6 includes: returning the extracted point cloud set Q less than the threshold to the position in the original point cloud A(u) according to the row vector consistency principle to obtain the denoised tunnel point cloud.
[0082] Step 7: Compare with the manually marked tunnel point cloud and calculate the denoising effect with the clustering index, and the above step 7 includes:
[0083] (1) The calculation indicators are precision, recall, Rand coefficient, and F1 score. The manually labeled point cloud is used as the real label for verification, and the effect of Euclidean clustering is fully calculated. The confusion matrix shown in Table 1 is generated, where TP represents the number of labeled point clouds in set Q; FP represents the number of unlabeled point clouds in set Q; FN represents the number of labeled point clouds not in set Q. TN represents the number of unlabeled point clouds not in set Q.
[0084] Table 1
[0085]
[0086] (2) The formulas for precision, recall, Rand rate, and F1 score are as follows:
[0087]
[0088]
[0089] Step 8: If the result is excellent, run B-spline fitting again on the denoised point cloud, and the result is the optimized tunnel section geometry model. If the result is poor, repeat steps 2-7. The above step 8 includes:
[0090] (1) Taking the F1 score as a reference, in the range of (0.9, 1), the algorithm's automatic denoising results are very consistent with the manual denoising results. The result is excellent. The denoised point cloud is run through B-spline fitting again, and the result is the optimized tunnel section geometry model.
[0091] (2) Taking the F1 score as a reference, the point cloud data acquired by the laser scanner may be missing in the range of (0.8, 0.9). Repeat steps 2-7 and iterate to get better results.
[0092] (3) Taking the F1 score as a reference, when it is lower than 0.8 or other indicators are too low, the point cloud data collected by the laser scanner is interfered by large, dense and uncommon accidental factors.
[0093] The results of the automatic identification system for tunnel section geometry are shown in the figure below. Figure 6 shown.
[0094] The embodiment of the present application also provides an electronic device corresponding to the automatic identification system of the tunnel section geometry model provided in the above embodiment, so as to execute the automatic identification system of the tunnel section geometry model. The embodiment of the present application is not limited.
[0095] Please refer to Figure 7 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 7As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected via the bus 202; the memory 201 stores a computer program that can be run on the processor 200, and when the processor 200 runs the computer program, the automatic identification system for the geometric model of a tunnel section provided in any of the aforementioned embodiments of the present application is executed.
[0096] The memory 201 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0097] The bus 202 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs, and the processor 200 executes the programs after receiving execution instructions. The automatic identification system for the geometric model of a tunnel section disclosed in any implementation of the embodiment of the present application may be applied to the processor 200, or implemented by the processor 200.
[0098] The processor 200 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 200. The above processor 200 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. 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 201, and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.
[0099] The electronic device provided in the embodiment of the present application and the tunnel section geometry model automatic identification system provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
[0100] The present application also provides a computer-readable storage medium corresponding to the tunnel section geometric model automatic recognition system provided in the above embodiment. Figure 8 The computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the automatic identification system for the geometric model of a tunnel section provided by any of the aforementioned embodiments will be executed.
[0101] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0102] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the automatic identification system for the tunnel section geometry model provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0103] It should be noted that:
[0104] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems may also be used together with the teachings based thereon. It is apparent from the above description that the structure required for constructing such systems is not intended for any particular programming language. In addition, the present application is not intended for any particular programming language either. It should be understood that the content of the present application described herein may be implemented using various programming languages, and the description of the particular language above is intended to disclose the best mode of implementation of the present application.
[0105] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0106] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0107] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0108] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0109] The various component embodiments of the present application can be implemented in hardware, or implemented in software modules running on one or more processors, or implemented in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the creation system of the virtual machine according to the embodiment of the present application. The application can also be implemented as a device or system program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0110] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of appropriately programmed computers. In a unit claim that lists several systems, several of these systems may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
[0111] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An automatic identification system for tunnel section geometry model, It is characterized in that The following steps are involved: Step 1: Preprocessing of 3D point cloud data, including point cloud sorting and point cloud projection, to obtain original point cloud data; Step 2: Use the B-spline curve equation to fit the curve model of the tunnel section to obtain fitting point cloud data; Step 3: Generate a residual graph between the fitted point cloud data and the original point cloud data; Step 4: Use KD-Tree to divide the area of the residual graph and find the nearest neighbor point set of the random point cloud; Step 5: Set an optimal Euclidean distance threshold, and extract a point cloud set whose distance is less than the optimal Euclidean distance threshold; Step 6: Return the point cloud set to the original point cloud position to obtain a denoised tunnel point cloud; Step 7: Compare with the manually marked tunnel point cloud and calculate the denoising effect using clustering indicators; Step 8: Run B-spline fitting again on the denoised tunnel point cloud to obtain the tunnel section geometry model.
2. The automatic identification system for tunnel section geometry model according to claim 1, Features: The specific steps of step 1 include: (1) Sorting of unordered point cloud data, based on the X coordinate, in ascending order of data value; (2) Project the 3D point cloud onto the 2D ZX surface. The projection formula is: The three-dimensional point (a x , a y , a z ) is projected onto a two-dimensional plane to obtain a two-dimensional point (b x , b y ), where the vector (s x ,s y ) is an arbitrary scaling factor, (c x , c y ) is an arbitrary offset, (d x , d y ) is a temporary vector.
3. The automatic identification system for tunnel section geometry model according to claim 2, Features: The B-spline curve equation is: U={0,…,0,u p+1 ,…,in m-p-1 ,1,…,1},u∈(0,1) (2) In formula (1), C(u) is the mathematical expression of the B-spline curve, which represents the control point P i and basis function N i,p (u), where the number of control points is n+1; in formula (2), U is a node vector, representing a set of m+1 non-decreasing nodes u, the number of nodes is m+1, satisfying m=n+p+1; in formula (3), N i,p (u) represents the mathematical expression of the i-th p-order B-spline basis function; In formula (4), when p = 0, the basis function is a step function, which means that in the node interval [u i u i+1 ) takes 1, otherwise takes 0.
4. The automatic identification system for tunnel section geometry model according to claim 3, Features: The specific steps of step 4 include: (1) Create a KD-Tree, select the dimension with the largest variance in the two-dimensional point cloud data set of the residual graph, take the median point A of the dimension as the root node, divide the data set into a left subtree and a right subtree, and repeat the above process until the leaf node cannot be reached; (2) Query the nearest neighbor point. Select a random point cloud P and compare it from the root node of the KD-Tree to the leaf nodes on the path. Let P(k) be the coordinate of point cloud P and A(k) be the coordinate of A. In the same dimension, if P(k) is less than A(k), visit the left area, otherwise visit the right area, until the search path is empty, completing the nearest neighbor query process.
5. The automatic identification system for tunnel section geometry model according to claim 4, Features: The specific steps of step 5 include: The first search is completed by constructing a KD-Tree to traverse the random point cloud P and find multiple nearest neighbor points; the second search is completed by clustering the nearest neighbor points whose distance is less than the optimal Euclidean distance threshold into the point cloud set.
6. The automatic identification system for tunnel section geometry model according to claim 5, Features: The step 6 returns the point cloud set to the original point cloud position according to the row vector consistency principle to obtain the denoised tunnel point cloud.
7. The automatic identification system for tunnel section geometry model according to claim 6, Features: The specific steps of step 7 include: The clustering indicators include precision, recall, Rand coefficient, and F1 score; Generates the following confusion matrix: Among them, TP represents the number of labeled point clouds in the point cloud set; FP represents the number of unlabeled point clouds in the point cloud set; FN represents the number of labeled point clouds not in the point cloud set; TN represents the number of unlabeled point clouds not in the point cloud set.
8. The automatic identification system for tunnel section geometry model according to claim 7, Features: The calculation formulas for the precision, recall, Rand coefficient, and F1 score are as follows: Among them, Precision is the precision, Recall is the recall, RI is the Rand coefficient, F 1 Score points for F1.
9. The automatic identification system for tunnel section geometry model according to claim 8, Features: The specific steps of step 8 include: (1) Taking the F1 score as a reference, if it is within the interval of (0.9, 1), the denoised point cloud is run through B-spline fitting again to obtain the tunnel section geometry model; (2) Taking the F1 score as a reference, if it is in the interval of (0.8, 0.9), repeat steps 2-7 to iteratively obtain the updated tunnel section geometry model.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that The processor runs the computer program to implement the system according to any one of claims 1 to 9.
Citation Information
Patent Citations
B-spline surface fitting method and device based on dense point cloud
CN112233249A
Tunnel weak surrounding rock deformation identification and numerical simulation method
CN112906265A
Hole filling method based on ordered layering and simplification of scattered point clouds
CN114049471A
