journal article·2025-05-11Open access

Metric Scaling and Extrinsic Calibration of Monocular Neural Network-Derived 3D Point Clouds in Railway Applications

Daniel Thomanek, Clemens Gühmann

Applied Sciences· Volume 15· Issue 10

Abstract

Three-dimensional reconstruction using monocular camera images is a well-established research topic. While multi-image approaches like Structure from Motion produce sparse point clouds, single-image depth estimation via machine learning promises denser results. However, many models estimate relative depth, and even those providing metric depth often struggle with unseen data due to unfamiliar camera parameters or domain-specific challenges. Accurate metric 3D reconstruction is critical for railway applications, such as ensuring structural gauge clearance from vegetation to meet legal requirements. We propose a novel method to scale 3D point clouds using the track gauge, which typically only varies in very limited values between large areas or countries worldwide (e.g., 1.435 m in Europe). Our approach leverages state-of-the-art image segmentation to detect rails and measure the track gauge from a train driver’s perspective. Additionally, we extend our method to estimate a reasonable railway-specific extrinsic camera calibration. Evaluations show that our method reduces the average Chamfer distance to LiDAR point clouds from 1.94 m (benchmark UniDepth) to 0.41 m for image-wise calibration and 0.71 m for average calibration.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Railway Engineering and Dynamics · Surface Roughness and Optical Measurements · Remote Sensing and LiDAR Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Chair of Electronic Measurement and Diagnostic Technology, Institute of Energy and Automation Technology, Faculty IV-Electrical Engineering and Computer Science, Technische Universität Berlin, Einsteinufer 17, 10587 Berlin, Germany

Funding

European Regional Development Fund

References (39)

Show source-provided references
1. TU Berlin (2025, January 27). BerDiBa - Berliner Digitaler Bahnbetrieb. Available online: https://www.tu.berlin/en/mdt/research/projects/berliner-digitaler-bahnbetrieb-berdiba.
2. Piccinelli, L., Sakaridis, C., Yang, Y.H., Segu, M., Li, S., Abbeloos, W., and Gool, L.V. (2025). UniDepthV2: Universal Monocular Metric Depth Estimation Made Simpler. arXiv.10.1109/CVPR52733.2024.00963 ↗
3. Tilly, R., Neumaier, P., Schwalbe, K., Klasek, P., Tagiew, R., Denzler, P., Klockau, T., Boekhoff, M., and Köppel, M. (2023). Open Sensor Data for Rail 2023. arXiv.
4. Rahman, M.A., and Mammeri, A. (2021, January 28–30). Vegetation Detection in UAV Imagery for Railway Monitoring. Proceedings of the 7th International Conference on Vehicle Technology and Intelligent Transport Systems–Volume 1: VEHITS, INSTICC, Online.10.5220/0010439900002932 ↗
5. Nyberg, R.G. (2016). Automating Condition Monitoring of Vegetation on Railway Trackbeds and Embankments. [Ph.D. Dissertation, Edinburgh University Press]. Available online: https://urn.kb.se/resolve?urn=urn:nbn:se:du-21465.
6. Machine Vision Approach for Automating Vegetation Detection on Railway Tracks
7. Nyberg, R.G., Gupta, N.K., Yella, S., and Dougherty, M.S. (2014, January 17–18). Machine vision for condition monitoring vegetation on railway embankments. Proceedings of the 6th IET Conference on Railway Condition Monitoring (RCM 2014), Birmingham, UK.10.1049/cp.2014.1001 ↗
8. Detecting Plants on Railway Embankments10.4236/jsea.2013.63B003 ↗
9. NUMÉRIQUE, S. (2025, April 28). SNCF Réseau Maitrise la végéTation Grâce au LiDAR. Available online: https://numerique.sncf.com/actualites/sncf-reseau-maitrise-la-vegetation-grace-au-lidar/.
10. Kapernikov (2025, April 28). Automatic Vegetation Detection for Infrabel. Available online: https://kapernikov.com/cases/automatic-vegetation-detection-for-infrabel/#:~:text=The%20algorithm%20provides%20the%20location%2C,the%20operation%20of%20the%20railway.
11. Ignitarium (2025, April 28). AI-Based Surface Vegetation Encroachment Detection Around Rail Tracks. Available online: https://ignitarium.com/ai-based-surface-vegetation-encroachment-detection-around-rail-tracks/.
12. Maire, F., and Bigdeli, A. (2010, January 7–10). Obstacle-free range determination for rail track maintenance vehicles. Proceedings of the 2010 11th International Conference on Control Automation Robotics & Vision, Singapore.10.1109/ICARCV.2010.5707923 ↗
13. Wang, Y. (2018, January 25–27). Fast Camera Calibration for Rail Profile Measurement Based on Structured Light. Proceedings of the 2018 2nd IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi’an, China.10.1109/IMCEC.2018.8469237 ↗
14. Schönberger, J.L., and Frahm, J.M. (2016, January 27–30). Structure-from-Motion Revisited. Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.445 ↗
15. Efficient surface-aware semi-global matching with multi-view plane-sweep sampling10.5194/isprs-annals-IV-2-W7-137-2019 ↗
16. Hermann, M., Ruf, B., and Weinmann, M. (2021). Real-time dense 3D Reconstruction from monocular video data captured by low-cost UAVs. arXiv.10.5194/isprs-archives-XLIII-B2-2021-361-2021 ↗
17. Laina, I., Rupprecht, C., Belagiannis, V., Tombari, F., and Navab, N. (2016). Deeper Depth Prediction with Fully Convolutional Residual Networks. arXiv.10.1109/3DV.2016.32 ↗
18. Ranftl, R., Lasinger, K., Hafner, D., Schindler, K., and Koltun, V. (2020). Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer. arXiv.
19. Ranftl, R., Bochkovskiy, A., and Koltun, V. (2021). Vision Transformers for Dense Prediction. arXiv.10.1109/ICCV48922.2021.01196 ↗
20. Yang, L., Kang, B., Huang, Z., Xu, X., Feng, J., and Zhao, H. (2024, January 17–21). Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data. Proceedings of the CVPR, Seattle, WA, USA.10.1109/CVPR52733.2024.00987 ↗
21. Bochkovskii, A., Delaunoy, A., Germain, H., Santos, M., Zhou, Y., Richter, S.R., and Koltun, V. (2024). Depth Pro: Sharp Monocular Metric Depth in Less Than a Second. arXiv.
22. Vision meets Robotics: The KITTI Dataset10.1177/0278364913491297 ↗
23. Nathan, S., Derek Hoiem, P.K., and Fergus, R. (2012, January 7–13). Indoor Segmentation and Support Inference from RGBD Images. Proceedings of the ECCV, Florence, Italy.
24. Dai, A., Chang, A.X., Savva, M., Halber, M., Funkhouser, T., and Nießner, M. (2017, January 21–26). ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenes. Proceedings of the Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.261 ↗
25. Hold, S., Nunn, C., Kummert, A., and Muller-Schneiders, S. (2009, January 3–5). Efficient and robust extrinsic camera calibration procedure for Lane Departure Warning. Proceedings of the 2009 IEEE Intelligent VehiclesSymposium, Xi’an, China.10.1109/IVS.2009.5164308 ↗
26. Wu, M., and An, X.J. (2007, January 13–15). An automatic extrinsic parameter calibration method for camera-on-vehicle on structured road. Proceedings of the 2007 IEEE International Conference on Vehicular Electronics and Safety, Beijing, China.
27. Miksch, M., Yang, B., and Zimmermann, K. (2010, January 23–24). Homography-Based Extrinsic Self-Calibration for Cameras in Automotive Applications. Proceedings of the WIT, International Workshop on Intelligent Transportation 7, Hamburg, Germany.
28. Automatic on-the-fly extrinsic camera calibration of onboard vehicular cameras10.1016/j.eswa.2013.08.096 ↗
29. Kanai, T., Vasiljevic, I., Guizilini, V., Gaidon, A., and Ambrus, R. (2023). Robust Self-Supervised Extrinsic Self-Calibration. arXiv.10.1109/IROS55552.2023.10341367 ↗
30. Tang, T., Cao, J., Yang, X., Liu, S., Zhu, D., Du, S., and Li, Y. (2024). A Real-Time Method for Railway Track Detection and 3D Fitting Based on Camera and LiDAR Fusion Sensing. Remote Sens., 16.10.3390/rs16081441 ↗
31. A Sensor Calibration Method Based on Rail Detection
32. Wang, W., Dai, J., Chen, Z., Huang, Z., Li, Z., Zhu, X., Hu, X., Lu, T., Lu, L., and Li, H. (2022). InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions. arXiv.10.1109/CVPR52729.2023.01385 ↗
33. MetaAI (2025, January 27). PapersWithCode. Available online: https://paperswithcode.com/sota/semantic-segmentation-on-cityscapes.
34. Xiao, T., Liu, Y., Zhou, B., Jiang, Y., and Sun, J. (2018). Unified Perceptual Parsing for Scene Understanding. arXiv.10.1007/978-3-030-01228-1_26 ↗
35. Zendel, O., Murschitz, M., Zeilinger, M., Steininger, D., Abbasi, S., and Beleznai, C. (2019, January 15–20). RailSem19: A Dataset for Semantic Rail Scene Understanding. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, Long Beach, CA, USA.10.1109/CVPRW.2019.00161 ↗
36. MMSegmentation Contributors (2005, May 10). MMSegmentation: OpenMMLab Semantic Segmentation Toolbox and Benchmark. Available online: https://github.com/open-mmlab/mmsegmentation.
37. Ester, M., Kriegel, H.P., Sander, J., and Xu, X. (1996, January 2–4). A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise. Proceedings of the Second International Conference on Knowledge Discovery and Data Mining (KDD’96), Portland, OR, USA.
38. Bhat, S.F., Alhashim, I., and Wonka, P. (2021, January 19–25). AdaBins: Depth Estimation Using Adaptive Bins. Proceedings of the 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Online.
39. Laurent, T. (2024). Train Ego-Path Detection on Railway Tracks Using End-to-End Deep Learning. arXiv.