1 Introduction

Magnetic Particle Imaging (MPI) is a relatively new medical imaging modality invented by Weizenecker and Gleich in 2005 [9]. In this tomographic imaging technique, the non-linear magnetization response of the superparamagnetic tracer material to an external magnetic field induces a potential in the receive coils of the scanner. The spatial distribution of the magnetic particles is reconstructed from these measurements. MPI allows for a rapid data acquisition with high temporal resolution which makes it a promising imaging device for different imaging applications, see [21] for an overview. In many of these applications, visualization of tracer dynamics is highly relevant, such as physiological diagnosis like stroke detection [24], visualization of blood flow [31] or localization of medical instruments in vascular interventions [14].

The MPI forward operator can be described by model- or measurement-based approaches [13]. In a measurement-based approach the forward operator is represented by a calibration scan [27, 30]. Therefore, the signal generated by a delta sample of tracer material is measured for a finite number of spatial positions. The modeling approach describes the measurement process with physical laws [22]. Unfortunately, models usually idealize the physical setting to limit the complexity of the model. These simplifications can lead to large modeling errors and give reasons for the time consuming measurement approach being still dominant in practice.

The state of the art model underlies the assumption of a (nearly) static concentration during the signal acquisition. This assumption is not always fulfilled. MPI is able to visualize the distribution of a liquid tracer. It can accumulate, dissipate or move e.g. with the blood flow. The behavior of the particle concentration is not static in these cases. Also time-series measurements imply a dynamic tracer distribution such that the static model is only true for piecewise constant concentrations. The same problem is valid for the measurement approach. Since the delta sample is static during each cycle of the calibration scan, the measured system matrix does not cover dynamic behavior. Currently, the only way to reconstruct non-periodic dynamic concentrations is to reconstruct a time-series of images under the assumption of static behavior during the scan [14, 28]. Reconstruction of periodic dynamics in magnetic particle imaging is investigated in [8] in order to reduce of artifacts induced by cardiac- or respiratory motion in multi-patch MPI. The authors use the measurement-based approach and assume limits on the velocity and periodicity of the motion. By rearranging measurements from the same motion phase into virtual frames, dynamic tracer distributions can be reconstructed by static reconstructions from the virtual frames.

The model-based approach gives rise to various directions of research covering all components of the signal generation chain and analyses of the models. One of these directions is modeling of the magnetic behavior of magnetic nanoparticles which was studied by Kluth [17, 19] and Weizenecker [29]. The most frequently used magnetization model is the Langevin- or equilibrium model, which is also the basis for the derivations in the following articles. The equilibrium model does not respect magnetic relaxation effects. In [17], the model is extended for different kinds of relaxation. The author presents forward models incorporating either Brownian rotation or Néel relaxation in the cases of mono- and polydisperse tracers under the assumption of single domain particles with uniaxial anisotropy.

Based on the equilibrium model the authors of [26] derive analytical reconstruction formulae as well as numerical reconstruction schemes for two- and three-dimensional MPI. They examine and compare the ill-posedness of the reconstruction problem for different dimensions. A mathematical analysis of the 1D model is provided by Erb, Weinmann et al. [7]. They investigate properties like the ill-posedness and discover an exponential singular value decay of the reconstruction problem. Goodwill and Conolly [10] follow the X-space approach. They consider the dependence of the spatial position of the field free point (FFP), which is the time-dependent volume of vanishing magnetic field strength, and the drive field of the scanner. As a result the forward operator of 1D MPI can be identified as a convolution operator. The authors extend their approach to multiple dimensions in [11]. The more analytically focused article by Maass and Mertins deals with closed-form expressions for the Fourier transform of the system function for multiple dimensions [25]. The system function is related to tensor products of Chebychev polynomials of the second kind and tensor products of Bessel functions. This result might allow for analytical insights into the system function and more efficient reconstruction techniques in the future.

Another common model simplification is the assumption of ideal magnetic fields. In practice magnetic fields can be distorted which is influencing spatial signal encoding. In [5], the authors use spherical harmonics to achieve more realistic representations of magnetic fields for FFP and field free line (FFL) scanners. A 3D forward model for non-ideal magnetic fields which can be reconstructed with the algebraic reconstruction technique (ART) is presented. Artifacts caused by distorted magnetic fields have also been investigated in the context of the X-space approach [32]. These distortions especially affect multi-patch MPI, since distortions increase with the distance from the center. In the case of measurement-based reconstruction, compensation methods for displacement artifacts in multi-patch scans are studied in [3, 4].

In this paper we present an extended MPI forward model for dynamic tracer distributions, in the discrete and continuous case, both in time- and Fourier domain. While the initial theoretical setup presented in Sect. 3 is identical to the one in [8], our model is not limited to periodic motion and covers dynamic tracer distributions with high velocities. Furthermore, we provide simulation experiments to show the importance of the extension relative to the tracer dynamics and the impact on reconstruction quality compared to the static model. The presented approach is of special interest for blood flow measurements [16] because the speed of the motion is part of the model and can be reconstructed simultaneously.

The remainder of this paper starts with a brief introduction to the principles of an ideal MPI system in Sect. 2 and is followed by presenting the standard modeling approach in Sect. 2.1 which we will extend to arbitrary dynamic tracer distributions in Sect. 3. Based on the Langevin model, FFP scanners and Lissajous trajectories we investigate the influence of the extension to the signal for different kinds of dynamics in Sect. 4, while we compare reconstructions of simulated dynamic measurements with the standard and the extended model in Sect. 5. We close with a discussion of the results in Sect. 6.

2 Basic Principles of Magnetic Particle Imaging

