--- license: cc-by-nc-4.0 pretty_name: "SpineDepth raw: stereo RGB-D videos (SVO), calibration, per-frame poses and CT meshes" tags: - medical-imaging - rgbd - stereo - depth-camera - computed-tomography - spine - registration - pose-estimation - orthopedics size_categories: - n<1K --- # SpineDepth raw (SDRAW) A mirror of the raw SpineDepth dataset (Liebmann et al., 2021): stereo RGB-D video recordings of pedicle screw placement on ten human cadaveric lumbar spines, with optically tracked ground-truth poses of vertebrae L1–L5 for every video frame, the camera calibration files, and the CT bone meshes. The original release is distributed by the Balgrist ROCS group at . For per-frame point clouds with vertebra labels (first four frames of each recording), see [`luohwu/SpineDepth_perframe`](https://huggingface.co/datasets/luohwu/SpineDepth_perframe). ## Contents - 10 specimens (`Specimen_1` … `Specimen_10`), 40 recordings each (Specimen 10: 30), 2 cameras per recording. - 780 `Video_.svo` files (Stereolabs ZED Mini, 1920×1080, 30 Hz, SVO v1, LOSSLESS compression), about 1.57 TB. - 780 `Poses_.txt` files: ground-truth vertebra poses for every video frame. - 50 CT bone meshes `STL/L1.stl` … `L5.stl`. - Camera calibration files (`*.conf`, named by camera serial number). - 10 sample point clouds in `Specimen_4/recordings/recording2/pointcloud/`. ``` Specimen_/ ├── STL/L1.stl … L5.stl # CT bone meshes, each in its own CT space ├── Calib/ , Calib_b/ # calibration files from calibration sessions ├── CamParams__/ # camera parameters valid for recordings .. │ └── SN.conf └── recordings/recording/ # r = 0..39 ├── Video_0.svo Video_1.svo # camera 0 and camera 1 └── Poses_0.txt Poses_1.txt # poses for camera 0 and camera 1 ``` ## Using the videos - Open the SVO files with the [ZED SDK](https://www.stereolabs.com/developers/release). Newer SDKs (tested: 5.6) still read these files. - **Use the provided calibration, not the factory one.** Before opening a recording, copy the `SN.conf` files from the matching `CamParams__` folder into the ZED settings directory (Windows: `C:\ProgramData\Stereolabs\settings`, Linux: `/usr/local/zed/settings`). Keep the file names. If the files are missing, the SDK silently downloads the factory calibration, whose focal length differs by about 20 px and distorts the depth. These parameters include the focal-length depth correction described in Section 2.8 of the paper. - Some specimens were recalibrated during acquisition and have several `CamParams_*` folders (for example `CamParams_0_31` and `CamParams_32_39` for Specimen 2). Swap the files accordingly. ## Pose format `Poses_.txt` holds 5 lines per video frame, in the order L1..L5. Each line is a 4×4 matrix `T` (16 comma-separated values, row-major) with `p_camera = T @ p_ct`, mapping the CT mesh of that vertebra into the camera space (millimetres) of camera `c`. Line `5*f + (k-1)` is vertebra L*k* at frame `f`, and frame 0 is the first frame of the video. ## Notes - Specimen 1 was operated through a midline approach with soft tissue intact; Specimens 2–10 had full exposure. - Recordings were made from 18 March to 9 April 2021. The ZED SDK version used for recording is not stored in the SVO v1 files. - Depth computed from the SVOs depends on the ZED SDK version and depth mode. State both when publishing results. ## License and citation Released under CC BY-NC 4.0, following the original SpineDepth dataset. Please cite: ```bibtex @article{liebmann2021spinedepth, title = {{SpineDepth}: A Multi-Modal Data Collection Approach for Automatic Labelling and Intraoperative Spinal Shape Reconstruction Based on {RGB-D} Data}, author = {Liebmann, Florentin and St{\"u}tz, Dominik and Suter, Daniel and Jecklin, Sascha and Snedeker, Jess G. and Farshad, Mazda and F{\"u}rnstahl, Philipp and Esfandiari, Hooman}, journal = {Journal of Imaging}, volume = {7}, number = {9}, pages = {164}, year = {2021}, doi = {10.3390/jimaging7090164} } ```