METHOD, DEVICE AND SYSTEM FOR ANALYZING TUNNEL CLEARANCE BASED ON LASER POINT CLOUD

20220236422 · 2022-07-28

    Inventors

    Cpc classification

    International classification

    Abstract

    A point cloud of a tunnel is obtained. The point cloud of the tunnel is subjected to cylinder fitting. A central axis of the tunnel is extracted. A cross section of the tunnel is extracted. Point clouds of two rails are extracted. A base line of a contour of the tunnel clearance is constructed. A center of the cross section of the tunnel is extracted. A point cloud of the cross section of the tunnel is registered with a point cloud of a contour of the tunnel clearance according to a constraint condition. The point cloud of the cross section of the tunnel and the point cloud of the contour of the tunnel clearance after being registered with each other are analyzed to determine whether the tunnel clearance is intruded.

    Claims

    1. A method for analyzing tunnel clearance based on a laser point cloud, comprising: 1) obtaining a point cloud of a tunnel; 2) subjecting the point cloud of the tunnel to cylinder fitting; extracting a central axis of the tunnel; and extracting a point cloud of a cross section of the tunnel; 3) extracting point clouds of two rails from the point cloud of the tunnel; 4) constructing a base line of a contour of the tunnel clearance; extracting a center of the cross section of the tunnel; and registering the point cloud of the cross section of the tunnel and a point cloud of the contour of the tunnel clearance according to a constraint condition; 41) selecting a highest point in the point clouds of the two rails respectively to construct the base line; and calculating a slope of the base line; 42) subjecting the cross section of the tunnel to circle fitting using random sample consensus (RANSAC) to obtain the center of the cross section of the tunnel and an x-coordinate of the center; and 43) registering the point cloud of the cross section of the tunnel and the point cloud of the contour of the tunnel clearance according to the constraint condition: a) a bottom edge of the contour of the tunnel clearance coincides with the base line; and b) an x-coordinate of a center of the contour of the tunnel clearance is equal to the x-coordinate of the center of the cross section of the tunnel; and 5) analyzing the point cloud of the cross section of the tunnel and the point cloud of the contour of the tunnel clearance after being registered with each other to determine whether the tunnel clearance is intruded.

    2. The method of claim 1, wherein the step (1) comprises: scanning the tunnel using a three-dimensional laser scanner to obtain the point cloud of the tunnel; and diving the point cloud of the tunnel into sections of equal length.

    3. The method of claim 2, wherein the tunnel in each section contains 10 tunnel segments.

    4. The method of claim 1, wherein the step (2) comprises: 21) subjecting the point cloud of the tunnel to the cylinder fitting through Gaussian mapping to extract the central axis of the tunnel; 22) extracting the point cloud of the cross section of the tunnel; wherein the point cloud of the cross section of the tunnel is defined as follows: P C = { t i P T .Math. ( t i - a i ) .Math. T .Math. t i - a i .Math. .Math. < .Math. } ; where P.sub.C is the point cloud of the cross section of the tunnel; t.sub.i is a point in the point cloud of the tunnel; P.sub.T is the point cloud of the tunnel; a.sub.i is a point on the central axis of the tunnel; T is a unit tangent vector of the central axis at the point a.sub.i; and ε is a threshold; and 23) projecting the point cloud of the cross section of the tunnel along the central axis of the tunnel to obtain a two-dimensional point cloud of the cross section of the tunnel.

    5. The method of claim 1, wherein the step (3) comprises: extracting point clouds of the two rails from the point cloud of the tunnel; selecting points p.sub.i and p.sub.j from the point clouds of the two rails; and clustering the point clouds of the two rails using Euclidean distance.

    6. The method of claim 1, wherein the step (5) comprises: for a point p_i in the point cloud of the cross section of the tunnel, searching the closest point p_in in the point cloud of the contour of the tunnel clearance through K-Nearest Neighbors (KNN); and determining whether the tunnel clearance is intruded through an intrusion function:
    S=∥p_i−c∥−∥p_in−c∥; wherein p_i is any point in the point cloud of the cross section of the tunnel; p_in is the closest point searched by KNN in the point cloud of the contour of the tunnel clearance; c is the center of the cross section of the tunnel; and when S<0, the tunnel clearance is intruded; otherwise, the tunnel clearance is not intruded.

    7. A device for analyzing tunnel clearance based on a laser point cloud, comprising: a data acquisition module, configured to acquire a point cloud of a tunnel; a preprocessing module, configured to subject the point cloud of the tunnel to cylinder fitting, extract a central axis of the tunnel, extract a point cloud of a cross section of the tunnel and extracting point clouds of two rails from the point cloud of the tunnel; and an analysis module, configured to construct a base line of a contour of the tunnel clearance, extract a center of the cross section of the tunnel and register the point cloud of the cross section of the tunnel and a point cloud of the contour of the tunnel clearance according to a constraint condition.

    8. A system for analyzing tunnel clearance based on a laser point cloud, comprising: a three-dimensional scanner; a processor; a storage; and a program, stored on the storage, for executing the method of claim 1; wherein the system is mounted on a tunnel inspection vehicle; and the three-dimensional scanner is connected to the processor, and is configured to scan the tunnel to obtain point cloud of the tunnel and send the obtained point cloud of the tunnel to the processor.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0051] The drawings are illustrative in nature and are not drawn to scale. Throughout the drawings, like reference numerals refer to identical or functionally similar elements. For clarity, not every component is labeled in every figure. The embodiments of the present disclosure are illustrated below with reference to the accompanying drawings.

    [0052] FIG. 1 is a flowchart of a method for analyzing tunnel clearance based on a laser point cloud according to at least one embodiment of the present disclosure;

    [0053] FIG. 2 schematically depicts a point cloud of a subway tunnel containing 10 tunnel segments according to at least one embodiment of the present disclosure;

    [0054] FIG. 3 schematically depicts a process for extracting a point cloud of a cross section of the subway tunnel according to at least one embodiment of the present disclosure;

    [0055] FIG. 4 schematically depicts point clouds of two rails according to at least one embodiment of the present disclosure;

    [0056] FIG. 5 schematically depicts a point cloud of a contour of tunnel clearance according to at least one embodiment of the present disclosure;

    [0057] FIG. 6 schematically depicts a constraint condition according to at least one embodiment of the present disclosure;

    [0058] FIG. 7 schematically depicts a clearance analysis on the subway tunnel according to at least one embodiment of the present disclosure; and

    [0059] FIG. 8 schematically depicts a device for analyzing tunnel clearance based on laser point clouds according to at least one embodiment of the present disclosure.

    DETAILED DESCRIPTION OF EMBODIMENTS

    [0060] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, from which technical solutions of the present disclosure become clear.

    Embodiment 1

    [0061] This embodiment illustrates a method for analyzing tunnel clearance based on laser point clouds, which can be directly applied to various laser point clouds based clearance analysis devices of subway tunnels. In specific implementation, the application can be realized by writing corresponding programs in controllers of clearance analysis device of the subway tunnel. As shown in FIG. 1, the method includes the following steps.

    [0062] S1) A point cloud of a subway tunnel is obtained. Specifically, the tunnel is scanned by a three-dimensional scanner based tunnel inspection vehicle to obtain the point cloud of the subway tunnel. The point cloud of the subway tunnel is divided into sections with equal length, such that the subway tunnel in each section contains ten tunnel segments. A point cloud of the subway tunnel containing ten tunnel segments as shown FIG. 2 is taken as the point cloud of the subway tunnel hereinafter.

    [0063] S2) The point cloud of the subway tunnel is subjected to cylinder fitting through Gaussian mapping. A central axis A of the subway tunnel is extracted, and a point cloud of a single cross section of the subway tunnel is extracted as illustrated in FIG. 3. Specifically, the point cloud of the cross section is defined as follows:

    [00002] P C = { t i P T .Math. ( t i - a i ) .Math. T .Math. t i - a i .Math. .Math. < .Math. } ;

    [0064] in which P.sub.C, is the point cloud of the cross section; t.sub.i is a point in the point cloud of the subway tunnel; P.sub.T is the point cloud of the subway tunnel; a.sub.i is a point on the central axis A; T is a unit tangent vector of the central axis A at the point a.sub.i; and ε is a threshold.

    [0065] The point cloud of the cross section is then projected along the central axis to obtain a two-dimensional point cloud of the cross section.

    [0066] S3) Point clouds of two rails are extracted from the point cloud of the subway tunnel. Specifically, as shown in FIG. 4, a point p.sub.i and a point p.sub.j are respectively selected from the point clouds of the two rails, and then clustering is carried out using Euclidean distance such that the point clouds of the two rails is extracted. A distance threshold of the clustering is 0.02 m. The point cloud data circled in rectangular boxes in FIG. 4 is the point clouds of the two rails.

    [0067] S4) As shown in FIGS. 5-6, a highest point z_max.sub.i and a highest z_max.sub.j of the point clouds of the two rails are selected to construct a base line l of a contour of tunnel clearance, and a slope k of the base line l is calculated; the two-dimensional point cloud of the cross section is subjected to circle fitting using random sample consensus (RANSAC) to obtain a center c of the cross section, and a bandwidth threshold of the circle fitting is 0.04 m; and a point cloud of the contour of the tunnel clearance is registered with the two-dimensional point cloud of the cross section according to the following two constraint conditions: 1) a bottom edge of the contour coincides with the base line l; and 2) an x-coordinate of a center co of the contour is equal to the x-coordinate of the center c of the cross section.

    [0068] S5) Data analysis is carried out to determine the invasion. Specifically, as shown in FIG. 7, for any point p_i in the point cloud of the cross section of the tunnel, the closest point p_in in the point cloud of the contour of the tunnel clearance is searched through K-Nearest Neighbors (KNN), and then whether the clearance is intruded is judged by an intrusion function defined as follows:


    S=∥p_i−c∥−∥p_in−c∥;

    [0069] in which p_i is any point in the point cloud of the cross section of the tunnel; p_in is the closest point searched by KNN in the point cloud of the contour of the tunnel clearance; when S<0, the tunnel clearance is intruded; otherwise, the tunnel clearance is not intruded.

    [0070] In this embodiment, an accurate calculation and analysis method is provided to determine whether the tunnel intrudes the clearance contour. Specifically, the point cloud of a subway tunnel is obtained. The point cloud of the subway tunnel is subjected to cylinder fitting. The central axis of the tunnel is extracted. The cross section of the subway tunnel is obtained. The point clouds of the two rails are extracted. The base line of a contour of tunnel clearance is constructed, and the center of the cross section is extracted. The point cloud of the cross section of the tunnel is registered with a point cloud of the contour based on constraint conditions. Data analysis is carried out to determine the intrusion. The method provided herein is simple and feasible for analyzing tunnel clearance, and can effectively reduce the difficulty in the clearance analysis of subway tunnel, avoid analysis errors caused by complex analysis and calculation, and improve the efficiency and accuracy of the clearance analysis.

    Embodiment 2

    [0071] Based on the method for analyzing tunnel clearance based on the laser point cloud, this embodiment provides a device for analyzing tunnel clearance based on a laser point cloud. Specifically, FIG. 8 shows an optional structural diagram of the device, which includes a data acquisition module, a preprocessing module, and an analysis module.

    [0072] The data acquisition module is configured to acquire 3D point cloud data of a subway tunnel. The subway tunnel is scanned through a tunnel detection vehicle based 3D laser scanner system, and 3D point cloud data of the subway tunnel is exported for subsequent preprocessing and analysis calculation.

    [0073] The preprocessing module is connected to the data acquisition module, and is configured to pre-process the point cloud data of the subway tunnel, divide the point cloud data of the subway tunnel into sections of equal length, and extract the central axis of the subway tunnel and the point clouds of rails. The preprocessing module includes a dividing unit and an extraction unit. The dividing unit is configured to divide the point cloud of the subway tunnels into sections of equal length, such that the tunnel in each section contains 10 tunnel segments, which is convenient for subsequent batch processing. The extraction unit is configured to perform clustering using Euclidean distance, so as to extract the point clouds of the two rails.

    [0074] The analysis module is connected to the preprocessing module, and is configured to construct a base line of a contour of the tunnel clearance, extract a center of the cross section of the tunnel and register the point cloud of the cross section of the tunnel and a point cloud of the contour according to a constraint condition.

    [0075] In some embodiments, the analysis module includes a constraint calculation unit, a point cloud registration unit and an intrusion calculation unit. The constraint calculation unit is configured to construct the characteristic base line of the rail and fit a circle through RANSAC, and calculate the slope of the base line and the constraint conditions such as the center of the cross section. The point cloud registration unit, based on the above constraints, the clearance contour is registered with the point cloud of the cross section of the tunnel. The intrusion calculation unit is configured to determine whether the segments of the tunnel intrude the tunnel clearance using the defined intrusion function.

    [0076] The above embodiments are illustrative of the present disclosure and not intended to limit the scope of the present disclosure. Various modifications and changes made by those of ordinary skill in the art without departing from the spirit and scope of the present disclosure shall fall within the scope of the application defined by the appended claims.