Freehand 3D Ultrasound Imaging: Sim-in-the-Loop Probe Pose Optimization via Visual Servoing

Yameng Zhang, Dianye Huang, Max Q.-h. Meng, Nassir Navab, Zhongliang Jiang · DOI

Abstract

Freehand 3D ultrasound (US) reconstruction provides critical anatomical context but traditionally requires expensive external tracking hardware or suffers from the drift inherent in sensorless, image-based methods. This paper introduces a cost-effective alternative: a "sim-in-the-loop" optimization framework that utilizes two lightweight cameras and a textured workspace. By employing Position-Based Visual Servoing (PBVS) to align real-world observations with a digital twin in a simulation environment, the system achieves sub-millimeter reconstruction accuracy. Experimental results on vascular phantoms and human anatomy demonstrate that this approach effectively eliminates cumulative drift, offering a high-accuracy, low-cost solution for clinical 3D US imaging.

Introduction

While 2D ultrasound is a clinical staple, interpreting isolated 2D slices remains a challenge for many practitioners. 3D ultrasound addresses this by providing volumetric context, yet it typically necessitates specialized "wobbler" probes or expensive external tracking systems (optical or electromagnetic). Recent "sensorless" research has attempted to estimate probe motion directly from ultrasound images using deep learning; however, these methods are often hampered by speckle noise and significant error accumulation (drift) over long scans. This work proposes a hybrid hardware-software system that achieves the accuracy of high-end trackers at a fraction of the cost.

System Overview

The proposed system integrates inexpensive hardware with a robust simulation-based optimization loop.

Overview of the proposed system including real-world setup, simulation environment, and workspace pattern.

Two monocular cameras are mounted on a 3D-printed holder attached to a standard 2D US probe. These cameras observe a "planar workspace"—a mat printed with a complex, non-repeating RGB texture. To handle occlusions caused by the sonographer's hand or the patient's limb, the system employs a homography-based restoration technique that "fills in" missing pixels by matching visible features to the known reference pattern.

Sim-in-the-Loop Optimization

The technical core of the system is the "sim-in-the-loop" framework, which maintains a digital twin of the physical setup within the CoppeliaSim environment.

Flowchart of the sim-in-the-loop pose estimation process using visual servoing.

The process follows an iterative cycle:

  1. Image Acquisition: The real camera captures an image, which is restored to remove occlusions.
  2. Visual Servoing: A Position-Based Visual Servoing (PBVS) controller iteratively adjusts the pose of a virtual probe in the simulation.
  3. Convergence: The goal is to minimize the error between the virtual camera's view and the restored real-world image. Once the error falls below a defined threshold, the virtual probe's 6D coordinates are extracted.
  4. Reconstruction: These coordinates are used as the real probe's pose for 3D volume reconstruction.

By tracking against a global workspace pattern rather than calculating relative motion between frames, the system provides absolute pose estimation for every frame, thereby eliminating the drift typical of visual odometry methods.

Experimental Results

The system was validated across three experimental subjects: a soft vascular phantom, a 3D-printed conical model, and a human arm for in-vivo testing. Accuracy was measured using the Hausdorff distance between the system's reconstruction and a ground-truth robotic scan.

Key results include:

  • Vascular Phantom: 0.359 mm error.
  • Human Arm: 0.858 mm error.
  • Conical Model: 1.171 mm error.

In comparative evaluations, the proposed method significantly outperformed state-of-the-art visual odometry (ORB-SLAM3), which struggled with absolute scale and drift. It also demonstrated superior translational accuracy compared to dense AprilTag tracking due to the refinement provided by the iterative visual servoing controller.

Conclusion and Future Work

This research demonstrates a viable path toward high-accuracy, low-cost 3D ultrasound reconstruction. While currently limited by a 600ms per-pose processing time—making it more suitable for offline reconstruction—future work focusing on parallelization could enable real-time clinical use. Additionally, developing robot-free calibration routines will further enhance the system's accessibility in diverse clinical settings.

Summary updated

BibTeX
@inproceedings{zhang2025freehand,
  author = {Yameng Zhang and Dianye Huang and Max Q.-H. Meng and Nassir Navab and Zhongliang Jiang},
  title = {{Freehand 3D Ultrasound Imaging: Sim-in-the-Loop Probe Pose Optimization via Visual Servoing}},
  booktitle = {IEEE/ASME},
  year = {2025},
  doi = {10.1109/tmech.2025.3621347},
}
Figure