Abstract
The random matrix (RM) model is a typical extended object-modeling method that has been widely used in extended object tracking. However, existing RM-based filters usually assume that the measurements follow a Gaussian distribution, which may lead to a decrease in accuracy when the filter is applied to the lidar system. In this paper, a new observation model used to modify an RM smoother by considering the characteristics of 2D LiDAR data is proposed. Simulation results show that the proposed method achieves a better performance than the original RM tracker in a 2D lidar system.
Subject terms: Computer science, Information technology, Aerospace engineering
Introduction
Extended object tracking (EOT) is a major topic in data fusion and has been applied to many different scenarios, including RGB-D sensors1, imaging sonar2, marine radar3, and lidar systems4. The extended object may generate more than one measurement per scan, and thus an EOT tracker needs to estimate the kinematic and extended states of the objects concurrently.
The major EOT methods include random hypersurface models (RHMs) and random matrix (RM) models. In RHMs, the kinematical state of an object is updated using a Kalman filter, and the corresponding extended state is described as a given shape model, for example, an ellipsoidal5, star-convex6, or level-set7 model. The kinematic and extended states of an object can be obtained by estimating the parameters of a given shape model. Although an RHM-based tracker can accurately estimate the state of an extended object with different shapes as a complex mathematical model, this approach lacks simplicity and robustness. Compared to an RHM, an RM model is an effective and versatile approach with concise mathematical equations. The RM model is based on the assumptions that “the densities of the extension state variable are given by inverted Wishart densities”8. The Bayesian recursion characterizes the joint density as a product of Gaussian- and Wishart-related densities with approximate update formula for the parameters characterizing these densities. In addition, the RM model is also known as a Gaussian inverted Wishart (GIW) model.
An RM model used to estimate the state of the group targets was first presented by Koch8, and soon after its introduction, numerous studies began focusing on improvements to the model. In18, Feldmann et al. proposed an improvement approach that considers the rotation of the object, and it therefore has a faster convergence. A sub-object-based RM model was proposed in24. This method uses multiple ellipses to represent a single object, and it can thus track a nonelliptical object. The Bayesian RM filtering and smoothing method was proposed in16. An RM method that considers sensor noise and object maneuvers was proposed in25. In26, a skew-normal-distribution-based RM method was proposed to solve the problem of non-uniform measurements. Moreover, RM models, also known as GIW models, are widely used in multiple extended object tracking, such as GIW-PHD, GIW-GLMB, and Poisson multi-Bernoulli mixture (PMBM) filters9–12. For lidar systems, although some RM-based methods have achieved tracking results9,11,12,17, the accuracy decreases according to the fact that lidar can only detect one side of an entire object. In27, a RM based method was proposed to describe the non-uniformly distributed measurements. In28, a learning-based extended object tracking method was proposed for automotive radar. A method combining RM and a virtual measurement model (VMM) was proposed in29. VMM is a physics-based function that generates a large number of artificial measurements, and is used to estimate the real extension of an object.
This study proposes a modified RM tracking model suitable for 2D lidar scenarios. The proposed method differs from that described in29 and does not generate a large number of artificial measurements. The detection characteristics of the lidar system in the real world are fully considered; thus, the proposed method can better estimate the kinematic and extended states of the object. Note that the proposed method can only deal with single extended object tracking, not to multiple object tracking system. The main contributions of this study are as follows:
A novel method is proposed to estimate the kinematic vector and extended matrix of the object.
The proposed method is applied to the Bayesian filtering method described in16, which is a robust and effective RM tracker.
The performances of the proposed and original methods with LiDAR data are compared.
The remainder of this paper is organized as follows. Section "Problem statements" introduces tracking problems. In Section "Modified Rm model for 2D lidar", the RM model is improved based on the detection characteristics of 2D lidar data. Section "Implementation" presents the modified RM tracker for a 2D lidar system. Section "Results" presents the simulation results. Finally, Section "Conclusion" provides some concluding remarks.
Problem statements
Let denote the extended state at time k: The RM model is usually defined as , where is the kinematical vector, is an matrix used to describe the extent of the object, and is the dimension of the tracking scenario. Using a Bayesian filtering framework, the state prediction is
1 |
where is the density of the transition. The state update is written as
2 |
The RM model assumes that follows a Gaussian distribution and follows an inverse Wishart distribution. Therefore, according to18, the object state density based on the factorized model is
3 |
where denotes a Gaussian distribution and denotes an inverse Wishart distribution.
In the original random matrix model shown in Fig. 1(a), for the measurement set , it is typically assumed that each is generated independently from the Gaussian distribution. Therefore, and are usually estimated using the mean and covariance of the measurement set, , respectively. However, in the 2D lidar system, as shown in Fig. 1(b), the measurements are distributed along the contour of the object, and only one side can be detected. The mean and covariance of cannot accurately describe the real position or extent of an object. Therefore, as a problem with the RM model, it cannot estimate the real state of an object when the data are from a 2D lidar system.
In this study, the detection process of the 2D lidar system was analyzed and the RM model was modified by considering the characteristics of the lidar data.
Modified Rm model for 2D lidar
Measurement model of 2D lidar
Raw lidar data are usually in a polar format, for example, , where and denote the distance and radian of the th ranging per revolution, respectively. According to the detection principle of lidar when applied in the real world (as shown in Fig. 2), the following assumptions were made:
Assumption 1
The lidar applies a detection times per revolution, and the th observation radian follows a Gaussian distribution , where is the given variance.
Assumption 2
The noise range follows a zero-mean Gaussian distribution with as the variance.
Assumption 3
According to interference factors, such as weather or strong light, the object has a detection probability of .
Assumption 4
If an object can be detected according to the difference in its surface material, the detection probability of each range is .
Based on the above assumptions, the measurement model can be described as follows:
Let denote the measurement set per revolution. According to Assumption 3, there is a probability of that is an empty set.
When is not empty, according to Assumption 4, there is a probability of that is an empty set.
where denotes the detectable contour function of the object. For example, is the ranging result of an object with a center coordinate . The coordinates of the lidar is , and the detection radian is .
Proposed method
Let the lidar coordinate system be the center of the coordinate system. Given a measurement set in Cartesian coordinates at time k (for convenience, polar coordinates are not used), according to Eq. (4), state estimation errors will be caused when using the mean of . Assuming that the extent of an object can be approximated as an ellipse, its center can be approximated as follows:
5 |
where and are two points on straight line passing through the center of the ellipse. According to Assumption 1, two measurements with minimum and maximum radians can be approximated as two tangent points on the tangent line of an ellipse passing through the lidar coordinates. Therefore, the corresponding ellipse tangent equation (i.e., the dotted line in Fig. 2) can be obtained from the coordinates of the two measurement points and the lidar coordinates. As shown in the left half of Fig. 2, and can be approximated from the perpendicular tangent of the ellipses and . This is because according to the mathematical properties of an ellipse, and are the bisectors of the angle formed by the tangent point and focuses of the ellipse. Therefore, the distances from the center to and are similar. Note that if the target is small or far from the lidar, the error of (5) will be small. This occurs in this case because the included angle of the two tangent lines is extremely small, and the two straight lines can be regarded as parallel; thus, Eq. (5) is sufficiently accurate.
According to the detection mode of the lidar, and can be approximated as two tangent points. Suppose that , , and . The coordinate equation of the straight-line can be obtained as follows:
6a |
6b |
6c |
and the coordinate equation of the straight line is
7a |
7b |
7c |
The line passing through the center of the ellipse can be estimated based on . As shown in the right half of Fig. 2, according to Assumption 1, the polar coordinate system can be divided into sectors based on the radian , and the number of measurements in each sector may be zero, 1, or higher. By matching the measurements in the corresponding sector, the set of the midpoints can be obtained. Note that if there are multiple measurements in a sector, the mean value of these measurements is used for the calculation. If there are no measurements in a sector, then the measurements in its paired sectors do not participate in the calculation of . Supposing that , can be fitted using the least square method19,20, i.e.,
8a |
8b |
8c |
8d |
The equations for , , and have been solved; thus, and can be obtained by
9a |
9b |
Note that if the number is too small, the equation of may be inaccurate; thus, a threshold of must be given. When , will be obtained using the proposed method, whereas when , will be solved based on the weighted mean of , that is, Eq. (5) should be rewritten as
10 |
where is the weight of . Equation (10) uses the weighted form because the inclination of the object contour affects the measurement density (as shown in Fig. 2). Therefore, can be calculated as
11a |
11b |
11c |
where denotes the measurement closest to ; and are the distance and radians of the th and th measurements, respectively; and denotes normalization. In fact, the numerator of Eq. (11a) represents the length of the red line in Fig. 2, whereas the denominator is the length of the blue line. By weighting Eq. (11), the influence of the object contour inclination on the statistical accuracy can be reduced. Similarly, the covariance matrix of the measurement set can be obtained as
12 |
Implementation
In this section, the proposed method is used to modify the advanced RM tracker presented in16. The tracker comprises three steps: prediction, updating, and smoothing. Let function denote the change mode of the object extent using factorized Gaussian inverse Wishart densities18. If is a given invertible matrix , the prediction steps are as follows.
13a |
13b |
13c |
13d |
where and are the motion state and corresponding covariance, respectively; and are the Wishart scale matrix and degree of freedom, respectively; and are the motion model and corresponding state transition matrix, respectively; and denotes the process noise covariance. If is not a given matrix, formulas (13c) and (13d) become:
14a |
14b |
14c |
14d |
14e |
14f |
where is the trace of a matrix, and is is the expectation.
The state updating steps are as follows:
15a |
15b |
15c |
15d |
where
16a |
16b |
16a |
16c |
16d |
16e |
Here, is a given scale parameter, and is the object observation noise. In addition, and can be calculated using the proposed method, that is, Eqs. (10) and (12).
Note that this study did not contribute to the smoothing steps. Therefore, the smoothing steps are the same as those for the original smoother and can be found in Section V of 16.
Results
This section presents the simulation results of the proposed method and the original approach presented in16. There are three scenarios: an ellipse object scenario, a rectangular object scenario, and 2D lidar data scenario. Note that the first two scenarios are based on simulation, whereas the last one uses a real dataset. The lidar parameters are as follows: 3irobotix-3i-T1 2D Lidar, 20-m detection radius, 1800 detections per revolution, and a scan interval of T = 0.1 s. The motion model is a coordinated turn model, that is, the object motion state is and the other parameters are as follows:
17a |
17b |
17c |
17d |
17e |
where the lidar scan interval is s. In addition, and denote the identity matrix and zero matrix, respectively.
Measurements were generated using the model proposed in Section "Measurement model of 2D lidar". The detection probability of the object was , and the detection probability of each range was . The Lidar conducts a detection 7200 times per revolution, and the observation noise is .
The performances of different methods are judged based on the Gaussian Wassterstein distance (GWD) metric21-22, which considers both the object location and extension errors, and is defined as follows:
18 |
where is the GWD value at time k. The first half describes the square of the location error, and the second half describes the square of the extension error. The GWD metric is used to indicate the similarity of the two distributions, that is, the smaller the value , the more similar the two distributions are.
Ellipse object scenario
In this section, the real shape of the object is an ellipse.
Figure 3 shows the filtering and smoothing results of 200 Monte Carlo runs. The GWD errors of the proposed method are lower than those of the original method, which shows that the proposed method improves the tracking accuracy.
Figure 4 shows the tracking results for a single run. It can be seen intuitively that, compared with the original method, the object motion and extent states estimated by the proposed method are closer to the real situation, which is also the reason for the difference in the errors in Fig. 3.
Figure 5 shows the average location and extension errors of 200 Monte Carlo runs. It can be seen that the difference between the location errors of the proposed method and the original filter is greater than the extension errors. This shows that the method proposed in Section "Modified Rm model for 2D lidar" can effectively estimate the location of the target center, which is the main reason for the improvement in the tracking performance.
Figure 6 shows the average time cost of 200 Monte Carlo runs. Although it can be observed that the proposed algorithm has a higher tracking accuracy, the time cost is approximately twice that of the original algorithm. Therefore, the proposed method is more suitable for 2D lidar systems that are insensitive to such cost.
Rectangular object scenario
In this section, the target is rectangular. The shape of the vehicle is often rectangular in the real world; thus, the rectangular object can be used to test the performance of the proposed method for the tracking of non-elliptical objects.
Figure 7 shows the filtering and smoothing results of 200 Monte Carlo runs. The blue and red ellipses represent the results obtained using the original and proposed methods, respectively. The green rectangle indicates the vehicle location. The black square represents the location of the lidar. The proposed method still achieves a better performance.
Figure 8 shows the results of a single run. It can be seen that although the shape of the object is rectangular, the proposed method can still use an ellipse to approximate its shape. Therefore, the proposed method is robust and can be applied to real scenarios such as vehicle tracking.
Figure 9 shows the average location and extension errors of the rectangular object. It can be observed that the proposed method is still effective in reducing the location errors compared with the original filter when tracking a rectangular object. At the same time, the problem of a high time cost, shown in Fig. 10, still exists; thus, users should comprehensively consider the balance between accuracy and time cost.
Real 2D lidar data scenario
In this section, real-world 2D Lidar data used to test the effectiveness of the proposed method are described. The object in the scenario was a car, and 60 data scans were obtained using 2D lidar. The vehicle turns left on the open ground (as shown in Fig. 11). Note that the location data of the vehicle comes from manual markings.
Figure 11 shows the tracking results of five scans. The green rectangle indicates the vehicle position. It can be observed that the tracking performance of the proposed method is better than that of the original approach.
Figure 12 shows the filtering and smoothing results. It can be seen that the errors of both the proposed and original methods are large and similar at 1.5 to 3 s. According to Fig. 11, the car is turning during this period, and the lidar measurement is significantly affected by the environment and the inclination angle of the vehicle surface. According to Eq. (10), when the number of midpoints is relatively small, that is, , the proposed method becomes.
.
It is the weighted average of the measurement taking into account the influence of the object contour inclination and similar to the original RM method (see the Eq. (39) in8), which is why the accuracy of the proposed method is similar to that of the original method in 1.5 to 3 s. Therefore, the tracking accuracies of the proposed and original methods are significantly reduced. However, the accuracy of the proposed method is higher than that of the original method for other time periods, which shows that the proposed method is effective for use with real 2D LiDAR data.
Figure 13 shows the location and extension errors. The location errors of both the proposed and original methods increase significantly within 1.5 to 3 s, whereas the expansion error fluctuates less during this period. This shows that the increases in the errors in Fig. 12 within 1.5 to 3 s are mainly caused by location errors. Figure 14 shows the time cost. Similar to the simulation scenarios, the time cost of the proposed method for processing real 2D Lidar data is higher than that of the original method.
Conclusion
In this paper, a modified RM model was proposed for tracking an extended object using a 2D lidar system. Compared to the original model, the proposed method can better estimate the location and extended state of an object using the physical characteristics of the lidar system. The simulation results show lower GWD errors for the proposed method than for the original approach.
Although some RM-based tracking methods have also discussed the tracking problem in a lidar system, the tracking results should be calculated according to the characteristics of specific objects. For example, in17, information such as the front direction and steering angle of the front wheels was used; thus, the method is only suitable for the tracking of rectangular vehicles. The proposed method provides another interesting idea, i.e., a way to make full use of the measurement characteristics of a lidar system to estimate the real state of an object. Therefore, the proposed method is not limited to vehicle tracking. However, it should be noted that the method is only applicable to lidar systems with a high measurement accuracy. If the amount of noise is excessive, the results calculated by Eqs. (8) and (9) may have large errors, which is also a problem with the proposed approach.
In a future study, we plan to apply the proposed method to multiple extended object-tracking filters, such as a PMBM filter12.
Author contributions
P.L. proposed the method and wrote the main manuscript text. C.C., C.Y. and J.Q. prepared the simulation data. All authors reviewed the manuscript.
Funding
This paper is supported by National Natural Science Foundation of China (No.62002142, No.61902160); Natural Science Foundation of Jiangsu Province (No.BK20201057); Natural Science Foundation of Universities in Jiangsu Province (No.19KJD510003); Science and Technology Plan Project of Changzhou (No.CJ20220055).
Data availability
The data generated during this study are included in this article.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.M. Baum, F. Faion, U. D. Hanebeck, Tracking ground moving extended objects using rgbd data. Proc. of the 2012 IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems (MFI), Hamburg, Germany, pp. 186–191, 2012.
- 2.K. J. Demarco, N. Toit, A. M. Howard, Tracking multiple fragmented objects with 2D imaging sonar. Proc. of OCEANS 2016 MTS/IEEE Monterey, Monterey, CA, USA, pp. 1–8, (2016).
- 3.J. S. Fowdur, M. Baum and F. Heymann, Tracking targets with known spatial extent using experimental marine radar data Proc. of the 22th International Conference on Information Fusion (FUSION), Ottawa, ON, Canada, pp. 1–8 (2019).
- 4.Lee S, McBride J. Extended object tracking via positive and negative information fusion. IEEE Trans. Signal Process. 2019;67(7):1812–1823. doi: 10.1109/TSP.2019.2897942. [DOI] [Google Scholar]
- 5.Baum M, Hanebeck UD. Extended object tracking with random hypersurface models. IEEE Trans. Aerosp. Electron. Syst. 2014;50(1):149–159. doi: 10.1109/TAES.2013.120107. [DOI] [Google Scholar]
- 6.J. Steinbring, M. Baum, A. Zea, F. Faion and U. D. Hanebeck, A closed-form likelihood for particle filters to track extended objects with star-convex RHMs. Proc. of the 2015 IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems (MFI), San Diego, CA, USA, pp. 25–30, (2015).
- 7.Zea A, Faion F, Baum M, Hanebeck UD. Level-set random hypersurface models for tracking nonconvex extended objects. IEEE Trans. Aerosp. Electron. Syst. 2016;52(6):2990–3007. doi: 10.1109/TAES.2016.130704. [DOI] [Google Scholar]
- 8.Koch W. Bayesian approach to extended object and cluster tracking using random matrices. IEEE Trans. Aerosp. Electron. Syst. 2008;44(3):1042–1059. doi: 10.1109/TAES.2008.4655362. [DOI] [Google Scholar]
- 9.Granström K, Orguner U. A PHD filter for tracking multiple extended targets using random matrices. IEEE Trans. Signal Process. 2012;60(1):5657–5671. doi: 10.1109/TSP.2012.2212888. [DOI] [Google Scholar]
- 10.Granstrom K, Natale A, Braca P, et al. Gamma gaussian inverse wishart probability hypothesis density for extended target tracking using x-band marine radar data. IEEE Trans. Geosci. Remote Sens. 2015;53:1–15. doi: 10.1109/TGRS.2015.2444794. [DOI] [Google Scholar]
- 11.Beard M, Reuter S, Granström K, et al. Multiple extended target tracking with labeled random finite sets. IEEE Trans. Signal Process. 2016;64(7):1638–1653. doi: 10.1109/TSP.2015.2505683. [DOI] [Google Scholar]
- 12.Granström K, Fatemi M, Svensson L. Poisson multi-bernoulli mixture conjugate prior for multiple extended target filtering. IEEE Trans. Aerosp. Electron. Syst. 2020;56(1):208–225. doi: 10.1109/TAES.2019.2920220. [DOI] [Google Scholar]
- 13.Lan J, Li X. Tracking of Maneuvering non-ellipsoidal extended object or target group using random matrix. IEEE Trans. Signal Process. 2014;62(9):2450–2463. doi: 10.1109/TSP.2014.2309561. [DOI] [Google Scholar]
- 14.B. Lei, C. Li and H. Ji, Nonlinear maneuvering non-ellipsoidal extended object tracking using random matrix. Proc. of the 2017 20th International Conference on Information Fusion (Fusion), Xi'an, China, pp. 1–6, (2017).
- 15.L. Peng, H. W. Ge, J. L. Yang, et al, Modified gaussian inverse Wishart PHD Filter for tracking multiple non-ellipsoidal extended targets.Signal Processing, vol. 150(SEP.), pp. 191–203, 2018.
- 16.Granström K, Bramstång J. Bayesian smoothing for the extended object random matrix model. IEEE Trans. Signal Process. 2019;67(14):3732–3742. doi: 10.1109/TSP.2019.2920471. [DOI] [Google Scholar]
- 17.K. Granström, S. Reuter, D. Meissner and A. Scheel, A multiple model PHD approach to tracking of cars under an assumed rectangular shape. Proc. of the 17th International Conference on Information Fusion (FUSION), Salamanca, Spain, pp. 1–8, (2014).
- 18.Feldmann M, Fränken D, Koch W. Tracking of extended objects and group targets using random matrices. IEEE Trans. Signal Process. 2011;59(4):1409–1420. doi: 10.1109/TSP.2010.2101064. [DOI] [Google Scholar]
- 19.Fitzgibbon A. Direct least square fitting of ellipses. IEEE Trans. Pattern Anal. Mach. Intell. 1999;21(5):476–480. doi: 10.1109/34.765658. [DOI] [Google Scholar]
- 20.Chen KF. Estimating parameters of a sine wave by separable nonlinear least squares fitting. IEEE Trans. Instrum. Meas. 2010;59(12):3214–3217. doi: 10.1109/TIM.2010.2047298. [DOI] [Google Scholar]
- 21.S. Yang, M. Baum, and K. Granström, Metric for performance evaluation of elliptic extended object tracking methods. Proc. of IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems, Baden-Baden, Germany, 2016.
- 22.Givens CR, Shortt RM. A class of wasserstein metrics for probability distributions. Michigan Math. J. 1984;31(2):231–240. doi: 10.1307/mmj/1029003026. [DOI] [Google Scholar]
- 23.Gupta AK, Nagar DK. Matrix variate distributions. Chapman & Hall/CRC; 1999. [Google Scholar]
- 24.J. Lan and X. R. Li, Tracking of extended object or target group using random matrix—Part II: Irregular object. Proc. of the 2012 15th International Conference on Information Fusion, Singapore, Singapore, pp.1–6, 2012.
- 25.Tuncer B, Özkan E. Random matrix based extended target tracking with orientation: A new model and inference. IEEE Trans. Signal Process. 2021;69:1910–1923. doi: 10.1109/TSP.2021.3065136. [DOI] [Google Scholar]
- 26.Zhang L, Lan J. extended object tracking using random matrix with skewness. IEEE Trans. Signal Process. 2020;68:5107–5121. doi: 10.1109/TSP.2020.3019182. [DOI] [Google Scholar]
- 27.Zhang L, Lan J. Tracking of extended object using random matrix with non-uniformly distributed measurements. IEEE Trans. Signal Process. 2021;69:3812–3825. doi: 10.1109/TSP.2021.3090946. [DOI] [Google Scholar]
- 28.Xia Y, Wang P, Berntorp K, et al. Learning-based extended object tracking using hierarchical truncation measurement model with automotive radar. IEEE J. Sel. Top. Signal Process. 2021;15(4):1013–1029. doi: 10.1109/JSTSP.2021.3058062. [DOI] [Google Scholar]
- 29.Hoher P, Wirtensohn S, Baur T, et al. Extended target tracking with a lidar sensor using random matrices and a virtual measurement model. IEEE Trans. Signal Process. 2022;70:228–239. doi: 10.1109/TSP.2021.3138006. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data generated during this study are included in this article.