The Dresden Dataset for 4D Reconstruction of Non-Rigid Abdominal Surgical Scenes
Download Dataset (DOI: 10.25532/OPARA-1033) Read the Paper (Scientific Data) PDFIf you use the D4D dataset or this repository in your work, please cite our paper:
Docea, R., Younis, R., Long, Y., Fleury, M., Xu, J., Li, C., Schulze, A., Wierick, A., Bender, J., Pfeiffer, M., Dou, Q., Wagner, M. & Speidel, S. The Dresden Dataset for 4D Reconstruction of Non-Rigid Abdominal Surgical Scenes. Scientific Data 13, 1334 (2026). https://doi.org/10.1038/s41597-026-08289-7
@article{docea2026d4d,
title = {The Dresden Dataset for 4D Reconstruction of Non-Rigid Abdominal Surgical Scenes},
author = {Docea, Reuben and Younis, Rayan and Long, Yonghao and Fleury, Maxime and Xu, Jinjing and Li, Chenyang and Schulze, Andr{\'e} and Wierick, Ann and Bender, Johannes and Pfeiffer, Micha and Dou, Qi and Wagner, Martin and Speidel, Stefanie},
journal = {Scientific Data},
volume = {13},
pages = {1334},
year = {2026},
doi = {10.1038/s41597-026-08289-7}
}
The paper is open access under CC BY 4.0. Download the PDF.
Data were acquired from porcine cadavers using a da Vinci Xi stereo endoscope and a Zivid structured-light camera, registered via optical tracking. The dataset enables quantitative geometric evaluation of 3D reconstruction in both visible and occluded regions.
The dataset follows a three-level hierarchy: each Specimen (one porcine cadaver) contains one or more Sessions (continuous recordings, named by date and time), and each Session contains one or more Clips (the individual tissue-manipulation segments). Each slide below is one Session, and every Session holds one or more Clips with paired endoscopic video and structured-light geometry.
Requires Python 3.10
pip install -e .
from d4d.loader import D4D
from visualize import visualize_clip_state
# Load dataset
d4d = D4D("/path/to/preprocessed_restructured")
# Iterate: Dataset → Specimen → Session → Clip
for specimen in d4d:
for session in specimen:
for clip in session:
print(f"{clip.name}: {len(clip.left_img_paths)} images, {clip.duration:.1f}s")
# Access specific clip
specimen = next(iter(d4d))
session = next(iter(specimen))
clip = next(iter(session))
# Clip properties
clip.left_img_paths # List of left image paths
clip.right_img_paths # List of right image paths
clip.stereo_depth_paths # List of depth map paths
clip.pointclouds # Dict with 'start'/'end' Zivid PLY paths
clip.endoscope_params # Endoscope camera parameters
clip.zivid_params # Zivid camera parameters
clip.poses # Dict with 'start'/'end' curated camera poses
# Visualize with curated poses
if clip.pointclouds.get('start') and clip.left_img_paths and clip.stereo_depth_paths:
visualize_clip_state(
clip.pointclouds['start'],
clip.left_img_paths[0],
clip.stereo_depth_paths[0],
clip.endoscope_params,
clip.poses['start']
)
The dataset is organised by the Specimen / Session / Clip hierarchy. Session-level folders hold the full unrectified images, while clip-level folders hold the rectified, per-clip data.