ROOM: A Physics-Based Continuum Robot Simulator for Photorealistic Medical Datasets Generation

Salvatore Esposito, Matías Mattamala, Daniel Rebain, Francis Xiatian Zhang, Kevin Dhaliwal, Mohsen Khadem, Subramanian RamamoorthyarXiv 2025 · DOI

Abstract

Developing autonomous navigation for flexible, cable-driven "continuum" robots in bronchoscopy is hindered by a significant data bottleneck. Collecting clinical data is expensive and ethically complex, while existing simulators often fail to bridge the "sim-to-real" gap due to poor visual realism or simplified physics. This paper introduces ROOM (Realistic Optical Observation in Medicine), a physics-based simulation framework that generates photorealistic, multi-modal datasets. By integrating patient-specific CT scans with advanced rendering and calibrated physics, ROOM provides a scalable solution for training medical AI models that generalize effectively to real-world clinical environments.

Introduction

Navigating the intricate, branching pathways of the human lung requires high-precision continuum robots. However, the development of autonomous navigation and vision algorithms is limited by the lack of high-quality training data. Real clinical data collection is restricted by safety protocols and ethical concerns. Furthermore, current simulators often lack the necessary physical accuracy—ignoring complex friction and "stick-slip" dynamics—or the visual fidelity required for robust computer vision. ROOM addresses these challenges by providing a pipeline that automates the generation of realistic training data.

Methods

The ROOM pipeline automates the creation of training data across four primary stages:

The ROOM pipeline: from 3D anatomical reconstruction to photorealistic data synthesis.
  1. Anatomical Reconstruction: Patient CT scans are processed using a 3D U-Net for airway segmentation. The system then extracts the "medial axis" to define collision-free paths for the robot.
  2. Physics-Based Simulation: Built on the PyBullet engine, ROOM models the robot using Cosserat rod theory. It incorporates calibrated Coulomb friction and actuator noise to mimic real-world mechanical backlash and tendon stretching.
  3. Photorealistic Rendering: Using Blender’s path-tracing engine, the simulator recreates the "wet" appearance of mucosal tissue, including specular highlights and directional lighting from the scope's tip.
  4. Sensor Noise Modeling: The team analyzed real endoscopic video to create a noise model that injects realistic sensor artifacts into the synthetic output, preventing models from overfitting to perfectly clean images.

The framework outputs a rich suite of data, including RGB images, metric depth maps, surface normals, optical flow, point clouds, and ground-truth 6-DoF poses.

Key Insights and Ideas

  • The "Textureless" Challenge: Lung interiors are feature-poor, causing traditional SLAM algorithms like ORB-SLAM3 to fail. Learning-based methods are required to handle these environments.
  • Noise is a Feature: Matching the noise statistics of real medical sensors is critical for generalization. Without realistic noise, depth estimation models fail on grainy endoscopic footage.
Sensor noise modeling process to bridge the sim-to-real gap.
  • Foundation Models Aren't Enough: General-purpose models struggle with the extreme specularities of wet tissue. Domain-specific fine-tuning using ROOM's data significantly improves performance.

Key Results

The ROOM dataset was validated against phantom-based datasets and real clinical imagery. Key findings include:

  • Pose Estimation: Learning-based methods (e.g., VGGT) achieved a Relative Rotation Accuracy (RRA) of 79%, significantly outperforming classical methods like COLMAP (41%).
  • Depth Estimation: Fine-tuning the BREA-Depth model on ROOM data improved accuracy on real-world phantom data by 3.5%, demonstrating the simulation's effectiveness in capturing real-world features.
  • Navigation: Depth maps predicted from ROOM-trained models were shown to be accurate enough for use in sampling-based motion planners for autonomous navigation.

Limitations and Future Work

Current limitations include the treatment of lung walls as rigid structures and challenges with pathological cases involving severe occlusions. Future work will focus on modeling tissue deformation due to breathing and robot pressure, as well as extending the framework to other endoscopic procedures like colonoscopy or arthroscopy.

The code and framework are open-source at https://github.com/iamsalvatore/room.

Summary updated

BibTeX
@misc{esposito2025room,
  author = {Salvatore Esposito and Matías Mattamala and Daniel Rebain and Francis Xiatian Zhang and Kevin Dhaliwal and Mohsen Khadem and Subramanian Ramamoorthy},
  title = {{ROOM: A Physics-Based Continuum Robot Simulator for Photorealistic Medical Datasets Generation}},
  year = {2025},
  eprint = {2509.13177},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.13177},
}
Figure