How yalebioimaging/yrt-pet works
YRT-PET is a PET image-reconstruction toolkit centered on OSEM for list-mode and histogram data. Its principal workflow is to configure a scanner and projection input, run reconstruction with selected projectors and corrections, and produce reconstructed images; command-line tools also convert, forward-project, and backproject data. Python bindings expose library functionality. The graph preserves documented capabilities, while unsampled subsystem links are omitted where the excerpts and README do not establish a specific runtime call.
Main entry points: OSEM.cpp OSEM reconstruction · Reconstruct.cpp OSEM CLI · IO.hpp Data I/O · PluginFramework.hpp Format plugins
Components 21
Application entry points
- OSEM CLI
yrt-pet/executables/recon/Reconstruct.cpp - Data conversion
yrt-pet/executables/conversion - Forward project
yrt-pet/executables/recon/ForwardProject.cpp - Backproject
yrt-pet/executables/recon/Backproject.cpp - Argument reader
yrt-pet/executables/ArgumentReader.cpp
PET data model
- Scanner geometry
yrt-pet/src/datastruct/scanner - Projection data
yrt-pet/include/yrt-pet/datastruct/projection/ProjectionData.hpp - Format plugins
yrt-pet/include/yrt-pet/datastruct/PluginFramework.hpp - Image and NIfTI
yrt-pet/src/datastruct/image - Data I/O
yrt-pet/include/yrt-pet/datastruct/IO.hpp
Reconstruction engine
- OSEM reconstruction
yrt-pet/src/recon/OSEM.cpp - Additive and attenuation corrections
yrt-pet/include/yrt-pet/recon - Motion correction
yrt-pet/src/datastruct/projection/LORMotion.cpp
Imaging operations
- Projectors and TOF
yrt-pet/src/operators - PSF operators
yrt-pet/src/operators/ProjectionPsfManager.cpp - Scatter estimation
yrt-pet/src/scatter
Language interfaces
- Python bindings
yrt-pet/src/pybind11.cpp - Python API
yrt-pet/python/pyyrtpet/_pyyrtpet.py
Other components
- PET researcher
- NVIDIA CUDA
- Reconstructed image
Connections 20
- PET researcher → OSEM CLI: runs
- OSEM CLI → OSEM reconstruction: runs OSEM
- OSEM CLI → Argument reader: parses options
yrt-pet/executables/recon/Reconstruct.cpp - OSEM CLI → Scanner geometry: loads scanner
yrt-pet/executables/recon/Reconstruct.cpp - OSEM CLI → Data I/O: opens input
yrt-pet/executables/recon/Reconstruct.cpp - Data I/O → Format plugins: dispatches formats
yrt-pet/include/yrt-pet/datastruct/IO.hpp - Format plugins → Projection data: creates projection data
yrt-pet/include/yrt-pet/datastruct/PluginFramework.hpp - OSEM reconstruction → Projectors and TOF: uses projectors
- OSEM reconstruction → Additive and attenuation corrections: applies corrections
yrt-pet/src/recon/OSEM.cpp - OSEM reconstruction → Motion correction: supports event motion
- OSEM reconstruction → PSF operators: supports PSF
- OSEM reconstruction → Scatter estimation: supports scatter estimates
- OSEM reconstruction → Reconstructed image: produces image
- PET researcher → Data conversion: converts data
- PET researcher → Forward project: forward projects
- PET researcher → Backproject: backprojects data
- OSEM reconstruction → NVIDIA CUDA: accelerates with
- PET researcher → Python API: uses Python API
- Python API → Python bindings: exposes bindings
- Data I/O → Image and NIfTI: reads image data