The aim of magnetic particle imaging is the reconstruction of the multi-dimensional spatial concentration of the particles. Spatial encoding of the signal is realized by applying a spatially and temporally varying magnetic field \(H\in L^2(\varOmega \times {\mathbb {R}}^+,{\mathbb {R}}^{3})\) where \(\varOmega \subset {\mathbb {R}}^{3}\) denotes the field of view (FOV). While there also exist other scanner topologies, such as field free line, we describe the basic principles of an ideal field free point scanner. The magnetic field

$$\begin{aligned} H(r,t)&=H_S(r)+H_D(t) \end{aligned}$$

consists of a spatially inhomogeneous selection field \(H_S\) and a temporally varying drive field \(H_D\). The selection field is a gradient field that has a point of zero field strength in the center, the so-called field free point (FFP), and a linearly increasing field strength to the periphery (see Fig. 1a). The drive field \(H_D(t) = [a_l\sin (2\pi f_l t + \varphi _l)]_{l=1,\dots ,3}\) is spatially constant but changes its magnetization over time according to a sine function in each dimension. It has three parameters per dimension, the amplitude \(a_l\in {\mathbb {R}}\) determining the size of the field of view, the frequency \(f_l\in {\mathbb {R}}\) defining the density of the scan trajectory and a phase shift \(\varphi _l\in {\mathbb {R}}\) setting the starting point of the scan trajectory. Choosing the parameters appropriately, the overlay of \(H_S\) and \(H_D\) forms the field H which has a FFP moving through the volume of interest along a so-called Lissajous curve (see Fig. 1b).

Fig. 1
figure 1

Setup of the magnetic field

Superparamagnetic means that the magnetic nanoparticles behave like tiny magnets, while an external magnetic field is applied. They have their own magnetic moments which are larger than their atomic moments. There is no remanent magnetization after the applied magnetic field is removed [2].

The magnetic moment of the particles responds to temporal changes of magnetic fields. There are different models describing the magnetic behavior of the particles which where studied in [17, 19, 29]. In Sects. 4 and 5 the Langevin or equilibrium model is used but could be replaced by more complex models. When the field free point moves over a position r, it causes a change in the mean magnetic moment at this location. The magnitude of the magnetization

$$\begin{aligned} M(r,t)&=c(r){\bar{m}}(r,t),\qquad M\in H^1(\varOmega \times {\mathbb {R}}^+),\,c \in L^2(\varOmega ), \end{aligned}$$
(1)

is proportional to the tracer concentration \(c:\varOmega \mapsto {\mathbb {R}}^+\) and the mean magnetic moment \({{\bar{m}}}:\varOmega \times {\mathbb {R}}^+\mapsto {\mathbb {R}}^{3}\). In practice, slight magnetization changes can be observed throughout the whole FOV. The Sobolev space

$$\begin{aligned} H^1(D)&=\{f \in L^2(D): D^\gamma f\in L^2(D) \text { for } 0\le |\gamma |\le 1,\gamma \in {\mathbb {N}}^d,D\subset {\mathbb {R}}^d\} \end{aligned}$$

denotes the space of \(L^2\)-functions whose first weak derivatives are also functions in \(L^2\) on the domain \(D\subset {\mathbb {R}}^d\) with \(\gamma \in {\mathbb {N}}^d\) being a multi-index with \(|\gamma |=\sum _{i=1}^d \gamma _i\), see [1]. The change in magnetization induces a current in the receive coils of the scanner. Due to the construction of the magnetic field, a measured voltage at time point t can be connected to a magnetization change and thus to a certain concentration at a position r. The measurement process is described by a forward model in the following section.

2.1 MPI Forward Model

The static forward model

$$\begin{aligned} u (t)&=-\mu _0 \frac{\text {d}}{\text {d}t} \int _{\varOmega }p(r)^{\top }\bigl (c(r){\bar{m}}(r,t)+H(r,t)\bigr )\,\text {d} r \end{aligned}$$
(2)

describes the magetic particle imaging process in time domain [20]. The sensitivity of the receive coils \(p:\varOmega \mapsto {\mathbb {R}}^{3\times 3}\) is multiplied with the permeability constant \(\mu _0\) and the change in magnetization which is caused by the superparamagnetic particles and the applied magnetic field H from the send-coils.

Assuming that the signal generated by the excitation field is removed by a filter yields

$$\begin{aligned} u(t)&=\int _{\varOmega } S(r,t)c(r)\,\text {d} r,\qquad \text {with }\; S(r,t)=-\mu _0\, p(r)^{\top }\frac{\partial }{\partial t}{\bar{m}}(r,t). \end{aligned}$$
(3)

As defined in the previous section, the excitation field is multi-dimensional which means that the system function S(rt) maps to \({\mathbb {R}}^{3}\), thus \(u(t) \in {\mathbb {R}}^{3}\) is a voltage vector, where each value is measured by the respective receive coil. In the discrete models in the remainder of this paper we will refer to a single component of u(t) since the computations are analogous for all channels.

Discretization The formulation of discrete forward models is motivated by measured system matrices and the use of numerical reconstruction methods. Therefore, we use a basis \(\{\phi _i\}_{i=1, \dots ,R} \subset L^2\) of a finite-dimensional subspace \(X_R\subset L^2\). An intuitive choice are piecewise constant basis functions on equisized, pairwise disjoint quadratic or cubic domains as they are a reasonable representation of both the pixels or voxels in an image and the delta probe used for the calibration scans.

Using the basis functions, we obtain piecewise constant approximations of the concentration and system function

$$\begin{aligned} {{\tilde{c}}}(r)&=\sum _{i=1}^R c_i \phi _i(r) \quad \text {and}\quad {\tilde{S}}(r,t)=\sum _{i=1}^R S_{i}(t) \phi _i(r) \quad \in X_R\,, \end{aligned}$$

