Generating Synthetic X-ray Images of a Person from the Surface Geometry

Brian Teixeira, Vivek Singh, Terrence Chen, Kai Ma, Birgi Tamersoy, Yifan Wu, Elena Balashova, Dorin Comaniciu · DOI

Abstract

We present a novel framework that learns to predict human anatomy from body surface. Specifically, our approach generates a synthetic X-ray image of a person only from the person's surface geometry. Furthermore, the synthetic X-ray image is parametrized and can be manipulated by adjusting a set of body markers which are also generated during the X-ray image prediction. With the proposed framework, multiple synthetic X-ray images can easily be generated by varying surface geometry. By perturbing the parameters, several additional synthetic X-ray images can be generated from the same surface geometry. As a result, our approach offers a potential to overcome the training data barrier in the medical domain. This capability is achieved by learning a pair of networks - one learns to generate the full image from the partial image and a set of parameters, and the other learns to estimate the parameters given the full image. During training, the two networks are trained iteratively such that they would converge to a solution where the predicted parameters and the full image are consistent with each other. In addition to medical data enrichment, our framework can also be used for image completion as well as anomaly detection.

Introduction

In computer graphics, modeling the external human form—skin, clothing, and movement—is a mature field. However, the medical domain requires a deep understanding of internal anatomy. Bridging this gap is challenging because high-quality medical data like CT scans and X-rays are scarce, protected by privacy laws, and involve radiation exposure, making large-scale dataset collection difficult for deep learning.

Researchers have developed a framework to predict internal anatomy directly from external surface data. By estimating internal structures based on outward shape, this system can generate synthetic training data, assist in patient positioning for clinical scans, and identify anatomical anomalies without requiring an initial X-ray.

Overview of the generation process: (a) input surface mesh, (b) ground truth X-ray, (c) predicted synthetic X-ray, and (d) predicted anatomical landmarks.

The Convergent Training Pipeline

The core innovation of this work is the Convergent Training Pipeline, which treats the relationship between an image and its anatomical landmarks as a bidirectional mapping. The framework utilizes two primary components:

  1. Marker Prediction Network (MPN): A U-Net-style architecture that processes the surface mesh and a predicted X-ray to identify 17 anatomical landmarks (e.g., lung apex, kidney centers) as heatmaps.
  2. Conditional Image Generation Network (CIGN): Based on a Wasserstein GAN (WGAN-GP), this network uses the surface mesh and predicted markers to synthesize the final X-ray image.
The iterative training framework synchronizes the Marker Prediction Network (MPN) and Conditional Image Generation Network (CIGN) to ensure anatomical consistency.

Rather than training these tasks in isolation, the authors employ an iterative loop. The MPN predicts markers, which the CIGN uses to refine the image, which the MPN then uses to further refine the markers. This "handshake" ensures that the internal organs in the generated image align perfectly with the spatial parameters (markers), creating a parametrized image that can be realistically manipulated by moving the markers.

Key Insights and Results

  • Consistency and Realism: Most multi-task models predict markers and images independently. This iterative approach forces the model to converge on a mathematically consistent and realistic manifold of human anatomy. The WGAN-GP approach achieved a Multi-Scale Structural Similarity (MS-SSIM) score of 93.96, significantly outperforming standard U-Nets.
  • Improved Accuracy: Convergent training improved the precision of difficult landmarks. For instance, the error for the tip of the sternum dropped from 2.46 cm to 2.00 cm.
  • Data Augmentation: Because the images are linked to markers, users can "perturb" a marker (e.g., shifting a lung boundary) to generate a corresponding, realistic X-ray. A landmark detector trained on just 50 synthetic images (augmented with 100 perturbations) achieved a mean error of 0.99 cm, whereas a baseline model using standard image translations remained at an error of 8.75 cm.
  • Anomaly Detection: By comparing a real X-ray to a "healthy" synthetic version generated from a patient's surface, the system can highlight discrepancies like surgical implants or missing organs that might otherwise be overlooked.

Conclusion

While these synthetic X-rays are approximations and cannot yet replace diagnostic imaging for fine-grained pathology, they represent a significant step toward non-invasive anatomical modeling. Future work aims to expand this from 2D X-ray generation to full 3D CT volume prediction, further overcoming the data barriers in medical AI.

Summary updated

BibTeX
@inproceedings{teixeira2018generating,
  author = {Brian Teixeira and Vivek Singh and Terrence Chen and Kai Ma and Birgi Tamersoy and Yifan Wu and Elena Balashova and Dorin Comaniciu},
  title = {{Generating Synthetic X-ray Images of a Person from the Surface Geometry}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00944},
}
Figure