Clustering Denoising of 2D LiDAR Scanning in Indoor Environment Based on Keyframe Extraction
Abstract
:1. Introduction
- 1.
- A clustering noise reduction method based on keyframe extraction is proposed. Only the obtained keyframes are denoised. Since all scans without new environmental information are dropped, this method can not only effectively remove noise but also reduce the overall computational pressure of the system.
- 2.
- During the keyframe extraction, the dimension of a scan is reduced to a histogram, and the histogram is used for similarity comparison. The method reduces the influence of noise on similarity comparison to a certain extent. It can drop a portion of scans while preserving environmental characteristics.
- 3.
- In the process of clustering noise reduction, the region segmentation method is used. This method can reduce the dimension of clustering. It has a positive effect on reducing the time consumption of the clustering process and obtaining a better clustering effect. Meanwhile, it can improve the accuracy of LiDAR data to a certain extent.
2. Related Work
2.1. Keyframe Extraction
2.2. Point Cloud Denoising
3. Clustering Noise Reduction Based on Keyframe Extraction
3.1. Keyframe Extraction of 2D LiDAR
3.1.1. Preprocessing
Algorithm 1 Distance Filter |
Input: Laser point pi from P set |
Output: Filtered set S |
1. for pi ∈ P do |
2. if then |
3. Drop the point |
4. else S ← Pi |
5. end if |
6.end for |
7.return S |
3.1.2. Construct Histogram
3.1.3. Calculate Similarity
3.1.4. Select Parameters
- 1.
- n—the number of columns of the histogram;
- 2.
- m—the size of the sliding window;
- 3.
- Ppair—the similarity threshold between two scans;
- 4.
- Pthreshold—the similarity threshold for dropping target scan.
3.2. Clustering Noise Reduction Method
3.2.1. Region Segmentation
3.2.2. Clustering
3.2.3. Merge Laser-Point Cloud Blocks
3.2.4. Filtering of Clusters
Algorithm 2 Clustering Noise Reduction Method |
Input: Set P of laser points from keyframe. |
Output: Set S of laser points after clustering noise reduction processing. |
1. The points are divided into t regions, and the points set is Tj(j = 1,2…t). |
2. Cluster the points in different regions. |
3. for pi ∈ Ti && j = 1,2…t do |
4. if θi“1 − θi > θthreshold then |
5. Tj,k is a block within region j. θstart is the starting point of Tj,k. |
6. |
7. θstart ← θi+1 and k ++ |
8. end if |
9. end for |
10. Merge Laser-point Cloud Blocks. m and n are indexes of blocks. |
11. for |
12. is the rightmost or leftmost point of block . is the leftmost or |
rightmost point of block . |
13. if then |
14. |
15. end if |
16. end for |
17. Tj,k is the final cluster. |
18. for all Tj,k do |
19. if then |
20. Drop Tj,k |
21. else |
22. end if |
23. end for |
24. return S |
4. Experiment
4.1. Experimental Setup
4.2. Gazebo Simulation Experiment
4.3. Actual Time Consumption
4.4. Dataset Experiment
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Lee, J.; Shiotsuka, D.; Nishimori, T.; Nakao, K.; Kamijo, S. GAN-Based LiDAR Translation between Sunny and Adverse Weather for Autonomous Driving and Driving Simulation. Sensors 2022, 22, 5287. [Google Scholar] [CrossRef] [PubMed]
- Goelles, T.; Hammer, T.; Muckenhuber, S.; Schlager, B.; Abermann, J.; Bauer, C.; Jiménez, V.J.E.; Schöner, W.; Schratter, M.; Schrei, B.; et al. MOLISENS: MObile LIdar Sensor System to exploit the potential of small industrial lidar devices for geoscientific applications. Geosci. Instrum. Methods Data Syst. 2022, 11, 247–261. [Google Scholar] [CrossRef]
- Lee, K.W.; Park, J.K. Comparison of UAV Image and UAV LiDAR for Construction of 3D Geospatial Information. Sensor Mater. 2019, 31, 3327–3334. [Google Scholar] [CrossRef]
- Dubé, R.; Dugas, D.; Stumm, E.; Nieto, J.; Siegwart, R.; Cadena, C. SegMatch: Segment based place recognition in 3D point clouds. In Proceedings of the 2017 IEEE International Conference on Robotics and Automation (ICRA), Marina Bay Sands, Singapore, 29 May–3 June 2017; pp. 5266–5272. [Google Scholar] [CrossRef] [Green Version]
- Duan, J.; Shi, L.; Yao, J.; Liu, D.; Tian, Q. Obstacle detection research based on four-line laser radar in vehicle. In Proceedings of the 2013 IEEE International Conference on Robotics and Biomimetics (ROBIO), Shenzhen, China, 12–14 December 2013; pp. 2452–2457. [Google Scholar] [CrossRef]
- Schubert, E.; Sander, J.; Ester, M.; Kriegel, H.P.; Xu, X. DBSCAN Revisited, Revisited: Why and How You Should (Still) Use DBSCAN. ACM Trans. Database Syst. 2017, 42, 19. [Google Scholar] [CrossRef]
- Khan, K.; Rehman, S.U.; Aziz, K.; Fong, S.; Sarasvady, S. DBSCAN: Past, present and future. In Proceedings of the Fifth International Conference on the Applications of Digital Information and Web Technologies (ICADIWT 2014), Bangalore, India, 17–19 February 2014; pp. 232–238. [Google Scholar] [CrossRef]
- 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] [PubMed] [Green Version]
- Schneider, S.; Himmelsbach, M.; Luettel, T.; Wuensche, H.-J. Fusing vision and LIDAR—Synchronization, correction and occlusion reasoning. In Proceedings of the 2010 IEEE Intelligent Vehicles Symposium, La Jolla, CA, USA, 21–24 June 2010; pp. 388–393. [Google Scholar] [CrossRef]
- Landrieu, L.; Boussaha, M. Point Cloud Over segmentation with Graph-Structured Deep Metric Learning. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 15–20 June 2019; pp. 7432–7441. [Google Scholar] [CrossRef]
- He, Y.; Liang, B.; Yang, J.; Li, S.; He, J. An iterative closest points algorithm for registration of 3D laser scanner point clouds with geometric features. Sensors 2017, 17, 1862. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Bosse, M.; Roberts, J. Histogram Matching and Global Initialization for Laser-only SLAM in Large Unstructured Environments. In Proceedings of the 2007 IEEE International Conference on Robotics and Automation, Rome, Italy, 10–14 April 2007; pp. 4820–4826. [Google Scholar] [CrossRef]
- Censi, A. An ICP variant using a point-to-line metric. In Proceedings of the 2008 IEEE International Conference on Robotics and Automation, Pasadena, CA, USA, 19–23 May 2018; pp. 19–25. [Google Scholar] [CrossRef] [Green Version]
- Gelfand, N.; Ikemoto, L.; Rusinkiewicz, S.; Levoy, M. Geometrically stable sampling for the ICP algorithm. In Proceedings of the Fourth International Conference on 3-D Digital Imaging and Modeling, 3DIM 2003, Banff, AB, Canada, 6–10 October 2003; pp. 260–267. [Google Scholar] [CrossRef] [Green Version]
- Rofer, T. Using histogram correlation to create consistent laser scan maps. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Lausanne, Switzerland, 30 September–4 October 2002; pp. 625–630. [Google Scholar] [CrossRef] [Green Version]
- Granstrom, K.; Callmer, J.; Ramos, F.; Nieto, J. Learning to detect loop closure from range data. In Proceedings of the 2009 IEEE International Conference on Robotics and Automation, Kobe, Japan, 12–17 May 2009; pp. 15–22. [Google Scholar] [CrossRef] [Green Version]
- Yin, G.; Sun, Z.; Dai, Y. Global Loop Closure Detection of Multi-Robot Based on Particle Filter. In Proceedings of the 2018 3rd International Conference on Robotics and Automation Engineering (ICRAE), Guangzhou, China, 17–19 November 2018; pp. 92–96. [Google Scholar] [CrossRef]
- Rusu, R.B.; Cousins, S. 3D is here: Point Cloud Library (PCL). In Proceedings of the 2011 IEEE International Conference on Robotics and Automation, Shanghai, China, 9–13 May 2011; pp. 1–4. [Google Scholar] [CrossRef] [Green Version]
- 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 (CRV), Toronto, ON, Canada, 8–10 May 2018; pp. 254–261. [Google Scholar] [CrossRef]
- Balta, H.; Velagic, J.; Bosschaerts, W.; De Cubber, G.; Siciliano, B. Fast Statistical Outlier Removal Based Method for Large 3D Point Clouds of Outdoor Environments. IFAC-PapersOnLine 2018, 51, 348–353. [Google Scholar] [CrossRef]
- Benesty, J.; Chen, J.; Huang, Y. On the Importance of the Pearson Correlation Coefficient in Noise Reduction. IEEE Trans. Audio Speech Lang. Process. 2008, 16, 757–765. [Google Scholar] [CrossRef]
- Fallon, M.; Johannsson, H.; Kaess, M.; Leonard, J.J. The MIT Stata Center dataset. Int. J. Robot. Res. 2013, 32, 1695–1699. [Google Scholar] [CrossRef] [Green Version]
- Hess, W.; Kohler, D.; Rapp, H.; Andor, D. Real-time loop closure in 2D LIDAR SLAM. In Proceedings of the 2016 IEEE International Conference on Robotics and Automation (ICRA), Stockholm, Sweden, 16–20 May 2016; pp. 1271–1278. [Google Scholar] [CrossRef]
Bag | Cartographer | Cartographer + Keyframe-Extraction (m) | Dropped (%) | Cartographer + Our_Method (m) | Improvement (%) |
---|---|---|---|---|---|
2012-01-18-09-09-07 | 0.582 ± 0.153 | 0.587 ± 0.174 | 52 | 0.525 ± 0.132 | 10 |
2012-01-25-12-14-25 | 0.535 ± 0.113 | 0.548 ± 0.098 | 50 | 0.492 ± 0.092 | 8 |
2012-01-25-12-33-29 | 0.513 ± 0.083 | 0.536 ± 0.091 | 55 | 0.472 ± 0.054 | 8 |
2012-04-06-11-15-29 | 0.357 ± 0.021 | 0.358 ± 0.024 | 41 | 0.315 ± 0.030 | 12 |
2012-04-06-11-28-12 | 0.383 ± 0.035 | 0.392 ± 0.028 | 45 | 0.337 ± 0.026 | 12 |
Bag | Cartographer | Cartographer + Our_Method | Cartographer + DBSCAN |
---|---|---|---|
2012-01-18-09-09-07 | 0.582 ± 0.153 | 0.525 ± 0.132 | 0.553 ± 0.143 |
2012-01-25-12-14-25 | 0.535 ± 0.113 | 0.492 ± 0.092 | 0.503 ± 0.088 |
2012-01-25-12-33-29 | 0.513 ± 0.083 | 0.472 ± 0.054 | 0.477 ± 0.065 |
2012-04-06-11-15-29 | 0.357 ± 0.021 | 0.315 ± 0.030 | 0.332 ± 0.025 |
2012-04-06-11-28-12 | 0.383 ± 0.035 | 0.337 ± 0.026 | 0.352 ± 0.028 |
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. |
© 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/).
Share and Cite
Hu, W.; Zhang, K.; Shao, L.; Lin, Q.; Hua, Y.; Qin, J. Clustering Denoising of 2D LiDAR Scanning in Indoor Environment Based on Keyframe Extraction. Sensors 2023, 23, 18. https://doi.org/10.3390/s23010018
Hu W, Zhang K, Shao L, Lin Q, Hua Y, Qin J. Clustering Denoising of 2D LiDAR Scanning in Indoor Environment Based on Keyframe Extraction. Sensors. 2023; 23(1):18. https://doi.org/10.3390/s23010018
Chicago/Turabian StyleHu, Weiwei, Keke Zhang, Lihuan Shao, Qinglei Lin, Yongzhu Hua, and Jin Qin. 2023. "Clustering Denoising of 2D LiDAR Scanning in Indoor Environment Based on Keyframe Extraction" Sensors 23, no. 1: 18. https://doi.org/10.3390/s23010018