The following repository contains all necessary files to perform the DIPRecon algorithm in PyTomography. The phantom corresponds to an ultra high resolution PET/MRI brain scan. PET simulation was performed via GATE.
The files are ran in the following order:
-
compute_eta.pycomputes the normalization factor$\eta$ needed for PET reconstruction. It uses data from a cylindrical calibration scan performed using the same system geometry. -
open_data.pyloads and processes the raw ROOT coincidence data and converts it into a readable.npyfile. -
init_recon.pyperforms an initial reconstruction of the data using OSEM -
dip_init_net.pytrains a DIP network to predict the output of theinit_recon.pyfile using an MRI image as input. This is used to get an initial network configuration before running the next script. -
dip_recon.pyperforms DIP reconstruction.
Other files include:
simulation_parameters.pycontrols all parameters used in the code.misc.pycontains all miscellaneous functions used for image alignment/etc requirednetworks.pycontains the neural network architecture used here.analysis.ipynbcontains code for analyzing the reconstructions/statistics.