Learning-Based Interpolation of Detector Gaps in Photon-Counting X-ray Imaging
Johannes B. Thalhammer, Patrick Ilg, Tina Dorosti, Sebastian Peterhansl, Theresa Hiu, Daniel Frey, Zijin Huang, Florian Schaff, Daniela Pfeiffer, Franz Pfeiffer
Abstract
Image detectors assembled from tiled modules have physical gaps in the field of view that must be filled before downstream processing such as phase retrieval or tomographic reconstruction. Unlike natural-image inpainting, detector-gap interpolation must leave all other pixels unmodified and preserve the intensity statistics of the filled region, since even a small shift in mean intensity can cause ring artifacts after reconstruction. We adapted two generative models, a Wasserstein GAN with gradient penalty (WGAN-GP) and a conditional Pix2Pix model, to this task. We implemented a masking strategy that restricts all changes to the gap pixels and loss terms that constrain the mean intensity and the intensity distribution of the filled region. Both models were trained on nanoCT projections with simulated gaps and compared with linear interpolation, Navier--Stokes inpainting, and the deep image-inpainting network MADF, quantitatively on simulated gaps and visually on real detector gaps. WGAN-GP and Pix2Pix achieved the best perceptual similarity (LPIPS) and histogram distance and, apart from linear interpolation, the shortest inference time. Pix2Pix required about five times fewer training GPU-hours than WGAN-GP. Ablation studies showed that masking the network output contributes by far the most to plausible inpainting results. Applied to sinograms, Pix2Pix produced the most natural gap filling but improved the reconstruction only slightly compared with linear interpolation. The source code and the weights of the final Pix2Pix model are available at https://github.com/J-3TO/detectorGapRemovalPix2Pix.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
Verifier Choice is a Benchmark Design Variable: Auditing Structural Counting Evaluation in Text-to-Image Models
Shared title terminologycs.CVShurun Li, Michael Hua Wang, Haibo Zeng et al.
A Well-Posed Fourth-Order Navier-Stokes Model for Image Inpainting: Theory, Order Selection, and Stripe Decomposition
Shared title terminologycs.CVYiwen Dou, Yiqiang Ding, Zhongyun Bao et al.
BODYBENCH: Evaluating Adversarial Image Defenses Against AI Nudification Inpainting
Shared title terminologycs.CVLi Qiwei, Salma Abdel Magid, Olga Russakovsky et al.
GRUN: Generalized Retinex Unfolding Network for Image Restoration
Shared title terminologycs.CVRihan Zhang, Fengyang Xiao, Yuhan Chen et al.
Medical Image Segmentation Is Now Just Another Coding Task
Shared title terminologycs.CVShuheng Cao, Ruiqi Chen, Qizhen Lan et al.
MSW: a Multi-Scale Sliced Wasserstein Distance Between Image Distributions
Shared title terminologycs.CVYoussef Haouchat, Stanislas Ducotterd, Bassam El Rawas et al.