evaluated at equidistant time sampling points \(\{t_j\}_{j=1,\dots ,n_T}\) with \(t_j=(j-1)T_c/(n_T-1)\) and \(T_c\) being the repetition time for one Lissajous cycle. Insterting \({{\tilde{c}}}\) in (3) yields the following discrete forward problem

$$\begin{aligned} u(t_j)&=\sum _{i=1}^R S_{i}(t_j)c_i, \quad j=1,\dots ,n_T\,. \end{aligned}$$
(4)

It can also be written as a matrix vector multiplication of a concentration vector and the system matrix \({\mathbf {S}}\)

$$\begin{aligned} {\mathbf {u}}&= {\mathbf {S}}{\mathbf {c}} \quad \text {with }{\mathbf {u}}\in {\mathbb {R}}^{n_T},\; {\mathbf {S}}\in {\mathbb {R}}^{n_T \times R},\;{\mathbf {c}}\in {\mathbb {R}}^{R}. \end{aligned}$$
(5)

Reconstructing the concentration vector \({\mathbf {c}}\) from a given measurement vector \({\mathbf {u}}\) is a classic inverse problem. In [18, 26], it was shown that the multidimensional MPI reconstruction problem is severely ill-posed. Thus, computing a stable and unique solution requires regularization. Two common regularization methods in MPI are Tikhonov- and iterative regularization. The former defines a Tikhonov functional by adding a penalty term with a regularization parameter. The resulting minimization problem can then be solved by the Kaczmarz algorithm or other iterative schemes adapted to the applied regularization term. The latter option regularizes the iterative method directly by choosing a maximum number of iterations. In both cases, the standard iterative method used in MPI is the Kaczmarz algorithm [15]. The information from reconstructions of several channels can be combined to improve image quality.

3 Dynamic Forward Model

The forward model presented in the preceding section underlies the assumption of a (nearly) static concentration during the signal acquisition which might be violated in case of dynamically changing tracer distributions. MPI is able to visualize the distribution of a liquid tracer which can accumulate, dissipate or move e.g. with the blood flow. In these situations, the behavior of the particle concentration is clearly not static.

In practice oftentimes measured system matrices are used for MPI reconstruction. These matrices are the results of calibration scans which measure the induced voltage of a delta sample during a scanning cycle for each spatial position. This approach yields good results for static concentrations because the matrices also incorporate the transfer function of the system. Since the delta sample is static during the complete cycle the measured system matrix does not cover dynamic behavior.

In order to adapt the model to dynamic tracer concentrations, the magnetization function (1) is modified such that it contains a time-dependent concentration

$$\begin{aligned} M(r,t)&=c(r,t){\bar{m}}(r,t)\,,\qquad c \in H^1(\varOmega \times {\mathbb {R}}^+),\; M,{\bar{m}} \in H^1(\varOmega \times {\mathbb {R}}^+)\,. \end{aligned}$$
(6)

Thus, the forward model (2) changes to

$$\begin{aligned} u (t)&=-\mu _0 \frac{\text {d}}{\text {d}t} \int _{\varOmega }p(r)^{\top }\bigl (c(r,t){\bar{m}}(r,t)+H(r,t)\bigr )\,\text {d} r. \end{aligned}$$

Assuming a constant coil sensitivity p and that the signal generated by the excitation field is removed by a filter results in the dynamic forward model

$$\begin{aligned} u(t)&=\eta \frac{\text {d}}{\text {d}t} \int _{\varOmega }c(r,t){\bar{m}}(r,t)\,\text {d} r, \qquad \text {with }\; \eta :=-\mu _0p\;\in {\mathbb {R}} \end{aligned}$$
(7)
$$\begin{aligned}&=\eta \int _{\varOmega }\underbrace{\frac{\partial {\bar{m}}}{\partial t}(r,t)}_{=S_1}c(r,t)+\underbrace{{\bar{m}}(r,t)}_{=S_2}\frac{\partial c}{\partial t}(r,t) \,\text {d} r \end{aligned}$$
(8)
$$\begin{aligned}&=\eta \int _{\varOmega }S_1(r,t)c(r,t)+S_2(r,t)\frac{\partial c}{\partial t}(r,t) \,\text {d} r\,, \qquad c,S_2 \in H^1(\varOmega \times {\mathbb {R}}^+). \end{aligned}$$
(9)

It describes a measurement \(u:{\mathbb {R}}^+\mapsto {\mathbb {R}}^{3}\) in time domain and contains a sum of two system functions \(S_1,S_2:\varOmega \times {\mathbb {R}}^+\mapsto {\mathbb {R}}^{3}\) multiplied with the tracer concentration \(c:\varOmega \times {\mathbb {R}}^+\mapsto {\mathbb {R}}^+\) and its time derivative. The derivatives \(\frac{\partial c}{\partial t}\), \(S_1=\frac{\partial {\bar{m}}}{\partial t}\) and the measurement u are \(L^2\)-functions because the concentration c and \(S_2={{\bar{m}}}\) are in the Sobolev space \(H^1(\varOmega \times {\mathbb {R}}^+)\).

Dynamic forward model in frequency domain MPI measurements are usually given in frequency domain. Due to the time dependence of the concentration the static model

$$\begin{aligned} {{\hat{u}}}(k)&=\eta \int _{\varOmega }c(r){\mathscr {F}}\Bigl \{\frac{\partial {\bar{m}}}{\partial t}\Bigr \}(r,k)\,\text {d} r\end{aligned}$$

in frequency domain changes to

