A method and system for fast and automatic splicing of tunnel three-dimensional point clouds

By identifying the polar angle sections of tunnel surrounding rock defects and performing differentiated collection, combined with pre-constructed formulas to calculate sampling parameters, the efficient splicing of tunnel 3D point cloud data is achieved, solving the problems of low point cloud data collection efficiency and slow splicing speed.

CN118396849BActive Publication Date: 2024-09-10VISA TECH (XIAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410832515.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-10
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

In the current automatic splicing process of tunnel 3D point clouds, there are problems such as low point cloud data collection efficiency, large amount of splicing data, and low splicing speed.

Method used

By identifying the defective polar angle section of the surrounding rock, conduct detailed three-dimensional point cloud collection for this section, and use pre-built formulas to calculate the defect sampling section spacing and inter-polar angle, set a dynamic section polar angle sequence set, and collect defects The cross-section point cloud sequence is finally spliced ​​with the tunnel cross-section point cloud sequence.

Benefits of technology

It achieves efficient collection of tunnel 3D point cloud data, reduces the amount of data that needs to be collected, and improves the splicing speed and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396849B
    Figure CN118396849B
Patent Text Reader

Abstract

The present invention relates to the technical field of tunnel point cloud splicing, and discloses a method for fast and automatic splicing of tunnel three-dimensional point clouds, comprising: sampling a tunnel cross-section point cloud sequence, determining whether there are tunnel surrounding rock defects, if not, summarizing a tunnel cross-section point cloud sequence set, if so, calculating the defect sampling cross-section spacing and the defect sampling polar angle, collecting a defect cross-section point cloud sequence set according to the defect sampling cross-section spacing and the defect sampling polar angle, splicing tunnel point clouds according to the defect cross-section point cloud sequence set and the tunnel cross-section point cloud sequence set, and obtaining a target tunnel cross-section point cloud sequence. The present invention also proposes a system for fast and automatic splicing of tunnel three-dimensional point clouds. The present invention can solve the problems of low efficiency in point cloud data collection, large amount of splicing data, and low splicing speed in the current automatic splicing process of tunnel three-dimensional point clouds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of tunnel point cloud splicing, and in particular to a method and system for fast and automatic splicing of tunnel three-dimensional point clouds. Background Art

[0002] 3D laser scanning has been widely used in lithology classification, rock structure surface identification, shelter feature quantification, rock deformation monitoring and other underground void area analysis due to its fast, accurate and efficient data acquisition advantages. The point cloud data obtained by 3D laser scanning technology can effectively reflect the basic morphological characteristics of underground void areas such as tunnels.

[0003] 3D laser scanning technology mainly uses laser scanners to perform all-round scanning inside the tunnel to obtain a large amount of point cloud data. However, due to the complexity of the tunnel engineering environment, how to efficiently and accurately stitch these massive point cloud data to obtain a complete 3D model of the tunnel has become a key issue that 3D laser scanning technology should solve in the field of tunnel monitoring.

[0004] The current method of stitching tunnel 3D point cloud data has gradually evolved from traditional manual stitching to automatic stitching. However, automatic stitching requires first obtaining the tunnel section point cloud inside the tunnel, and then stitching the tunnel section point cloud in sequence. Since this method does not classify the tunnel section point cloud inside the tunnel and uniformly applies a single tunnel point cloud acquisition method, the current automatic stitching process of tunnel 3D point cloud has the problems of low point cloud data acquisition efficiency, large amount of stitching data and low stitching speed. Summary of the invention

[0005] The present invention provides a method and system for fast automatic splicing of tunnel three-dimensional point clouds, the main purpose of which is to solve the problems of low point cloud data acquisition efficiency, large splicing data volume and low splicing speed in the current automatic splicing process of tunnel three-dimensional point clouds.

[0006] To achieve the above object, the present invention provides a method for fast and automatic splicing of a tunnel three-dimensional point cloud, comprising:

[0007] According to the preset tunnel standard section spacing and tunnel standard radial radius, the tunnel standard polar diameter angle is calculated using the pre-constructed polar diameter angle formula, and the polar diameter angle offset value is calculated according to the tunnel standard polar diameter angle, wherein the polar diameter angle offset value is half of the tunnel standard polar diameter angle, and the polar diameter angle formula is as follows:

[0008] ;

[0009] in, represents the standard inter-polar angle of the tunnel, D represents the standard cross-sectional spacing of the tunnel, and R represents the standard radial radius of the tunnel;

[0010] Acquire a current tunnel sampling section, identify an iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value;

[0011] Perform tunnel three-dimensional point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence;

[0012] Acquire a tunnel standard point cloud sequence of the current tunnel sampling section;

[0013] Determine whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence;

[0014] If there is no tunnel surrounding rock defect, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and the process returns to the above step of obtaining the current tunnel sampling section;

[0015] If there are tunnel surrounding rock defects, the surrounding rock defect polar angle section is identified, and the defect fluctuation value of the surrounding rock defect polar angle section is calculated using a pre-constructed segment defect fluctuation formula, wherein the segment defect fluctuation formula is as follows:

[0016] ;

[0017] in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, Indicates the second weight index, max (*) indicates the maximum value symbol, and min (*) indicates the minimum value symbol;

[0018] According to the defect fluctuation value, the defect sampling section spacing and the defect sampling polar angle are calculated using the pre-constructed defect sampling intercept formula and defect sampling angle formula, respectively, wherein the defect sampling intercept formula is as follows:

[0019] ;

[0020] in, represents the defect sampling section spacing, represents the fluctuation adjustment index, and e refers to the natural constant;

[0021] The defect sampling angle formula is as follows:

[0022] ;

[0023] in, Indicates the angle between the defect sampling poles;

[0024] According to the defect sampling section spacing and the defect sampling polar diameter angle, a dynamic section polar angle sequence set of the surrounding rock defect polar angle section is set, and the defect section point cloud sequence set is collected by using the dynamic section polar angle sequence set;

[0025] Tunnel point clouds are spliced ​​according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.

[0026] Optionally, the acquiring the current tunnel sampling section and identifying the iterative sampling polar angle sequence of the current tunnel sampling section includes:

[0027] Extracting the current tunnel axial position of the current tunnel sampling section;

[0028] Identify a forward adjacent axial position of the current tunnel axial position;

[0029] A sampling polar angle sequence at the forward adjacent axial position is obtained, and the sampling polar angle sequence at the forward adjacent axial position is used as an iterative sampling polar angle sequence.

[0030] Optionally, the updating the iteratively sampled polar angle sequence by using the inter-polar diameter angular offset value comprises:

[0031] Extracting the sampling polar angles in sequence in the iterative sampling polar angle sequence;

[0032] According to the pre-constructed polar diameter offset formula, the polar diameter polar angle update value is calculated using the sampled polar diameter polar angle, wherein the polar diameter offset formula is as follows:

[0033] ;

[0034] in, represents the updated value of the jth polar radius and angle, Table j-th sampling polar diameter and angle, Indicates the sampling polar angle;

[0035] Sum up all polar diameter and polar angle update values ​​to obtain the initial iterative polar angle sequence.

[0036] The boundary polar diameter and polar angle of the current tunnel sampling section are obtained, and the initial iterative polar angle sequence is supplemented with polar angles according to the tunnel standard polar diameter angle and the boundary polar diameter and polar angle to obtain the iterative sampling polar angle sequence.

[0037] Optionally, the performing tunnel three-dimensional point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence includes:

[0038] Identify the cross-sectional bottom direction of the current tunnel sampling cross-sectional area,

[0039] Taking the current tunnel axial position as the pole and the bottom edge direction of the cross section as the polar axis, a polar coordinate system of the current cross section is constructed;

[0040] Selecting a section sampling polar angle sequence in the current section polar coordinate system according to the iterative sampling polar angle sequence;

[0041] The tunnel three-dimensional point cloud sampling is performed according to the cross-section sampling polar angle sequence to obtain a tunnel cross-section point cloud sequence.

[0042] Optionally, the obtaining of the tunnel standard point cloud sequence of the current tunnel sampling section includes:

[0043] Extracting a target tunnel section curve from a pre-constructed axial position-standard section curve database according to the current tunnel axial position;

[0044] A tunnel standard point cloud sequence is extracted from the target tunnel cross-section curve according to the cross-section sampling polar angle sequence.

[0045] Optionally, judging whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence includes:

[0046] Extracting tunnel standard positions in sequence from the tunnel standard point cloud sequence, and constructing tunnel standard polar diameter according to the tunnel standard positions and the current tunnel axial position;

[0047] Extracting tunnel cross-section locations in the tunnel cross-section point cloud sequence in sequence, and constructing a current polar diameter of the tunnel according to the tunnel cross-section locations and the current tunnel axial location;

[0048] According to the standard tunnel diameter and the current tunnel diameter, the defect assessment value is calculated using a pre-built defect assessment formula, wherein the defect assessment formula is as follows:

[0049] ;

[0050] in, represents the defect assessment value, p represents the current diameter number of the tunnel, and P represents the standard diameter number of the tunnel. Indicates the current diameter of the pth tunnel, represents the standard polar diameter of the pth tunnel;

[0051] Determining whether the defect assessment value is greater than a preset defect threshold;

[0052] If the defect assessment value is greater than the defect threshold, there is a tunnel surrounding rock defect;

[0053] If the defect assessment value is not greater than the defect threshold, there is no tunnel surrounding rock defect.

[0054] Optionally, the identifying of the polar angle sections of surrounding rock defects includes:

[0055] Extracting a set of cross-sectional defect sites having defect assessment values ​​greater than a defect threshold value from the tunnel cross-sectional point cloud sequence;

[0056] extracting a clustered defect site set from the cross-sectional defect site set;

[0057] The surrounding rock defect polar angle segment is constructed according to the aggregated defect site set.

[0058] Optionally, the step of setting the dynamic section polar angle sequence set of the surrounding rock defect polar angle section according to the defect sampling section spacing and the defect sampling polar diameter angle includes:

[0059] According to the current tunnel axial position and the defect sampling section spacing, the defect complement axial position is calculated using a pre-constructed defect complement axial position formula, wherein the defect complement axial position formula is as follows:

[0060] ;

[0061] in, The qth defect complements the axial value of the axial site, represents the axial value of the current tunnel axial position, q represents the sequence number of the defect-complementing axial position, Indicates the defect sampling section spacing;

[0062] Setting a tunnel defect compensation section according to the defect compensation axial position;

[0063] According to the polar angle section of the surrounding rock defect, a fan-shaped defect section is intercepted on the tunnel defect supplement section;

[0064] Selecting a defect section sampling polar angle sequence on the fan-shaped defect section according to the defect sampling polar radius angle to obtain a dynamic section polar angle sequence;

[0065] The dynamic section polar angle sequences of all defect-complemented axial positions are summarized to obtain a dynamic section polar angle sequence set.

[0066] Optionally, performing tunnel point cloud splicing according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence includes:

[0067] Extracting defective cross-section point cloud sequences in sequence from the defective cross-section point cloud sequence set, and identifying defective axial locations of the defective cross-section point cloud sequences;

[0068] Extracting tunnel cross-section point cloud sequences in sequence from the tunnel cross-section point cloud sequence set, and identifying standard axial positions of the tunnel cross-section point cloud sequences;

[0069] Calibrate the defect cross-section point cloud sequence according to the defect axial position to obtain a defect positioning cross-section point cloud sequence;

[0070] Calibrate the tunnel section point cloud sequence according to the standard axial position to obtain a standard positioning section point cloud sequence;

[0071] All defect positioning section point cloud sequences and standard positioning section point cloud sequences are summarized to obtain the target tunnel section point cloud sequence.

[0072] In order to solve the above problems, the present invention also provides a tunnel three-dimensional point cloud fast automatic splicing system, the system comprising:

[0073] The tunnel 3D point cloud sampling module is used to calculate the tunnel standard polar angle using a pre-built polar angle formula according to the preset tunnel standard section spacing and tunnel standard radial radius, and calculate the polar angle offset value according to the tunnel standard polar angle, wherein the polar angle offset value is half of the tunnel standard polar angle, and the polar angle formula is as follows:

[0074] ;

[0075] in, represents the standard inter-polar angle of the tunnel, D represents the standard section spacing of the tunnel, and R represents the standard radial radius of the tunnel; obtain the current tunnel sampling section, identify the iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value; perform tunnel 3D point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence;

[0076] The tunnel surrounding rock defect determination module is used to obtain the tunnel standard point cloud sequence of the current tunnel sampling section, and determine whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel section point cloud sequence; if there are no tunnel surrounding rock defects, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and return to the above step of obtaining the current tunnel sampling section;

[0077] The defect sampling parameter setting module is used to identify the polar angle section of the surrounding rock defect if there is a tunnel surrounding rock defect, and calculate the defect fluctuation value of the polar angle section of the surrounding rock defect using a pre-built segment defect fluctuation formula, wherein the segment defect fluctuation formula is as follows:

[0078] ;

[0079] in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, Indicates the second weight index, max (*) Indicates the maximum value symbol, min (*) indicates the minimum value symbol; according to the defect fluctuation value, the defect sampling section spacing and the defect sampling polar angle are calculated using the pre-constructed defect sampling intercept formula and defect sampling angle formula, respectively, wherein the defect sampling intercept formula is as follows:

[0080] ;

[0081] in, The defect sampling section spacing is shown. represents the fluctuation adjustment index, e refers to the natural constant; the defect sampling angle formula is as follows:

[0082] ;

[0083] in, Indicates the angle between the defect sampling poles;

[0084] A defect section point cloud sequence sampling module is used to set a dynamic section polar angle sequence set of the surrounding rock defect polar angle section according to the defect sampling section spacing and the defect sampling polar diameter angle, and collect a defect section point cloud sequence set using the dynamic section polar angle sequence set;

[0085] The tunnel point cloud splicing module is used to perform tunnel point cloud splicing according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.

[0086] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0087] at least one processor; and,

