1. Introduction
With a dramatic reduction in the cost of LiDAR technology, terrestrial laser scanning (TLS) technology has been widely applied in mobile mapping, 3D reconstruction, unmanned driving, forestry estimation, disaster monitoring, and many other fields [
1,
2,
3,
4]. These applications often involve point-cloud registration between different survey stations, and one of the most common methods is target-based point cloud registration. The accuracy of this method depends mainly on the extraction accuracy of the target. However, with the exception of spherical targets, the extraction accuracy of other shapes of targets will be affected by the scanning incidence angle [
5,
6,
7,
8].
The isotropic property of spherical targets ensures that the hemispherical point cloud (the unobscured part of the point cloud from a spherical target, which does not describe the shape of the whole point cloud) of the same target can be obtained from different measuring stations [
9,
10]; thus, spherical targets are the first choice for target point cloud registration, and it is of great practical value to study the feature extraction of spherical targets. For example, Yuriy [
11] proposed a method to determine the optimal diameter of spherical objects based on a least squares (LS) adjustment model, and a value of 14 cm has been obtained as the optimal diameter. Liu [
6] proposed a new method by integrating the adaptive dynamic random sample consensus algorithm (AD-RANSAC) and nonlinear least squares (NLS), and the resulting accuracy of sphere center coordinate estimation was less than 2 cm. The authors of [
12] adopted the method of centering rod center to eliminate the influence of error caused by non-centering of the bubble, and the fitting accuracy within a short distance could reach about 4 mm.
Spherical target feature extraction algorithms can be mainly divided into linear and nonlinear categories [
13]. Nonlinear algorithms are generally time-consuming and cannot use the law of error propagation to derive the extraction accuracy of geometric features [
14,
15]. Therefore, manufacturers and researchers mainly use linear extraction algorithms in real applications, where a fast speed of processing and extraction accuracy are demanded. Brazeal [
16] studied the LS solutions for determining the parameters of a spherical TLS target, in which the coordinates of the spherical center and the radius were regarded as independent. Lu [
17] proposed a total least squares (TLS) method for laser scanning target ball positioning, while Chen [
9] proposed a weighted total least squares (WTLS) fitting method, which introduced a weight matrix according to the laser reflection intensity of the point cloud and partial correction of the vector in column A of the coefficient matrix. The authors of [
10] determined the cofactor of each point according to the distance and the a priori incident angle, and then used a robust weighted total least squares (RWTLS) method to locate the target ball.
However, when the radius of spherical target is unknown, all algorithms assume that the sphere center coordinate parameter and sphere radius parameter are independent of each other. The negligence of their correlation would cause non-robust performance of the algorithms. Through considering the correlation between radius of the sphere and the coordinates of the sphere center, this paper proposes a high-precision estimation algorithm for spherical target sphere centers based on least squares configuration (LSC). Corresponding formulas and algorithm procedure steps for feature parameter estimation are derived in
Section 2. Through simulation experiments and actual scanning experiments,
Section 3 demonstrates the advantages of our proposed algorithm with respect to traditional algorithms, including LS, TLS, and RWTLS.
2. Materials and Methods
The LSC is a method to simultaneously determine random and nonrandom parameter estimations from observation data. It has been applied in conversion of the base level [
18,
19], determination of the geoid [
20], and other fields. By treating the point-cloud data error as a random parameter and the spherical center coordinates and radius as nonrandom parameters, this section first constructs the LSC observation model of spherical target features and gives its parameter estimation model. Secondly, the rigorous calculation formulas of three variance–covariance matrices in the parameter estimation model are derived. Lastly, the realization of the algorithm steps is presented.
2.1. LSC Observation Model
Suppose the spherical point cloud contains
points. The true value, observation value, and observation error of the coordinates of the arbitrary point are
,
, and
, respectively, with
. The true value, approximate value, and approximate error of the sphere center coordinates are
,
, and
, while those for the sphere radius are
,
, and
, respectively. Then, the observation model for the point cloud at point
of the sphere is
where
,
,
,
,
,
, and
.
According to Equation (1), the observation equation of the
i-th observation value can be expressed as follows:
The observation model of LSC can then be obtained as follows:
where
represents a new observation,
denotes random variables,
denotes nonrandom variables, and
illustrates the noise of new observations.
Assume that the error parameters
are independent of each other, the observation error parameter satisfies
,
, and
. From the least squares collocation theory of Equation (3), we can get
where
,
is the unit matrix of
,
denotes the variance–covariance matrix of new observations
,
is the variance–covariance matrix of parameter
and the new observation noise
, and
illustrates the variance–covariance matrix of new observation noise.
2.2. Variance–Covariance
2.2.1. Variance–Covariance of the New Observations
From Equations (A2), (A3) and (4), we can get
where
.
Suppose the variance of the new observation
is
, while the covariance of
and
is
, then, from Equations (A2), (A3) and (16), we have
where
,
, and
.
Substituting Equations (A3), (A5) and (A8) into Equation (17), we can get
where
.
Assuming that
, Equation (19) can be simplified as
Then,
where
, and
is the unit matrix of
.
2.2.2. Variance–Covariance of the New Observation Noise
Suppose the expectation of new observation noise
is
, the variance of the new observation noise
is
, and the covariance of
and
is
. From Equations (6) and (A2)–(A5), we can get
where
,
, and
.
Substituting Equation (A7) into Equation (24), we have
and
where
, and
is the unit matrix of
.
2.2.3. Variance–Covariance of the Random Parameter and New Observation Noise
From Equation (6), we know
where
,
, and
.
Considering that
are nonrandom parameters, from Equations (A2)–(A4), (28) and (29), we can get
where
,
, and
.
The same derivation of Equation (30) yields
where
,
, and
.
Assuming that covariances between new observation noise
and the observation error
and
are
and
, respectively, then, using Equations (30)–(32), we can get
Then,
where
,
, and
.
2.3. LSC Calculation Steps
The above observation model and parameter estimation assume that the initial values are known. However, spherical center coordinates and the approximate value of the spherical radius are usually unknown; thus, an iterative algorithm is required to complete LSC estimation of the spherical target characteristic parameters, which specific calculation steps are described as follows:
- (1)
Read observation values of point clouds on surface of the ball target , , ;
- (2)
Use conventional LS algorithm to calculate spherical coordinates and approximate spherical radius , , , ;
- (3)
Assume the variance–covariance matrix of random parameters as , with the initial nonrandom parameter value ;
- (4)
Calculate the matrix of new observations and coefficient matrices and using Equations (4), (5) and (6), respectively;
- (5)
Assume , , and . Calculate random parameter and the variance–covariance matrix of new observed noise using Equation (35) and the covariance matrix of new observed noise using Equation (27);
- (6)
Calculate matrix using Equation (13);
- (7)
Calculate of the nonrandom parameters using Equation (9);
- (8)
If is less than the iteration stop threshold (the value can be 0.000001), then continue; if not, update the initial value of nonrandom parameters , and go back to Step 5;
- (9)
If is less than iteration stop threshold (the value can be 0.000001), then continue; otherwise, update the approximate values of sphere center coordinates and sphere radius as , , , , and , and go back to Step 4;
- (10)
Calculate the variance–covariance matrix of new observations using Equation (21);
- (11)
Calculate the variance–covariance matrix of using Equation (11);
- (12)
End.
3. Experimental Verification
In order to verify the effectiveness of the spherical target LSC algorithm, both simulations and actual scanning experiments are designed in this paper. In this section, we first introduce the evaluation indicators used in the experiments, then introduce experimental data and scenarios, and finally analyze experimental results through comparing the estimation accuracy of spherical parameters obtained from our method with LS, TLS, and RWTLS algorithms.
3.1. Evaluation Index
We used the root-mean-square error (RMSE) of sphere center coordinate parameter estimation (
) and sphere radius parameter estimation (
) as the evaluation metrics to compare differences among LS, TLS, and the RWTLS algorithms. The two evaluation metrics are expressed as follows:
where
represents the number of trials, and
,
,
, and
are estimations of the sphere center coordinate parameter and sphere radius parameter calculated for different algorithms.
3.2. Simulation Experiment
In order to compare the sphere center extraction accuracy of our methods, we imitate the laser scanning process and use random simulation to generate observations of spherical point clouds with different radii under different noise levels.
3.2.1. Simulation Experiment I
It is assumed that the center coordinate of the scanner is (0 m,0 m,0 m), true values of sphere center coordinates are
= (10 m,10 m,10 m), the true value of the sphere radius is
∈ {2 cm,3 cm,…,11 cm}, and the observed noise variance is
∈ {1 mm,2 mm,…,10 mm}. We randomly simulated 1000 sets of spherical point cloud observations under different noises
. For the above simulated point cloud observation data, LS, TLS, RWTLS, and the LSC algorithm proposed in this paper were used to estimate the spherical center coordinates and spherical radius of the target. At the same time, Equation (36) was used to calculate the estimation accuracy of the spherical center coordinate parameters under different noise variances (see
Figure 1), and Equation (37) was used to calculate the estimation accuracy of spherical radius parameters under different noise variances (see
Figure 2 and
Table 1).
3.2.2. Simulation Experiment II
The sphere radius was set to
∈ {2 cm,3 cm,…,11 cm}. The coordinates of the scanner center were still (0 m,0 m,0 m), true values of sphere center coordinates
were (10 m,10 m,10 m), and the observed noise variance was
∈ {1 mm,2 mm,…,10 mm}. We randomly simulated 1000 sets of spherical point cloud observations under different radii
. For the above simulated point cloud observation data, LS, TLS, RWTLS, and the LSC algorithm proposed in this paper were used to estimate spherical center coordinates and spherical radius of the target. At the same time, Equation (36) was used to calculate the estimation accuracy of spherical center coordinate parameters under different radii (see
Figure 3), and Equation (37) was used to calculate the estimated accuracy of spherical radius parameters under different radii (see
Figure 4 and
Table 2).
3.3. Actual Experiment
To further verify the practicability of fitting the spherical center of the spherical target based on our LSC model, this study also designed a scan experiment (see
Figure 5) taking into account the effects of observation noise and target radius. We used a MS60 three-dimensional laser scanner to scan spherical targets with radii of 2.02 cm, 2.14 cm, 2.76 cm, 3.44 cm, and 4.19 cm for 10 (
) repetitions to obtain spherical point cloud observation data. The LS, TLS, and RWTLS algorithms and the calculation steps in
Section 2.3 were applied to process the point cloud data separately. Equations (36) and (37) were used to calculate the root-mean-square error of parameters under the three traditional algorithms and the algorithm of this paper. The processing results are shown in
Figure 6. In addition, we also calculated the computation time of each algorithm, and the results are shown in
Table 3.
3.4. Result Analysis
It can be seen from
Figure 1 that, when the observation error was small, the estimation results of spherical center coordinate parameters from the four algorithms had little difference. The RMSE of spherical center coordinate parameters from RWTLS could reach a maximum of 12 mm, indicating that the observation error had a great influence on the accuracy of RWTLS algorithm.
Table 1 shows that LSC spherical center coordinates had the highest fitting accuracy as noise increased, while the accuracy of ball parameter extraction with different radii gradually decreased. In terms of ball parameter extraction accuracy, the LSC algorithm extraction accuracy decreased more slowly than that of LS, TLS, and WRTL. Most of the differences between maximum and minimum RMSEs for LSC were smaller than for the other three methods, indicating that the LSC algorithm was more robust than other methods.
The comparison results of
Figure 3 and
Table 2 show that, as the radius of sphere increased, the extraction accuracy of sphere parameters under the influence of different noises gradually increased, among which the LSC algorithm’s extraction accuracy still changed more smoothly than that of LS, TLS, and RWTLS. In other words, the differences between the maximum and values of the RMSE were mostly the smallest in LSC, indicating that the LSC algorithm was less affected by the radius of the ball than the other three methods.
Figure 2 and
Figure 4 show that the ball parameter extraction accuracy of LS-LSC, TLS-LS, WRTLS-TLS was greater than zero in all cases, and the results imply that the ball parameter extraction accuracy of LSC was the highest, followed by LS, TLS, and WRTLS. At the same time, it can be seen from
Figure 2 that the differences in extraction accuracy of the spherical center coordinate parameters for different algorithms were mostly about 1 mm, with a maximum of 4.5 mm, while those for the sphere radius parameter were mostly below 0.5 mm, with a maximum of 2.6 mm. This shows that the extraction accuracy of the sphere radius parameter was more affected by the algorithm than the extraction of the sphere center coordinate parameter.
In addition, as can be seen from
Table 1 and
Table 2, compared with other algorithms, the LSC algorithm could improve the extraction accuracy of parameters in all cases, and the ball parameters could be increased by a minimum of 0.4% and maximum of 78.4%.
Figure 6 proves that, when our proposed algorithm was adapted to the point-cloud scanning data of a real scene, its accuracy remained the highest. With increasing radius of the ball target, the calculation accuracy of the four algorithms was improved. The spherical center fitting errors of the four radii from the LSC algorithm were 4–6 mm, 2–4 mm, and 2–4 mm lower than those of LS, TLS, and RWTLS, respectively, while the radius parameter estimation errors were 5–7 mm, 4–7 mm, and 2–5 mm lower than those of LS, TLS, and RWTLS, respectively. It can also be seen from
Table 3 that, with increasing radius, the computation time of all algorithms increased, among which LS exhibited the lowest computation time, while the computation time of TLS, RWTLS, and the LSC algorithm proposed in this paper was about the same.
4. Conclusions
When the sphere radius is unknown, the correlation between the sphere center coordinate and the sphere radius is not considered in all existing estimation algorithms, which leads to inaccurate estimation of the sphere center coordinate. This paper constructed the LSC model of spherical point clouds and derived rigorous variance–covariance matrix estimation formulas for the new observations, new observation noise, and random parameters and the new observation noise. Then, a high-precision spherical target sphere center estimation algorithm together with implementation steps based on LSC was proposed.
Through comparison with the traditional LS, TLS and WRTLS algorithms, it was found that the proposed method was less affected by noise and sphere radius. The ball parameter extraction accuracy from the proposed LSC method was the highest, followed by LS, WRTL, and TLS. Under the influence of different noise variances, the LSC algorithm sphere center coordinate parameter extraction accuracy was improved by more than 5.7%, 12.1%, and 8.7% compared with the LS, RWTLS, and TLS algorithms, respectively. In terms of extraction accuracy of the sphere radius parameter, the LSC algorithm was also superior to LS, WRTL, and TLS, with improvements of 13.7%, 13.6%, and 10.1%, respectively, on average.
With respect to the influence of different sphere radii, the sphere center coordinate parameter extraction accuracy obtained by our proposed rigorous LSC algorithm was improved by 16.4%, 24.1%, and 9.7%, respectively, on average as compared with the LS, WRTL, and TLS algorithms. The LSC algorithm could also improve the extraction accuracy of the sphere radius parameter by an average of more than 9.7%, 10.6%, and 9.6%, respectively, as compared with the other three methods. In particular, in the absence of gross errors, the accuracy of the RWTLS algorithm was not optimal. In addition, although the TLS algorithm takes into account the influence of the coefficient matrix error, there was no substantial improvement in the accuracy of ball parameter estimation.
Author Contributions
Conceptualization, R.Y., X.M. and Y.Y.; methodology, R.Y., J.L. and Y.Y.; software, J.L.; validation, R.Y. and J.L.; formal analysis, R.Y. and X.M.; investigation, J.L.; resources, R.Y. and X.M.; data curation, J.L.; writing—original draft preparation, J.L.; writing—review and editing, R.Y. and X.M.; visualization, J.L.; supervision, R.Y., X.M. and Y.Y.; project administration, R.Y. and X.M.; funding acquisition, R.Y. All authors read and agreed to the published version of the manuscript.
Funding
This research was funded by the National Natural Science Foundation of China (grant number 41304001), the 111 Projects (grant number B18062), the Chongqing Natural Science Foundation (grant number cstc2019jcyj-msxmX0153), and the Fundamental Research Funds for the Central Universities (No.02180052020026).
Data Availability Statement
The datasets and source codes used in this study is available from the corresponding author on a reasonable request.
Acknowledgments
The authors would like to thank all anonymous reviewers for their valuable, constructive, and prompt comments and suggestions. And we appreciate Zhao Li for helping to revise the paper and improving the English language, Degui Teng, Chao Li, and Changzheng Yuan of Chongqing Survey Institute for their inspiration and useful suggestions, Long Li from Chongqing University for providing experimental equipment, Decheng Zhu and Chang Deng for their help in translation.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A
Suppose the expected values of coordinate observations
and new observations
are
, respectively, and the variances of coordinate observation
and observation error
are
, respectively. Suppose
are independent of each other, and
,
,
. Then, we can get
With the properties of the expectation and variance [
19], we can get
where
represents the calculation of expectation, and
.
With Equation (A1) and the relationship between the chi-square distribution and the normal distribution, we can get
where
.
As the variance of the noncentral distribution
is
, with the above equation, we can get
where
.
References
- Williams, R.D.; Lamy, M.; Maniatis, G.; Stott, E. Three-dimensional reconstruction of fluvial surface sedimentology and topography using personal mobile laser scanning. Earth Surf. Process. Landf. 2019, 45, 251–261. [Google Scholar] [CrossRef]
- Liu, H.; Shen, X.; Cao, L.; Yun, T.; Zhang, Z.; Fu, X.; Chen, X.; Liu, F. Deep Learning in Forest Structural Parameter Estimation Using Airborne LiDAR Data. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2020, 14, 1603–1618. [Google Scholar] [CrossRef]
- Li, L.; Cao, X.; He, Q.; Sun, J.; Jia, B.; Dong, X. A new 3D laser-scanning and GPS combined measurement system. C. R. Geosci. 2019, 351, 508–516. [Google Scholar] [CrossRef]
- Tian, H.; Ni, J.; Hu, J. Autonomous Driving System Design for Formula Student Driverless Racecar. In Proceedings of the 2018 IEEE Intelligent Vehicles Symposium, Suzhou, China, 26–30 June 2018; pp. 1–6. [Google Scholar]
- Jia, D.F.; Cheng, X.J.; Liu, Y.P. Application Analysis of Spherical Target in Point Cloud Data Registration. Geotech. Investig. Surv. 2011, 9, 64–68. [Google Scholar]
- Liu, W. Novel method for sphere target detection and center estimation from mobile terrestrial laser scanner data. Measurement 2019, 137, 617–623. [Google Scholar] [CrossRef]
- Prem, R.; Bala, M.; Daniel, S. Metrological evaluation of contrast target center algorithm for terrestrial laser scanners. Measurement 2018, 134, 15–24. [Google Scholar]
- Rachakonda, P.; Muralikrishnan, B.; Cournoyer, L. Software to Determine Sphere Center from Terrestrial Laser Scanner Data per ASTM Standard E3125-17. J. Res. Natl. Inst. Stand. Technol. 2018, 123, 1–4. [Google Scholar] [CrossRef] [PubMed]
- Chen, W.X.; Chen, Y.; Yuan, Q. Application of Weighted Total Least Squares in Fitting of 3D Laser Target. J. Geod. Geodyn. 2010, 30, 90–96. [Google Scholar]
- Wang, L.Y. Using Robust WTLS Method for 3D Laser Scanning Target Ball Positioning. J. Geod. Geodyn. 2016, 36, 746–749. [Google Scholar]
- Reshetyuk, Y.; Horemuž, M.; Sjöberg, L.E. Determination of the optimal diameter for spherical targets used in 3D laser scanning. Surv. Rev. 2005, 38, 243–253. [Google Scholar] [CrossRef]
- Schaffrin, B.; Wieser, A. On weighted total least-Squares adjustment for linear regression. J. Geod. 2008, 82, 415–421. [Google Scholar] [CrossRef]
- Rachakonda, P.; Muralikrishnan, B.; Cournoyer, L. Methods and considerations to determine sphere center from terrestrial laser scanner point cloud data. Meas. Sci. Technol. 2017, 28, 105001. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Lin, G.; Tang, Y.; Zou, X. Three-dimensional reconstruction of guava fruits and branches using instance segmentation and geometry analysis. Comput. Electron. Agric. 2021, 184, 106107. [Google Scholar] [CrossRef]
- Yue, D.; Xie, S.; Guo, P. Determination of spherical target center from TLS data based on a method of nonlinear least squares. In Proceedings of the International Symposium on Lidar and Radar Mapping, Nanjing, China, 26–29 May 2011. [Google Scholar] [CrossRef]
- Brazeal, R. GEOMETRIC FORM FITTING OF POINT CLOUD DATA REPRESENTING SPHERICAL REGISTRATION/GEOREFERENCING TARGETS. 2013. Available online: https://www.researchgate.net/publication/265014489_GEOMETRIC_FORM_FITTING_OF_POINT_CLOUD_DATA_REPRESENTING_SPHERICAL_REGISTRATIONGEOREFERENCING_TARGETS (accessed on 12 February 2022).
- Lu, T.D.; Zhou, S.J.; Zhang, L.T. Method for Positioning Target Ball Based on Global Least Squares by Laser Scanning on the Ground. J. Geod. Geodyn. 2009, 29, 102–105. [Google Scholar]
- Moritz, H. Least-squares collocation. Rev. Geophys. 1978, 16, 421–430. [Google Scholar] [CrossRef]
- You, R.J.; Hwang, H.W. Coordinate Transformation between Two Geodetic Datums of Taiwan by Least-Squares Collocation. J. Surv. Eng. 2006, 132, 64–70. [Google Scholar] [CrossRef]
- Ramouz, S.; Afrasteh, Y.; Reguzzoni, M. IRG2018: A regional geoid model in Iran using Least Squares Collocation. Studia Geophys. Geod. 2019, 63, 191–214. [Google Scholar] [CrossRef]
| Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).