Online Spatial and Temporal Calibration for Monocular Direct Visual-Inertial Odometry
Abstract
1. Introduction
- We design a feature-based initialization algorithm to initialize monocular direct visual odometry, which can detect motion effectively and initialize the map with higher robustness and efficiency compared to the initialization of DSO.
- We derive a robust and accurate optimization-based initialization to estimate the spatial orientation and temporal offset together. The initialization is able to recover sufficiently accurate results without any prior system knowledge or artificial calibration objects.
- We derive a monocular direct visual-inertial estimator with online spatial-temporal calibration. The estimator can also estimate other states such as IMU pose and 3D geometry.
2. Preliminaries
2.1. Notation
2.2. Spatial Parameters Definition
2.3. Temporal Offset Definition
2.4. Photometric Error
2.5. IMU Error
3. Methodology
3.1. Initialize Monocular Direct VO
- Feature extracting:Extract sparse features [25] in the first frame, and record the amount N of features.
- Feature tracking:Track features using KLT optical flow algorithm [26]. If the features amount , reset the first frame and go to Step 1.
- Optical flow check:Measure camera motion by the root mean square optical flow . If , go to Step 2.
- Motion recovery:Find the fundamental matrix with feature correspondences and recover camera motion by decomposing [27]. Then, triangulate points and check the reprojection error of the features to decide whether the recovery has succeeded or not. If the recovery fails, try to recover camera motion from the homography matrix [27]. If both fail, go to Step 2. Otherwise, we can obtain the relative pose from the first frame to the current frame, and the depth d of the features.
- Translation verification:Warp the bearing vector of features with translation only , where is the bearing vector of . Then, verify sufficient translation by checking the root mean square position offset . If , go to Step 2.
- Direct bundle adjustment and point activation:Perform direct bundle adjustment given the initial value of and d, to refine the initial reconstruction and estimate the relative illumination parameters from the first frame to the current frame. Then, extract more points on the first frame, and do a discrete search on epipolar line to activate these candidates for the following visual odometry.
3.2. Initialization for Spatial-Temporal Parameters
3.3. Visual-Inertial Nonlinear Optimization
3.4. Criteria in Initialization and Optimization
4. Experimental Results
4.1. Spatial-Temporal Initialization Performance
4.2. Overall Performance
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Mourikis, A.I.; Roumeliotis, S.I. A Multi-State Constraint Kalman Filter for Vision-aided Inertial Navigation. In Proceedings of the IEEE International Conference on Robotics and Automation, Roma, Italy, 10–14 April 2007; pp. 3565–3572. [Google Scholar]
- Weiss, S.; Achtelik, M.W.; Lynen, S.; Chli, M.; Siegwart, R. Real-time onboard visual-inertial state estimation and self-calibration of MAVs in unknown environments. In Proceedings of the IEEE International Conference on Robotics and Automation, Saint Paul, MN, USA, 14–18 May 2012; pp. 957–964. [Google Scholar]
- Mingyang, L.; Mourikis, A.I. High-precision, consistent EKF-based visual-inertial odometry. Int. J. Robot. Res. 2013, 32, 690–711. [Google Scholar]
- Lynen, S.; Achtelik, M.W.; Weiss, S.; Chli, M. A robust and modular multi-sensor fusion approach applied to MAV navigation. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Tokyo, Japan, 3–7 November 2013; pp. 3923–3929. [Google Scholar]
- Bloesch, M.; Burri, M.; Omari, S.; Hutter, M.; Siegwart, R. Iterated extended Kalman filter based visual-inertial odometry using direct photometric feedback. Int. J. Robot. Res. 2017, 36, 1053–1072. [Google Scholar] [CrossRef] [Scilit]
- Shaojie, S.; Michael, N.; Kumar, V. Tightly-coupled monocular visual-inertial fusion for autonomous flight of rotorcraft MAVs. In Proceedings of the IEEE International Conference on Robotics and Automation, Seattle, WA, USA, 26–30 May 2015; pp. 5303–5310. [Google Scholar]
- Forster, C.; Carlone, L.; Dellaert, F.; Scaramuzza, D. IMU Preintegration on Manifold for Efficient Visual-Inertial Maximum-a-Posteriori Estimation. In Proceedings of the 2015 Robotics: Science & Systems Conference, Rome, Italy, 17 July 2015. [Google Scholar]
- Leutenegger, S.; Lynen, S.; Bosse, M.; Siegwart, R.; Furgale, P. Keyframe-based visual-inertial odometry using nonlinear optimization. Int. J. Robot. Res. 2015, 34, 314–334. [Google Scholar] [CrossRef] [Scilit]
- Mur-Artal, R.; Tardós, J.D. Visual-Inertial Monocular SLAM With Map Reuse. IEEE Robot. Autom. Lett. 2017, 2, 796–803. [Google Scholar] [CrossRef] [Scilit]
- Tong, Q.; Peiliang, L.; Shaojie, S. VINS-Mono: A Robust and Versatile Monocular Visual-Inertial State Estimator. IEEE Trans. Robot. 2018, 34, 1004–1020. [Google Scholar]
- von Stumberg, L.; Usenko, V.; Cremers, D. Direct Sparse Visual-Inertial Odometry using Dynamic Marginalization. In Proceedings of the IEEE International Conference on Robotics and Automation, Brisbane, Australia, 21–25 May 2018. [Google Scholar]
- Forster, C.; Zhang, Z.; Gassner, M.; Werlberger, M.; Scaramuzza, D. SVO: Semidirect Visual Odometry for Monocular and Multicamera Systems. IEEE Trans. Robot. 2017, 33, 249–265. [Google Scholar] [CrossRef] [Scilit]
- Engel, J.; Koltun, V.; Cremers, D. Direct Sparse Odometry. IEEE Trans. Pattern Anal. Mach. Intell. 2018, 40, 611–625. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mirzaei, F.M.; Roumeliotis, S.I. A Kalman Filter-Based Algorithm for IMU-Camera Calibration: Observability Analysis and Performance Evaluation. IEEE Trans. Robot. 2008, 24, 1143–1156. [Google Scholar] [CrossRef] [Scilit]
- Kelly, J.; Sukhatme, G.S. Visual-Inertial Sensor Fusion: Localization, Mapping and Sensor-to-Sensor Self-calibration. Int. J. Robot. Res. 2011, 30, 56–79. [Google Scholar] [CrossRef] [Scilit]
- Yulin, Y.; Geneva, P.; Eckenhoff, K.; Guoquan, H. Degenerate Motion Analysis for Aided INS with Online Spatial and Temporal Sensor Calibration. IEEE Robot. Autom. Lett. 2019, 4, 2070–2077. [Google Scholar]
- Furgale, P.; Rehder, J.; Siegwart, R. Unified temporal and spatial calibration for multi-sensor systems. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Tokyo, Japan, 3–7 November 2013; pp. 1280–1286. [Google Scholar]
- Zhenfei, Y.; Shaojie, S. Monocular Visual–Inertial State Estimation with Online Initialization and Camera–IMU Extrinsic Calibration. IEEE Trans. Autom. Sci. Eng. 2017, 14, 39–51. [Google Scholar]
- Weibo, H.; Hong, L. Online Initialization and Automatic Camera-IMU Extrinsic Calibration for Monocular Visual-Inertial SLAM. In Proceedings of the IEEE International Conference on Robotics and Automation, Brisbane, Australia, 21–25 May 2018; pp. 5182–5189. [Google Scholar]
- Zheyu, F.; Jianwen, L. Monocular Visual-Inertial State Estimation With Online Temporal Calibration. In Proceedings of the Ubiquitous Positioning, Indoor Navigation and Location-Based Services, Wuhan, China, 22–23 March 2018; pp. 1–8. [Google Scholar]
- Tong, Q.; Shaojie, S. Online Temporal Calibration for Monocular Visual-Inertial Systems. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Madrid, Spain, 1–5 October 2018; pp. 3662–3669. [Google Scholar]
- Lupton, T.; Sukkarieh, S. Visual-Inertial-Aided Navigation for High-Dynamic Motion in Built Environments Without Initial Conditions. IEEE Trans. Robot. 2012, 28, 61–76. [Google Scholar] [CrossRef] [Scilit]
- Mur-Artal, R.; Montiel, J.M.M.; Tardos, J.D. ORB-SLAM: A Versatile and Accurate Monocular SLAM System. IEEE Trans. Robot. 2017, 31, 1147–1163. [Google Scholar] [CrossRef] [Scilit]
- Newcombe, R.A.; Lovegrove, S.J.; Davison, A.J. DTAM: Dense tracking and mapping in real-time. In Proceedings of the International Conference on Computer Vision, Barcelona, Spain, 6–13 November 2011; pp. 2320–2327. [Google Scholar]
- Shi, J.; Tomasi, C. Good features to track. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 21–23 June 1994; pp. 593–600. [Google Scholar]
- Lucas, B.D.; Kanade, T. An Iterative Image Registration Technique with an Application to Stereo Vision. In Proceedings of the 7th International Joint Conference on Artificial Intelligence, Columbia, BC, Canada, 24–28 August 1981; pp. 674–679. [Google Scholar]
- Hartley, R. Multiple View Geometry in Computer Vision, 2nd ed.; Cambridge University Press: New York, NY, USA, 2003. [Google Scholar]
- Schubert, D.; Goll, T.; Demmel, N.; Usenko, V.; Stueckler, J.; Cremers, D. The TUM VI Benchmark for Evaluating Visual-Inertial Odometry. In Proceedings of the International/RSJ Conference on Intelligent Robots and Systems, Madrid, Spain, 1–5 October 2018. [Google Scholar]
- Tong, Q.; Shaojie, S. Robust initialization of monocular visual-inertial estimation on aerial robots. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Vancouver, BC, Canada, 24–28 September 2017; pp. 4225–4232. [Google Scholar]
- Sibley, G.; Matthies, L.; Sukhatme, G. Sliding window filter with application to planetary landing. J. Field Robot. 2010, 27, 587–608. [Google Scholar] [CrossRef] [Scilit]
- Shaojie, S.; Mulgaonkar, Y.; Michael, N.; Kumar, V. Initialization-Free Monocular Visual-Inertial State Estimation with Application to Autonomous MAVs. In Experimental Robotics: The 14th International Symposium on Experimental Robotics; Springer: Berlin, Germany, 2016; pp. 211–227. [Google Scholar]
- Huang, G.; Mourikis, A.I.; Roumeliotis, S.I. Analysis and improvement of the consistency of extended Kalman filter based SLAM. In Proceedings of the IEEE International Conference on Robotics and Automation, Pasadena, CA, USA, 19–23 May 2008; pp. 473–479. [Google Scholar]
- Burri, M.; Nikolic, J.; Gohl, P.; Schneider, T.; Rehder, J.; Omari, S.; Achtelik, M.W.; Siegwart, R. The EuRoC micro aerial vehicle datasets. Int. J. Robot. Res. 2016, 35, 1157–1163. [Google Scholar] [CrossRef] [Scilit]