[0088] a memory communicatively connected to the at least one processor; wherein,

[0089] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to implement the above-mentioned method for fast and automatic splicing of tunnel three-dimensional point clouds.

[0090] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned method for fast and automatic splicing of tunnel three-dimensional point clouds.

[0091] Compared with the phenomenon described in the background technology, the embodiment of the present invention first identifies the polar angle segment of the surrounding rock defect, then collects the defect section point cloud sequence set for the polar angle segment of the surrounding rock defect, and finally performs tunnel point cloud splicing on the collected defect section point cloud sequence set and the tunnel section point cloud sequence set to obtain the target tunnel section point cloud sequence. Before identifying the polar angle segment of the surrounding rock defect, first obtain the current tunnel sampling section, and then identify the iterative sampling polar angle sequence of the current tunnel sampling section. Since the iterative sampling polar angle sequence needs to be continuously updated, the iterative sampling polar angle sequence can be updated by the polar diameter angle offset value, and then the tunnel three-dimensional point cloud sampling is performed according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain the tunnel section point cloud sequence. When obtaining the polar diameter angle offset value, it is necessary to calculate the tunnel standard polar diameter angle according to the preset tunnel standard section spacing and the tunnel standard radial radius using the polar diameter angle formula, and then calculate the polar diameter angle offset value according to the tunnel standard polar diameter angle. After obtaining the tunnel section point cloud sequence, it is necessary to determine whether there is a tunnel surrounding rock defect. At this time, it can be determined according to The tunnel standard point cloud sequence and the tunnel section point cloud sequence are used to determine whether there are tunnel surrounding rock defects. If there are no tunnel surrounding rock defects, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and the next stage of tunnel surrounding rock defect determination and tunnel three-dimensional point cloud sampling is performed again. If there are tunnel surrounding rock defects, it is necessary to identify the surrounding rock defect polar angle segment, and perform more detailed tunnel three-dimensional point cloud collection for the surrounding rock defect polar angle segment. First, the defect fluctuation value of the surrounding rock defect polar angle segment is calculated using the pre-constructed segment defect fluctuation formula, and then the defect sampling section spacing and the defect sampling polar diameter angle are calculated using the pre-constructed defect sampling intercept formula and the defect sampling angle formula respectively according to the defect fluctuation value. At this time, the dynamic section polar angle sequence set of the surrounding rock defect polar angle segment can be set according to the defect sampling section spacing and the defect sampling polar diameter angle, and the defect section point cloud sequence set is collected using the dynamic section polar angle sequence set. Finally, the tunnel point cloud is spliced ​​according to the defect section point cloud sequence set and the tunnel section point cloud sequence set to obtain the target tunnel section point cloud sequence. Since a three-dimensional point cloud collection method is used to differentiate the polar angle sections of surrounding rock defects, the required defect section point cloud sequence set is collected while the three-dimensional point clouds of the tunnels that need to be collected are greatly reduced, thereby realizing efficient collection of tunnel three-dimensional point cloud data. Therefore, the method, system, electronic device and computer-readable storage medium for rapid automatic splicing of tunnel three-dimensional point clouds proposed in the present invention can solve the problems of low point cloud data collection efficiency, large amount of splicing data and low splicing speed in the current automatic splicing process of tunnel three-dimensional point clouds. BRIEF DESCRIPTION OF THE DRAWINGS

