This folder contains example code for applying a joint reconstruction of background and particle concentration of magnetic particle imaging (MPI) data. The method uses a background dictionary that is setup using the background scans measured during system matrix acquisition.
The method is described in the associated publication
T. Knopp, M. Grosser, M. Graeser, T. Gerkmann, and M. Möddel (2021). Efficient Joint Estimation of Tracer Distribution and Background Signals in Magnetic Particle Imaging using a Dictionary Approach. IEEE Transactions on Medical Imaging, 40(12). doi: 10.1109/TMI.2021.3090928, arXiv: 2101.12624.
In order to use this code one first has to download Julia (version 1.6 or later), clone this repository and navigate to the folder in the command line. The example script automatically activates the environment and installs all necessary packages.
After installation the example code can be executed by running julia and entering
include("example.jl")This will first download all data and then perform a reconstruction. Parameters of the reconstruction are documented in the Julia script and can be changed. After the reconstruction is done, the script will open a plotting window and show the reconstruction result.
The measurement data associated to this project is about 134 MB large and will be downloaded and stored automatically, when the code is executed for the first time. It is published under a Creative Commons Attribution 4.0 International license and can be found here: