Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
image
SAX-NeRF logo

Structure-Aware Sparse-View X-ray 3D Reconstruction

CVPR 2024

CVPR 2024 arXiv Video 知乎 Project Page GitHub HF Demo HF Dataset HF Model

15 scenes · 4 application domains · Sparse-view CT reconstruction · X-ray novel view synthesis

Paper · Project Page · Code · Model · Download Data · Video · 中文解读

News

Interactive Demo

Explore all 15 pretrained scenes in our online Gradio demo. Rotate the reconstructed CT mesh, render a neural X-ray projection from the current viewing direction, and move the transparent slice plane to browse the corresponding CT slices. You can also run the same demo locally.

SAX-NeRF interactive demo

CT Reconstruction During Optimization

Chest CT reconstruction during SAX-NeRF optimizationFoot CT reconstruction during SAX-NeRF optimizationHead CT reconstruction during SAX-NeRF optimizationAbdomen CT reconstruction during SAX-NeRF optimizationPancreas CT reconstruction during SAX-NeRF optimization

Pelvis CT reconstruction during SAX-NeRF optimizationJaw CT reconstruction during SAX-NeRF optimizationLeg CT reconstruction during SAX-NeRF optimizationAneurism CT reconstruction during SAX-NeRF optimizationBonsai CT reconstruction during SAX-NeRF optimization

Carp CT reconstruction during SAX-NeRF optimizationBackpack CT reconstruction during SAX-NeRF optimizationBox CT reconstruction during SAX-NeRF optimizationEngine CT reconstruction during SAX-NeRF optimizationTeapot CT reconstruction during SAX-NeRF optimization

Dataset Description

This repository hosts the processed X3D dataset released with SAX-NeRF, introduced in Structure-Aware Sparse-View X-ray 3D Reconstruction (CVPR 2024). It supports research on sparse-view CT reconstruction and X-ray novel view synthesis.

X3D contains 15 scenes spanning medicine, biology, security, and industry. Projections are synthesized from publicly available CT volumes using TIGRE. The paper describes scanning over 0°–180° with 3% noise, using 50 training projections and 50 evaluation projections per scene. The reference CT volume is used to evaluate reconstruction quality. See the paper, Section 4.1.

Exported Meshes - Click each to open its interactive viewer

Chest CT mesh reconstructed by SAX-NeRFFoot CT mesh reconstructed by SAX-NeRFHead CT mesh reconstructed by SAX-NeRFAbdomen CT mesh reconstructed by SAX-NeRFPancreas CT mesh reconstructed by SAX-NeRF

Pelvis CT mesh reconstructed by SAX-NeRFJaw CT mesh reconstructed by SAX-NeRFLeg CT mesh reconstructed by SAX-NeRFAneurism CT mesh reconstructed by SAX-NeRFBonsai CT mesh reconstructed by SAX-NeRF

Carp CT mesh reconstructed by SAX-NeRFBackpack CT mesh reconstructed by SAX-NeRFBox CT mesh reconstructed by SAX-NeRFEngine CT mesh reconstructed by SAX-NeRFTeapot CT mesh reconstructed by SAX-NeRF

Visual Results

X-ray Novel View Synthesis

X-ray novel view synthesis comparisons from the official SAX-NeRF repository

More novel view synthesis results

Additional X-ray novel view synthesis comparisons

CT Reconstruction

CT reconstruction comparisons from the official SAX-NeRF repository

More CT reconstruction results

Additional CT reconstruction comparisons

Comparison figures reproduced from the official project repository.

Dataset Contents

The dataset repository provides one processed Python pickle file per scene:

SAX-NeRF/
├── abdomen_50.pickle
├── aneurism_50.pickle
├── backpack_50.pickle
├── bonsai_50.pickle
├── box_50.pickle
├── carp_50.pickle
├── chest_50.pickle
├── engine_50.pickle
├── foot_50.pickle
├── head_50.pickle
├── jaw_50.pickle
├── leg_50.pickle
├── pancreas_50.pickle
├── pelvis_50.pickle
└── teapot_50.pickle

Data Format

The following schema follows the project's data generator and dataset loader. Array dimensions and geometry parameters should be read from each scene file.

Field Description
image Reference 3D CT volume.
train.projections Training projections, indexed by view, with shape (N_train, H, W).
train.angles Training view angles in radians.
val.projections Held-out projections, with shape (N_val, H, W).
val.angles Held-out view angles in radians.
numTrain, numVal Numbers of training and held-out views.
DSD, DSO Source-to-detector and source-to-origin distances.
nDetector, dDetector Detector pixel counts and pixel sizes.
nVoxel, dVoxel Volume voxel counts and voxel sizes.
offOrigin, offDetector Volume and detector offsets.
mode, accuracy, filter Geometry and reconstruction settings.

The loader converts physical distances from millimeters to meters. The held-out projection set is named val in the code and is used for novel view synthesis testing in the paper. These are view splits within a scene, rather than disjoint sets of scenes.

Download and Usage

Install the download client and NumPy:

pip install huggingface_hub numpy

Download a single scene and inspect its arrays:

import pickle
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    repo_id="CaiYuanhao/SAX-NeRF",
    repo_type="dataset",
    filename="chest_50.pickle",
)

# Only deserialize pickle files from a trusted source.
with open(path, "rb") as f:
    scene = pickle.load(f)

print("CT volume:", scene["image"].shape)
print("Training projections:", scene["train"]["projections"].shape)
print("Held-out projections:", scene["val"]["projections"].shape)
print("Training angles:", scene["train"]["angles"].shape)

To download all processed scenes:

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="CaiYuanhao/SAX-NeRF",
    repo_type="dataset",
    allow_patterns=["*.pickle"],
    local_dir="data",
)

Run the command above from the SAX-NeRF project root to place the files in its expected data/ directory. After setting up the environment described in the project README, train on the chest scene with:

python train_mlg.py --config config/Lineformer/chest_50.yaml

Data Sources and Processing

The paper attributes chest, backpack, carp, and pancreas to LIDC-IDRI, MIDA, D²VR, and DeepOrgan, respectively; teapot, aneurism, bonsai, and foot to VOLVIS; and the remaining scenes to an open scientific visualization dataset. See Section 4.1 and references therein for the reported provenance.

The released generation code loads CT volumes, applies configured preprocessing, and generates projections and associated scanning geometry. Consult the data generation code when creating additional scenes or changing acquisition settings.

Citation

If you use this dataset, please cite the SAX-NeRF paper. The entry below follows the citation supplied by the official code repository:

@inproceedings{sax_nerf,
  title={Structure-Aware Sparse-View X-ray 3D Reconstruction},
  author={Yuanhao Cai and Jiahao Wang and Alan Yuille and Zongwei Zhou and Angtian Wang},
  booktitle={CVPR},
  year={2024}
}
Downloads last month
307

Models trained or fine-tuned on CaiYuanhao/SAX-NeRF

Space using CaiYuanhao/SAX-NeRF 1

Paper for CaiYuanhao/SAX-NeRF