[0092] Figure 1 A schematic diagram of a process for fast and automatic splicing of a tunnel three-dimensional point cloud provided by an embodiment of the present invention;

[0093] Figure 2 A functional module diagram of a tunnel 3D point cloud rapid automatic splicing system provided by an embodiment of the present invention;

[0094] Figure 3 A schematic diagram of the structure of an electronic device for implementing the method for rapid and automatic splicing of tunnel three-dimensional point clouds provided by an embodiment of the present invention.

[0095] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION

[0096] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0097] The embodiment of the present application provides a method for fast and automatic splicing of a tunnel three-dimensional point cloud. The execution subject of the method for fast and automatic splicing of a tunnel three-dimensional point cloud includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the method for fast and automatic splicing of a tunnel three-dimensional point cloud can be executed by software or hardware installed on a terminal device or a server device. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0098] Embodiment 1:

[0099] Reference Figure 1 FIG. 1 is a flow chart of a method for fast and automatic splicing of a tunnel 3D point cloud provided by an embodiment of the present invention. In this embodiment, the method for fast and automatic splicing of a tunnel 3D point cloud comprises:

[0100] S1. According to the preset tunnel standard section spacing and tunnel standard radial radius, the tunnel standard polar diameter angle is calculated using a pre-constructed polar diameter angle formula, and the polar diameter angle offset value is calculated according to the tunnel standard polar diameter angle.

[0101] It can be explained that the standard tunnel section spacing refers to the preset tunnel section sampling spacing, for example: the standard tunnel section spacing is 0.2m, which means that starting from the tunnel entrance, the tunnel surrounding rock data of a tunnel section is collected every 0.2m. The standard radial radius of the tunnel refers to the standard radius length of the tunnel, for example: the standard inner diameter of the tunnel is 10m, then the standard radial radius is 5m. The standard tunnel polar diameter angle refers to the interval angle of the tunnel sampling polar diameter, for example: from the midpoint of the bottom edge of the tunnel section, a laser is emitted to the surrounding rock at the top of the tunnel in the tunnel section to collect surrounding rock data. When the standard interval angle of each laser path is 5°, the standard tunnel polar diameter angle is 5°.

[0102] It can be explained that the laser path refers to the optical path of the laser. When the standard interval angle of each laser path is 5°, it means that the interval between each laser path is 5°, for example: the angle of the first laser path is 0°, the angle of the second laser path is 5°, the angle of the third laser path is 10°, etc. The midpoint of the bottom edge of the tunnel cross section refers to the midpoint of the tunnel cross section. The tunnel cross section is generally a semicircle, so the midpoint of the bottom edge is generally the center of the semicircle.

[0103] In detail, the inter-polar angle offset value refers to the overall offset value of the laser paths of adjacent tunnel sections during the process of sampling surrounding rock data using laser, which can be half of the tunnel standard inter-polar angle. For example, when the angles of the laser paths of a tunnel section are 0°, 5°, 10°, 15°, , 175°, 180°, the inter-polar angle offset value is 2.5°, and the angles of the laser paths of the adjacent tunnel sections are 0°, 2.5°, 7.5°, 12.5°, , 177.5°, 180°. It should be noted that the laser paths at both ends (0° and 180°) and the missing laser paths during the offset process need to be supplemented.

[0104] Furthermore, the formula for the angle between the polar diameters is as follows:

[0105] ;

[0106] in, represents the standard inter-polar angle of the tunnel, D represents the standard cross-sectional spacing of the tunnel, and R represents the standard radial radius of the tunnel;

[0107] Furthermore, by establishing the relationship between the standard tunnel section spacing and the standard tunnel diameter angle through the polar diameter angle formula, the surrounding rock points collected in each tunnel section can be evenly distributed.

[0108] S2. Acquire the current tunnel sampling section, identify the iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value.

[0109] It can be explained that the current tunnel sampling section refers to the current scanning section of the mobile scanning vehicle (generally driving on the tunnel central axis for sampling), and the iterative sampling polar angle sequence refers to the laser path polar angle sequence of the previous scanning section of the current tunnel sampling section. The laser path polar angle sequence refers to the polar angle sequence of the laser path in the polar coordinate system constructed according to the laser path and the corresponding scanning section.

[0110] In the embodiment of the present invention, the step of obtaining the current tunnel sampling section and identifying the iterative sampling polar angle sequence of the current tunnel sampling section includes:

[0111] Extracting the current tunnel axial position of the current tunnel sampling section;

[0112] Identify a forward adjacent axial position of the current tunnel axial position;

