Next Article in Journal
Automated Anomaly Detection and Causal Analysis for Civil Aviation Using QAR Data
Previous Article in Journal
Millimeter-Wave Imaging with Range-Resolved 3D Depth Extraction Using Glow Discharge Detection and Frequency-Modulated Continuous Wave Radar
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Fitting and Denoising Subway Shield-Tunnel Cross-Section Point-Cloud Data Based on the Huber Loss Function

1
The Key Laboratory of Urban Security and Disaster Engineering of China Ministry of Education, Beijing University of Technology, Beijing 100124, China
2
Beijing Urban Construction Exploration & Surveying Design Research Institute Co., Ltd., Beijing 100101, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(4), 2249; https://doi.org/10.3390/app15042249
Submission received: 16 January 2025 / Revised: 16 February 2025 / Accepted: 17 February 2025 / Published: 19 February 2025

Abstract

:
The expansion of tunnel scale has led to a massive demand for inspections. Light Detection And Ranging (LiDAR) has been widely applied in tunnel structure inspections due to its fast data acquisition speed and strong environmental adaptability. However, raw tunnel point-cloud data contain noise point clouds, such as non-structural facilities, which affect the detection of tunnel lining structures. Methods such as point-cloud filtering and machine learning have been applied to tunnel point-cloud denoising, but these methods usually require a lot of manual data preprocessing. In order to directly denoise the tunnel point cloud without preprocessing, this study proposes a comprehensive processing method for cross-section fitting and point-cloud denoising in subway shield tunnels based on the Huber loss function. The proposed method is compared with classical fitting denoising methods such as the least-squares method and random sample consensus (RANSAC). This study is experimentally verified with 40 m long shield-tunnel point-cloud data. Experimental results show that the method proposed in this study can more accurately fit the geometric parameters of the tunnel lining structure and denoise the point-cloud data, achieving a better denoising effect. Meanwhile, since coordinate system transformations are required during the point-cloud denoising process to handle the data, manual rotations of the coordinate system can introduce errors. This study simultaneously combines the Huber loss function with principal component analysis (PCA) and proposes a three-dimensional spatial coordinate system transformation method for tunnel point-cloud data based on the characteristics of data distribution.

1. Introduction

The growth in transportation demand and the expanded utilization of underground space have driven the rapid development of tunnel engineering, leading to the continuous expansion of tunnel scale worldwide [1]. Shield tunnels have become the predominant form in most urban subway systems due to their advantages, such as construction convenience [2]. However, the growth in tunnel scale has also brought about a series of issues. Due to factors such as the aging of tunnel structures and the mechanical effects of the surrounding soil on the tunnel, structural deformation and damage inevitably occur. RThese issues ultimately affect the load-bearing capacity of the tunnel structure and pose safety hazards.
At the same time, defects such as cracks, spalling, and lining water leakage are widely present in operational tunnels [3,4], which also impact the load-bearing performance of tunnel structures. Therefore, structural inspections of tunnels play a crucial role in tunnel operations [5].
Traditional tunnel inspections primarily rely on manual methods, using tools such as measuring tapes, rangefinders, ground-penetrating radars, and total stations to collect data [6,7,8]. However, these measurement methods require significant time, manpower, and material resources during preparation and measurement. Additionally, the measurement accuracy for tunnel deformation is greatly affected by factors such as human intervention and the arrangement of measurement points [9]. Therefore, there is a significant demand for rapid and high-accuracy detection methods for structural deformation in the field of tunnel inspections.
Light Detection And Ranging (LiDAR) has been widely applied in structural inspections due to its advantages, such as non-contact measurement and fast data acquisition. Laser scanning systems, including mobile laser scanning systems and tripod-based laser scanning systems, are also increasingly being utilized in tunnel inspections [10,11].
However, laser scanning systems acquire surface point-cloud data of tunnels during the scanning process, and these raw point-cloud data contain a large number of non-structural facilities, such as pipelines and maintenance walkways. While these non-structural facilities have relatively little impact on the mechanical performance of the shield tunnel itself, the effectiveness of removing non-structural facility point clouds significantly affects the health inspection of the tunnel lining structure [12].
Numerous researchers have conducted extensive studies on point-cloud denoising, integrating various computer science theories into the denoising process. This has led to the development of a range of point-cloud processing techniques, including filter-based point-cloud denoising, optimization-based point-cloud denoising, and machine learning-based point-cloud denoising [13,14,15].
Filter-based point-cloud denoising primarily originates from the concept of filters in signal processing, where appropriately designed filters are used to remove unwanted noise components. This method typically smooths the data directly through weighted averaging or similar operations, eliminating noise while striving to preserve the characteristics of the original signal. For example, Wen et al. [16]. considered the impact of three parameters—number of nearest neighbor points (N), Euclidean distance weight, and normal vector direction weight—on denoising performance and applied bilateral filtering to denoise point-cloud data in autonomous driving scenarios. Similarly, Wang et al. [17]. denoised forest point-cloud data using statistical filtering, effectively segmenting ground point-cloud data and individual tree point-cloud data.
In addition, filters such as statistical outlier removal (SOR) [18], geometry-based filtering [19,20], and radius filtering [21] have also been applied to point-cloud denoising in various scenarios. Filter-based point-cloud denoising achieves good results when targeting specific point-cloud distributions. In filter-based point-cloud denoising methods for tunnel structures, filtering techniques such as cloth simulation filtering (CSF) [22] and wavelet transform [23] have achieved promising results.
Optimization-based point-cloud denoising methods formulate the denoising process as an optimization problem. By defining objective functions based on geometric properties and noise distributions, these methods seek a denoised point cloud that best fits the objective function derived from the input noisy point cloud.
Fitting methods, represented by the least-squares method [24], have achieved notable results in point-cloud denoising. This approach introduces locally approximated surface polynomials to adjust point set density, enabling the smooth reconstruction of complex surfaces while minimizing geometric errors. The least-squares method and its improved variants have also been widely applied in the denoising of point-cloud data [25,26,27,28]. Meanwhile, the least-squares method, combined with other denoising techniques such as outlier filtering [29] and local kernel regression (LKR) [30], has also been applied to point-cloud data denoising. In addition to the least-squares method, other fitting optimization techniques, such as local optimal projection (LOP) [31], weighted local optimal projection (WLOP) [32], and moving robust principal component analysis (MRPCA) [33], have also been widely applied.
Some of the aforementioned point-cloud denoising techniques have also been applied to the processing of tunnel-structure point-cloud data. Bao, Yan et al. [34] conducted research on denoising tunnel cross-sectional point clouds by leveraging the geometric features and intensity information of the point-cloud data. Their method effectively removes most noise points in the tunnel point cloud, thereby improving data quality and accuracy. However, because this method requires manually transforming the coordinate system and extracting the cross-section based on the point cloud’s geometric and intensity features, the denoising accuracy is significantly affected by factors such as equipment, environment, and the precision of manual data preprocessing. Consequently, its robustness under complex tunnel conditions is relatively poor.
Since the tunnel cross-sectional structure exhibits minimal variation along the tunnel’s mileage, some scholars have extracted tunnel cross-sections along the mileage direction based on this structural characteristic [35] and performed denoising on individual cross-section point clouds. Moreover, Soohee Han et al. [36] projected the three-dimensional point cloud onto a two-dimensional plane and extracted the tunnel axis by obtaining the planar skeleton, thereby achieving tunnel cross-section extraction.
In addition, some researchers employ ellipse-fitting methods to model the boundary lines of tunnel point clouds and, based on the fitting results, remove outliers to complete both the denoising of tunnel cross-sectional point clouds and the extraction of the cross-section. Among various ellipse-fitting methods, the least-squares method [37,38,39,40] is widely used. The least-squares method can effectively fit and denoise tunnel point clouds that contain relatively few noise points and where the noise causes only minimal dispersion of the fitted curve. However, some tunnel point clouds contain a significant amount of discrete noise, such as those generated by tunnel pipelines, making it difficult for the least-squares method to perform effective fitting and denoising.
In order to improve the robustness of the fitting method against noise, some researchers have employed RANSAC [41,42,43] to fit tunnel cross-sectional curves. RANSAC is highly robust method capable of extracting valid data even in the presence of a large amount of noise and outliers, making it suitable for complex point-cloud distributions with unevenly distributed noise or numerous outliers. However, the selection of parameters for this method (such as the inlier threshold and the number of iterations) relies on experience, and the tuning process is quite cumbersome. Moreover, because this method is based on random sampling, the ellipse-fitting results obtained with RANSAC tend to be unstable and lack repeatability. In addition, B-spline curves [44] have also been applied to the curve fitting of tunnel cross-sectional point clouds. This method can generate smooth, continuous curves with excellent local control, making it suitable for describing complex tunnel cross-sectional shapes. However, it is sensitive to the selection of initial control points and parameter settings, and inappropriate settings may lead to fitting bias.
Machine learning-based point-cloud denoising does not rely on manually defined filters or objective functions. Instead, it denoises through a data-driven approach, leveraging the powerful computational capabilities of computers to uncover the inherent patterns and features within the data. Machine learning primarily includes two types: supervised learning and unsupervised learning.
In the field of point-cloud denoising, unsupervised learning denoising methods are often based on clustering techniques. These methods group similar data points into clusters and identify and remove outliers or noise points to achieve denoising. Density-based clustering algorithms such as DBSCAN [45]; PCA-based adaptive clustering [46]; the DTSCAN clustering method based on Delaunay triangulation and the DBSCAN mechanism [47]; clustering based on spatial distance, normal similarity, and logarithmic Euclidean Riemannian metrics [48]; and K-means clustering based on local statistical features of point clouds [49] have been applied to point-cloud denoising.
These methods have achieved good denoising results for point-cloud data with distinct geometric distribution features. These unsupervised learning models typically do not require explicit labels. Instead, they learn the inherent features of the data by identifying structures, patterns, or correlations within the data.
In contrast, supervised learning involves learning from labeled training data to predict outcomes for new, unseen data. In the field of point-cloud denoising, supervised learning-based denoising is often achieved using neural networks. Network architectures such as PointNet and convolutional neural networks (CNNs) have been applied to point-cloud denoising.
The PointNet [50] and PointNet++ [51] architectures, which can directly process point-cloud data, have opened new directions in the field of 3D data processing and have driven the development of point-cloud processing networks. Improved versions of the PointNet network, such as PointCleanNet [52], which focuses on the fusion of local and global features of point clouds, and PCPNet [53], which emphasizes the estimation of local geometric features like normal vectors and curvature, have demonstrated good performance in point-cloud denoising tasks.
PointNet has relatively weak local feature extraction capabilities and lacks spatial structure awareness of point-cloud data. To address this, some researchers have employed improved convolutional neural networks (CNNs) for point-cloud denoising tasks [54,55,56,57]. For existing convolutional neural networks (CNNs), the unstructured and sparse nature of point-cloud data does not perfectly match the input data requirements of CNNs. Therefore, the use of CNNs for point-cloud denoising still has room for improvement. In machine learning-based point-cloud denoising, DBSCAN clustering [58] has been applied to tunnel point-cloud denoising.
In the aforementioned research on point-cloud denoising, various models of laser scanning devices have been applied for point-cloud acquisition. For instance, the Faro X130, which excels in high-precision detail capture, features a scan angular resolution of 0.036° and a beam divergence of 0.19 mrad, a measuring range of 0.6 m to 130 m, and a single measurement error of ±2 mm; a single scan can generate a high-density point cloud containing approximately 1371 million points. Additionally, the Robosense Helios 1615 laser scanner, known for its fast measurement speed and suitability for mobile mapping and large-scale three-dimensional laser scanning, employs a 32-line scanning mechanism, offers a 360° horizontal field of view and a 70° vertical field of view (covering −55° to +15°), and can achieve a point-cloud acquisition rate of 576,000 pts/s in single-return mode.
In addition, the Optech LYNX Mobile Mapper, which is suitable for engineering surveys and large-scale infrastructure measurements (such as tunnels), features a maximum measuring range of 200 m, a range precision of 8 mm, and a range accuracy of ±10 mm (1σ). This device has a laser measurement rate of 75–500 kHz (with multiple measurements possible per laser pulse), a scanning frequency of 80–200 Hz, uses a 1550 nm (near-infrared) laser, and offers a full 360° scanning field of view. Besides laser scanning devices, other data acquisition devices, such as the Intel RealSense D435i, are also used for data collection tasks. The Intel RealSense D435i is a measurement device that generates depth images based on infrared stereo vision and related technologies. It features an RGB frame resolution of 1920 × 1080 and a field of view of approximately 69° × 42°. This device is capable of capturing both RGB and depth information simultaneously. Together, these devices provide a reliable data foundation for the aforementioned denoising methods.
However, in point-cloud denoising methods for tunnel data, filter-based denoising techniques often focus on the distribution of individual point clouds and tend to have poor robustness when dealing with complex point-cloud distributions. Machine learning-based point-cloud denoising methods, represented by clustering and neural networks, often involve complex parameter tuning or require large amounts of data collection and labeling. As a result, these methods typically have long preparation periods and substantial workloads. Optimization-based denoising methods, such as point-cloud fitting, often require manual data preprocessing. The quality of the preprocessing directly affects the ellipse-fitting results, which in turn impacts the denoising performance. However, for large-scale point-cloud data in practical inspection tasks, performing manual preprocessing on all the data would consume substantial resources.
Therefore, this study proposes an ellipse-fitting denoising method based on the Huber loss function. This method achieves good fitting results and effectively denoises tunnel-lining-structure point-cloud data without the need for preprocessing. Additionally, it offers good computational efficiency.

