# Chest X-ray Inpainting with Deep Generative Models

arXiv: https://arxiv.org/abs/1809.01471 · HTML: https://mlsanity.com/paper/1809.01471/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 29 Aug 2018.

## Built on by (most cited first, 4 of 4)

- [RoentGen: Vision-Language Foundation Model for Chest X-ray Generation](https://mlsanity.com/paper/2211.12737/) (2022)
- [Image Synthesis with Disentangled Attributes for Chest X-Ray Nodule Augmentation and Detection](https://mlsanity.com/paper/2207.09389/) (2022)
- [TBI-GAN: An Adversarial Learning Approach for Data Synthesis on Traumatic Brain Segmentation](https://mlsanity.com/paper/2208.06099/) (2022)
- [A Diffusion-Driven Fine-Grained Nodule Synthesis Framework for Enhanced Lung Nodule Detection from Chest Radiographs](https://mlsanity.com/paper/2603.01659/) (2026)

## Abstract (arXiv)

Generative adversarial networks have been successfully applied to inpainting in natural images. However, the current state-of-the-art models have not yet been widely adopted in the medical imaging domain. In this paper, we investigate the performance of three recently published deep learning based inpainting models: context encoders, semantic image inpainting, and the contextual attention model, applied to chest x-rays, as the chest exam is the most commonly performed radiological procedure. We train these generative models on 1.2M 128 × 128 patches from 60K healthy x-rays, and learn to predict the center 64 × 64 region in each patch. We test the models on both the healthy and abnormal radiographs. We evaluate the results by visual inspection and comparing the PSNR scores. The outputs of the models are in most cases highly realistic. We show that the methods have potential to enhance and detect abnormalities. In addition, we perform a 2AFC observer study and show that an experienced human observer performs poorly in detecting inpainted regions, particularly those generated by the contextual attention model.