[0113] A sampling polar angle sequence at the forward adjacent axial position is obtained, and the sampling polar angle sequence at the forward adjacent axial position is used as an iterative sampling polar angle sequence.

[0114] It can be explained that the current tunnel axial position refers to the position of the midpoint of the bottom edge of the current tunnel sampling section. Generally, if the current tunnel sampling section is a semicircle, the current tunnel axial position refers to the center point of the semicircle. For example, when the tunnel axis is the east-west axis, the y-axis of the two-dimensional coordinate system can be constructed according to the tunnel axis. The tunnel axial starting point is (0m, 0m). When the current tunnel axial position is 100m, the current tunnel axial position is (0m, 100m). The current tunnel axial position can also be located according to longitude and latitude. The forward adjacent axial position refers to the axial position of the previous tunnel sampling section of the current tunnel axial position. When the standard section spacing of the tunnel is 0.2m, the current tunnel axial position is (0m, 100m), and the forward adjacent axial position is (0m, 99.8m).

[0115] Furthermore, the sampling polar angle sequence refers to the polar angle sequence of the laser path of the tunnel sampling section at the forward adjacent axial position in the corresponding polar coordinate system.

[0116] In the embodiment of the present invention, the updating of the iteratively sampled polar angle sequence by using the inter-polar diameter angular offset value includes:

[0117] Extracting the sampling polar angles in sequence in the iterative sampling polar angle sequence;

[0118] According to the pre-constructed polar diameter offset formula, the polar diameter polar angle update value is calculated using the sampled polar diameter polar angle, wherein the polar diameter offset formula is as follows:

[0119] ;

[0120] in, represents the updated value of the jth polar radius and angle, Table j-th sampling polar diameter and angle, Indicates the sampling polar angle;

[0121] Sum up all polar diameter and polar angle update values ​​to obtain the initial iterative polar angle sequence.

[0122] The boundary polar diameter and polar angle of the current tunnel sampling section are obtained, and the initial iterative polar angle sequence is supplemented with polar angles according to the tunnel standard polar diameter angle and the boundary polar diameter and polar angle to obtain the iterative sampling polar angle sequence.

[0123] It can be understood that the boundary diameter polar angle refers to the polar angle of the two tunnel sampling diameters corresponding to the tunnel road surface of the current tunnel sampling section in the corresponding polar coordinate system. When the tunnel road surface is horizontal, the boundary diameter polar angles are 0° and 180° respectively.

[0124] S3. Sampling the three-dimensional point cloud of the tunnel according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence.

[0125] It can be understood that the tunnel section point cloud sequence refers to a sequence of sampling points on the current tunnel sampling section in the section polar coordinate system.

[0126] In the embodiment of the present invention, the step of sampling the tunnel three-dimensional point cloud according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain the tunnel section point cloud sequence includes:

[0127] Identify the cross-sectional bottom direction of the current tunnel sampling cross-sectional area,

[0128] Taking the current tunnel axial position as the pole and the bottom edge direction of the cross section as the polar axis, a polar coordinate system of the current cross section is constructed;

[0129] Selecting a section sampling polar angle sequence in the current section polar coordinate system according to the iterative sampling polar angle sequence;

[0130] The tunnel three-dimensional point cloud sampling is performed according to the cross-section sampling polar angle sequence to obtain a tunnel cross-section point cloud sequence.

[0131] Furthermore, the cross-section bottom edge direction can be to the left or right of the cross-section bottom edge of the current tunnel sampling cross-section. The cross-section sampling polar angle sequence refers to the sampling polar angle sequence corresponding to the iterative sampling polar angle sequence in the current cross-section polar coordinate system. The pole of the cross-section sampling polar angle sequence is the current tunnel axial position.

[0132] S4. Obtain a tunnel standard point cloud sequence of the current tunnel sampling section.

[0133] It can be explained that the standard point cloud sequence of the tunnel refers to the sampling point sequence on the current tunnel sampling section in the cross-section polar coordinate system when the current tunnel sampling section is free of defects. The tunnel surrounding rock defects refer to the morphological defects on the tunnel surrounding rock, such as: surrounding rock spalling, landslides, soil and slag adhesion, etc.

[0134] In the embodiment of the present invention, the step of obtaining the tunnel standard point cloud sequence of the current tunnel sampling section includes:

[0135] Extracting a target tunnel section curve from a pre-constructed axial position-standard section curve database according to the current tunnel axial position;

[0136] A tunnel standard point cloud sequence is extracted from the target tunnel cross-section curve according to the cross-section sampling polar angle sequence.

[0137] It is understandable that the axial position-standard cross-section curve database refers to a database storing the corresponding relationship between the tunnel axial position and the tunnel cross-section curve of the tunnel sampling cross-section at that position. The target tunnel cross-section curve refers to the preset defect-free tunnel cross-section curve at the current tunnel axial position. The tunnel cross-section curve can be an arc segment of the tunnel sampling cross-section.

[0138] S5. Determine whether there are tunnel surrounding rock defects based on the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence.

[0139] In the embodiment of the present invention, judging whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence includes:

[0140] Extracting tunnel standard positions in sequence from the tunnel standard point cloud sequence, and constructing tunnel standard polar diameter according to the tunnel standard positions and the current tunnel axial position;

[0141] Extracting tunnel cross-section locations in the tunnel cross-section point cloud sequence in sequence, and constructing a current polar diameter of the tunnel according to the tunnel cross-section locations and the current tunnel axial location;

[0142] According to the standard tunnel diameter and the current tunnel diameter, the defect assessment value is calculated using a pre-built defect assessment formula, wherein the defect assessment formula is as follows:

[0143] ;

[0144] in, represents the defect assessment value, p represents the current diameter number of the tunnel, and P represents the standard diameter number of the tunnel. Indicates the current diameter of the pth tunnel, represents the standard polar diameter of the pth tunnel;

[0145] Determining whether the defect assessment value is greater than a preset defect threshold;

[0146] If the defect assessment value is greater than the defect threshold, there is a tunnel surrounding rock defect;

[0147] If the defect assessment value is not greater than the defect threshold, there is no tunnel surrounding rock defect.

[0148] If there are no tunnel surrounding rock defects, execute S6, summarize the tunnel section point cloud sequence, obtain a tunnel section point cloud sequence set, and return to the above step of obtaining the current tunnel sampling section.

[0149] Understandably, if there are no tunnel surrounding rock defects, it is necessary to continue moving the scanning vehicle for sampling, and therefore it is necessary to reacquire the iterative sampling polar angle sequence for surrounding rock sampling.

[0150] If there are tunnel surrounding rock defects, S7 is executed to identify the polar angle section of the surrounding rock defects, and the defect fluctuation value of the polar angle section of the surrounding rock defects is calculated using a pre-constructed section defect fluctuation formula.

[0151] It can be understood that the surrounding rock defect polar angle section refers to the line segment with surrounding rock defects in the current tunnel sampling section under the cross-section polar coordinate system. The defect fluctuation value refers to the numerical value of the defect degree of the surrounding rock defect polar angle section. The larger the defect fluctuation value, the greater the defect of the surrounding rock defect polar angle section.

[0152] In detail, the section defect fluctuation formula is as follows:

[0153] ;

[0154] in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, Indicates the second weight index, max (*) Indicates the maximum value symbol, min (*) indicates the minimum value symbol.