2. Methods

The process of ellipse-fitting and point-cloud data denoising for subway shield-tunnel sections based on the Huber loss function is shown in Figure 1. Raw point-cloud data of the subway tunnel are obtained through a mobile laser scanning system. The raw point-cloud data undergo principal component analysis (PCA) to determine the principal component direction of the point-cloud data and use the Huber loss function to fit the cross-section’s symmetry axis. Based on the principal component direction and the fitted symmetry axis, the spatial coordinate system of the point-cloud data is transformed. This ensures that the mileage direction (tunnel axis direction) of the tunnel point cloud aligns parallel to the Cartesian coordinate system’s z-axis, the symmetry axis of the tunnel cross-section aligns parallel to the y-axis, and the x-axis remains orthogonal.
After transforming the coordinate system, tunnel point-cloud data are extracted along the z-axis direction at fixed distances to obtain cross-sectional point-cloud data. For each individual cross-section point cloud, the Huber loss function is used to fit an ellipse equation. The original point cloud is then projected onto the fitted ellipse by calculating the radial shortest distance, resulting in the denoised point cloud.
Finally, evaluation metrics are derived by calculating the differences in radial distance between before and after projection. These metrics include mean squared error (MSE), root-mean-squared error (RMSE), and mean absolute error (MAE), which are used to comprehensively assess the effectiveness of tunnel point-cloud data denoising.

2.1. PCA-Based Point-Cloud Data Coordinate System Transformation

