Swin-X2S: Reconstructing 3D Shape from 2D Biplanar X-ray with Swin Transformers

Kuan Liu, Zongyuan Ying, Jie Jin, Dongyan Li, Ping Huang +6 more
1/10/2025
cs.CVeess.IV

Official code: liukuan5625/Swin-X2S (14 stars, MIT, last commit 2025-07-27).

Abstract

The conversion from 2D X-ray to 3D shape holds significant potential for improving diagnostic efficiency and safety. However, existing reconstruction methods often rely on hand-crafted features, manual intervention, and prior knowledge, resulting in unstable shape errors and additional processing costs. In this paper, we introduce Swin-X2S, an end-to-end deep learning method for directly reconstructing 3D segmentation and labeling from 2D biplanar orthogonal X-ray images. Swin-X2S employs an encoder-decoder architecture: the encoder leverages 2D Swin Transformer for X-ray information extraction, while the decoder employs 3D convolution with cross-attention to integrate structural features from orthogonal views. A dimension-expanding module is introduced to bridge the encoder and decoder, ensuring a smooth conversion from 2D pixels to 3D voxels. We evaluate proposed method through extensive qualitative and quantitative experiments across nine publicly available datasets covering four anatomies (femur, hip, spine, and rib), with a total of 54 categories. Significant improvements over previous methods have been observed not only in the segmentation and labeling metrics but also in the clinically relevant parameters that are of primary concern in practical applications, which demonstrates the promise of Swin-X2S to provide an effective option for anatomical shape reconstruction in clinical scenarios. Code implementation is available at: \url{https://github.com/liukuan5625/Swin-X2S}.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of Swin X2S: Reconstructing CT Segmentation and labeling from Multi-view X-ray with Swin Transformers.

144C++, CMakeJul 27, 20251 years agoMIT

Similar Papers

Cite this paper

@article{liu2025swinxs,
  title  = {Swin-X2S: Reconstructing 3D Shape from 2D Biplanar X-ray with Swin Transformers},
  author = {Kuan Liu and Zongyuan Ying and Jie Jin and Dongyan Li and Ping Huang and Wenjian Wu and Zhe Chen and Jin Qi and Yong Lu and Lianfu Deng and Bo Chen},
  year   = {2025},
  eprint = {2501.05961},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.05961v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.05961.svg)](https://codeofpaper.com/paper/2501.05961)

Discussion