$$\begin{aligned} {{\hat{u}}}(k)&=\eta \int _{\varOmega }{\mathscr {F}}\bigl \{ c\bigr \}(r,k)*{\mathscr {F}}\Bigl \{\frac{\partial {\bar{m}}}{\partial t}\Bigr \}(r,k) +{\mathscr {F}}\Bigl \{\frac{\partial c}{\partial t}\Bigr \}(r,k)*{\mathscr {F}}\bigl \{{\bar{m}}\bigr \}(r,k) \,\text {d} r\,, \end{aligned}$$
(10)
$$\begin{aligned}&=\eta \int _{\varOmega }{{\hat{c}}}(r,k)*{{\hat{S}}}_1(r,k)+\widehat{\frac{\partial c}{\partial t}}(r,k)*{{\hat{S}}}_2(r,k) \,\text {d} r\,, \qquad {{\hat{c}}},{{\hat{S}}}_2 \in H^1(\varOmega \times {\mathbb {R}}^+). \end{aligned}$$
(11)

The measurement in frequency space \({{\hat{u}}}:{\mathbb {R}}^+ \mapsto {\mathbb {C}}^{3}\) and the derivatives \(\widehat{\frac{\partial c}{\partial t}}:\varOmega \times {\mathbb {R}}^+\mapsto {\mathbb {C}}\), \({{\hat{S}}}_1:\varOmega \times {\mathbb {R}}^+\mapsto {\mathbb {C}}^{3}\) are \(L^2\)-functions because \({{\hat{c}}}\,,{{\hat{S}}}_2 \in H^1(\varOmega \times {\mathbb {R}}^+)\). The convolution is only applied to the frequency components.

Discretization Using the same pixel-basis \(\{\phi _i\}_{i=1, \dots ,R} \subset L^2\) for discretization as in Sect. 2.1 yields the following representation of a piecewise constant dynamic concentration

$$\begin{aligned} {{\tilde{c}}}(r,t)&=\sum _{i=1}^R c_i(t) \phi _i(r) \qquad \in X_R \end{aligned}$$

and analogously for the derivative \(\frac{\partial c}{\partial t}\) and system functions \(S_1\) and \(S_2\). Together with the time sampling points \(\{t_j\}_{j=1,\dots ,n_T}\) from Sect. 2.1, we get the discretized dynamic forward problem

$$\begin{aligned} u(t_j)&=\eta \sum _{i=1}^R S_{1,i}(t_j)c_i(t_j)+S_{2,i}(t_j)\Bigl (\frac{\partial c}{\partial t}\Bigr )_i(t_j), \quad j=1,\dots ,n_T\,. \end{aligned}$$
(12)

For measurements with \(F\ge 1\) cycles the time sampling for the measurement and concentration changes to \(\{\tau _j\}_{j=1,\dots ,Fn_T}\) with \(\tau _j=(j-1)FT_c/(Fn_T-1)\) while the system functions are evaluated at \(t_{j\text { mod }n_T}\). Eq.(12) is no longer a matrix-vector multiplication as in (5) but a sum of element-wise matrix multiplications

$$\begin{aligned} {\mathbf {u}}&=\eta \bigl [{\mathbf {S}}_1\odot {\mathbf {c}}+ {\mathbf {S}}_2\odot {\mathbf {D}}_c\bigr ]\cdot {\mathbf {1}}_R \end{aligned}$$

with \({\mathbf {u}}\in {\mathbb {R}}^{n_T},\; {\mathbf {c}}, {\mathbf {D}}_c\in {\mathbb {R}}^{n_T \times R},\;{\mathbf {S}}_1,\mathbf{S }_2\in {\mathbb {R}}^{n_T \times R},\;{\mathbf {1}}_R=[1,\dots ,1]^{\top }\in {\mathbb {N}}^{R}\) and \(\odot \) being an element-wise matrix multiplication, e.g. \({\mathbf {A}}\odot {\mathbf {B}}=[a_{ij}b_{ij}]_{i=1,\dots ,n}^{j=1,\dots ,m}\), with matrices \({\mathbf {A}},{\mathbf {B}} \in {\mathbb {R}}^{n\times m}\).

In frequency space the same approach yields the following discrete forward problem

$$\begin{aligned} \hat{{\mathbf {u}}}&=\eta \bigl [\hat{ {\mathbf {S}}}_1*\hat{ {\mathbf {c}}}+ \hat{ {\mathbf {S}}}_2*\hat{ {\mathbf {D}}}_c\bigr ]\cdot {\mathbf {1}}_R \end{aligned}$$

with \(\hat{{\mathbf {u}}}\in {\mathbb {C}}^{n_K}, \hat{{\mathbf {c}}}, \hat{{\mathbf {D}}}_c\in {\mathbb {C}}^{n_K \times R},\hat{ \mathbf { S}}_1,\hat{ {\mathbf {S}}}_2 \in {\mathbb {C}}^{n_K \times R},{\mathbf {1}}_R=[1,\dots ,1]^{\top }\in {\mathbb {N}}^{R}\). Again the convolution is only applied to the frequency components, i.e. the respective matrix columns. Note that a frequency domain reconstruction computes \({{\hat{c}}}\). To see the behavior of the concentration in time, the inverse Fourier transform needs to be applied. Reconstruction becomes a deconvolution problem in frequency space. A typical solution approach for this ill-posed inverse problem is to make use of the convolution theorem of the Fourier transform which in this case results in time domain reconstruction.

The dynamic model (8) is also mentioned in [8] but followed by strong restrictions of the dynamics such that there are no further consequences in the reconstruction process. In contrast, the models proposed in this section are valid for a broad range of dynamics, e.g. rapid changes or non-periodic behavior. The tracer distribution is required to be differentiable in time and integrable in space.

4 Relevance of the Dynamic Model

As mentioned in Sect. 2.1, the concentration is usually assumed to be constant. The time derivative of the concentration would therefore be nearly zero and the second summand of the extended model (9) would thus be small such that it can be neglected.

We investigate the structure of \(S_2\) in comparison to \(S_1\) and consider a set of simulated dynamic concentrations to survey whether neglecting the second term in the new model may be justified. Before looking at example reconstructions to compare reconstructions with the old and extended model in Sect. 5, we are looking at the influence of the new summand in the dynamic model.