Due to significant variations in the actual tunnel alignment direction caused by engineering requirements, geological conditions, and other factors, the principal feature direction of the tunnel point-cloud data scanned by the laser scanning system is not orthogonal to the XYZ axes of the Cartesian coordinate system. This study selected the Amberg Clearance GRP 5000—Profiler 6012 model mobile 3D laser scanner to collect data, which is a high-precision measurement system designed for tunnel and rail infrastructure inspection. The laser scanning system quickly advances along the tunnel axis to achieve continuous tunnel point-cloud data collection. The actual collected tunnel point-cloud data are shown in Figure 2. Since the tunnel point cloud is a three-dimensional graphic, a single color cannot display the three-dimensional graphic. This study uses a color threshold that is evenly distributed along the point-cloud data to display the three-dimensional point-cloud graphics. The color threshold in the figure has no actual geometric or physical meaning.
However, during point-cloud data processing, coordinate system transformation is often involved. To achieve better computational results and facilitate calculations, this study proposes a PCA-based tunnel point-cloud coordinate system transformation method. This method rotates the principal feature direction of the original point-cloud data to align with the z-axis of the Cartesian coordinate system. The results show that this method effectively completes the tunnel point-cloud coordinate system transformation and reduces the errors introduced by manual operations.
PCA is a commonly used data feature extraction method that represents the main variation trends of the data by finding the direction with the largest variance (i.e., the principal components). A larger variance indicates that the differences in the data are more pronounced. PCA was first proposed by Karl Pearson [59] in 1901. It uses linear combinations to reduce the dimensionality of high-dimensional data to process multivariate data, revealing the correlation between variables and the inherent structure of the data. Later, it was further developed and improved by Harold Hotelling [60] and named “principal component analysis”. This method has been widely used in the field of data statistical analysis. Li, D. [61] et al. successfully extracted the principal axis direction of the turbine-blade point cloud with the help of PCA, proving the effectiveness of the PCA method in extracting the principal component direction of point-cloud data. Based on the above PCA principles and references, this study improves the PCA formula for tunnel point-cloud data processing and applies it to tunnel point-cloud coordinate system transformation. For tunnel point-cloud data with a narrow distribution, this method can effectively extract the principal component direction.
Since the actual amount of tunnel point-cloud data is huge, usually counted in millions, it is difficult to directly use tunnel point-cloud data to show the principal component direction of the tunnel point cloud. In order to better demonstrate the PCA principle, this paper uses the sample point-cloud data generated by Python to visualize the PCA principle, as shown in Figure 3. The two arrows in the figure represent the first and second principal component directions of the data. The gray dots are sample data generated by the program, representing the point-cloud data of the actual tunnel. The coordinate axes in the figure are for the quantitative display of point-cloud data and do not have actual units.
To reduce the errors introduced by manually selecting the tunnel axis direction, this study uses PCA to calculate the eigenvector of the direction with the maximum variance of the tunnel point cloud (the first principal component direction) to represent the tunnel point cloud’s axis direction. Based on this, the tunnel point cloud is rotated, as shown in Figure 4.
For the original tunnel point-cloud dataset X = x i i = 1 N , where each point in the dataset has coordinates x i , y i , z i , in order to eliminate the effect of the data’s position (i.e., the offset) in the coordinate space on the data’s feature vector (i.e., the principal component direction), the mean of the point-cloud data must be calculated according to Equation (1), and then all points in the point-cloud dataset are centered by subtracting the mean, as shown in Equation (2).
x ¯ = 1 N i = 1 N x i
X c e n t e r e d = x i x ¯ i = 1 N
The original tunnel point-cloud data are centered by subtracting the mean, resulting in the centered tunnel point-cloud dataset X c e n t e r e d . The covariance matrix C of X c e n t e r e d is then calculated according to Equation (3). The covariance matrix C undergoes eigenvalue decomposition, as shown in Equation (4). The principal component corresponds to the largest eigenvalue λ 1 , and the eigenvector v 1 associated with λ 1 represents the axis direction of the tunnel point-cloud data.
C = 1 N i = 1 N ( x i x ¯ ) x i x ¯ T
C v i = λ i v i
In the equation, λ i represents the i-th eigenvalue of the covariance matrix, and v i is the eigenvector corresponding to λ i . The eigenvalues are solved in descending order, such that λ 1 > λ 2 > λ 3 .
To align the obtained principal axis direction of the point cloud with the Z-axis direction, the rotation axis r and the rotation angle θ need to be calculated. Based on these, the rotation matrix R is computed. The rotation vector r is calculated as shown in Equation (5), and the normalized rotation vector r n o r m is calculated as shown in Equation (6), which represents the direction of rotation. The x, y, and z axes represent the corresponding rotation vectors r x , r y , r z . The rotation angle θ can be computed using the dot product between the principal axis and the Z-axis, as shown in Equation (7).
r = v 1 × z
r n o r m = r r
θ = a r c c o s v 1 × z v 1 × z
In the equation, v 1 and z represent the magnitudes of the unit vectors along the principal axis and the z-axis, respectively.
In three-dimensional space, the rotation matrix can be generated using axis–angle representation. For any point x i , y i , z i in space, the coordinates of the rotated point can be directly obtained by multiplying it with the rotation matrix R . Given a rotation vector r n o r m and a rotation angle θ , the rotation matrix R can be generated using Rodrigues’ equation, as shown in Equation (8). The skew–symmetric matrix is defined in Equation (9).
R = I + sin θ K + 1 cos θ K 2
K = 0 r z r y r z 0 r x r y r x 0
The original point cloud is rotated along the tunnel axis, and the entire-tunnel point cloud is rotated to align with the z-axis direction, as shown in Figure 5.

2.2. Point-Cloud Coordinate Transformation and Section Fitting Denoising Based on Huber Loss Function

The PCA-based point-cloud coordinate transformation can align the tunnel point cloud’s main axis direction with the target axis (Z-axis direction), so that the tunnel section becomes parallel to the XY plane of the Cartesian coordinate system. However, for the tunnel point cloud after coordinate transformation, the actual tunnel section is not orthogonal to the XY plane, and the point cloud contains a large amount of noise points generated by tunnel ancillary facilities. To address this issue, this study proposes a method for tunnel-section coordinate system transformation and section fitting denoising based on the Huber loss function.
The Huber loss function was proposed by statistician Peter J. Huber in [62]. It combines the square error (for small deviations) and the linear error (for large deviations), as shown in Equation (10). Therefore, this fitting method is more robust to outliers. Based on the principle of the Huber loss function and some vector algebra and Euclidean geometry principles, this study proposes the following method and formula.
The principle of the Huber loss function is illustrated in Figure 6. The objective of fitting using the Huber loss is to minimize the loss between the fitting function and all the points, as shown in Equation (11). In this study, the fitting result using the Huber loss function is a circular equation. This equation describes the distribution and geometric parameters of the tunnel cross-sectional point cloud, laying the foundation for subsequent point-cloud coordinate transformation and denoising. In this circular equation, the circle’s center is defined as h 0 , k 0 , and the radius is R 0 . By minimizing this loss function, the circle’s center h 0 , k 0 and radius R 0 can be determined.
In this study, the geometric parameters of the tunnel cross-section are fitted using the Huber loss function L δ r i , which serves as the basis for coordinate system transformation and point-cloud denoising.
L δ r i = 0.5 · r i 2                                               i f r i δ δ · r i 0.5 · δ         i f r i > δ
m i n h , k , r = i = 1 N   ω i L δ r i
In the Equation (10), δ is a parameter used to control the transition of the function from squared residuals to linear residuals. When the absolute value of the residual is less than or equal to δ , the loss function behaves as squared residuals, making the loss function smoother for small residuals. When the absolute value of the residual exceeds δ , the loss function transitions to a linear increase, reducing the influence of outliers on the fitting result. r i represents the absolute residual between the fitted value and the actual value. ω i is the weight parameter, which controls the impact of the point-cloud data’s error on the total loss.
In Equation (11), the subscripts h, k, and r represent the parameters optimized in the minimization process, which represent the x-coordinate of the circle center, the y-coordinate of the circle center, and the radius of the circle, respectively. The algorithm continuously adjusts these three parameters to minimize the Huber loss function, and the obtained equation is the circle equation with the best fitting effect for the tunnel point-cloud section.
The Huber loss function can fit the center, axis of symmetry, and other geometric information of the tunnel cross-section. Using this geometric information, the axis of symmetry direction v s y m for each cross-sectional point set X s e g can be computed. By calculating the average axis of symmetry direction v ¯ s y m for all cross-sections and the angle θ between it and the XY plane axis, the point-cloud data can be rotated around the Z-axis θ , thus obtaining the tunnel point cloud that is orthogonal to the XY plane, as shown in Figure 7.
For a single tunnel cross-section point cloud, in order to improve computational efficiency and make the point cloud easier to fit, a circular model with only two parameters is selected for the fitting, as shown in Equation (12). In this equation, h , k represents the center of the fitted circle, and R is the radius of the fitted circle. The goal is to minimize the residuals between the fitting function and all points, i.e., to make all points fall as close as possible to the fitted circle, as illustrated in Figure 8.
r i = x i h 2 + y i k 2 R
For the fitted circle center h 0 , k 0 , the direction vector d i from each point on the cross-section to the circle center can be calculated using Equation (13). After normalizing the direction vectors using Equation (14), the unit direction vector from the circle center to all points in the cross-section can be used to compute the direction of the symmetry axis v s y m using Equation (15). The angle θ by which the point-cloud data need to be rotated around the z-axis to align the symmetry axis direction v s y m with the coordinate axis can be calculated using the inverse trigonometric function in Equation (16). This angle represents the angle between the symmetry axis and the coordinate axis.
d i = x i , y i h 0 , k 0
d ^ = d i d i
v s y m = i = 1 N   d ^
θ = a r c t a n 2 v ¯ x , v ¯ y
In the equation, d ^ represents the normalized direction vector from each point in the point cloud to the center of the circle.
After the tunnel point cloud is rotated along the axis line based on PCA and the tunnel cross-section is rotated around the z-axis based on the Huber loss function, the resulting tunnel point-cloud data are aligned parallel (and orthogonal) to the axes of the three-dimensional coordinate system.
For the point-cloud data with the transformed coordinate system, this study also applies the Huber loss function to fit the tunnel cross-sections and perform point-cloud denoising. In operational tunnels, the tunnel may undergo some deformation due to soil pressure. To better approximate the real cross-section, an elliptical model is used for fitting the cross-sections during the denoising process. The fitted ellipse equation can be expressed as Equation (17). In the ellipse equation, h , k represents the center of the fitted ellipse, and a and b represent the lengths of the semi-major and semi-minor axes, respectively.
  r i = ( x h ) 2 a 2 + ( y k ) 2 b 2 1
