The shape of tunnels varies depending on different purposes, geographical environments, and design speeds, resulting in irregular cross-sectional tunnels such as horseshoe-shaped and rectangular-shaped tunnels. The non-contact, fast, and efficient measurement characteristics of 3D laser scanning have become important tools for tunnel measurement and analysis. The extraction and analysis of tunnel cross-sections are crucial for designing and operating tunnel structures, making the automatic extraction and fitting methods for irregular tunnel cross-sections significant. Based on 3D laser scanning technology, this paper focuses on the automatic extraction and fitting of irregular tunnel cross-sections, with the following main research contents:
(1) Generating a high-quality point cloud dataset for tunnels. The original tunnel point cloud has a long and narrow structure with numerous scattered and noisy points. The Statistical Outlier Removal (SOR) filter is used to remove scattered and noisy points, and the tunnel is rotated to align with the x-axis while cutting off the discontinuous and irregular parts. Experimental results show that this method can obtain a continuous and tangent point cloud dataset with a high density on the tunnel surface.
(2) Developing a fast algorithm for extracting the tunnel's central axis based on the Voxel Grid filter. The points on the tunnel's central axis represent its orientation and trend information. By dividing the tunnel point cloud into slices at regular intervals and calculating the geometrical center of each slice, the central axis points of the tunnel are obtained. The Voxel Grid filter is then applied to simplify the point cloud and improve extraction speed. Experimental results show that compared to the traditional method of extracting boundary points and fitting the tunnel's central axis, this method achieves faster and more efficient extraction with higher quality.
(3) Constructing a polynomial curve least squares fitting algorithm with random sample consensus (RANSAC). The polynomial curve fitting model can accommodate various types of curves, such as straight lines, quadratic curves, and spline curves. Combined with the RANSAC algorithm, which enhances the robustness against outliers, multiple fitting models are generated to improve universality. Experimental results show that this method provides more fitting model choices for the tunnel's central axis while maintaining good fitting accuracy.
(4) Developing a fast cutting algorithm for tunnel sections based on the function model of the tunnel's central axis. The function model of the central axis represents the orientation and trend of the tunnel. By intercepting a point on the central axis, the tangent direction is calculated, the tunnel is rotated to align with the x-axis, and points within a certain range of the intercept are extracted. During the extraction process, a point cloud index pointer method is used to distinguish between points inside and outside the range, thereby improving the cutting speed. Finally, the tunnel is reversed to obtain the cut section. Experimental results show that this method achieves excellent computational speed for automatic tunnel cutting.
(5) Building a random sample consensus (RANSAC) algorithm capable of estimating multiple models. The RANSAC algorithm can eliminate outlying points and obtain globally optimal parameter estimates while being robust against outliers. A random sample consensus algorithm capable of estimating multiple models is developed. Experimental results demonstrate that this method can effectively estimate models for irregular tunnel cross-sections while maintaining strong robustness against outliers.
(6) Developing a plugin for automatic extraction and fitting of irregular tunnel cross-sections. Based on the open-source software platform CloudCompare and the Visual Studio development environment, functions for preprocessing tunnel point clouds, extracting and fitting tunnel central axes, extracting tunnel cross-sections, and automatically fitting irregular tunnel cross-sections are implemented.
(Note: The translation is based on the assumption that "隧道" means "tunnel" and "点云" means "point cloud". If these assumptions are not correct, please let me know and I will make the necessary adjustments.)