Table 1 Physical parameters used for the simulations

For the simulation, the system functions with \(19\times 19\times 1\) voxels and 1632 sampling points in time are modeled according to the Langevin model using the parameters listed in Table 1.

Langevin model In the Langevin model the particles are assumed to be in thermal equilibrium and the applied magnetic fields to be static. The mean magnetic moment at spatial position r and time point t is given by

$$\begin{aligned} {\bar{m}}(r,t)&={\mathscr {L}}_{\alpha ,\beta }(\Vert H(r,t)\Vert _2)\frac{H(r,t)}{\Vert H(r,t)\Vert _2}, \qquad {{\bar{m}}}\in H^1(\varOmega \times {\mathbb {R}}^+),\,{\mathscr {L}}_{\alpha ,\beta }\in H^1({\mathbb {R}}), \end{aligned}$$

with \({\mathscr {L}}_{\alpha ,\beta }:{\mathbb {R}}\mapsto {\mathbb {R}}\) being the Langevin function

$$\begin{aligned} {\mathscr {L}}_{\alpha ,\beta }(z)&={\left\{ \begin{array}{ll} \alpha \coth (\alpha \beta z)-\frac{1}{\beta z}, &{}\text {if } z \ne 0\\ 0, &{}\text {if } z=0 \end{array}\right. } \end{aligned}$$

with \(\alpha ,\beta \in {\mathbb {R}}\) being particle dependent parameters.

Equation (11) shows a sum of two convolutions. In a first step, we are interested in the shape of the convolution kernels. Therefore, we compute

$$\begin{aligned} \max _{r \in \varOmega }\{|{\hat{S}}_l(r,k)|\}, \qquad l\in \{1,2\} \end{aligned}$$

which are shown in Fig. 2 together with an approximation of their convex hulls. The approximation of the convex hull was calculated by determining and connecting the maximum values within the next 15 frequency steps to include all peaks of the function. Both matrices exhibit a similar structure. The peaks have the same distances (\(\approx 15\) frequency steps) and the convex hull (orange line) has a similar shape. The full-width-at-half-maximum (FWHM) of the convex hull is the same (\(\approx 33\) frequency steps) while the maximum of the second system matrix \({{\hat{S}}}_2\) is \(10^4\) smaller than the maximum of the first system matrix \({{\hat{S}}}_1\). Thus, on a first view, the assumption that the second term \(S_2\) in the dynamic model is negligible might be reasonable.

Fig. 2
figure 2

Comparing the influence of the two system matrices by analyzing the maximum over all voxels of the absolute values of the matrices in Fourier space. The orange line is an approximation of the convex hull

In a second step, we looked at four types of dynamic concentrations during one cycle for a single voxel. The plots in Fig. 3 show the concentration over the scan time, its time derivative and the respective Fourier transforms for each example concentration.

Example concentration 1 is depicted in Fig. 3a which shows one peak at the beginning of the scan. The tracer is flowing through the voxel for a short period of time. This could be a small tracer bolus moving fast through the volume of the voxel. In the second example, shown in Fig. 3b, the concentration increases strongly in the beginning, remains constant for a short period of time and decreases again. The tracer flows through the voxel for a longer period of time. Example 2 represents a larger bolus moving fast through the voxel. Example 3, shown in Fig. 3c, shows a slow increase and decrease of the concentration. This represents a slowly moving small bolus. Example 4 is a periodic version of the first example. Fig. 3d shows two peaks within the scan time. The tracer flows two times through the voxel with a high velocity. This represents a small bolus with fast periodic motion.

Looking at the Fourier transformations shows that the maximal absolute values of the Fourier transformed concentrations \({{\hat{c}}}\) are about \(10^4\) smaller than the maximal absolute values of the Fourier transformed time derivatives \(\frac{{\widehat{dc}}}{dt}\) for all 4 examples. This demonstrates that for these dynamic concentrations the magnitude of the two summands of the new dynamic model is the same.

The imaging process in Fourier space is a convolution of the Fourier transformed system matrices with the Fourier transformed concentration and its time derivative. Thus, the concentration is smoothed by the system matrix. The kernels \(S_1\) and \(S_2\) have the same width meaning that the concentration and its derivative are smoothed equally.

Fig. 3
figure 3figure 3

Example concentrations and their time derivatives in time and frequency domain. The dynamics appear within one scanning cycle

To further examine these effects, we split up the discrete forward model such that the signal

$$\begin{aligned} {{\hat{u}}}(k_j)&=\eta \sum _{i=1}^R \underbrace{{{\hat{S}}}_1(r_i,k_j)*{{\hat{c}}}(r_i,k_j)}_{=a(i,j)}+ \eta \sum _{i=1}^R \underbrace{{{\hat{S}}}_2(r_i,k_j)*\widehat{\frac{\partial c}{\partial t}}(r_i,k_j)}_{=b(i,j)}\\&=\eta \underbrace{\sum _{i=1}^R a(i,j)}_A+ \eta \underbrace{\sum _{i=1}^R b(i,j)}_B, \qquad j=1,\dots ,n_K, \end{aligned}$$

is now the sum of A and B, where A denotes the signal component generated by the first system matrix \(S_1\) and B the signal component generated by the second system matrix \(S_2\). The convolution of the frequency components of system matrix 1 and the tracer distribution is named a and the convolution of system matrix 2 with the derivative of the concentration is named b.

Fig. 4
figure 4

Absolute values of the convolution of the system matrices with the concentration and its derivative. Each curve shows the frequency amplitudes for one of the \(19^2\) voxels

Using the dynamic example concentration 3 shown in Figs. 3c, 4 shows a and b for each voxel. As expected, one can see that the shape and the maximum values of both terms are similar. Both plots show maximum values of about \(1.2\cdot 10^{-4}\). Fig. 5 shows the plots of A and B for the frequencies \(k\in [0.08,1.25]\)MHz. Again, both terms have the same order of magnitude. For A the frequencies with high amplitudes have a small variance while for B high amplitudes can be observed in the whole frequency range. This shows that even for this example with slower dynamics the second component of the forward model has a significant impact on the signal. While the second summand in Eq.(9) is negligible for static concentrations, for dynamic concentrations it should not be neglected in general. A practical threshold on the velocity or other characteristics remain to be studied.

Fig. 5
figure 5

Comparison of the two summands of the dynamic forward model \({{\hat{u}}}(k_j)=\eta (A+B)\). A frequency selection with \(k\in [0.08,1.25]\)MHz is shown

5 Comparing Reconstructions with the Dynamic and Static Model

The challenge in solving the dynamic inverse problem (12) is the high number of degrees of freedom. We therefore use a minimalist setup with a grid of \(3\times 3\times 1\) voxels. We use two computational phantoms to simulate an MPI measurement with the dynamic model and reconstruct it with the dynamic and the static model. They are named one-peak phantom and three-peak phantom and their spatial setup can be seen in Fig. 6.

Fig. 6
figure 6

Spatial setup of the One- and three-peak phantom. They consist of \(3\times 3 \times 1\) voxels indexed from 1 to 9

5.1 Parameterized Concentration Curve

To reduce the degrees of freedom and computational cost, the tracer concentration of the one-peak phantom is described by parametric curves

$$\begin{aligned} c(r_i,t)&=\sum _m b_{m,r_i}\psi _m(t)={\mathbf {c}}(\lambda _B(r_i),t) \qquad \in L^2({\mathbb {R}}^3)\times C^2({\mathbb {R}}) \end{aligned}$$

for \(i=1,\dots ,R\), with parameter set \(\lambda _B=[b_{m,r_i}]_{i=1,\dots ,R}^{m=1,\dots ,M}\), \(M\in {\mathbb {N}}\) and basis functions \(\psi _m\) which are cubic B-splines. This means that for each voxel \(r_i\) there is a set of coefficients \(b_m\) which together with the spline basis form a continuous concentration curve in time. Consequently, we assume that the concentration is twice differentiable with respect to t which is a stronger condition than previously assumed in the dynamic model.

Table 2 Reconstruction parameters

Cubic B-spline curves are well suited to model the dynamics of the magnetic tracer. In [12], the authors deal with the reconstruction of spatiotemporal tracer distributions in Single Photon Emission Computed Tomography (SPECT). Cubic B-spline curves are used to describe and reconstruct the dynamic distribution of the radioactive tracer from gated cardiac SPECT sequences. We generate three variants of the one-peak phantom 1F, 2F and 4F. For one-peak phantom 1F the coefficients for all \(R=9\) voxels except \(r_5\) are zero. The concentration is non-zero within the scan time of one frame. Figure 7a shows the development of the tracer distribution for the total scan time where each curve describes the concentration within one voxel. The plot shows a peak at \(t=0.4128\)ms with a concentration of 2.67 for voxel \(r_5\). Versions 2F and 4F differ only in the width of the concentration peak. The concentration peak for \(r_5\) lasts for the scan time of 2 frames in version 2F and 4 frames in version 4F (see Fig. 7b). The three variants can be related to boluses with different velocities. The bolus in version 1F is twice as fast as in 2F and four times faster than in version 4F. Measurements with 4 frames which are each sampled at 408 time points and the dynamic forward model with \(S_1 = \frac{\partial {{\bar{m}}}}{\partial t}\) and \(S_2={{\bar{m}}}\) are simulated according to (12). The parameters used for the simulations are listed in Tables 1 and 2. There is no transition time in between the frames.

Fig. 7
figure 7

The three versions of the one-peak phantom differ only in the width of the concentration peak of voxel \(r_5\), while the remaining voxels have a constant tracer concentration of zero

Fig. 8
figure 8

Measurements of the dynamic one-peak phantoms 1F, 2F and 4F are simulated with the dynamic forward model (12). They are reconstructed with either both \(S_1\) and \(S_2\) (left) or only \(S_1\) (right). All plots show averages of x- and y-channel reconstructions. The dashed lines outline the true concentration in voxel \(r_5\) and the vertical grid lines mark the start and end of frames

We reconstruct the concentrations by minimization with respect to the parameter set \(\lambda _B\) so that we get continuous concentration curves. The solution set is restricted to parametric spline curves in \(L^2({\mathbb {R}}^3)\times C^2({\mathbb {R}})\) which is an implicit regularization. The curves are reconstructed with two different settings. In the first experiment both matrices are used for reconstruction which corresponds to minimizing

$$\begin{aligned} \min _{\lambda _B}&\biggl \Vert \Bigl [\sum _{i=1}^R S_1(r_i,t_j){\mathbf {c}}(\lambda _B(r_i),t_j)+S_2(r_i,t_j)\frac{\partial {\mathbf {c}}}{\partial t}(\lambda _B(r_i),t_j)\Bigr ]_{j=1,\dots ,n_T}- {\mathbf {u}} \biggr \Vert _2^2 \end{aligned}$$

with \({\mathbf {u}}\in {\mathbb {R}}^{n_T}\). The problem is minimized with 200 iterations of a conjugate gradient algorithm and no further regularization. Figure 8a shows the average of reconstructions of the x- and y-channel of one-peak phantom 1F. The peak for voxel \(r_5\) is located at \(t=0.4448\)ms with a concentration of 2.96 which is very close to ground truth. In the same period of time also the concentration of the remaining voxels is non-zero. The peaks of the voxels with even indices have concentration values of about 0.9 and the peaks of the voxels with odd indices have even smaller values of about 0.4. Even if these voxels have a non-zero concentration, it is significantly lower than the value of \(r_5\), so that we can expect sufficient contrast in the reconstructed images. The values for the off-diagonal voxels (voxels with even indices, cf. Figure 6) show higher concentration values than the ones on the diagonal. The x-channel reconstruction locates the concentration correctly in x and the y-channel reconstruction locates the concentration correctly in y. Thus, the off-diagonal voxels are masked by the high concentration in the central voxel.

In the next experiment the same measurement is reconstructed only with \(S_1\) which corresponds to minimizing

$$\begin{aligned} \min _{\lambda _B}&\biggl \Vert \Bigl [\sum _{i=1}^R S_1(r_i,t_j){\mathbf {c}}(\lambda _B(r_i),t_j)\Bigr ]_{j=1,\dots ,n_T}- {\mathbf {u}} \biggr \Vert _2^2 \end{aligned}$$

with \({\mathbf {u}}\in {\mathbb {R}}^{n_T}\). The problem is again minimized with 200 iterations of a conjugate gradient algorithm and no further regularization. The result for the average of x- and y-channel reconstructions is shown in Fig. 8b. The reconstruction shows a peak for voxel \(r_5\) at \(t=0.3808\)ms which is close to the ground truth but with a significantly smaller concentration of 0.85. Again there are concentration peaks for all remaining voxels with values of about 0.4. This means that the reconstructed images will show reduced contrast. And the true concentration is underestimated.

Fig. 9
figure 9

Reconstructions of the one-peak phantom 1F at the time point of the concentration peak \(t=0.4128\)ms

To get a more intuitive impression of the impact of the discussed curves on the reconstruction quality, Fig. 9 shows a frame of the phantom and the two reconstructed time-series at the time point of the maximum concentration (\(t=0.4128\)ms). Looking at the image of the first experiment in Fig. 9b one can observe a good contrast and slightly higher concentration values for the off-diagonal voxels. As discussed above, the image from the second experiment shown in Fig. 9c exhibits poor contrast and significantly lower concentration values compared to the phantom.

Fig. 10
figure 10

Reconstructions of one-peak phantom 4F at the time point of the concentration peak \(t=1.304\)ms

Version 2F and 4F of the one-peak phantom are reconstructed analogously to version 1F. While also for version 2F reconstructed with both matrices the concentration peaks show the correct location and \(83\%\) of the true amplitude (see Fig. 8c), the peak in the reconstruction using only \(S_1\) is less than \(50\%\) of ground truth (see Fig. 8d). The reconstructions for version 4F with and without \(S_2\) are shown in Fig. 8e and 8f. The location is correct for both reconstruction methods and the amplitude of the peak for \(r_5\) reaches \(87\%\) of the ground truth for reconstruction with both matrices and \(73\%\) for using only \(S_1\). Also the concentrations for the remaining voxels are sufficiently low in both cases. Looking at a frame of one-peak phantom 4F and the two reconstructed time-series at the time point of the maximum concentration (\(t=1.304\)ms) in Fig. 10, one can see that the contrast in the reconstruction without \(S_2\) (see. Figure 10c) is improved compared to version 1F and almost comparable to the reconstruction using \(S_1\) and \(S_2\) (see. Fig. 10b).

Fig. 11
figure 11

Simplified bolus moving through a voxel with constant velocity v

In order to get an impression on the strength of the dynamics in one-peak phantom 4F, we relate these values to a \(2\times 2\times 2\hbox { mm}^3\) bolus with constant concentration \(c_{max}\) moved through a \(2\times 2 \times 2\hbox { mm}^3\) voxel with a constant velocity v (see Fig. 11). The one-peak phantom has a maximum concentration of \(c_{max}=2.667\) and a maximum time derivative of \({\dot{c}}_{max}=3065\). The average change rate yields a bolus velocity of \(v_{av}=2\cdot 10^{-3}/(2\cdot T_c)=1.53\hbox { m/s}\) and the maximum change rate results in a velocity of \(v_{max}=2\cdot 10^{-3}/(c_{max}/{\dot{c}}_{max})=2.3\hbox { m/s}\). Thus, we state \(v_{dyn}=1.53\hbox { m/s}\) as a preliminary threshold velocity. For reconstructions with an average flow \(v>v_{dyn}\) the dynamic model will improve the reconstruction quality in comparison to the static model.

5.2 Frame-by-Frame Reconstruction

Another way to investigate the impact of the new model is to reconstruct a dynamic measurement frame-by-frame with the assumption of a static concentration within each frame. Therefore we use the three-peak phantom.

As the one-peak phantom, the tracer concentration of the three-peak phantom is described by parametric curves \(c(r_i,t)=\sum _m b_{m,r_i}\psi _m(t)={\mathbf {c}}(\lambda _B(r_i),t)\) with parameter set \(\lambda _B\) and basis functions \(\psi _m\) which are cubic B-splines meaning that for each voxel \(r_i\) there is a set of coefficients \(b_m\) which together with the spline basis form a continuous concentration curve in time.

For the three-peak phantom only the coefficients for the voxels \(r_4\), \(r_5\) and \(r_6\) are non-zero. The tracer distribution during the total scan time is shown in Fig. 12a where each curve describes the concentration within one voxel. There is a concentration peak of 6.67 for voxel \(r_4\), \(r_5\) and \(r_6\). The peaks are shifted in time, such that this dynamic can be seen as an object or tracer bolus that moves from voxel \(r_4\) to voxel \(r_6\) considering the location of the voxels in Fig. 6. The peaks are located in the scan time of frame 3, 4 and 5 and have a temporal width of about 4 frames. The concentration of the remaining voxels is zero.

A measurement with \(F=10\) frames which are each sampled at 408 time points and the dynamic matrix model (12) with \(S_1\) and \(S_2\) is simulated. The parameters used for the simulation can be found in Tables 1 and 2.

The dynamic tracer distribution is reconstructed with two different settings. The first one uses information about the tracer dynamics from the reconstructions of previous frames and the second one reconstructs each frame independently. In fact the reconstructions are piecewise constant functions over time. For better comparison the results depicted in Fig. 12 show linear interpolations of the static reconstructions of 10 frames.

In the first experiment both matrices are used for reconstruction of each frame while the time derivative \(\frac{\partial {\mathbf {c}}}{\partial t}=\frac{{\mathbf {c}}^f-{\mathbf {c}}^{f-1}}{\varDelta t}\) is the divided difference of the concentration vector of the current and the preceding frame. This corresponds to minimizing

$$\begin{aligned} \min _{{\mathbf {c}}^f}\Bigl \Vert \Bigl ({\mathbf {S}}_1 {\mathbf {c}}^f+{\mathbf {S}}_2 \frac{{\mathbf {c}}^f-{\mathbf {c}}^{f-1}}{\varDelta t}\Bigr )-{\mathbf {u}}^f\Bigr \Vert _2^2, \qquad f=1,\dots ,F \end{aligned}$$

with \({\mathbf {u}}^f\in {\mathbb {R}}^{n_T}\), \({\mathbf {c}}^f\in {\mathbb {R}}^{R}\), \({\mathbf {S}}_1, {\mathbf {S}}_2\in {\mathbb {R}}^{n_T \times R}\). Figure 12b shows the average of x- and y-channel reconstructions which were reconstructed in time domain with 100 iterations of a gradient descent algorithm and no further regularization. It can be seen that the peaks are correctly located in frame 3, 4 and 5. The amplitude of the peaks is slightly lower than the ground truth and decreasing, 5.41 for \(r_4\), 4.96 for \(r_5\) and 4.82 for \(r_6\). There is a non-zero concentration for the remaining voxels in the first 5 frames of less than 0.5. So the reconstructed images will exhibit sufficient contrast.

In the next experiment the same measurement is reconstructed using only \(S_1\), i.e. minimizing

$$\begin{aligned} \min _{{\mathbf {c}}^f}\bigl \Vert {\mathbf {S}}_1 {\mathbf {c}}^f-{\mathbf {u}}^f\bigr \Vert _2^2, \qquad f=1,\dots ,F \end{aligned}$$

with \({\mathbf {u}}^f\in {\mathbb {R}}^{n_T}\), \({\mathbf {c}}^f\in {\mathbb {R}}^{R}\), \({\mathbf {S}}_1\in {\mathbb {R}}^{n_T \times R}\) in time domain with 100 iterations of a gradient descent algorithm and no further regularization. The result is shown in Fig. 12c. Again the peaks are located correctly in frame 3, 4 and 5. The amplitudes 5.47 for \(r_4\), 5.07 for \(r_5\) and 5.49 for \(r_6\) are also slightly lower than in the phantom and differ less than in the first experiment. The remaining voxels show non-zero concentrations up to 1.2 being more than twice as high as for the first experiment.

Fig. 12
figure 12

A measurement of the dynamic three-peak phantom is simulated with the dynamic forward model (12). Each frame is reconstructed separately assuming a static tracer distribution within each frame. The frames are reconstructed with the dynamic and the static model

6 Discussion and Conclusion

We introduced a new extended forward model for dynamic magnetic particle imaging. It was shown that the standard forward model does not account for dynamic tracer distributions which is corrected by the extended model presented in this paper.

One of the main differences is that the dynamic model contains a second summand with a second system matrix. For different kinds of dynamic concentrations the two summands have been examined. The order of magnitude of the summands is the same for the chosen dynamic examples. This emphasizes the importance of the new model for dynamic tracer distributions.

Furthermore, we simulated measurements from dynamic concentrations with the extended model and reconstructed them with both the dynamic and the static model. In the experiments in Sect. 5.1 three simple phantoms with different change rates are examined. For one-peak 4F, the phantom with the lowest change rates, the static approach using only one system matrix provided an acceptable reconstruction quality. For the phantoms with higher change rates, one-peak phantom 2F and 1F, the static approach resulted in reconstructions with low contrast and significantly lower amplitudes than ground truth while the dynamic approach performed well on all three phantoms. While a quantitative study of this is beyond the scope of this article, we can state that for higher change rates than in one-peak phantom 4F the dynamic model should be considered for reconstruction.

The presented dynamic model is more general than existing approaches for dynamic concentration reconstruction as it is not limited to periodic motion and can be applied to motions with high velocities. While in this paper the equilibrium model is used, the dynamic model allows to incorporate more advanced magnetization models which could improve the reconstruction quality in the future. The reconstruction approach with parametric concentration curves features an implicit dynamic regularization. Additional spatial or temporal regularization, like sparsity in time and space, can be included easily. Moreover, the model allows for joint reconstructions of the particle concentration and its time-derivative which might be of special interest for blood-flow diagnostics.

It remains future research to develop new reconstruction techniques for dynamic tracer distributions based on this model and extend it to multi-patch imaging sequences for larger volumes. Furthermore, the methods need to be evaluated for simulations with phantoms of realistic size and physical phantom measurements. Practice-oriented scenarios might require improved minimization schemes for reconstruction. The dynamic model might also be combined with measurement-based reconstruction. While using a calibration scan for \(S_1\), the second system matrix can be modeled and corrected with the transfer function. Alternatively, \(S_2\) might be learned from its measured time-derivative \(S_1\). In addition to our preliminary statement, a quantitative study of phantoms with different velocities is required for a more precise proposition about when the dynamic model is necessary based on the level of dynamics and the desired reconstruction quality. A further theoretical research direction is the analysis of features like the ill-posedness of the dynamic reconstruction problem.