For the original point cloud, this study uses the shortest distance projection method to project each point radially onto the boundary of the fitted ellipse. The projection direction is determined by calculating the shortest path from each point to the ellipse. The principle is illustrated in Figure 9.
For each original tunnel point cloud’s XY plane coordinates x i , y i , the distance between the point and the center of the ellipse is calculated and normalized, as shown in Equations (18) and (19). Based on the normalized relative distance, the directional factor i for the point-cloud projection can be computed, as shown in Equation (20). Using Equations (21) and (22), the final projected point-cloud coordinates x i , y i can be obtained, while the z-coordinate of the point cloud remains unchanged throughout the process.
x r e l = x i h                 y r e l = y i k
  x ^ r e l = x r e l a                       y ^ r e l = y r e l b
i = x ^ r e l 2 + y ^ r e l 2
x i = h + x r e l i   · a
y i = k + y r e l i   · b
In the equations, x r e l and y r e l represent the coordinate differences between each point cloud and the center of the fitted ellipse h , k . a and b denote the lengths of the semi-major axis and semi-minor axis of the fitted ellipse, respectively.
The point cloud after the coordinate system transformation and cross-section fitting denoising based on the Huber loss function can effectively remove noise points, such as pipeline and other non-structural facility point clouds, while retaining the geometric shape of the tunnel lining structure.

2.3. Evaluation Metrics Calculation

Due to the huge amount of point-cloud data, it is difficult to evaluate the denoising effect of the denoised point cloud manually. Some researchers evaluate the denoising effect of the point cloud by calculating the distribution difference of the point-cloud data before and after denoising. Bao, Yan [34] and other researchers quantitatively evaluated the denoising effect of the point cloud by calculating the maximum relative deviation (MRD), average deviation (AD), and mean square error (MSE). Wang, Z. [35] evaluated the denoising effect of the point cloud by calculating the maximum positive displacement and maximum negative displacement of the point-cloud projection before and after denoising.
To quantitatively evaluate the effectiveness of the Huber loss function-based point-cloud denoising method, this study, based on the aforementioned literature and mathematical statistical principles, employs three evaluation metrics—mean squared error (MSE), root-mean-squared error (RMSE), and mean absolute error (MAE)—to assess whether the fitted ellipse accurately matches the distribution of the original point cloud, and thereby evaluates whether the denoised point cloud retains the geometric features of the tunnel lining.
However, due to the presence of non-structural facility point clouds (such as noise points from auxiliary structures) in the original point cloud, these non-structural point clouds introduce calculation errors when evaluating the entire section. This ultimately affects the judgment of the denoising effect for the section. Therefore, directly calculating the three metrics for the entire section point cloud cannot accurately reflect the fitting and denoising performance.
In addition to calculating the evaluation metrics for the entire section, this study also selects the local point cloud at the tunnel crown (from 60° to 120° of the tunnel cross-section, with the positive x-axis as the 0° direction) to compute the three evaluation metrics. This part of the tunnel point cloud, from the 60° to 120° range at the top of the tunnel, effectively reflects the denoising results of the tunnel lining structure since there are no non-structural facilities (noise points). As shown in Figure 10, the red area represents the selected partial point cloud.
Due to the presence of noise points (outliers), calculating the error using only the x and y coordinates in the Cartesian coordinate system for each point cloud may result in sudden value changes that affect the evaluation of the point-cloud denoising effect.
To mitigate the influence of outliers and comprehensively evaluate the denoising effect of the method in both the x and y coordinate directions, this study uses the distance r 0 from the points to the center of the fitted circle before and after projection, instead of calculating the evaluation metrics based on the x and y coordinates, as shown in Equation (23).
r 0 = x i h 2 + y i k 2
This equation evaluates the difference between the fitted denoised point cloud and the tunnel-lining-structure point cloud by calculating the difference in the radius from each point to the center of the fitted circle before and after projection. Therefore, the calculation of evaluation metrics MSE, RMSE, and MAE based on the radial distances r 0 of the point cloud and the projected point-cloud radial distances r 0 is as follows:
The MSE is the average of the squared differences between the fitted values and the original values, used to quantify the overall magnitude of the error, as shown in Equation (24). The RMSE is the square root of the MSE, and it has the same units as the original data, making it more intuitive when interpreting the error magnitude. As shown in Equation (25), the lower the value of RMSE, the smaller the error.
M S E = 1 N i = 1 N r 0 r 0 2
R M S E = 1 N i = 1 N r 0 r 0 2
The MAE is the average of the absolute errors of all data points, and it provides an intuitive measure of the magnitude of the error. As shown in Equation (26), the smaller the MAE, the smaller the error in the results.
M A E = 1 N i = 1 N r 0 r 0
This study calculates and evaluates the point-cloud denoising effect based on the above three metrics for both the entire cross-sectional point cloud and the tunnel-top point cloud, which contains fewer noise points.

3. Results

3.1. Data Selection

In this study, 40 m long tunnel point-cloud data from an operational subway shield-tunnel section were selected to validate the denoising effect of the proposed method. The shield-tunnel segment in this section has a width of 1.5 m, an internal radius of 2.7 m, and an external radius of 3 m.
In this study, the Amberg Clearance GRP 5000—Profiler 6012 mobile 3D laser scanning system was used for data acquisition. The system includes an Amberg Profiler 6012 high-speed phase laser scanner, a Distance Measurement Instrument (DMI), a high-precision inertial navigation unit, an industrial-grade laptop computer, and a composite frame accessory, as shown in Figure 11.
The distance measurement principle of this model of scanner is phase-based interferometric ranging, which determines distances by analyzing the phase shift of reflected laser signals. The scanner operates at a maximum frequency of 200 Hz, with a scanning range covering a 360° horizontal field of view and a vertical field of view of 120° or greater. It supports a maximum measuring distance of 119 m and a maximum sampling rate of 1.016 million points per second. The ideal measurement accuracy is 0.1 mm. In actual scanning operations, the device moves forward at a speed of 4 km/h and collects 5000 points per profile. The device can operate stably in environments ranging from −10 °C to 50 °C, generating tens of thousands to millions of point-cloud data per second. The device supports multiple file output formats such as LAS and ASCII. The point-cloud data from actual tunnel scans are shown in Figure 12.
In this study, to ensure that each cross-section has enough point clouds for ellipse-fitting while maintaining an appropriate cross-sectional thickness, one cross-section is extracted every 0.1 m along the z-axis for the transformed point cloud (where the tunnel axis direction is parallel to the z-axis). For each extracted cross-section, the Huber loss function is used for ellipse-fitting, and the original point cloud is projected based on the minimum radial distance to achieve denoising. The denoising effects for individual cross-sectional point clouds and the entire-tunnel point cloud are shown in Section 3.2 and Section 3.3.

3.2. Denoising Effect of Individual Cross-Sectional Point Clouds

To evaluate the denoising effect of individual cross-sections, five cross-sections were randomly extracted from the tunnel point-cloud data for assessment. At the same time, for the convenience of management and experimental needs, this study named these five cross-sections Sections 1–5, as shown in Figure 13. Each section in the figure is a tunnel point-cloud dataset with a thickness of 0.1 m. In order to ensure the rigor of the experiment, the distance between sections in the figure is a random value. The number of point clouds contained in each cross section is shown in Table 1.
To visualize the denoising effect of individual cross-section point clouds, Section 1 is taken as an example. The ellipse-fitting and point-cloud denoising effects are shown in Figure 14, where the blue points represent the original point cloud and the red points represent the denoised point cloud after fitting.
To quantitatively assess the effectiveness of the point-cloud denoising method in this study, three evaluation metrics—MSE, RMSE, and MAE—are introduced. These metrics reflect the similarity between the denoised point cloud and the entire-tunnel cross-section’s lining structure. The evaluation results for the entire cross-section are shown in Table 2.
M S E ( m 2 ) R M S E ( m ) M A E ( m ) The analysis of the evaluation metric results for the entire cross-section indicates that the point cloud processed by the Huber loss-based ellipse-fitting denoising method is in general agreement with the original tunnel point-cloud lining structure. However, due to the presence of noise points, these evaluation metrics do not accurately reflect the fitting denoising effect on the tunnel lining structure without noise points. Therefore, this study also separately selects the tunnel-top (60°–120°) point cloud for evaluation metric calculation, and the results are shown in Table 3.
From the evaluation metrics in Table 3, it can be seen that the geometric parameters of the tunnel cross-sectional top point cloud, after denoising using the Huber loss-based point-cloud denoising method, are highly consistent with those of the actual tunnel lining structure’s top point cloud, with errors reduced to the millimeter level.
At the same time, the evaluation results in Table 3 are significantly lower than those in Table 2. This is because, in the evaluation metrics calculated for Table 2, the original point cloud used as the benchmark contains noise points such as tunnel pipelines, and these noise points introduce errors in the evaluation metrics, erroneously reflecting the congruence between the denoised point cloud and the actual tunnel lining structure’s point cloud, thus leading to inflated values. In contrast, the tunnel-top point cloud contains fewer noise points, so the evaluation metrics computed for this portion more accurately reflect the denoising effect on the tunnel lining structure.
From the above results, it can be concluded that the ellipse-fitting denoising method based on the Huber loss function achieves good fitting and denoising results for the lining structure point cloud of a single tunnel section.

