Abstract
The accurate segmentation of guidewires in interventional cardiac fluoroscopy videos is crucial for computer-aided navigation tasks. Although deep learning methods have demonstrated high accuracy and robustness in wire segmentation, they require substantial annotated datasets for generalizability, underscoring the need for extensive labeled data to enhance model performance. To address this challenge, we propose the Segmentation-guided Frame-consistency Video Diffusion Model (SF-VD) to generate large collections of labeled fluoroscopy videos, augmenting the training data for wire segmentation networks. SF-VD leverages videos with limited annotations by independently modeling scene distribution and motion distribution. It first samples the scene distribution by generating 2D fluoroscopy images with wires positioned according to a specified input mask, and then samples the motion distribution by progressively generating subsequent frames, ensuring frame-to-frame coherence through a frame-consistency strategy. A segmentation-guided mechanism further refines the process by adjusting wire contrast, ensuring a diverse range of visibility in the synthesized image. Evaluation on a fluoroscopy dataset confirms the superior quality of the generated videos and shows significant improvements in guidewire segmentation.
Introduction
In interventional cardiology, clinicians navigate ultra-thin guidewires through complex vascular structures under real-time X-ray fluoroscopy. Accurate computer-aided segmentation of these wires is essential for navigation assistance. However, guidewires present a unique challenge: they are typically only 2-3 pixels wide, move rapidly with cardiac and respiratory motion, and often exhibit low contrast against noisy, cluttered backgrounds.
While deep learning has advanced medical image segmentation, its success depends heavily on large-scale, high-quality annotated datasets. In the context of fluoroscopy, manually labeling thousands of video frames is labor-intensive and prone to error. Traditional data augmentation techniques like rotation or flipping fail to capture the complex temporal dynamics and physical properties of X-ray imaging. Generative models like GANs often struggle with "thin object" synthesis, leading to artifacts or disconnected structures. To overcome these limitations, we introduce SF-VD, a video diffusion framework designed to generate realistic, annotated fluoroscopy videos from simple wire masks, effectively bridging the data gap for robust segmentation model training.
Methodology
The proposed Segmentation-guided Frame-consistency Video Diffusion Model (SF-VD) decomposes video generation into three distinct stages to ensure both anatomical realism and temporal stability.
- Modeling Scene Distribution: A 2D diffusion model learns the distribution of fluoroscopic scenes. It generates a "leading frame" (the first frame) conditioned on a specific guidewire mask, capturing static anatomical features like ribs, spine, and heart shadows.
- Modeling Motion Distribution: A second model generates the "concluding frame" of a sequence, conditioned on both the leading frame and the final wire mask. This ensures that the start and end points of the motion sequence are contextually linked.
- Frame-consistency Sampling: To "fill in" the intermediate frames, the model employs a hierarchical sampling strategy. Each new frame is generated by conditioning on both preceding and succeeding "anchor" frames. This bi-directional conditioning maintains smooth motion and prevents background "jitter" or morphing, which is a common failure mode in standard video diffusion.
A key innovation is the Segmentation-guided Refinement mechanism. By integrating a pre-trained segmentation network into the diffusion process, the system can dynamically adjust the contrast and visibility of the generated guidewire. This allows for the creation of a diverse training set that includes challenging cases where wires are nearly invisible, forcing downstream segmentation models to become more robust.
Experimental Setup
The study utilized two clinical fluoroscopy datasets:
- F-video: 400 fully annotated videos (16 frames each), meticulously labeled by experts.
- P-image: A "partially annotated" set of 409 videos. Only 81 videos had some labels, providing 4,000 annotated and 10,000 unannotated frames.
The SF-VD model was trained on these datasets and evaluated on a held-out 10% portion of the F-video dataset.
Results and Discussion
SF-VD was compared against standard Video Diffusion (VD) and Latent Video Diffusion (LVDM). Quantitative evaluation using the Frechet Video Distance (FVD) showed that SF-VD (FVD: 24.38) significantly outperformed standard VD (FVD: 56.49), indicating superior temporal consistency and visual realism.
The impact on downstream segmentation performance was substantial. When generic models like SwinUnetr or MLP-Mixer were trained with SF-VD augmented data, their Dice scores improved from approximately 0.50 to 0.61. For specialized guidewire tracking models like RTGN, the Dice score rose from 0.49 to 0.66, while the Hausdorff Distance—a critical measure of boundary error—dropped dramatically from 62.11 to 2.65. These results demonstrate that the synthetic data generated by SF-VD effectively simulates the complexities of real-world fluoroscopy, providing a powerful tool for label-efficient model training.
Conclusion
SF-VD addresses the critical data bottleneck in medical video segmentation by generating high-quality, temporally consistent synthetic training data. By decoupling scene and motion modeling and incorporating segmentation guidance, it produces realistic videos that significantly enhance the performance of guidewire tracking models. While the current generation speed (approx. 40 seconds for a 16-frame video on an A100 GPU) limits real-time use, it serves as a highly effective offline data augmentation tool. Future work will focus on synthesizing the wire masks themselves and extending the framework to other interventional tools like catheters and stents.
Summary updated