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

Yuanhao Cai, Jiahao Wang, Alan L. Yuille, Zongwei Zhou, Angtian WangCVPR 2023 · DOI

Abstract

X-ray, known for its ability to reveal internal structures of objects, is expected to provide richer information for 3D reconstruction than visible light. Yet, existing NeRF algorithms overlook this nature of X-ray, leading to their limitations in capturing structural contents of imaged objects. In this paper, we propose a framework, Structure-Aware X-ray Neural Radiodensity Fields (SAX-NeRF), for sparse-view X-ray 3D reconstruction. Firstly, we design a Line Segment-based Transformer (Lineformer) as the backbone of SAX-NeRF. Linefomer captures internal structures of objects in 3D space by modeling the dependencies within each line segment of an X-ray. Secondly, we present a Masked Local-Global (MLG) ray sampling strategy to extract contextual and geometric information in 2D projection. Plus, we collect a larger-scale dataset X3D covering wider X-ray applications. Experiments on X3D show that SAX-NeRF surpasses previous NeRF-based methods by 12.56 and 2.49 dB on novel view synthesis and CT reconstruction.

Introduction

Traditional Computed Tomography (CT) typically requires hundreds of X-ray projections to produce high-quality 3D reconstructions. This process exposes patients and objects to significant levels of ionizing radiation. "Sparse-view" reconstruction aims to mitigate this by utilizing far fewer projections.

While Neural Radiance Fields (NeRF) have revolutionized 3D reconstruction for visible light, they struggle with X-rays. Visible light relies on surface reflection, whereas X-rays penetrate objects, with their intensity attenuated based on the "radiodensity" of internal structures. Existing NeRF-based X-ray methods typically use simple Multi-Layer Perceptrons (MLPs) that treat every point on a ray independently, failing to capture the complex, interconnected internal geometries that define X-ray images. Furthermore, standard random pixel sampling is inefficient for sparse X-ray data, often wasting computation on empty background space.

Methodology

The SAX-NeRF framework introduces two primary innovations to address these structural limitations:

Line Segment-based Transformer (Lineformer)

Instead of a standard MLP, SAX-NeRF utilizes a Transformer-based backbone. To maintain computational efficiency, the architecture partitions each X-ray into line segments and applies self-attention exclusively within those segments. This allows the model to capture dependencies between different parts of an object's internal structure with linear computational complexity ($O(N)$), avoiding the quadratic cost ($O(N^2)$) of standard Transformers while retaining context awareness.

Masked Local-Global (MLG) Ray Sampling

Rather than sampling pixels randomly across the entire image, MLG uses a binary mask to focus on the foreground object. It combines two sampling modes:

  • Patch-level sampling: Selecting small 2D blocks to help the model perceive local context and textures.
  • Pixel-level sampling: Selecting scattered pixels to help the model understand the overall global shape and geometry.

The X3D Dataset

To address the lack of diversity in existing X-ray datasets, the authors introduced X3D, a larger-scale benchmark containing 15 diverse scenes across four categories:

  • Medicine: Pelvis, chest, etc.
  • Biology: Bonsai, carp, etc.
  • Security: Backpack, box, etc.
  • Industry: Engine, teapot, etc.

The data was curated from various public sources and processed using the TIGRE toolbox to simulate realistic cone-beam X-ray projections with 3% noise.

Key Results

SAX-NeRF demonstrates substantial performance gains across two main tasks: Novel View Synthesis (NVS) and CT Reconstruction.

  • Quantitative Performance: SAX-NeRF outperformed the previous state-of-the-art method (NAF) by an average of 12.56 dB in PSNR for NVS. In specific industrial scenes like the "Engine," the gain reached as high as 13.76 dB. For CT reconstruction, it surpassed existing methods by 2.49 to 12.13 dB.
  • Qualitative Quality: Visual results confirm that SAX-NeRF preserves sharp edges and fine internal details—such as the delicate branches of a bonsai or the internal components of an engine—where other methods produce blurry or over-smoothed artifacts.
Performance comparison of SAX-NeRF against state-of-the-art methods across Medicine, Biology, Security, and Industry categories.

Conclusion

SAX-NeRF represents a significant step forward in sparse-view X-ray reconstruction by explicitly modeling the structural nature of X-ray data. By leveraging the Lineformer architecture and MLG sampling, the framework achieves high-fidelity reconstructions with significantly lower radiation doses. Future work will look toward extending this framework to dynamic 4D CT imaging and addressing more complex real-world noise profiles.

Summary updated

BibTeX
@misc{cai2023structure,
  author = {Yuanhao Cai and Jiahao Wang and Alan L. Yuille and Zongwei Zhou and Angtian Wang},
  title = {{Structure-Aware Sparse-View X-ray 3D Reconstruction}},
  year = {2023},
  eprint = {2311.10959},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.10959},
}
Figure