3.3. Denoising Effect of the Entire-Tunnel-Section Point Cloud

The denoising results of the selected 40 m long tunnel point-cloud data using the Huber loss function-based ellipse-fitting method are shown in Figure 15.
For the entire-tunnel point cloud, to quantitatively evaluate the denoising effect of the point cloud, the denoising evaluation metrics for all sections of the tunnel are calculated and shown in Table 4. Additionally, for all sections of the tunnel, this study selects the local point cloud at the tunnel top (60°–120°) to compute the evaluation metrics, as shown in Table 5.
According to the evaluation metrics in Table 4 and Table 5, the denoising performance of the Huber loss-based point-cloud denoising method applied to the entire-tunnel point cloud shows no significant difference compared to that on a single tunnel cross-section point cloud. This indicates that the method exhibits a certain degree of robustness and can effectively denoise point clouds from various tunnel cross-sections.
Similar to the case in Table 2 and Table 3, the results in Table 5 show a significant improvement over those in Table 4, further demonstrating that the original point cloud—containing noise such as tunnel pipelines—introduces errors in the evaluation metrics that misrepresent the denoising performance. In contrast, the evaluation metrics computed for the tunnel-top point cloud directly assess the denoising effect on the tunnel-lining-structure point cloud, thereby providing a more accurate reflection of the denoising performance on the tunnel lining structure.
In summary, the ellipse-fitting denoising method based on the Huber loss function demonstrates good denoising performance for the entire-tunnel point cloud. It effectively preserves the geometric features of the tunnel lining structure and removes non-structural facilities, such as pipelines, from the point cloud.

4. Discussion

From the experimental results that we have reported in the previous section, it can be seen that the point-cloud denoising method based on the Huber loss function can effectively denoise the point-cloud data of the shield-tunnel section, and the highest accuracy can reach the millimeter level. This method demonstrates good denoising performance for both individual cross-sectional point clouds and the entire-tunnel point cloud, indicating its robustness to complex noise distributions.
This robustness is due to the fact that the Huber loss function uses squared error for small deviations—making it highly sensitive to minor errors—and linear error for large deviations, thereby reducing the influence of outliers or anomalous points on the overall fitting result. This characteristic ensures that noise from non-structural facilities such as pipelines does not excessively interfere with the final fitting, thus allowing for the accurate extraction and denoising of the main tunnel structure (tunnel lining structure).
Moreover, the Huber loss function exhibits smoother error variations, combining the high precision of mean squared error when the data are relatively clean with the robustness of absolute error when handling noisy data, thereby enabling effective denoising even for tunnel-top point clouds that contain fewer noise points.
In order to evaluate the merits and drawbacks of the denoising performance of the proposed method, this study compares the denoising effect of the elliptical-fitting denoising method based on the Huber loss function with that of a widely used free point-cloud processing software. Taking into account factors such as the user base and whether the software is open source, this study selected CloudCompare version 2.10 as the benchmark for the denoising performance comparison.
CloudCompare is an open-source 3D point-cloud processing software that focuses on handling high-density point-cloud data and 3D meshes. Its primary functions include point-cloud alignment, registration, segmentation, denoising, resampling, and geometric feature extraction, among others. This software is widely used in point-cloud data processing tasks in fields such as engineering surveying and archaeological mapping.
In this study, tunnel point-cloud data were denoised using CloudCompare software version 2.10, with the software interface shown in Figure 16. CloudCompare allows for denoising by manually selecting and removing points from the cloud. However, due to the enormous volume of tunnel point-cloud data, manually denoising the data consumes a considerable amount of time and manpower. Moreover, manual denoising often introduces human errors, which can affect the accuracy of the denoising process.
In addition, CloudCompare software also includes a statistical outlier removal (SOR) filtering denoising function that can automatically denoise point clouds. The denoising effect is shown in Figure 17, where blue represents the original point cloud and red represents the denoised point cloud. As can be seen from the results, point-cloud denoising based on the SOR filter in CloudCompare is capable of removing some outlier points from tunnel point clouds; however, it is difficult to remove noise with a continuous spatial distribution, such as pipeline point clouds.
To further discuss the effectiveness of the ellipse-fitting and point-cloud denoising method proposed in this study, we compare it with two widely used fitting and denoising methods: the least-squares method and random sample consensus (RANSAC) method.
The least-squares method is a fitting approach based on the sum of squared errors. It minimizes the squared differences between the actual data values and the fitted function to obtain the optimal fitting ellipse. By projecting the point cloud onto the fitted ellipse, denoising is achieved. This method is widely used in various data fitting tasks due to its simple algorithmic structure and other advantages. As described in the previous section, this study extracted five sections from a 40 m long tunnel for denoising. In order to more intuitively and scientifically compare the denoising effects of the least-squares method and the method proposed in this study, this study performed denoising on the same section (Section 1 in 3. Results). The denoising result is shown in Figure 18, where the blue points represent the original point cloud and the red points represent the denoised point cloud after fitting.
Random sample consensus (RANSAC) is an iterative fitting method based on random sampling. It randomly selects a subset of data, treating points that are close to the fitted ellipse as inliers and points that are far from the fitted ellipse as outliers (noise points). Through iterative sampling and estimation of model parameters, RANSAC ultimately obtains the optimal fitted ellipse. This method is widely used in fitting and denoising tasks due to its robustness to noise, ability to handle various fitting models, and other advantages.
In order to compare the denoising effect of the method proposed in this study, the RANSAC method is used to denoise Section 1 extracted in the previous stages (or steps) of the work. The denoising results are shown in Figure 19, where the blue points represent the original point cloud and the red points represent the denoised point cloud after fitting.
As shown in the above figures, both the least-squares method and RANSAC method can perform fitting and denoising on a single subway tunnel section. To quantitatively assess the denoising effectiveness of these two methods in comparison with the method proposed in this study, the evaluation metrics are calculated for the point cloud of all cross-sections of the entire tunnel as well as the selected top tunnel point cloud (60°–120°) of each section. The average values of the evaluation metrics for all cross-sections are calculated, and the results are compared with those of the Huber loss-based method proposed in this study. The calculation results are shown in Table 6 and Table 7.
In addition, this study also recorded the time required for these three methods to process the same data (the entire 40 m long tunnel point cloud) under the same experimental conditions, including computer performance and system environment. The results are shown in Table 8.
Based on the actual fitting effect images and the calculated evaluation metrics, it can be observed that both the least-squares method and RANSAC can fit ellipses that approximately match the tunnel section. However, these two methods are significantly affected by noise, resulting in fitting outcomes that deviate considerably from the actual geometric characteristics of the tunnel lining structure.
Additionally, due to the iterative nature of the RANSAC method in searching for the optimal model, its computational efficiency is relatively lower. Furthermore, both the least-squares method and RANSAC exhibit poor fitting results for the lower part of the tunnel lining structure. In contrast, the ellipse-fitting method based on the Huber loss function can effectively perform fitting and denoising for tunnel point clouds containing noise. The fitting results align closely with the tunnel lining structure, and the method maintains good computational efficiency.

5. Conclusions

LiDAR is widely used in tunnel and other construction structure measurement and inspection due to its advantages such as non-contact measurement, fast data acquisition speed, and high automation. However, the presence of non-structural facilities, such as pipelines, within tunnel structures can interfere with the detection of tunnel lining structures. To address the noise point clouds, this study proposes a tunnel cross-section fitting and projection denoising method based on the Huber loss function, as well as a point-cloud coordinate system transformation method. The research has achieved the following outcomes:
1. A tunnel cross-section point-cloud ellipse-fitting and denoising method based on the Huber loss function and the shortest radial distance projection is proposed. This method can denoise raw tunnel point-cloud data without preprocessing, effectively removing noise points while preserving the geometric features of the tunnel lining, and it has good computational efficiency.
2. A method based on PCA and Huber loss function for tunnel point-cloud coordinate transformation was proposed. This method effectively transforms the tunnel point-cloud coordinate system, aligning the tunnel point-cloud data with the Cartesian coordinate system axes (orthogonally), reducing the errors caused by manually rotating the point cloud during the denoising process.
3. When evaluating the denoising effect, in addition to calculating the entire point-cloud section, the top point cloud with fewer non-structural facility point clouds on the top of the tunnel was also selected for calculation, which more comprehensively reflects the denoising effect of the tunnel point cloud.
In the next phase of this work, we will continue to improve the algorithm and optimize the denoising effect of the method on the bottom point cloud (tunnel-track point cloud). At the same time, the method will be adjusted to effectively denoise point-cloud data for more complex tunnel structures, such as non-circular tunnels and curved tunnels.

