Submitted:
10 August 2025
Posted:
12 August 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Review Existing Techniques
2.1. Existing Tunnel Face Mapping Methods
2.2. Research Gap Identification
3. Tunnel Rapid AI Classification (TRaiC) Platform
3.1. System Architecture Overview
3.1.1. Integration of Different Technological Components
3.1.2. Central Data Structure and Overall Workflow Diagram
3.2. Tunnel Profile Drawing and Geometric Modeling Interface
3.3. Panoramic Image to Cubemap Conversion System
3.4. AI-Driven Semi-Automatic Interactive Trace Detection
3.5. Digital Twin Development and 3D Reconstruction
3.6. Traces 2D Segmentation
3.6.1. Hough Transform Method
3.6.2. Line Segment Detector
3.6.3. Comparison of Methods
3.7. 2D Line-Segments Linking
3.8. 3D Trace Network Creation
3.9. Joint Set Analysis Using TNA Code
3.9.1. Joints Visible Size Distribution
3.9.2. Joint Orientation Measurement Strategy
3.9.3. Joint Spacing Measurement Methodology
- Parallel Orientation Assumption: This assumes all discontinuities within a set are parallel to each other and aligned with the mean set orientation. While this simplifies calculations, it may not accurately reflect natural conditions.
- Original Orientation Consideration: This approach accounts for discontinuity planes in their original orientations during spacing calculations, which is more realistic but can lead to local variations in spacing.
- Fully Persistent: Discontinuities that completely penetrate the rock mass.
- Partially Persistent: Discontinuities that partially extend until they intersect a scanline passing through the nearest plane.
- Non-Persistent: Disk-shaped discontinuities that extend into the rock mass only along their visible trace on the outcrop. The spacing values derived under these three states can vary significantly.
- Virtual 3D Scanline Strategy: The methodology employs multiple infinite scanlines positioned at the centers of discontinuity planes, minimizing conventional sampling bias. This approach offers a significant improvement over traditional methods, which often require impractical scanline positioning in the field.
- Scanline Length: Virtual scanlines with infinite lengths, parallel to the mean set orientation, are utilized to estimate spacing, addressing inaccuracies that can arise from short scanlines.
- Scanline Patterns: Two techniques are employed to mitigate imprecision resulting from small sample sizes, a uniformly scattered scanline pattern and scattering scanlines per plane.
- Co-planar Plane Merging: This addresses the issues of fragmented exposure by identifying and merging co-planar discontinuity planes within each joint set. This is critical because some traces might belong to a single plane but appear as separate discontinuities when exposed on different faces of outcrops. Treating these as independent planes would skew mean spacing calculations, potentially leading to near-zero spacing values.
3.10. LLM-Assisted Tunnel Face Description System
3.11. RMR Scoring Module Overview
3.12. RAG-LLM Report Generation System
3.12.1. Private Database Construction
Tunnel Database Curation
Database Organization and Indexing
Data Retrieval Optimization
3.12.2. LLM Integration
3.12.3. Data Security and Privacy Considerations
Cloud-Based vs. Local Deployment Options
Open-Source LLM Integration Framework
Security-Performance Trade-Off
3.13. Report Generation Pipeline
4. Future Work and Development Roadmap
4.1. Technical Enhancement toward Full Automation
4.1.1. Adaptive Thresholding and Quality Assurance
4.1.2. Enhanced Trace Detection through Hybrid Approaches
4.1.3. Robust Segment Linking Algorithms
4.1.4. Expansion of Rock Mass Classification Systems
4.1.5. Automated Image Segmentation for Geological Feature Extraction
4.2. Large Language Model Validation
4.3. Security and Privacy Enhancement
4.4. Integration and Interoperability Development
5. Conclusions
6. Code Availability and Reproducibility
- Computer Vision Toolbox (v9.0 or later)
- Fuzzy Logic Toolbox (v2.8 or later)
- Image Acquisition Toolbox (v6.0 or later)
- Image Processing Toolbox (v11.1 or later)
- Parallel Computing Toolbox (v7.2 or later)
- ROS Toolbox (v1.2 or later)
- Robotics System Toolbox (v3.0 or later)
- Sensor Fusion and Tracking Toolbox (v2.0 or later)
- Statistics and Machine Learning Toolbox (v11.7 or later)
- Text Analytics Toolbox (v1.5 or later)
- UAV Toolbox (v1.0 or later)

Acknowledgments
References
- Permatasari, R.D.; Setiawan, H.; Husein, S. Tunnel Face Mapping for Evaluate Support System Design of the Inlet Area at the Budong-Budong Dam Diversion Tunnel, West Sulawesi, Indonesia. IOP Conf. Ser.: Earth Environ. Sci. 2025, 1486, 012008. [Google Scholar] [CrossRef]
- Yusoff, I.N.; Mohamad Ismail, M.A.; Tobe, H.; Date, K.; Yokota, Y. Quantitative Granitic Weathering Assessment for Rock Mass Classification Optimization of Tunnel Face Using Image Analysis Technique. Ain Shams Engineering Journal 2023, 14, 101814. [Google Scholar] [CrossRef]
- Kim, K.-Y.; Kim, C.-Y.; Yim, S.-B.; Yun, H.-S.; Seo, Y. A Study on Problems and Improvements of Face Mapping during Tunnel Construction. 2006, 16, 265–273.
- Lee, H.-K.; Song, M.-K.; Jeong, Y.-O.; Lee, S.S.-W. Development of an Automatic Rock Mass Classification System Using Digital Tunnel Face Mapping. Applied Sciences 2024, 14, 9024. [Google Scholar] [CrossRef]
- Leng, B.; Qiu, W.-G.; Du, C. Application of Digital Image Processing to Tunnel Driving Face. Yantu Lixue/Rock and Soil Mechanics 2006, 27, 385–388. [Google Scholar]
- Park, Sung Wook; Kim, Hong Gyun; Bae, Sang Woo; Kim, Chang Yong; Yoo, Wan-Kyu; Lee, Jin-Duk Development of Mobile System Based on Android for Tunnel Face Mapping. The Journal of Engineering Geology 2014, 24, 343–351. [CrossRef]
- Pham, C.; Kim, B.-C.; Shin, H.-S. Deep Learning-Based Identification of Rock Discontinuities on 3D Model of Tunnel Face. Tunnelling and Underground Space Technology 2025, 158, 106403. [Google Scholar] [CrossRef]
- Sagong, M.; Lee, J.S.; You, K.; Kim, J.G. Digitalized Tunnel Face Mapping System (DiTFAMS) Using PDA and Wireless Network. Tunnelling and Underground Space Technology 2006, 21, 390. [Google Scholar] [CrossRef]
- Nilsen, B. Main Challenges for Deep Subsea Tunnels Based on Norwegian Experience. Journal of Korean Tunnelling and Underground Space Association 2015, 17, 563–573. [Google Scholar] [CrossRef]
- Kim, Y.; Yun, T.S. Enhanced Rock Mass Rating Prediction from Tunnel Face Imagery: A Decision-Supportive Ensemble Deep Learning Approach. Engineering Geology 2024, 339, 107625. [Google Scholar] [CrossRef]
- Tsuruta, R.; Utsuki, S.; Nakaya, M. Development of a System for Automatic Evaluation of the Geological Conditions of Tunnel Faces Using Artificial Intelligence and Application to a Construction Site. In IAEG/AEG Annual Meeting Proceedings, San Francisco, California, 2018 - Volume 4; Shakoor, A., Cato, K., Eds.; Springer International Publishing: Cham, 2019; pp. 49–55. ISBN 978-3-319-93132-6. [Google Scholar]
- Janiszewski, M.; Torkan, M.; Uotinen, L.; Rinne, M. Rapid Photogrammetry with a 360-Degree Camera for Tunnel Mapping. Remote Sensing 2022, 14, 5494. [Google Scholar] [CrossRef]
- Paar, G.; Mett, M.; Ortner, T.; Kup, D.; Kontrus, H. High-resolution Real-time Multipurpose Tunnel Surface 3D Rendering. Geomechanics and Tunnelling 2022, 15, 290–297. [Google Scholar] [CrossRef]
- Attard, L.; Debono, C.J.; Valentino, G.; Di Castro, M. Tunnel Inspection Using Photogrammetric Techniques and Image Processing: A Review. ISPRS Journal of Photogrammetry and Remote Sensing 2018, 144, 180–188. [Google Scholar] [CrossRef]
- Gaich, A.; Pischinger, G. 3D Images for Digital Geological Mapping: Focussing on Conventional Tunnelling. Geomechanics and Tunnelling 2016, 9, 45–51. [Google Scholar] [CrossRef]
- Gaich, A.; Pötsch, M. 3D Images for Data Collection in Tunnelling – Applications and Latest Developments / 3D-Bilder Für Die Datenerfassung Im Tunnelbau – Anwendung Und Aktuelle Entwicklungen. Geomechanics and Tunnelling 2015, 8, 581–588. [Google Scholar] [CrossRef]
- Leem, J.; Mehrishal, S.; Kang, I.-S.; Yoon, D.-H.; Shao, Y.; Song, J.-J.; Jung, J. Optimizing Camera Settings and Unmanned Aerial Vehicle Flight Methods for Imagery-Based 3D Reconstruction: Applications in Outcrop and Underground Rock Faces. Remote Sensing 2025, 17, 1877. [Google Scholar] [CrossRef]
- Rabensteiner, S.; Weichenberger, F.P.; Chmelina, K. Automation and Digitalisation of the Geological Documentation in Tunnelling. Geomechanics and Tunnelling 2022, 15, 298–304. [Google Scholar] [CrossRef]
- Gaich, A.; Pötsch, M. 3D Images for Digital Tunnel Face Documentation at TBM Headings – Application at Koralmtunnel Lot KAT2 / 3D-Bilder Zur Digitalen Ortsbrustdokumentation Bei TBM- Vortrieben – Anwendung Beim Koralmtunnel Baulos KAT2. Geomechanics and Tunnelling 2016, 9, 210–221. [Google Scholar] [CrossRef]
- Hansen, T.F.; Erharter, G.H.; Marcher, T.; Liu, Z.; Tørresen, J. Improving face decisions in tunnelling by machine learning-based MWD analysis. Geomechanics and Tunnelling 2022, 15, 222–231. [Google Scholar] [CrossRef]
- Leem, J.; Kim, J.; Kang, I.-S.; Choi, J.; Song, J.-J.; Mehrishal, S.; Shao, Y. Practical Error Prediction in UAV Imagery-Based 3D Reconstruction: Assessing the Impact of Image Quality Factors. International Journal of Remote Sensing 2025, 46, 1000–1030. [Google Scholar] [CrossRef]
- Kim, J.; Choi, J.; Mehrishal, S.; Song, J.-J. The Goodness-of-Fit of Models for Fracture Trace Length Distribution: Does the Power Law Provide a Good Fit? Journal of Structural Geology 2024, 188, 105270. [Google Scholar] [CrossRef]
- Sjölander, A.; Belloni, V.; Ansell, A.; Nordström, E. Towards Automated Inspections of Tunnels: A Review of Optical Inspections and Autonomous Assessment of Concrete Tunnel Linings. Sensors 2023, 23, 3189. [Google Scholar] [CrossRef]
- Allende Valdés, M.; Merello, J.P.; Cofré, P. Artificial Intelligence Technique for Geomechanical Forecasting. In Tunnels and Underground Cities: Engineering and Innovation meet Archaeology, Architecture and Art; Peila, D., Viggiani, G., Celestino, T., Eds.; CRC Press, 2019; pp. 1629–1636 ISBN 978-0-429-42444-1.
- Hase, R.; Mihara, Y.; Awaji, D.; Hojo, R.; Shimizu, S. Development and Applicability Assessment of a Tunnel Face Monitoring System Against Tunnel Face Collapse. In Geo-Sustainnovation for Resilient Society; Hazarika, H., Haigh, S.K., Chaudhary, B., Murai, M., Manandhar, S., Eds.; Lecture Notes in Civil Engineering; Springer Nature Singapore: Singapore, 2024; Vol. 446, pp. 23–33. ISBN 978-981-9992-18-8. [Google Scholar]
- Chapman, M.A.; Min, C.; Zhang, D. CONTINUOUS MAPPING OF TUNNEL WALLS IN A GNSS-DENIED ENVIRONMENT. Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci. 2016; XLI-B3, 481–485. [Google Scholar] [CrossRef]
- Zhang, P.; Zhao, Q.; Tannant, D.D.; Ji, T.; Zhu, H. 3D Mapping of Discontinuity Traces Using Fusion of Point Cloud and Image Data. Bull Eng Geol Environ 2019, 78, 2789–2801. [Google Scholar] [CrossRef]
- Janiszewski, M.; Torkan, M.; Uotinen, L.; Rinne, M. Rapid Photogrammetry with a 360-Degree Camera for Tunnel Mapping. Remote Sensing 2022, 14, 5494. [Google Scholar] [CrossRef]
- Previtali, M.; Barazzetti, L.; Roncoroni, F.; Cao, Y.; Scaioni, M. 360° IMAGE ORIENTATION AND RECONSTRUCTION WITH CAMERA POSITIONS CONSTRAINED BY GNSS MEASUREMENTS. Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci. 2023; XLVIII-1/W1-2023, 411–416. [Google Scholar] [CrossRef]
- Usman, F.; Banuar, N.; Kurniawan, T.B.; Ismail, M.N.; Othman, N.A. Integration of Spherical 360° Panoramic Virtual Tour with Assessment Data for Risk Assessment and Maintenance of Tunnel and Cavern. AMM 2016, 858, 50–56. [Google Scholar] [CrossRef]
- Wang, J.; Zhao, Z.; Wang, Z.J.; Da Cheng, B.; Nie, L.; Luo, W.; Yu, Z.Y.; Yuan, L.W. GeoRAG: A Question-Answering Approach from a Geographical Perspective. arXiv, 2025; arXiv:2504.01458. [Google Scholar]
- Xu, Z.; Wang, Z.; Li, S.; Zhang, X.; Lin, P. GeoPredict-LLM: Intelligent Tunnel Advanced Geological Prediction by Reprogramming Large Language Models. Intelligent Geoengineering 2024, 1, 49–57. [Google Scholar] [CrossRef]
- Jacinto, M.; Silva, M.; Oliveira, L.; Medeiros, G.; Rodrigues, T.; Medeiros, D.; Montalvão, L.; Gonzalez, M.; De Almeida, R.V. Geologist Copilot: Generative AI Application to Support Drilling Operations with Automated and Explained Lithology Interpretation. In Proceedings of the 85th EAGE Annual Conference & Exhibition; European Association of Geoscientists & Engineers: Oslo, Norway, 2024; pp. 1–5. [Google Scholar]
- Wu, S.; Otake, Y.; Mizutani, D.; Liu, C.; Asano, K.; Sato, N.; Baba, H.; Fukunaga, Y.; Higo, Y.; Kamura, A.; et al. Future-Proofing Geotechnics Workflows: Accelerating Problem-Solving with Large Language Models 2023.
- Liu, L.; Song, Z.; Zhou, P.; He, X.; Zhao, L. AI-Based Rock Strength Assessment from Tunnel Face Images Using Hybrid Neural Networks. Sci Rep 2024, 14, 17512. [Google Scholar] [CrossRef]
- Chen, Q.; Ge, Y.; Tang, H. Rock Discontinuities Characterization from Large-Scale Point Clouds Using a Point-Based Deep Learning Method. Engineering Geology 2024, 337, 107585. [Google Scholar] [CrossRef]
- Kumar, K. Geotechnical Parrot Tales (GPT): Harnessing Large Language Models in Geotechnical Engineering 2023.
- Tani, T.; Koga, Y.; Miyamoto, S. Development of Projection Mapping Technique for the Tunnel Face. In Expanding Underground - Knowledge and Passion to Make a Positive Impact on the World; CRC Press: London, 2023; pp. 1687–1694. ISBN 978-1-00-334803-0. [Google Scholar]
- Chen, J.; Zhu, H.; Li, X. Automatic Extraction of Discontinuity Orientation from Rock Mass Surface 3D Point Cloud. Computers & Geosciences 2016, 95, 18–31. [Google Scholar] [CrossRef]
- Lee, Y.-K.; Kim, J.; Choi, C.-S.; Song, J.-J. Semi-Automatic Calculation of Joint Trace Length from Digital Images Based on Deep Learning and Data Structuring Techniques. International Journal of Rock Mechanics and Mining Sciences 2022, 149, 104981. [Google Scholar] [CrossRef]
- Ge, Y.; Cao, B.; Tang, H. Rock Discontinuities Identification from 3D Point Clouds Using Artificial Neural Network. Rock Mech Rock Eng 2022, 55, 1705–1720. [Google Scholar] [CrossRef]
- Shi, Y.; Ballesio, M.; Johansen, K.; Trentman, D.; Huang, Y.; McCabe, M.F.; Bruhn, R.; Schuster, G. Semi-Universal Geo-Crack Detection by Machine Learning. Front. Earth Sci. 2023, 11, 1073211. [Google Scholar] [CrossRef]
- Chiu, J.K.; Li, C.C.; Mengshoel, O.J. Potential Applications of Deep Learning in Automatic Rock Joint Trace Mapping in a Rock Mass. IOP Conf. Ser.: Earth Environ. Sci. 2023, 1124, 012004. [Google Scholar] [CrossRef]
- Bresenham, J.E. Algorithm for Computer Control of a Digital Plotter. IBM Syst. J. 1965, 4, 25–30. [Google Scholar] [CrossRef]
- Mehrishal, S.; Kim, J.; Song, J.-J.; Sainoki, A. A Semi-Automatic Approach for Joint Orientation Recognition Using 3D Trace Network Analysis. Engineering Geology 2024, 332, 107462. [Google Scholar] [CrossRef]
- Mehrishal, S.; Song, J.J.; Kim, J.; Shao, Y.; Lim, J. Enhanced 3D Analysis of Rock Mass Discontinuities: A Novel Approach to Joint Set Spacing Calculation. In Proceedings of the 59th U.S. Rock Mechanics/Geomechanics Symposium; ARMA: Santa Fe, New Mexico, June 8, 2025; p. 022. [Google Scholar]
- Palmstrom, A. Characterizing Rock Masses by the RMi for Use in Practical Rock Engineering. TunnellingandUndergroundSpaceTechnolog 1996, Vol.ll, pp.175-18.
- Slob, S. Automated Rock Mass Characterisation Using 3-D Terrestrial Laser Scanning; First edition.; 2010; ISBN 978-90-90-25364-0.
- Palmstrom, A. Measurements of and Correlations between Block Size and Rock Quality Designation (RQD). Tunnelling and Underground Space Technology 2005, 20, 362–377. [Google Scholar] [CrossRef]
- Bieniawski, Z.T. Engineering Rock Mass Classifications: A Complete Manual for Engineers and Geologists in Mining, Civil, and Petroleum Engineering; Wiley: New York, 1989; ISBN 978-0471600713. [Google Scholar]
- Rock Mechanics; Moomivand, H., Ed.; 1st ed.; Urmia University: Urmia, Iran, 2018. ISBN 978-600-6648-99-6.













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. |
© 2025 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/).