[0155] In the embodiment of the present invention, the identification of the polar angle section of surrounding rock defects includes:

[0156] Extracting a set of cross-sectional defect sites having defect assessment values ​​greater than a defect threshold value from the tunnel cross-sectional point cloud sequence;

[0157] extracting a clustered defect site set from the cross-sectional defect site set;

[0158] The surrounding rock defect polar angle segment is constructed according to the aggregated defect site set.

[0159] It can be understood that the clustered defect site set refers to the defect sites where the cross-sectional defect sites are concentrated in a certain section. Since the surrounding rock defects usually appear in the form of certain blocks, the defect sites in the cross-sectional defect site set generally appear in the form of block aggregation. The surrounding rock defect polar angle segment refers to the polar angle segment where the cross-sectional defect sites exist in the current tunnel sampling section, for example: 5°-16°, 32°-38°, 45°-47°, etc. The surrounding rock defect polar angle segment is generally determined by the adjacent non-defective sites of the defect sites. For example: when the surrounding rock defect polar angle segment is 5°-16°, then the tunnel cross-sectional point at the surrounding rock defect polar angle of 5° should not have defects to avoid missing defect sites.

[0160] S8. According to the defect fluctuation value, the defect sampling section spacing and the defect sampling inter-polar angle are calculated using the pre-constructed defect sampling intercept formula and the defect sampling inter-polar angle formula respectively.

[0161] Furthermore, the defect sampling section spacing refers to the spacing of the tunnel sampling sections when supplementing the sampling of the polar angle section of the surrounding rock defects, and the defect sampling polar diameter angle refers to the spacing angle of adjacent tunnel sampling polar diameters in each tunnel sampling section when supplementing the sampling of the polar angle section of the surrounding rock defects.

[0162] Furthermore, the defect sampling intercept formula is as follows:

[0163] ;

[0164] in, The defect sampling section spacing is shown. represents the fluctuation adjustment index, e refers to the natural constant; the defect sampling angle formula is,

[0165] The defect sampling angle formula is as follows:

[0166] ;

[0167] in, Represents the angle between the defect sampling poles.

[0168] Furthermore, when When it is equal to 0, the defect sampling section spacing is D, that is, the curve sampling section spacing is not adjusted. The larger the value is, the larger the tunnel surrounding rock defects are. Therefore, the required defect sampling section spacing and defect sampling angle should be smaller to collect enough surrounding rock defect data.

[0169] S9, setting a dynamic section polar angle sequence set of the surrounding rock defect polar angle section according to the defect sampling section spacing and the defect sampling polar diameter angle, and using the dynamic section polar angle sequence set to collect a defect section point cloud sequence set.

[0170] It can be understood that the dynamic section polar angle sequence set refers to the sampling polar angle sequence set in each added tunnel sampling section of the surrounding rock defect polar angle section. For example: the current tunnel axial position is (0 m, 100 m), and the next adjacent tunnel axial position of the current tunnel axial position is (0 m, 100.2 m). Then, between (0 m, 100 m) and (0 m, 100.2 m), the supplementary defect sampling section (the fan-shaped section corresponding to the surrounding rock defect polar angle section) should be set according to the defect sampling section spacing, and then the defect sampling polar diameter is set on the supplementary defect sampling section with the defect sampling polar diameter angle. When the curve sampling section spacing is 0.05 m, the defect sampling section should increase 4 defect sampling sections. Then, the defect sampling polar diameter is set on the added defect sampling section according to the defect sampling polar diameter angle. The defect section point cloud sequence set refers to the point cloud sequence that needs to be collected in the surrounding rock defect polar angle section.

[0171] Furthermore, the "fan-shaped section corresponding to the polar angle section of the surrounding rock defect" refers to constructing a defect sampling section only at the polar angle section of the surrounding rock defect. Since the polar angle section of the surrounding rock defect is generally an arc length (the arc length is an arc length on the current tunnel sampling section, and the current tunnel sampling section is a semicircle), when the defect sampling section to be supplemented is set according to the defect sampling section spacing at the polar angle section of the surrounding rock defect, multiple groups of the defect sampling sections will be obtained.

[0172] In the embodiment of the present invention, the dynamic section polar angle sequence set of the surrounding rock defect polar angle section is set according to the defect sampling section spacing and the defect sampling polar diameter angle, including:

[0173] According to the current tunnel axial position and the defect sampling section spacing, the defect complement axial position is calculated using a pre-constructed defect complement axial position formula, wherein the defect complement axial position formula is as follows:

[0174] ;

[0175] in, The qth defect complements the axial value of the axial site, represents the axial value of the current tunnel axial position, q represents the sequence number of the defect-complementing axial position, Indicates the defect sampling section spacing;

[0176] Setting a tunnel defect compensation section according to the defect compensation axial position;

[0177] According to the polar angle section of the surrounding rock defect, a fan-shaped defect section is intercepted on the tunnel defect supplement section;

[0178] Selecting a defect section sampling polar angle sequence on the fan-shaped defect section according to the defect sampling polar radius angle to obtain a dynamic section polar angle sequence;

[0179] The dynamic section polar angle sequences of all defect-complemented axial positions are summarized to obtain a dynamic section polar angle sequence set.

[0180] It can be understood that the defect supplementation axial position refers to the axial position of the supplemented defect sampling section. The fan-shaped defect section refers to the fan-shaped section constructed according to the polar angle section of the surrounding rock defect.

[0181] S10. Perform tunnel point cloud splicing according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.

[0182] It can be understood that the tunnel point cloud stitching refers to the process of positioning and stitching the defect section point cloud sequence set and the tunnel section point cloud sequence set according to the corresponding tunnel axial positions.

[0183] In the embodiment of the present invention, the step of performing tunnel point cloud splicing according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence includes:

[0184] Extracting defective cross-section point cloud sequences in sequence from the defective cross-section point cloud sequence set, and identifying defective axial locations of the defective cross-section point cloud sequences;

[0185] Extracting tunnel cross-section point cloud sequences in sequence from the tunnel cross-section point cloud sequence set, and identifying standard axial positions of the tunnel cross-section point cloud sequences;

[0186] Calibrate the defect cross-section point cloud sequence according to the defect axial position to obtain a defect positioning cross-section point cloud sequence;

[0187] Calibrate the tunnel section point cloud sequence according to the standard axial position to obtain a standard positioning section point cloud sequence;

[0188] All defect positioning section point cloud sequences and standard positioning section point cloud sequences are summarized to obtain the target tunnel section point cloud sequence.

[0189] Furthermore, the defect axial sequence refers to the tunnel axial position of the defect cross-sectional point cloud sequence. After obtaining the target tunnel cross-sectional point cloud sequence, point cloud fitting should be performed to obtain a three-dimensional map of the tunnel surrounding rock. The point cloud fitting method can be a cubic piecewise Hermite interpolation function method. No further details will be given here.

[0190] Compared with the phenomenon described in the background technology, the embodiment of the present invention first identifies the polar angle segment of the surrounding rock defect, then collects the defect section point cloud sequence set for the polar angle segment of the surrounding rock defect, and finally performs tunnel point cloud splicing on the collected defect section point cloud sequence set and the tunnel section point cloud sequence set to obtain the target tunnel section point cloud sequence. Before identifying the polar angle segment of the surrounding rock defect, first obtain the current tunnel sampling section, and then identify the iterative sampling polar angle sequence of the current tunnel sampling section. Since the iterative sampling polar angle sequence needs to be continuously updated, the iterative sampling polar angle sequence can be updated by the polar diameter angle offset value, and then the tunnel three-dimensional point cloud sampling is performed according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain the tunnel section point cloud sequence. When obtaining the polar diameter angle offset value, it is necessary to calculate the tunnel standard polar diameter angle according to the preset tunnel standard section spacing and the tunnel standard radial radius using the polar diameter angle formula, and then calculate the polar diameter angle offset value according to the tunnel standard polar diameter angle. After obtaining the tunnel section point cloud sequence, it is necessary to determine whether there is a tunnel surrounding rock defect. At this time, it can be determined according to The tunnel standard point cloud sequence and the tunnel section point cloud sequence are used to determine whether there are tunnel surrounding rock defects. If there are no tunnel surrounding rock defects, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and the next stage of tunnel surrounding rock defect determination and tunnel three-dimensional point cloud sampling is performed again. If there are tunnel surrounding rock defects, it is necessary to identify the surrounding rock defect polar angle segment, and perform more detailed tunnel three-dimensional point cloud collection for the surrounding rock defect polar angle segment. First, the defect fluctuation value of the surrounding rock defect polar angle segment is calculated using the pre-constructed segment defect fluctuation formula, and then the defect sampling section spacing and the defect sampling polar diameter angle are calculated using the pre-constructed defect sampling intercept formula and the defect sampling angle formula respectively according to the defect fluctuation value. At this time, the dynamic section polar angle sequence set of the surrounding rock defect polar angle segment can be set according to the defect sampling section spacing and the defect sampling polar diameter angle, and the defect section point cloud sequence set is collected using the dynamic section polar angle sequence set. Finally, the tunnel point cloud is spliced ​​according to the defect section point cloud sequence set and the tunnel section point cloud sequence set to obtain the target tunnel section point cloud sequence. Since a three-dimensional point cloud collection method is used to differentiate the polar angle sections of surrounding rock defects, the required defect section point cloud sequence set is collected while the three-dimensional point clouds of the tunnels that need to be collected are greatly reduced, thereby realizing efficient collection of tunnel three-dimensional point cloud data. Therefore, the method, system, electronic device and computer-readable storage medium for rapid automatic splicing of tunnel three-dimensional point clouds proposed in the present invention can solve the problems of low point cloud data collection efficiency, large amount of splicing data and low splicing speed in the current automatic splicing process of tunnel three-dimensional point clouds.

[0191] Embodiment 2:

[0192] like Figure 2 , which is a functional module diagram of a tunnel three-dimensional point cloud rapid automatic splicing system provided by an embodiment of the present invention.

[0193] The tunnel 3D point cloud fast automatic splicing system 100 of the present invention can be installed in an electronic device. According to the functions to be implemented, the tunnel 3D point cloud fast automatic splicing system 100 can include a tunnel 3D point cloud sampling module 101, a tunnel surrounding rock defect determination module 102, a defect sampling parameter setting module 103, a defect section point cloud sequence sampling module 104 and a tunnel point cloud splicing module 105. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0194] The tunnel three-dimensional point cloud sampling module 101 is used to calculate the tunnel standard polar angle using a pre-constructed polar angle formula according to the preset tunnel standard section spacing and tunnel standard radial radius, and calculate the polar angle offset value according to the tunnel standard polar angle, wherein the polar angle offset value is half of the tunnel standard polar angle, and the polar angle formula is as follows:

[0195] ;

[0196] in, represents the standard inter-polar angle of the tunnel, D represents the standard section spacing of the tunnel, and R represents the standard radial radius of the tunnel; obtain the current tunnel sampling section, identify the iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value; perform tunnel 3D point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence;

[0197] The tunnel surrounding rock defect determination module 102 is used to obtain the tunnel standard point cloud sequence of the current tunnel sampling section, and determine whether there is a tunnel surrounding rock defect based on the tunnel standard point cloud sequence and the tunnel section point cloud sequence; if there is no tunnel surrounding rock defect, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and return to the above step of obtaining the current tunnel sampling section;

[0198] The defect sampling parameter setting module 103 is used to identify the surrounding rock defect polar angle section if there is a tunnel surrounding rock defect, and calculate the defect fluctuation value of the surrounding rock defect polar angle section using a pre-constructed section defect fluctuation formula, wherein the section defect fluctuation formula is as follows:

[0199] ;

[0200] in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, represents the second weight index, max (*) represents the maximum value symbol, and min (*) represents the minimum value symbol; according to the defect fluctuation value, the defect sampling section spacing and the defect sampling polar angle are calculated using the pre-constructed defect sampling intercept formula and defect sampling angle formula, respectively, wherein the defect sampling intercept formula is as follows:

[0201] ;

[0202] in, represents the defect sampling section spacing, represents the fluctuation adjustment index, e refers to the natural constant; the defect sampling angle formula is as follows:

[0203] ;

[0204] in, Indicates the angle between the defect sampling poles;

[0205] The defect section point cloud sequence sampling module 104 is used to set the dynamic section polar angle sequence set of the surrounding rock defect polar angle section according to the defect sampling section spacing and the defect sampling polar diameter angle, and use the dynamic section polar angle sequence set to collect the defect section point cloud sequence set;

[0206] The tunnel point cloud splicing module 105 is used to perform tunnel point cloud splicing according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.

[0207] In detail, the modules in the tunnel three-dimensional point cloud rapid automatic splicing system 100 in the embodiment of the present invention are used in the same manner as described above. Figure 1 The method for fast and automatic splicing of tunnel three-dimensional point clouds is the same as the technical means described in the text, and can produce the same technical effects, so it will not be repeated here.

[0208] Embodiment 3:

[0209] like Figure 3 , which is a schematic diagram of the structure of an electronic device for implementing a method for fast and automatic splicing of tunnel three-dimensional point clouds provided by an embodiment of the present invention.

[0210] The electronic device 1 may include a processor 10, a memory 11, a bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a fast automatic splicing program for a tunnel three-dimensional point cloud.

[0211] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the fast automatic splicing program of the tunnel three-dimensional point cloud, etc., but also be used to temporarily store data that has been output or is to be output.

[0212] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules (such as a fast automatic splicing program for a tunnel three-dimensional point cloud, etc.) stored in the memory 11, and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.

[0213] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0214] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0215] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0216] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0217] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0218] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0219] The tunnel three-dimensional point cloud fast automatic splicing program stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0220] According to the preset tunnel standard section spacing and tunnel standard radial radius, the tunnel standard polar diameter angle is calculated using the pre-constructed polar diameter angle formula, and the polar diameter angle offset value is calculated according to the tunnel standard polar diameter angle, wherein the polar diameter angle offset value is half of the tunnel standard polar diameter angle, and the polar diameter angle formula is as follows:

[0221] ;

[0222] in, represents the standard inter-polar angle of the tunnel, D represents the standard cross-sectional spacing of the tunnel, and R represents the standard radial radius of the tunnel;

[0223] Acquire a current tunnel sampling section, identify an iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value;

[0224] Perform tunnel three-dimensional point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence;

[0225] Acquire a tunnel standard point cloud sequence of the current tunnel sampling section;

[0226] Determine whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence;