Author Contributions

Conceptualization, S.L.; methodology, S.L.; software, S.L.; validation, Y.B. and S.L.; formal analysis, Y.B.; investigation, S.L.; resources, C.T.; data curation, C.T. and Y.W.; writing—original draft preparation, S.L.; writing—review and editing, S.L. and K.Y.; visualization, S.L.; supervision, Y.B. and Z.S.; project administration, Y.B.; funding acquisition, Y.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant numbers 52378385 and 51829801.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The first author would like to thank Dongliang Zhang, Liangliang Hu and Li Wang for providing some suggestions to improve the paper.

Conflicts of Interest

The authors Chao Tang and Yong Wang are employed by Beijing Urban Construction Survey and Design Institute Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Zhu, Y.; Zhou, J.; Zhang, B.; Wang, H.; Huang, M. Statistical analysis of major tunnel construction accidents in China from 2010 to 2020. Tunn. Undergr. Space Technol. 2022, 124, 104460. [Google Scholar] [CrossRef]
  2. Xue, Y.; Shi, P.; Jia, F.; Huang, H. 3D reconstruction and automatic leakage defect quantification of metro tunnel based on SfM-Deep learning method. Undergr. Space 2022, 7, 311–323. [Google Scholar] [CrossRef]
  3. Feng, S.J.; Feng, Y.; Zhang, X.L.; Chen, Y.H. Deep learning with visual explanations for leakage defect segmentation of metro shield tunnel. Tunn. Undergr. Space Technol. 2023, 136, 105107. [Google Scholar] [CrossRef]
  4. Zhang, X.; Li, B.; Jiang, Y.; Wu, F.; Gao, Y. Ambient vibration-based quantitative assessment on tunnel lining defect using laser Doppler vibrometer. Measurement 2025, 239, 115481. [Google Scholar] [CrossRef]
  5. Zhang, W.; Sun, K.; Lei, C.; Zhang, Y.; Li, H.; Spencer, B.F., Jr. Fuzzy analytic hierarchy process synthetic evaluation models for the health monitoring of shield tunnels. Comput. Aided Civil Infrastruct. Eng. 2014, 29, 676–688. [Google Scholar] [CrossRef]
  6. Ariznavarreta-Fernández, F.; González-Palacio, C.; Menéndez-Díaz, A.; Ordoñez, C. Measurement system with angular encoders for continuous monitoring of tunnel convergence. Tunn. Undergr. Space Technol. 2016, 56, 176–185. [Google Scholar] [CrossRef]
  7. Simeoni, L.; Zanei, L. A method for estimating the accuracy of tunnel convergence measurements using tape distometers. Int. J. Rock Mech. Min. Sci. 2009, 46, 796–802. [Google Scholar] [CrossRef]
  8. Zhang, F.; Liu, B.; Liu, L.; Wang, J.; Lin, C.; Yang, L.; Li, Y.; Zhang, Q.; Yang, W. Application of ground penetrating radar to detect tunnel lining defects based on improved full waveform inversion and reverse time migration. Near Surf. Geophys 2019, 17, 127–139. [Google Scholar] [CrossRef]
  9. Luo, Y.; Chen, J.; Xi, W.; Zhao, P.; Qiao, X.; Deng, X.; Liu, Q. Analysis of tunnel displacement accuracy with total station. Measurement 2016, 83, 29–37. [Google Scholar] [CrossRef]
  10. Kaartinen, E.; Dunphy, K.; Sadhu, A. LiDAR-based structural health monitoring: Applications in civil infrastructure systems. Sensors 2022, 22, 4610. [Google Scholar] [CrossRef]
  11. Li, Y.; Xiao, Z.; Li, J.; Shen, T. Integrating vision and laser point cloud data for shield tunnel digital twin modeling. Automat. Constr. 2024, 157, 105180. [Google Scholar] [CrossRef]
  12. Nuttens, T.; Stal, C.; De Backer, H.; Schotte, K.; Van Bogaert, P.; De Wulf, A. Methodology for the ovalization monitoring of newly built circular train tunnels based on laser scanning: Liefkenshoek Rail Link (Belgium). Automat. Constr. 2014, 43, 1–9. [Google Scholar] [CrossRef]
  13. Zhou, L.; Sun, G.; Li, Y.; Li, W.; Su, Z. Point cloud denoising review: From classical to deep learning-based approaches. Graph. Models 2022, 121, 101140. [Google Scholar] [CrossRef]
  14. Chen, H.; Shen, J. Denoising of point cloud data for computer-aided design, engineering, and manufacturing. Eng. Comput. 2018, 34, 523–541. [Google Scholar] [CrossRef]
  15. Qu, C.; Zhang, Y.; Ma, F.; Huang, K. Parameter optimization for point clouds denoising based on no-reference quality assessment. Measurement 2023, 211, 112592. [Google Scholar] [CrossRef]
  16. Guoqiang, W.; Hongxia, Z.; Zhiwei, G.; Wei, S.; Dagong, J. Bilateral filter denoising of Lidar point cloud data in automatic driving scene. Infrared Phys. Technol. 2023, 131, 104724. [Google Scholar] [CrossRef]
  17. Wang, H.; Li, D.; Duan, J.; Sun, P. ALS-Based, Automated, Single-Tree 3D Reconstruction and Parameter Extraction Modeling. Forests 2024, 15, 1776. [Google Scholar] [CrossRef]
  18. Wang, Z.; Wang, X.; Li, J.; Yao, J. Evaluation of Traffic Sign Occlusion Rate Based on a 3D Point Cloud Space. Remote Sens. 2024, 16, 2872. [Google Scholar] [CrossRef]
  19. Gonizzi Barsanti, S.; Marini, M.R.; Malatesta, S.G.; Rossi, A. Evaluation of Denoising and Voxelization Algorithms on 3D Point Clouds. Remote Sens. 2024, 16, 2632. [Google Scholar] [CrossRef]
  20. Tan, Y.; Liu, X.; Jin, S.; Wang, Q.; Wang, D.; Xie, X. A Terrestrial Laser Scanning-Based Method for Indoor Geometric Quality Measurement. Remote Sens. 2023, 16, 59. [Google Scholar] [CrossRef]
  21. Charron, N.; Phillips, S.; Waslander, S.L. De-noising of lidar point clouds corrupted by snowfall. In Proceedings of the 2018 15th Conference on Computer and Robot Vision, Toronto, ON, Canada, 8–10 May 2018; pp. 254–261. [Google Scholar]
  22. Shi, B.; Yang, M.; Liu, J.; Han, B.; Zhao, K. Rail transit shield tunnel deformation detection method based on cloth simulation filtering with point cloud cylindrical projection. Tunn. Undergr. Space Technol. 2023, 135, 105031. [Google Scholar] [CrossRef]
  23. Cui, H.; Ren, X.; Mao, Q.; Hu, Q.; Wang, W. Shield subway tunnel deformation detection based on mobile laser scanning. Automat. Constr. 2019, 106, 102889. [Google Scholar] [CrossRef]
  24. Alexa, M.; Behr, J.; Cohen-Or, D.; Fleishman, S.; Levin, D.; Silva, C.T. Computing and rendering point set surfaces. IEEE Trans. Vis. Comput. Graph. 2003, 9, 3–15. [Google Scholar] [CrossRef]
  25. Fleishman, S.; Cohen-Or, D.; Silva, C.T. Robust moving least-squares fitting with sharp features. ACM Trans. Graph. 2005, 24, 544–552. [Google Scholar] [CrossRef]
  26. Amenta, N.; Kil, Y.J. Defining point-set surfaces. ACM Trans. Graph. 2004, 23, 264–270. [Google Scholar] [CrossRef]
  27. Levin, D. Mesh-independent surface interpolation. In Geometric Modeling for Scientific Visualization; Brunnett, G., Hamann, B., Müller, H., Linsen, L., Eds.; Springer: Berlin, Germany, 2004; pp. 37–49. [Google Scholar]
  28. Guennebaud, G.; Gross, M. Algebraic point set surfaces. In ACM Siggraph 2007 Papers; Association for Computing Machinery: New York, NY, USA, 2007; p. 23. [Google Scholar]
  29. Rodríguez-Gonzálvez, P.; Jimenez Fernandez-Palacios, B.; Muñoz-Nieto, Á.L.; Arias-Sanchez, P.; Gonzalez-Aguilera, D. Mobile LiDAR system: New possibilities for the documentation and dissemination of large cultural heritage sites. Remote Sens. 2017, 9, 189. [Google Scholar] [CrossRef]
  30. Öztireli, A.C.; Guennebaud, G.; Gross, M. Feature preserving point set surfaces based on non-linear kernel regression. Computer Graphics Forum 2009, 28, 493–501. [Google Scholar] [CrossRef]
  31. Lipman, Y.; Cohen-Or, D.; Levin, D.; Tal-Ezer, H. Parameterization-free projection for geometry reconstruction. ACM Trans. Graph. 2007, 26, 22. [Google Scholar] [CrossRef]
  32. Preiner, R.; Mattausch, O.; Arikan, M.; Pajarola, R.; Wimmer, M. Continuous projection for fast L1 reconstruction. ACM Trans. Graph. 2014, 33, 47. [Google Scholar] [CrossRef]
  33. Mattei, E.; Castrodad, A. Point cloud denoising via moving RPCA. Comput. Graph. Forum 2017, 36, 123–137. [Google Scholar] [CrossRef]
  34. Bao, Y.; Wen, Y.; Tang, C.; Sun, Z.; Meng, X.; Zhang, D.; Wang, L. Three-Dimensional Point Cloud Denoising for Tunnel Data by Combining Intensity and Geometry Information. Sustainability 2024, 16, 2077. [Google Scholar] [CrossRef]
  35. Xu, J.; Ding, L.; Luo, H.; Chen, E.J.; Wei, L. Near real-time circular tunnel shield segment assembly quality inspection using point cloud data: A case study. Tunn. Undergr. Space Tech. 2019, 91, 102998. [Google Scholar] [CrossRef]
  36. Han, S.; Cho, H.; Kim, S.; Jung, J.; Heo, J. Automated and efficient method for extraction of tunnel cross sections using terrestrial laser scanned data. J. Comput. Civil Eng. 2013, 27, 274–281. [Google Scholar] [CrossRef]
  37. Jia, D.; Zhang, W.; Liu, Y. Systematic Approach for Tunnel Deformation Monitoring with Terrestrial Laser Scanning. Remote Sens. 2021, 13, 3519. [Google Scholar] [CrossRef]
  38. Cheng, Y.J.; Qiu, W.; Lei, J. Automatic Extraction of Tunnel Lining Cross-Sections from Terrestrial Laser Scanning Point Clouds. Sensors 2016, 16, 1648. [Google Scholar] [CrossRef]
  39. Sun, H.; Liu, S.; Zhong, R.; Du, L. Cross-Section Deformation Analysis and Visualization of Shield Tunnel Based on Mobile Tunnel Monitoring System. Sensors 2020, 20, 1006. [Google Scholar] [CrossRef]
  40. Arastounia, M. Automated As-Built Model Generation of Subway Tunnels from Mobile LiDAR Data. Sensors 2016, 16, 1486. [Google Scholar] [CrossRef]
  41. Du, L.; Zhong, R.; Sun, H.; Zhu, Q.; Zhang, Z. Study of the Integration of the CNU-TS-1 Mobile Tunnel Monitoring System. Sensors 2018, 18, 420. [Google Scholar] [CrossRef]
  42. Yi, C.; Lu, D.; Xie, Q.; Xu, J.; Wang, J. Tunnel Deformation Inspection via Global Spatial Axis Extraction from 3D Raw Point Cloud. Sensors 2020, 20, 6815. [Google Scholar] [CrossRef]
  43. Kang, Z.; Zhang, L.; Tuo, L.; Wang, B.; Chen, J. Continuous Extraction of Subway Tunnel Cross Sections Based on Terrestrial Point Clouds. Remote Sens. 2014, 6, 857–879. [Google Scholar] [CrossRef]
  44. Wang, Z.; Xu, X.; He, X.; Wei, X.; Yang, H. A Method for Convergent Deformation Analysis of a Shield Tunnel Incorporating B-Spline Fitting and ICP Alignment. Remote Sens. 2023, 15, 5112. [Google Scholar] [CrossRef]
  45. Ren, J.; Bao, K.; Zhang, G.; Chu, L.; Lu, W. LANDMARC indoor positioning algorithm based on density-based spatial clustering of applications with noise–genetic algorithm–radial basis function neural network. Int. J. Distrib. Sens. Netw. 2020, 16, 1–11. [Google Scholar] [CrossRef]
  46. Duan, Y.; Yang, C.; Chen, H.; Yan, W.; Li, H. Low-complexity point cloud denoising for LiDAR by PCA-based dimension reduction. Opt. Commun. 2021, 482, 126567. [Google Scholar] [CrossRef]
  47. Kim, J.; Cho, J. Delaunay Triangulation-Based Spatial Clustering Technique for Enhanced Adjacent Boundary Detection and Segmentation of LiDAR 3D Point Clouds. Sensors 2019, 19, 3926. [Google Scholar] [CrossRef]
  48. Ni, H.; Lin, X.; Zhang, J.; Chen, D.; Peethambaran, J. Joint clusters and iterative graph cuts for ALS point cloud filtering. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2018, 11, 990–1004. [Google Scholar] [CrossRef]
  49. Duan, X.; Feng, L.; Zhao, X. Point Cloud Denoising Algorithm via Geometric Metrics on the Statistical Manifold. Appl. Sci. 2023, 13, 8264. [Google Scholar] [CrossRef]
  50. Charles, R.Q.; Su, H.; Kaichun, M.; Guibas, L.J. PointNet: Deep learning on point sets for 3D classification and segmentation. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 77–85. [Google Scholar]
  51. Qi, C.R.; Yi, L.; Su, H.; Guibas, L.J. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. In Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS), Long Beach, CA, USA, 4–9 December 2017; pp. 5105–5114. [Google Scholar]
  52. Rakotosaona, M.J.; La Barbera, V.; Guerrero, P.; Mitra, N.J.; Ovsjanikov, M. Pointcleannet: Learning to denoise and remove outliers from dense point clouds. Comput. Graph. Forum 2020, 39, 185–203. [Google Scholar] [CrossRef]
  53. Guerrero, P.; Kleiman, Y.; Ovsjanikov, M.; Mitra, N.J. Pcpnet learning local shape properties from raw point clouds. Comput. Graph. Forum 2018, 37, 75–85. [Google Scholar] [CrossRef]
  54. Lu, D.; Lu, X.; Sun, Y.; Wang, J. Deep feature-preserving normal estimation for point cloud filtering. Comput. Aided Des. 2020, 125, 102860. [Google Scholar] [CrossRef]
  55. Roveri, R.; Öztireli, A.C.; Pandele, I.; Gross, M. Pointpronets: Consolidation of point clouds with convolutional neural networks. Comput. Graph. Forum 2018, 37, 87–99. [Google Scholar] [CrossRef]
  56. Ran, C.; Zhang, X.; Han, S.; Yu, H.; Wang, S. TPDNet: A point cloud data denoising method for offshore drilling platforms and its application. Measurement 2025, 241, 115671. [Google Scholar] [CrossRef]
  57. Fang, Z.; Liu, Y.; Xu, L.; Shahed, M.H.; Shi, L. Research on a 3D Point Cloud Map Learning Algorithm Based on Point Normal Constraints. Sensors 2024, 24, 6185. [Google Scholar] [CrossRef] [PubMed]
  58. Song, P.; Jin, F.; Ji, M.; Liang, T.; Li, Q. Denoising algorithm for inclined tunnel point cloud data based on irregular contour features. Meas. Sci. Technol. 2024, 35, 095203. [Google Scholar] [CrossRef]
  59. Pearson, K. LIII. On lines and planes of closest fit to systems of points in space. Lond. Edinb. Dublin Philos. Mag. J. Sci. 1901, 2, 559–572. [Google Scholar] [CrossRef]
  60. Hotelling, H. Analysis of a complex of statistical variables into principal components. J. Educ. Psychol. 1933, 24, 417–441. [Google Scholar] [CrossRef]
  61. Li, D.; Zhang, Y.; Jia, Z.; Wang, Z.; Fang, Q.; Zhang, X. A Four-Point Orientation Method for Scene-to-Model Point Cloud Registration of Engine Blades. Electronics 2024, 13, 4634. [Google Scholar] [CrossRef]
  62. Huber, P.J. Robust Estimation of a Location Parameter; Kotz, S., Johnson, N.L., Eds.; Breakthroughs in Statistics; Springer Series in Statistics; Springer: New York, NY, USA, 1992; pp. 492–518. [Google Scholar] [CrossRef]