| Sequence | Camera Delay (ms) | Ours | VINS-Mono | ||||||
|---|---|---|---|---|---|---|---|---|---|
| () | (m) | (ms) | RMSE (m) | () | (m) | (ms) | RMSE (m) | ||
| V11 | 0 | 0.583 | 0.022 | −0.15 | 0.073 | 0.566 | 0.020 | −1.52 | 0.096 |
| 50 | 0.588 | 0.023 | −0.21 | 0.073 | 0.571 | 0.016 | −1.77 | 0.084 | |
| 100 | 0.577 | 0.022 | −0.15 | 0.077 | 0.624 | 0.010 | −3.23 | 0.067 | |
| V12 | 0 | 0.563 | 0.019 | −0.09 | 0.118 | 0.534 | 0.046 | −0.57 | 0.091 |
| 50 | 0.559 | 0.019 | −0.10 | 0.116 | 0.623 | 0.018 | −0.88 | 0.070 | |
| 100 | 0.569 | 0.021 | −0.10 | 0.143 | 0.672 | 0.018 | −1.53 | 0.064 | |
| V13 | 0 | 0.507 | 0.013 | −0.33 | 0.118 | 0.515 | 0.017 | −0.35 | — |
| 50 | 0.508 | 0.016 | −0.33 | 0.121 | 0.547 | 0.010 | −0.87 | 0.407 | |
| 100 | 0.513 | 0.014 | −0.39 | 0.093 | — | — | — | — | |
| V21 | 0 | 0.491 | 0.023 | −0.33 | 0.099 | 0.471 | 0.024 | −1.11 | 0.065 |
| 50 | 0.457 | 0.025 | −0.29 | 0.088 | 0.573 | 0.021 | −0.95 | 0.053 | |
| 100 | 0.513 | 0.022 | −0.36 | 0.082 | 0.645 | 0.019 | −2.32 | 0.034 | |
| V22 | 0 | 0.553 | 0.020 | −0.09 | 0.099 | 0.599 | 0.014 | −0.40 | 0.090 |
| 50 | 0.558 | 0.020 | −0.09 | 0.089 | 0.651 | 0.013 | −0.49 | 0.144 | |
| 100 | 0.558 | 0.020 | −0.09 | 0.100 | 0.581 | 0.009 | −0.79 | — | |
| V23 | 0 | 0.633 | 0.015 | −0.09 | 0.135 | 0.640 | 0.016 | −0.38 | 0.146 |
| 50 | 0.626 | 0.015 | −0.04 | 0.234 | 0.658 | 0.014 | −0.55 | 0.114 | |
| 100 | 0.633 | 0.014 | −0.04 | 0.233 | 0.609 | 0.016 | −0.74 | 0.128 | |
| MH1 | 0 | 0.501 | 0.018 | −0.16 | 0.080 | 0.552 | 0.018 | −0.68 | 0.241 |
| 50 | 0.505 | 0.015 | −0.12 | 0.119 | 0.556 | 0.014 | −0.85 | 0.247 | |
| 100 | 0.481 | 0.015 | −0.12 | 0.111 | 0.533 | 0.025 | −1.49 | 0.366 | |
| MH2 | 0 | 0.621 | 0.014 | −0.29 | 0.082 | 0.537 | 0.010 | −0.93 | 0.292 |
| 50 | 0.624 | 0.014 | −0.34 | 0.086 | 0.512 | 0.008 | −1.25 | 0.277 | |
| 100 | 0.634 | 0.015 | −0.21 | 0.074 | 0.556 | 0.014 | −1.05 | — | |
| MH3 | 0 | 0.619 | 0.022 | −0.01 | 0.161 | 0.619 | 0.019 | −0.82 | 0.192 |
| 50 | 0.627 | 0.024 | −0.05 | 0.133 | 0.671 | 0.014 | −1.20 | 0.189 | |
| 100 | 0.607 | 0.020 | −0.09 | 0.173 | 1.132 | 0.035 | −2.77 | — | |
| MH4 | 0 | 0.554 | 0.019 | 0.11 | 0.197 | 0.560 | 0.022 | −1.15 | 0.372 |
| 50 | 0.521 | 0.013 | 0.17 | 0.178 | 0.558 | 0.013 | −1.46 | 0.487 | |
| 100 | 0.512 | 0.018 | −0.03 | 0.143 | 0.468 | 0.007 | −3.12 | 0.331 | |
| MH5 | 0 | 0.605 | 0.013 | −0.09 | 0.162 | 0.538 | 0.020 | −1.26 | 0.309 |
| 50 | 0.509 | 0.010 | −0.20 | 0.207 | 0.547 | 0.017 | −1.49 | 0.299 | |
| 100 | 0.552 | 0.017 | −0.17 | 0.205 | 0.435 | 0.088 | −2.20 | 1.141 | |
© 2019 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 (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Feng, Z.; Li, J.; Zhang, L.; Chen, C. Online Spatial and Temporal Calibration for Monocular Direct Visual-Inertial Odometry. Sensors 2019, 19, 2273. https://doi.org/10.3390/s19102273
Feng Z, Li J, Zhang L, Chen C. Online Spatial and Temporal Calibration for Monocular Direct Visual-Inertial Odometry. Sensors. 2019; 19(10):2273. https://doi.org/10.3390/s19102273
Chicago/Turabian StyleFeng, Zheyu, Jianwen Li, Lundong Zhang, and Chen Chen. 2019. "Online Spatial and Temporal Calibration for Monocular Direct Visual-Inertial Odometry" Sensors 19, no. 10: 2273. https://doi.org/10.3390/s19102273
APA StyleFeng, Z., Li, J., Zhang, L., & Chen, C. (2019). Online Spatial and Temporal Calibration for Monocular Direct Visual-Inertial Odometry. Sensors, 19(10), 2273. https://doi.org/10.3390/s19102273