[0227] If there is no tunnel surrounding rock defect, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and the process returns to the above step of obtaining the current tunnel sampling section;

[0228] If there are tunnel surrounding rock defects, the surrounding rock defect polar angle section is identified, and the defect fluctuation value of the surrounding rock defect polar angle section is calculated using a pre-constructed segment defect fluctuation formula, wherein the segment defect fluctuation formula is as follows:

[0229] ;

[0230] in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, Indicates the second weight index, max (*) indicates the maximum value symbol, and min (*) indicates the minimum value symbol;

[0231] According to the defect fluctuation value, the defect sampling section spacing and the defect sampling polar angle are calculated using the pre-constructed defect sampling intercept formula and defect sampling angle formula, respectively, wherein the defect sampling intercept formula is as follows:

[0232] ;

[0233] in, represents the defect sampling section spacing, represents the fluctuation adjustment index, and e refers to the natural constant;

[0234] The defect sampling angle formula is as follows:

[0235] ;

[0236] According to the defect sampling section spacing and the defect sampling polar diameter angle, a dynamic section polar angle sequence set of the surrounding rock defect polar angle section is set, and the defect section point cloud sequence set is collected by using the dynamic section polar angle sequence set;

[0237] Tunnel point clouds are spliced ​​according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.

[0238] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figure 1 to Figure 2 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0239] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or system that can carry the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0240] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0241] According to the preset tunnel standard section spacing and tunnel standard radial radius, the tunnel standard polar diameter angle is calculated using the pre-constructed polar diameter angle formula, and the polar diameter angle offset value is calculated according to the tunnel standard polar diameter angle, wherein the polar diameter angle offset value is half of the tunnel standard polar diameter angle, and the polar diameter angle formula is as follows:

[0242] ;

[0243] in, represents the standard inter-polar angle of the tunnel, D represents the standard cross-sectional spacing of the tunnel, and R represents the standard radial radius of the tunnel;

[0244] Acquire a current tunnel sampling section, identify an iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value;

[0245] Perform tunnel three-dimensional point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence;

[0246] Acquire a tunnel standard point cloud sequence of the current tunnel sampling section;

[0247] Determine whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence;

[0248] If there is no tunnel surrounding rock defect, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and the process returns to the above step of obtaining the current tunnel sampling section;

[0249] If there are tunnel surrounding rock defects, the surrounding rock defect polar angle section is identified, and the defect fluctuation value of the surrounding rock defect polar angle section is calculated using a pre-constructed segment defect fluctuation formula, wherein the segment defect fluctuation formula is as follows:

[0250] ;

[0251] in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, Indicates the second weight index, max (*) indicates the maximum value symbol, and min (*) indicates the minimum value symbol;

[0252] According to the defect fluctuation value, the defect sampling section spacing and the defect sampling polar angle are calculated using the pre-constructed defect sampling intercept formula and defect sampling angle formula, respectively, wherein the defect sampling intercept formula is as follows:

[0253] ;

[0254] in, represents the defect sampling section spacing, represents the fluctuation adjustment index, and e refers to the natural constant;

[0255] The defect sampling angle formula is as follows:

[0256] ;

[0257] in, Indicates the angle between the defect sampling poles;

[0258] According to the defect sampling section spacing and the defect sampling polar diameter angle, a dynamic section polar angle sequence set of the surrounding rock defect polar angle section is set, and the defect section point cloud sequence set is collected by using the dynamic section polar angle sequence set;

[0259] Tunnel point clouds are spliced ​​according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.

[0260] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0261] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0262] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0263] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0264] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for fast and automatic splicing of tunnel three-dimensional point clouds, characterized in that: The method comprises: According to the preset tunnel standard section spacing and tunnel standard radial radius, the tunnel standard polar diameter angle is calculated using the pre-constructed polar diameter angle formula, and the polar diameter angle offset value is calculated according to the tunnel standard polar diameter angle, wherein the polar diameter angle offset value is half of the tunnel standard polar diameter angle, and the polar diameter angle formula is as follows: ; in, represents the standard inter-polar angle of the tunnel, D represents the standard cross-sectional spacing of the tunnel, and R represents the standard radial radius of the tunnel; Acquire a current tunnel sampling section, identify an iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value; Perform tunnel three-dimensional point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence; Acquire a tunnel standard point cloud sequence of the current tunnel sampling section; Determine whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence; If there is no tunnel surrounding rock defect, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and the process returns to the above step of obtaining the current tunnel sampling section; If there are tunnel surrounding rock defects, the surrounding rock defect polar angle section is identified, and the defect fluctuation value of the surrounding rock defect polar angle section is calculated using a pre-constructed segment defect fluctuation formula, wherein the segment defect fluctuation formula is as follows: ; in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, Indicates the second weight index, max (*) indicates the maximum value symbol, and min (*) indicates the minimum value symbol; According to the defect fluctuation value, the defect sampling section spacing and the defect sampling polar angle are calculated using the pre-constructed defect sampling intercept formula and defect sampling angle formula, respectively, wherein the defect sampling intercept formula is as follows: ; in, represents the defect sampling section spacing, represents the fluctuation adjustment index, and e refers to the natural constant; The defect sampling angle formula is as follows: ; in, Indicates the angle between the defect sampling poles; According to the defect sampling section spacing and the defect sampling polar diameter angle, a dynamic section polar angle sequence set of the surrounding rock defect polar angle section is set, and the defect section point cloud sequence set is collected by using the dynamic section polar angle sequence set; Tunnel point clouds are spliced ​​according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.

2. The method for rapid automatic splicing of tunnel three-dimensional point clouds according to claim 1, characterized in that: The step of acquiring the current tunnel sampling section and identifying the iterative sampling polar angle sequence of the current tunnel sampling section includes: Extracting the current tunnel axial position of the current tunnel sampling section; Identify a forward adjacent axial position of the current tunnel axial position; A sampling polar angle sequence at the forward adjacent axial position is obtained, and the sampling polar angle sequence at the forward adjacent axial position is used as an iterative sampling polar angle sequence.

3. The method for rapid automatic splicing of tunnel three-dimensional point clouds according to claim 2, characterized in that: The updating of the iteratively sampled polar angle sequence by using the inter-polar diameter angular offset value comprises: Extracting the sampling polar angles in sequence in the iterative sampling polar angle sequence; According to the pre-constructed polar diameter offset formula, the polar diameter polar angle update value is calculated using the sampled polar diameter polar angle, wherein the polar diameter offset formula is as follows: ; in, represents the updated value of the jth polar radius and angle, Table j-th sampling polar diameter and angle, Indicates the sampling polar angle; Summarize all polar diameter and polar angle update values ​​to obtain the initial iterative polar angle sequence; The boundary polar diameter and polar angle of the current tunnel sampling section are obtained, and the initial iterative polar angle sequence is supplemented with polar angles according to the tunnel standard polar diameter angle and the boundary polar diameter and polar angle to obtain the iterative sampling polar angle sequence.

4. The method for rapid automatic splicing of tunnel three-dimensional point clouds according to claim 3, characterized in that: The step of sampling the tunnel three-dimensional point cloud according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain the tunnel section point cloud sequence includes: Identify the cross-sectional bottom direction of the current tunnel sampling cross-sectional area, Taking the current tunnel axial position as the pole and the bottom edge direction of the cross section as the polar axis, a polar coordinate system of the current cross section is constructed; Selecting a section sampling polar angle sequence in the current section polar coordinate system according to the iterative sampling polar angle sequence; The tunnel three-dimensional point cloud sampling is performed according to the cross-section sampling polar angle sequence to obtain a tunnel cross-section point cloud sequence.