Figure 1. Method flowchart.
Figure 1. Method flowchart.
Applsci 15 02249 g001
Figure 2. Schematic of the original point-cloud spatial distribution (unit: meters) (a) XYZ coordinate system (b) XY plane (c) XZ plane.
Figure 2. Schematic of the original point-cloud spatial distribution (unit: meters) (a) XYZ coordinate system (b) XY plane (c) XZ plane.
Applsci 15 02249 g002
Figure 3. PCA principle diagram.
Figure 3. PCA principle diagram.
Applsci 15 02249 g003
Figure 4. Point-cloud data rotation along axis direction schematic (unit: meters).
Figure 4. Point-cloud data rotation along axis direction schematic (unit: meters).
Applsci 15 02249 g004
Figure 5. Schematic of the rotated point-cloud spatial distribution (unit: meters) (a) XYZ coordinate system (b) XY plane (c) XZ plane.
Figure 5. Schematic of the rotated point-cloud spatial distribution (unit: meters) (a) XYZ coordinate system (b) XY plane (c) XZ plane.
Applsci 15 02249 g005
Figure 6. Diagram of the Huber loss function principle (unit: meters).
Figure 6. Diagram of the Huber loss function principle (unit: meters).
Applsci 15 02249 g006
Figure 7. (a,b) Distribution of tunnel point cloud in the XY plane before and after rotation along the Z-axis (unit: meters).
Figure 7. (a,b) Distribution of tunnel point cloud in the XY plane before and after rotation along the Z-axis (unit: meters).
Applsci 15 02249 g007
Figure 8. Schematic diagram of Huber loss function fitting for circular tunnel cross-section. (unit: meters).
Figure 8. Schematic diagram of Huber loss function fitting for circular tunnel cross-section. (unit: meters).
Applsci 15 02249 g008
Figure 9. Schematic diagram of the shortest distance projection principle for point clouds.
Figure 9. Schematic diagram of the shortest distance projection principle for point clouds.
Applsci 15 02249 g009
Figure 10. Schematic diagram of selected tunnel-top point cloud. (unit: meters).
Figure 10. Schematic diagram of selected tunnel-top point cloud. (unit: meters).
Applsci 15 02249 g010
Figure 11. Amberg Clearance GRP 5000—Profiler 6012 mobile 3D laser scanning system diagram.
Figure 11. Amberg Clearance GRP 5000—Profiler 6012 mobile 3D laser scanning system diagram.
Applsci 15 02249 g011
Figure 12. 3D illustration of original point-cloud data.
Figure 12. 3D illustration of original point-cloud data.
Applsci 15 02249 g012
Figure 13. Schematic diagram of cross-section extraction. (unit: meters).
Figure 13. Schematic diagram of cross-section extraction. (unit: meters).
Applsci 15 02249 g013
Figure 14. Fitting effect of Section 1 (XY plane, unit: meters).
Figure 14. Fitting effect of Section 1 (XY plane, unit: meters).
Applsci 15 02249 g014
Figure 15. Schematic diagram of the point-cloud spatial distribution after denoising for the entire-tunnel section (unit: meters). (a) XYZ coordinate system (b) XY plane (c) XZ plane.
Figure 15. Schematic diagram of the point-cloud spatial distribution after denoising for the entire-tunnel section (unit: meters). (a) XYZ coordinate system (b) XY plane (c) XZ plane.
Applsci 15 02249 g015
Figure 16. CloudCompare user interface diagram.
Figure 16. CloudCompare user interface diagram.
Applsci 15 02249 g016
Figure 17. CloudCompare software SOR filter denoising effect diagram (unit: meters).
Figure 17. CloudCompare software SOR filter denoising effect diagram (unit: meters).
Applsci 15 02249 g017
Figure 18. Denoising effect of point-cloud fitting using the least-squares method (unit: meters).
Figure 18. Denoising effect of point-cloud fitting using the least-squares method (unit: meters).
Applsci 15 02249 g018
Figure 19. Denoising effect of point-cloud fitting using the RANSAC method (unit: meters).
Figure 19. Denoising effect of point-cloud fitting using the RANSAC method (unit: meters).
Applsci 15 02249 g019
Table 1. Statistics of point-cloud quantity for individual cross-sections.
Table 1. Statistics of point-cloud quantity for individual cross-sections.
Section Number Section 1 Section 2 Section 3 Section 4 Section 5
Point-cloud quantity65,58375,19667,44766,25667,689
Table 2. Evaluation metrics calculation results for an individual tunnel cross-section.
Table 2. Evaluation metrics calculation results for an individual tunnel cross-section.
Evaluation Metrics Section 1 Section 2 Section 3 Section 4 Section 5 Average Value
M S E ( m 2 ) 0.050690.053360.044930.053180.083570.05715
R M S E ( m ) 0.225150.231010.211970.230600.289090.23756
M A E ( m ) 0.135630.136120.122510.135170.182810.14245
Table 3. Evaluation metric calculation results for the tunnel-top (60°–120°) point cloud of an individual tunnel section.
Table 3. Evaluation metric calculation results for the tunnel-top (60°–120°) point cloud of an individual tunnel section.
Evaluation Metrics Section 1 Section 2 Section 3 Section 4 Section 5 Average Value
M S E ( m 2 ) 0.000060.000220.000040.000130.000290.00015
R M S E ( m ) 0.008060.015040.006670.011490.016900.01163
M A E ( m ) 0.006420.011850.004770.008780.014440.00925
Table 4. Statistical table of denoising evaluation metrics for the entire-tunnel point cloud.
Table 4. Statistical table of denoising evaluation metrics for the entire-tunnel point cloud.
Evaluation Metrics M S E ( m 2 ) R M S E ( m ) M A E ( m )
Result0.043370.204120.12645
Table 5. Statistical table of denoising evaluation metrics for the tunnel-top point cloud (60°–120°).
Table 5. Statistical table of denoising evaluation metrics for the tunnel-top point cloud (60°–120°).
Evaluation Metrics M S E ( m 2 ) R M S E ( m ) M A E ( m )
Result0.000340.014470.01118
Table 6. Statistical table of evaluation metrics for denoising of the whole tunnel section point cloud.
Table 6. Statistical table of evaluation metrics for denoising of the whole tunnel section point cloud.
Fitting Denoising Method M S E ( m 2 ) R M S E ( m ) M A E ( m )
Huber loss-based method0.049200.216550.13257
Least-squares method0.019580.139640.10187
RANSAC method0.019610.139690.10066
Table 7. Statistical Table of denoising evaluation metrics for tunnel section top point cloud (60°–120°).
Table 7. Statistical Table of denoising evaluation metrics for tunnel section top point cloud (60°–120°).
Fitting Denoising Method M S E ( m 2 ) R M S E ( m ) M A E ( m )
Huber loss-based method0.000330.013830.01061
Least-squares method0.001840.041570.03857
RANSAC method0.002690.050980.04850
Table 8. Comparison of algorithm running time.
Table 8. Comparison of algorithm running time.
Fitting Denoising MethodHuber Loss-Based MethodLeast-Squares MethodRANSAC Method
Algorithm Running Time1 min 33 s20 s11 h 48 min 43 s
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bao, Y.; Li, S.; Tang, C.; Sun, Z.; Yang, K.; Wang, Y. Research on Fitting and Denoising Subway Shield-Tunnel Cross-Section Point-Cloud Data Based on the Huber Loss Function. Appl. Sci. 2025, 15, 2249. https://doi.org/10.3390/app15042249

AMA Style

Bao Y, Li S, Tang C, Sun Z, Yang K, Wang Y. Research on Fitting and Denoising Subway Shield-Tunnel Cross-Section Point-Cloud Data Based on the Huber Loss Function. Applied Sciences. 2025; 15(4):2249. https://doi.org/10.3390/app15042249

Chicago/Turabian Style

Bao, Yan, Sixuan Li, Chao Tang, Zhe Sun, Kun Yang, and Yong Wang. 2025. "Research on Fitting and Denoising Subway Shield-Tunnel Cross-Section Point-Cloud Data Based on the Huber Loss Function" Applied Sciences 15, no. 4: 2249. https://doi.org/10.3390/app15042249

APA Style

Bao, Y., Li, S., Tang, C., Sun, Z., Yang, K., & Wang, Y. (2025). Research on Fitting and Denoising Subway Shield-Tunnel Cross-Section Point-Cloud Data Based on the Huber Loss Function. Applied Sciences, 15(4), 2249. https://doi.org/10.3390/app15042249

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop