PARALLELPROJ -- An open-source framework for fast calculation of projections in tomography

Georg Schramm,Kris Thielemans
DOI: https://doi.org/10.3389/fnume.2023.1324562
2023-12-13
Abstract:In this article, we introduce, a novel open-source framework designed for efficient parallel computation of projections in tomography leveraging either multiple CPU cores or GPUs. This framework efficiently implements forward and back projection functions for both sinogram and listmode data, utilizing Joseph's method, which is further extended to encompass time-of-flight (TOF) PET projections. Our evaluation involves a series of tests focusing on PET image reconstruction using data sourced from a state-of-the-art clinical PET/CT system. We thoroughly benchmark the performance of the projectors in non-TOF and TOF, sinogram, and listmode employing multi CPU-cores, hybrid CPU/GPU, and exclusive GPU mode. Moreover, we also investigate the timing of non-TOF sinogram projections calculated in STIR (Software for Tomographic Image Reconstruction) which recently integrated parallelproj as one of its projection backends. Our results indicate that the exclusive GPU mode provides acceleration factors between 25 and 68 relative to the multi-CPU-core mode. Furthermore, we demonstrate that OSEM listmode reconstruction of state-of-the-art real-world PET data sets is achievable within a few seconds using a single consumer GPU.
Medical Physics
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: in medical tomography techniques (such as X - ray computed tomography (CT), positron emission tomography (PET) and single - photon emission tomography (SPECT)), the image reconstruction results usually need to be completed within a few seconds to a few minutes after data acquisition. With the emergence of new - generation scanners, this computational challenge has become more and more severe because: 1. Increase in data volume: Due to higher - resolution detectors and scanners with larger fields of view, the data volume is constantly increasing. 2. More advanced reconstruction algorithms: In order to utilize more information obtained from the collected data, more complex iterative reconstruction algorithms are used, which usually require the calculation of a large number of projections. Specifically, this paper aims to develop a new open - source framework named **parallelproj** to achieve fast parallel calculation of projections in tomographic image reconstruction, especially for positron emission tomography (PET). This framework utilizes multi - core CPUs or GPUs for efficient forward and backward projection calculations, is applicable to non - time - of - flight (non - TOF) and time - of - flight (TOF) modes, and supports sinogram and listmode data formats. ### Main problem summary 1. **Computational efficiency problems**: - Existing image reconstruction algorithms take too long to calculate when dealing with large - scale data, especially on modern scanners with high resolution and large fields of view. - Traditional single - processor projection calculations are slow and cannot meet the needs of real - time or near - real - time reconstruction. 2. **Hardware resource utilization problems**: - How to fully utilize the parallel computing capabilities of multi - core CPUs and GPUs to accelerate projection calculations, thereby increasing the speed of image reconstruction. 3. **Limitations of existing tools**: - There is a lack of an open - source framework that fully meets the above requirements, especially in supporting TOF PET reconstruction. ### Solution The paper proposes a new open - source framework **parallelproj**, whose main objectives include: - Provide a framework for fast parallel calculation of TOF and non - TOF projections, support sinogram and listmode data formats, and utilize multi - core CPUs or GPUs. - Provide a framework that is easy to install and does not require compilation of source code, and is applicable to all major operating systems (Linux, Windows, and macOS). - Support combination with deep - learning frameworks such as PyTorch to promote research on tomographic image reconstruction methods, including the application of deep learning. Through these improvements, the **parallelproj** framework can significantly accelerate the PET image reconstruction process in multiple computing modes, especially when using GPUs, achieving an acceleration effect of 25 to 68 times.