5. The method for fast and automatic splicing of tunnel three-dimensional point clouds according to claim 4, characterized in that: The step of obtaining a tunnel standard point cloud sequence of the current tunnel sampling section includes: Extracting a target tunnel section curve from a pre-constructed axial position-standard section curve database according to the current tunnel axial position; A tunnel standard point cloud sequence is extracted from the target tunnel cross-section curve according to the cross-section sampling polar angle sequence.

6. The method for rapid automatic splicing of tunnel three-dimensional point clouds according to claim 5, characterized in that: The determining whether there is a tunnel surrounding rock defect according to the tunnel standard point cloud sequence and the tunnel cross-section point cloud sequence includes: Extracting tunnel standard positions in sequence from the tunnel standard point cloud sequence, and constructing tunnel standard polar diameter according to the tunnel standard positions and the current tunnel axial position; Extracting tunnel cross-section locations in the tunnel cross-section point cloud sequence in sequence, and constructing a current polar diameter of the tunnel according to the tunnel cross-section locations and the current tunnel axial location; According to the standard tunnel diameter and the current tunnel diameter, the defect assessment value is calculated using a pre-built defect assessment formula, wherein the defect assessment formula is as follows: ; in, represents the defect assessment value, p represents the current diameter number of the tunnel, and P represents the standard diameter number of the tunnel. Indicates the current diameter of the pth tunnel, represents the standard polar diameter of the pth tunnel; Determining whether the defect assessment value is greater than a preset defect threshold; If the defect assessment value is greater than the defect threshold, there is a tunnel surrounding rock defect; If the defect assessment value is not greater than the defect threshold, there is no tunnel surrounding rock defect.

7. The method for rapid automatic splicing of tunnel three-dimensional point clouds according to claim 6, characterized in that: The method of identifying the polar angle section of surrounding rock defects includes: Extracting a set of cross-sectional defect sites having defect assessment values ​​greater than a defect threshold value from the tunnel cross-sectional point cloud sequence; extracting a clustered defect site set from the cross-sectional defect site set; The surrounding rock defect polar angle segment is constructed according to the aggregated defect site set.

8. The method for rapid automatic splicing of tunnel three-dimensional point clouds according to claim 7, characterized in that: The dynamic section polar angle sequence set of setting the surrounding rock defect polar angle section according to the defect sampling section spacing and the defect sampling polar diameter angle includes: According to the current tunnel axial position and the defect sampling section spacing, the defect complement axial position is calculated using a pre-constructed defect complement axial position formula, wherein the defect complement axial position formula is as follows: ; in, The qth defect complements the axial value of the axial site, represents the axial value of the current tunnel axial position, q represents the sequence number of the defect-complementing axial position, Indicates the defect sampling section spacing; Setting a tunnel defect compensation section according to the defect compensation axial position; According to the polar angle section of the surrounding rock defect, a fan-shaped defect section is intercepted on the tunnel defect supplement section; Selecting a defect section sampling polar angle sequence on the fan-shaped defect section according to the defect sampling polar radius angle to obtain a dynamic section polar angle sequence; The dynamic section polar angle sequences of all defect-complemented axial positions are summarized to obtain a dynamic section polar angle sequence set.

9. The method for rapid automatic splicing of tunnel three-dimensional point clouds according to claim 8, characterized in that: The step of performing tunnel point cloud splicing according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence comprises: Extracting defective cross-section point cloud sequences in sequence from the defective cross-section point cloud sequence set, and identifying defective axial locations of the defective cross-section point cloud sequences; Extracting tunnel cross-section point cloud sequences in sequence from the tunnel cross-section point cloud sequence set, and identifying standard axial positions of the tunnel cross-section point cloud sequences; Calibrate the defect cross-section point cloud sequence according to the defect axial position to obtain a defect positioning cross-section point cloud sequence; Calibrate the tunnel section point cloud sequence according to the standard axial position to obtain a standard positioning section point cloud sequence; All defect positioning section point cloud sequences and standard positioning section point cloud sequences are summarized to obtain the target tunnel section point cloud sequence.

10. A fast and automatic splicing system for three-dimensional point clouds of tunnels, characterized in that: The system comprises: The tunnel 3D point cloud sampling module is used to calculate the tunnel standard polar angle using a pre-built polar angle formula according to the preset tunnel standard section spacing and tunnel standard radial radius, and calculate the polar angle offset value according to the tunnel standard polar angle, wherein the polar angle offset value is half of the tunnel standard polar angle, and the polar angle formula is as follows: ; in, represents the standard inter-polar angle of the tunnel, D represents the standard section spacing of the tunnel, and R represents the standard radial radius of the tunnel; obtain the current tunnel sampling section, identify the iterative sampling polar angle sequence of the current tunnel sampling section, and update the iterative sampling polar angle sequence using the inter-polar angle offset value; perform tunnel 3D point cloud sampling according to the iterative sampling polar angle sequence and the current tunnel sampling section to obtain a tunnel section point cloud sequence; The tunnel surrounding rock defect determination module is used to obtain the tunnel standard point cloud sequence of the current tunnel sampling section, and determine whether there are tunnel surrounding rock defects according to the tunnel standard point cloud sequence and the tunnel section point cloud sequence; if there are no tunnel surrounding rock defects, the tunnel section point cloud sequence is summarized to obtain a tunnel section point cloud sequence set, and return to the above step of obtaining the current tunnel sampling section; The defect sampling parameter setting module is used to identify the polar angle section of the surrounding rock defect if there is a tunnel surrounding rock defect, and calculate the defect fluctuation value of the polar angle section of the surrounding rock defect using a pre-built segment defect fluctuation formula, wherein the segment defect fluctuation formula is as follows: ; in, represents the defect fluctuation value, represents the first weight index, i represents the sampling polar diameter sequence number in the polar angle section of the surrounding rock defect, I represents the total number of sampling polar diameters in the polar angle section of the surrounding rock defect, represents the i-th sampling polar diameter value in the polar angle section of the surrounding rock defect, represents the i-th standard polar diameter value in the polar angle section of the surrounding rock defect, Indicates the second weight index, max (*) surface Indicates the maximum value symbol, min (*) indicates the minimum value symbol; according to the defect fluctuation value, the defect sampling section spacing and the defect sampling polar angle are calculated using the pre-constructed defect sampling intercept formula and defect sampling angle formula, respectively, wherein the defect sampling intercept formula is as follows: ; in, The defect sampling section spacing is shown. represents the fluctuation adjustment index, e refers to the natural constant; the defect sampling angle formula is as follows: ; in, Indicates the angle between the defect sampling poles; A defect section point cloud sequence sampling module is used to set a dynamic section polar angle sequence set of the surrounding rock defect polar angle section according to the defect sampling section spacing and the defect sampling polar diameter angle, and collect a defect section point cloud sequence set using the dynamic section polar angle sequence set; The tunnel point cloud splicing module is used to perform tunnel point cloud splicing according to the defective section point cloud sequence set and the tunnel section point cloud sequence set to obtain a target tunnel section point cloud sequence.