# EndoWAM / VR-Caps

> 基于真实 CT 气道的支气管镜导航仿真。操作者点选分叉，策略根据实时内镜画面自主进入所选支路。

- Author: Li Yanpei (Lucian)
- Type: Case study
- Language: 简体中文 (zh-Hans)
- Reading time: 1 min
- Role: 仿真与闭环评测 · Simulation and evaluation
- Timeline: 2026-11
- Stack: Robotics, Computer Vision, Unity, VR-Caps, PyTorch
- Canonical: <https://lucian-dev.com/work/endowam-vr-caps>

---

## 单击选支与闭环导航

我们在基于真实 CT 解剖重建的仿真气道中研究人机协同导航。操作者在内镜画面中选中一个开口，策略随后根据实时 RGB 更新动作，进入所选支路。我们比较了二维意图、三维目标锚点以及同时使用两种条件的策略。

气道场景已在 Unity 版 VR-Caps 的 Windows Player 中运行，可采集原生示教并从相同初态录制 A/B 分支。一次策略迁移实验覆盖 8 个留出气道，点击条件策略在 16 次导航中有 15 次选对支路并达到规定深度，其中 7 个气道的 A、B 两侧都达标。我们也在其他 CT 解剖上用独立仿真后端研究反光、滚转与短时丢帧的影响。

![原生 Unity 气道仿真中，16 次运行有 15 次到达目标，8 个气道中有 7 个在 A 和 B 两侧都达标](https://lucian-dev.com/uploads/chart.png)

_基于 CT 气道的原生 Unity 迁移测试。单次导航和同一气道的 A/B 配对分别以 16 次和 8 对为分母。_

---

## Click-guided bronchoscopic navigation

We study shared-control navigation in simulated airways reconstructed from CT. The operator clicks an opening once. The policy then updates its motion from live endoscopic RGB and enters the selected branch. We compared policies conditioned on 2D intent, a 3D target anchor, and both signals together.

The airway scene runs in the native VR-Caps Windows Player built with Unity. It supports demonstration collection and A/B recordings from the same initial pose. In one transfer experiment across eight held-out airways, a click-conditioned policy entered the selected branch and reached the required depth in 15 of 16 runs, with both sides successful in seven airways. A separate simulator supports evaluation of glare, camera roll and dropped frames on additional CT anatomies.
