XPCIpy: A Python toolkit for X-ray phase-contrast imaging

X-ray absorption-based imaging often yields insufficient contrast for materials with low atomic numbers. X-ray phase-contrast imaging (PCI) offers a solution by leveraging the phase shift induced by different materials, enabling enhanced visualization of structures with minimal absorption differences. However, extracting phase information from intensity measurements is a non-trivial task, requiring specialized techniques. We present XPCIpy, an open-source software developed in Python, designed for both the simulation of X-ray PCI, including propagation-based imaging (PBI) and Talbot-Lau phase-contrast Imaging (TLPCI), and the reconstruction of TLPCI images. XPCIpy implements the phase stepping method for image retrieval, offering both least-squares and fast Fourier transform (FFT)-based reconstruction algorithms. It notably includes an algorithm for correcting phase step and dose fluctuations, which helps mitigate reconstruction artifacts like Moiré patterns. The software's modular architecture enhances extensibility, and a user-friendly graphical user interface (GUI) improves accessibility for researchers. Validated through both simulations and experimental data, XPCIpy provides a versatile framework to optimize experimental setups, test new reconstruction algorithms, and serve as an accessible tool for the scientific community in X-ray phase-contrast imaging. The code is publicly available at https://github.com/PREDICO-Project/XPCIpy.

Authors

Publication Details

Journal
Optics Express
Published
2025-09-17
DOI
https://doi.org/10.1364/oe.573918
Citations
1
Primary Topic
Advanced X-ray Imaging Techniques
Type
article
Field-Weighted Citation Impact
1.88
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

XPCIpy: A Python toolkit for X-ray phase-contrast imaging

D. García-Pinto, Victor Sánchez-Lara
1 citations
Optics Express
Advanced X-ray Imaging Techniques
1.88
article

XPCIpy: A Python toolkit for X-ray phase-contrast imaging

D. García-Pinto, Victor Sánchez-Lara
article en
1 citations

Abstract

X-ray absorption-based imaging often yields insufficient contrast for materials with low atomic numbers. X-ray phase-contrast imaging (PCI) offers a solution by leveraging the phase shift induced by different materials, enabling enhanced visualization of structures with minimal absorption differences. However, extracting phase information from intensity measurements is a non-trivial task, requiring specialized techniques. We present XPCIpy, an open-source software developed in Python, designed for both the simulation of X-ray PCI, including propagation-based imaging (PBI) and Talbot-Lau phase-contrast Imaging (TLPCI), and the reconstruction of TLPCI images. XPCIpy implements the phase stepping method for image retrieval, offering both least-squares and fast Fourier transform (FFT)-based reconstruction algorithms. It notably includes an algorithm for correcting phase step and dose fluctuations, which helps mitigate reconstruction artifacts like Moiré patterns. The software's modular architecture enhances extensibility, and a user-friendly graphical user interface (GUI) improves accessibility for researchers. Validated through both simulations and experimental data, XPCIpy provides a versatile framework to optimize experimental setups, test new reconstruction algorithms, and serve as an accessible tool for the scientific community in X-ray phase-contrast imaging. The code is publicly available at https://github.com/PREDICO-Project/XPCIpy.

Optics ExpressVol. 33(22)
Openalex Percentile: Top 13%
Advanced X-ray Imaging Techniques
1.88
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.