Tunnel styles vary depending on factors such as usage, geographical environment, and design speed, resulting in irregular-shaped tunnel sections such as horseshoe and rectangular. Three-dimensional laser scanning, with its non-contact, fast, and efficient measurement characteristics, has become an important tool for tunnel measurement and analysis. The extraction and analysis of tunnel sections are crucial for the design and operation maintenance of tunnel structures, and the automatic extraction and fitting methods for irregular tunnel sections are of great significance. This paper is based on laser point cloud processing technology and focuses on the automatic extraction and fitting of irregular tunnel sections. The main research contents are as follows:
(1) Generating a high-quality dataset of tunnel point clouds. The original tunnel point cloud has narrow structural characteristics with many discrete and noisy points. The Statistical Outlier Removal (SOR) filter is used to remove the discrete and noisy points, and the tunnel is rotated to align with the axis, and discontinuous and incomplete parts are trimmed. The experiments show that this method can obtain a continuous and tangent dataset of tunnel point clouds with high density.
(2) Rapid extraction algorithm for the central axis using Voxel Grid filter. The points on the central axis of the tunnel represent the posture and trend information of the tunnel. By calculating the geometric center of the point cloud set of the tunnel slices and using the Voxel Grid filter to reduce the points, the extraction speed can be improved. Experimental results show that this method has faster and more efficient extraction speed and quality compared to traditional methods of extracting boundary points and fitting the central axis of the tunnel.
(3) Constructing a polynomial curve least squares fitting algorithm with Random Sample Consensus (RANSAC). Polynomial curves can be used to fit straight lines, quadratic curves, spline curves, etc. By combining RANSAC, the robustness of the outlier removal algorithm is retained while increasing the variety of fitting models, enhancing the universality of different model fittings. Experimental results show that this method provides more model choices for fitting the central axis of the tunnel under excellent fitting effect.
(4) A fast section extraction algorithm based on the function model of the central axis of the tunnel. The function model of the central axis represents the posture and trend function model of the tunnel. By selecting a point on the central axis, calculating its tangent direction, rotating to align the tunnel with the axis, and extracting the points within a certain value range, the section of the tunnel can be extracted. During the extraction, the traversal point cloud index pointer method is used to differentiate between points inside and outside the value range, which improves the extraction speed. Finally, the tunnel section is extracted by reverse rotation. Experimental results show that this method achieves excellent computational speed in automatic section extraction of tunnels.
(5) Constructing a Random Sample Consensus (RANSAC) algorithm that can estimate multiple models. The RANSAC algorithm can eliminate points outside the sample to obtain globally optimal parameter estimation and has strong robustness against outliers in the data. By constructing a RANSAC algorithm that can estimate multiple models, irregular tunnel section models can be estimated with strong robustness against outliers. Experimental results show that this method can achieve model estimation for irregular tunnel sections and has strong robustness against outliers.
(6) Development of a plug-in for automatic extraction and fitting of irregular tunnel sections. Based on the CloudCompare open-source software platform and Visual Studio development environment, the pre-processing of tunnel point clouds, extraction and fitting of the central axis, extraction of tunnel sections, and automatic fitting of irregular tunnel sections have been implemented.
Keywords: laser point cloud technology, tunnel, Random Sample Consensus algorithm, fast extraction and fitting of irregular tunnel sections.