TomocuPy – efficient GPU-based tomographic reconstruction with asynchronous data processing
Open Access
- 1 January 2023
- journal article
- research article
- Published by International Union of Crystallography (IUCr) in Journal of Synchrotron Radiation
- Vol. 30 (1) , 179-191
Abstract
Fast 3D data analysis and steering of a tomographic experiment by changing environmental conditions or acquisition parameters require fast, close to real-time, 3D reconstruction of large data volumes. Here a performance-optimized TomocuPy package is presented as a GPU alternative to the commonly used central processing unit (CPU) based TomoPy package for tomographic reconstruction. TomocuPy utilizes modern hardware capabilities to organize a 3D asynchronous reconstruction involving parallel read/write operations with storage drives, CPU–GPU data transfers, and GPU computations. In the asynchronous reconstruction, all the operations are timely overlapped to almost fully hide all data management time. Since most cameras work with less than 16-bit digital output, the memory usage and processing speed are furthermore optimized by using 16-bit floating-point arithmetic. As a result, 3D reconstruction with TomocuPy became 20–30 times faster than its multi-threaded CPU equivalent. Full reconstruction (including read/write operations and methods initialization) of a 20483 tomographic volume takes less than 7 s on a single Nvidia Tesla A100 and PCIe 4.0 NVMe SSD, and scales almost linearly increasing the data size. To simplify operation at synchrotron beamlines, TomocuPy provides an easy-to-use command-line interface. Efficacy of the package was demonstrated during a tomographic experiment on gas-hydrate formation in porous samples, where a steering option was implemented as a lens-changing mechanism for zooming to regions of interest.Keywords
All Related Versions
Funding Information
- US Department of Energy, Office of Science (DE-AC02-06CH11357)
- Laboratory Directed Research and Development, Argonne National Laboratory (2021-0173, 2023-0104, 2023-0108)
This publication has 41 references indexed in Scilit:
- TomoPy: a framework for the analysis of synchrotron tomographic dataJournal of Synchrotron Radiation, 2014
- Regridding reconstruction algorithm for real-time tomographic imagingJournal of Synchrotron Radiation, 2012
- An analytical formula for ring artefact suppression in X-ray tomographyApplied Mathematics Letters, 2010
- Stripe and ring artifact removal with combined wavelet—Fourier filteringOptics Express, 2009
- Synchrotron‐radiation computed laminography for high‐resolution three‐dimensional imaging of flat devicesPhysica Status Solidi (a), 2007
- Image quality assessment: from error visibility to structural similarityIEEE Transactions on Image Processing, 2004
- Simultaneous phase and amplitude extraction from a single defocused image of a homogeneous objectJournal of Microscopy, 2002
- Tomographic inversion via the conjugate gradient methodGeophysics, 1987
- Simultaneous Algebraic Reconstruction Technique (SART): A Superior Implementation of the Art AlgorithmUltrasonic Imaging, 1984
- The reconstruction of a three-dimensional structure from projections and its application to electron microscopyProceedings of the Royal Society of London. A. Mathematical and Physical Sciences, 1970