1 Introduction

Diffusion tensor imaging (DTI), as a modality of magnetic resonance imaging (MRI), can noninvasively quantify the self-diffusion of water in vivo to obtain the structural information of human tissue for further studies, such as human white matter fiber tracking (Basser et al., 1994; [9, 10], registration [1, 11] and brain atlas construction (Hervé et al., 2011; [19, 23]. The matrix-valued data obtained by DTI, namely tensor field, is very important in the field of scientific visualization and image processing (Weickert et al., 2005). The concept of a tensor is a common physical description of anisotropic behavior, especially in solid mechanics and civil engineering, generally used in the measurement of stress, strain, inertia, permeability, and diffusion. A tensor can be defined as a \(3\times 3\) symmetric positive definite matrix [5], which can be expressed as an ellipsoid. The tensor’s orientation and size are respectively represented by its eigenvectors and eigenvalue. These diffusion tensors can be used to express the fiber architectural characteristics of anisotropic fibrous tissues and organs in vivo, and they contain directional information, diffusion anisotropy, and diffusion coefficient magnitude of the microstructure information, which has important value for clinical medical analysis. However, due to the technical limitations of image acquisition, the resolution of DTI data is relatively low, such as the sparse and discontinuous myocardial part of the heart, which is misleading for clinical analysis. In addition, tensor interpolation is required to obtain information between voxels in some applications, all that makes DTI interpolation an important step in DTI processing. Diffusion tensor interpolation is a process in which tensors of known sampling voxels are used to generate tensors of unknown voxels, and then, high-resolution images are generated from low-resolution images [28].

Classical methods of DTI interpolation were completed by converting tensor information into scalar data in Euclidean space. Kindlmann et al. [12] decomposed the original diffusion-weighted images (DWI) into six channels of DWI scalar images, each corresponding to a pair of gradient encoding directions used during scanning acquisition, and then, values at each sampling point in the volume from these scalar images are interpolated linearly. Zhukov et al. (29) proposed reconstructing continuous tensor fields by using trilinear piecewise interpolation. Wang et al. [25] suggested a novel constrained variational principle for simultaneous smoothing and estimation of the diffusion tensor field. In the field of medical image registration, scalar interpolation methods based on the Euclidean framework have been widely used in clinical [16, 21], but it cannot guarantee the positive definiteness and invariance of tensor [13,14,15,16].

In order to overcome this problem, the concepts of affine invariant metric, logarithmic Euclidean metric, and Riemannian symmetric space metric have been introduced into a tensor field in literature [17, 18, 23], Fletcher et al., 2007; [4]. The tensor space is a manifold, which is not a vector space with the usual additive operator. Pennec et al. [17] studied partial differential equations (PDE) in the framework of affine invariants and firstly introduced the affine invariant Riemannian metric on the tensor space and treated the diffusion tensor space as a Riemannian manifold. Fletcher et al. (2007) demonstrated that the space of diffusion tensors is more naturally described as a Riemannian symmetric space, rather than a linear space, and developed a natural method for three-dimensional interpolation of diffusion tensor images based on the space formulation in this framework. Besides, the Riemannian symmetric geometry of tensors maybe allow to define an anisotropy property called geodesic anisotropy. This framework is based on geodesic interpolation and rotation interpolation proposed by Batchelor et al. [4]. In order to reduce the computational cost of the algorithm, Arsigny et al. [2] proposed a tensor interpolation method based on the logarithmic Euclidean (Log-E) metric. However, the Log-E interpolation method based on the Riemannian framework always generates a fixed determinant profile, which is not adapted to various diffusion modes in biological tissue. Therefore, Son et al. (2012) proposed a profile control method based on the non-uniform motion on a Riemannian geodesic. This method can use an arbitrary monotone profile such as linear profile, Riemannian profile, and sinusoidal profile instead of the fixed profile so that the final interpolation results can be changed with the characteristics of the diffusion model of biological tissue.

Although these interpolation methods can guarantee the monotonic variation of tensor determinant to avoid the expansion effect, the monotonicity of tensor properties is neglected. Yang et al. [27] introduced a feature-based interpolation framework for the tensor fields. In this framework, a diffusion tensor has two features in terms of its size and orientation. Through interpolating the Euler angles [6] or quaternion [20] relevant to tensor orientation and logarithmically transformed eigenvalues, the tensor can be reconstructed from the interpolated tensor orientations and eigenvalues. This method not only preserves the symmetric positive definiteness of the tensor and the monotonic determinant variation, but also maintains the monotonicity of fractional anisotropy (FA) and mean diffusivity (MD) values. These methods achieve the goal of keeping some properties of the tensor invariable, but they ignore the anisotropy of the tensor. In order to solve this problem, Collard et al. [7] suggested a spectral quaternion (SQ) interpolation method based on quaternion, defining Hilbert anisotropic (HA) value and replacing linear quaternion interpolation weight with the weight relative to HA. The SQ method well maintains the anisotropy of interpolated tensors and improves computational efficiency. However, this method interpolates diffusion tensors by converting diffusion tensor eigenvectors into scalar quaternion data, which is not suitable for high-dimensional manifold space interpolation.

In this paper, taking into account the internal relation between tensor components, we propose a novel spectrum-sine-based interpolation framework for the diffusion tensor fields. In our, SS interpolating framework, the interpolated tensor is also represented by its eigenvalues and eigenvectors. Compared with the means about Euler angles or quaternion mentioned above [7, 27], this method does not need to convert eigenvectors into Euler angles or quaternions, but deals directly with DTI eigenvectors. Experimental results on synthetic and real human brain DTI data, both demonstrated that the SS interpolation scheme can not only maintain the advantages of Log-Euclidean and Riemannian interpolation such as preserving symmetric positive definiteness and the monotonic determinant variation, but can also preserve the anisotropy property as SQ method while saving more computational cost.

The rest of this paper is organized as follows. Section 2 introduces our interpolation framework, from two tensors interpolation, four tensors interpolation to multidimensional interpolation, together with a brief invariant property deduction during the SS interpolation. In Sect. 3, the evaluation indexes for DTI interpolation are briefly described. Section 4 gives comparison on experimental results with Log-E and SQ methods on both synthetic and real DTI data. Section 5 illustrates the results of our framework in different applications, such as filtering and regularization, followed by discussion and conclusion respectively in Sects. 6 and 7.

2 Methods

A diffusion tensor has two main features, including size and orientation. The tensor’s size and orientation can be represented respectively by its three eigenvalues and eigenvectors. Suppose there are two positive tensors \({S}_{1}\) and \({S}_{2}\) at point \(t=0\) and \(t=1\), then we try to interpolate the tensor \(S\left(t\right)\) at point \(t\left(0<t<1\right)\). Decompose \({S}_{1},{S}_{2}\) as \({S}_{1}={U}_{1}{\Lambda }_{1}{U}_{1}^{T}\),\({S}_{2}={U}_{2}{\Lambda }_{2}{U}_{2}^{T}\), where \({\Lambda }_{i}=diag\left({\lambda }_{i1},{\lambda }_{i2},{\lambda }_{i3}\right)\) with \({\lambda }_{{i}1}\ge {\lambda }_{i2}\ge {\lambda }_{i3}>0\), \({U}_{1},{U}_{2}\) are the orthogonal eigenvector matrices of \({S}_{1},{S}_{2}\), \(\left(i=1,2\right)\). For size feature interpolation, since the Log-E method gives a good solution, here we also choose their method [2]. Therefore, the interpolated eigenvalues of \(S\left(t\right)\) can be written as

$$\left\{\begin{array}{c}{\lambda }_{i1}^{^{\prime}}=exp\left(tlog{\lambda }_{11}+\left(1-t\right)log{\lambda }_{21}\right)\\ {\lambda }_{i2}^{^{\prime}}=exp\left(tlog{\lambda }_{12}+\left(1-t\right)log{\lambda }_{22}\right)\\ {\lambda }_{i3}^{^{\prime}}=exp\left(tlog{\lambda }_{13}+\left(1-t\right)log{\lambda }_{23}\right)\end{array}\right.$$
(1)

For tensor’s orientation feature interpolation, i.e., eigenvectors interpolation, we propose a new framework named with spectrum-sine, which will be described in the following subsections.

2.1 Interpolation of two tensors

For a one-dimensional case, suppose \({v}_{1},{v}_{2}\) are the corresponding unit eigenvectors of tensors \({S}_{1},{S}_{2}\), and the included angle of \({v}_{1},{v}_{2}\) is \(\theta\). Note the corresponding interpolated eigenvectors of \(S\left(t\right)\) as \(v\left(t\right)\) since \({v}_{1},{v}_{2}\) are both unit vectors and \(v\left(t\right)\) is also a unit vector. According to Fig. 1,

Fig. 1
figure 1

The figure of geometrical relationship between V_{1} and V_{2} vectors (Please check if figure captions are presented/captured correctly.)

$$v\left(t\right)=\overrightarrow{OM}=\overrightarrow{OP}+\overrightarrow{PM}$$
(2)

Owing to the sine theorem, namely

$$\frac{1}{sin\left(\pi -\theta \right)}=\frac{b}{sin\left(t\theta \right)}=\frac{a}{sin\left(\left(1-t\right)\theta \right)}$$
(3)

Then, \(v\left({t}\right)\) is given as

$$v\left(t\right)=\frac{sin\left(\left(1-t\right)\theta \right)}{sin\theta }{v}_{1}+\frac{sin\left(t\theta \right)}{sin\theta }{v}_{2}$$
(4)

Extending the idea in Eq. (4) to DTI eigenvector matrices interpolation, suppose the eigenvector matrices \({U}_{1},{U}_{2}\) can be decomposed of \({U}_{i}=\left({v}_{i,1},{v}_{i,2},{v}_{i,3}\right),i={1,2}\), whose columns are unit eigenvectors. According to Eq. (1), the interpolated eigenvalue matrix can be computed as

$$\Lambda \left(t\right)=exp\left(\left(1-t\right)log{\Lambda }_{1}+tlog{\Lambda }_{2}\right)$$
(5)

We also denote the interpolated eigenvectors matrix as

$$U\left(t\right)=\left({\nu }_{1}\left(t\right),{\nu }_{2}\left(t\right),{\nu }_{3}\left(t\right)\right)$$
(6)

where \({\nu }_{1}\left(t\right),{\nu }_{2}\left(t\right),{\nu }_{3}\left(t\right)\) are the eigenvectors of the diffusion tensor to be interpolated. Using the same idea as in Eq. (4), we have,

$$\left\{\begin{array}{c}{v}_{1}\left(t\right)=\frac{sin\left(1-t\right){\theta }_{1}}{sin{\theta }_{1}}{v}_{{1,1}}+\frac{sint{\theta }_{1}}{sin{\theta }_{1}}{v}_{{2,1}}\\ {v}_{2}\left(t\right)=\frac{sin\left(1-t\right){\theta }_{2}}{sin{\theta }_{2}}{v}_{{1,2}}+\frac{sint{\theta }_{2}}{sin{\theta }_{2}}{v}_{{2,2}}\\ {v}_{3}\left(t\right)=\frac{sin\left(1-t\right){\theta }_{3}}{sin{\theta }_{3}}{v}_{{1,3}}+\frac{sint{\theta }_{3}}{sin{\theta }_{3}}{v}_{{2,3}}\end{array}\right.$$
(7)

where \({\theta }_{i}=arccos\left({v}_{1,i},{v}_{2,i}\right),i={1,2},3\) are the included angles of corresponding eigenvectors of \({S}_{1}\) and \({S}_{2}\). Equally, the interpolated orthogonal matrix \(U\left({t}\right)\) can be also summarized as,

$$\begin{array}{c}U\left(t\right)=({v}_{1}\left(t\right),{v}_{2}\left(t\right),{v}_{3}\left(t\right))\\ =(\frac{{sin}(1-{t}){\theta }_{1})}{{sin}{\theta }_{1}}{v}_{{1,1}}+\frac{{sint}{\theta }_{1}}{{sin}{\theta }_{1}}{v}_{{2,1}}\frac{{sin}(1-{t}){\theta }_{2})}{{sin}{\theta }_{2}}{v}_{{1,2}}+\frac{{sint}{\theta }_{2}}{{sin}{\theta }_{2}}{v}_{{2,2}},\frac{{sin}\left(1-{t}\right){\theta }_{3}}{{sin}{\theta }_{3}}{v}_{{1,3} }+\frac{{sint}{\theta }_{3}}{{sin}{\theta }_{3}}{v}_{{2,3}})\\ \begin{array}{c}=\left({v}_{{1,1}},{v}_{{1,2}},{v}_{{1,3}}\right)\left(\begin{array}{cc}\frac{{sin}\left(1-t\right){\theta }_{1}}{{sin}{\theta }_{1}}& 0\\ \begin{array}{c}0\\ 0\end{array}& \begin{array}{c}\frac{{sin}\left(1-t\right){\theta }_{2}}{{sin}{\theta }_{2}}\\ 0\end{array}\end{array} \begin{array}{c}0\\ 0\\ \frac{{sin}\left(1-t\right){\theta }_{3}}{{sin}{\theta }_{3}}\end{array}\right)\\ ={U}_{1}diag(\frac{{sin}\left(1-t\right){\theta }_{1}}{{sin}{\theta }_{1}},\frac{{sin}\left(1-t\right){\theta }_{2}}{{sin}{\theta }_{2}},\frac{{sin}\left(1-t\right){\theta }_{3}}{{sin}{\theta }_{3}})+{U}_{1}diag(\frac{{sin}t{\theta }_{1}}{{sin}{\theta }_{1}},\frac{{sin}t{\theta }_{2}}{{sin}{\theta }_{2}},\frac{{sin}t{\theta }_{3}}{{sin}{\theta }_{3}})\end{array}+\left({v}_{{2,1}},{v}_{{2,2}},{v}_{{3,3}}\right)\left(\begin{array}{cc}\frac{{sin}t{\theta }_{1}}{{sin}{\theta }_{1}}& 0\\ \begin{array}{c}0\\ 0\end{array}& \begin{array}{c}\frac{{sin}t{\theta }_{2}}{{sin}{\theta }_{2}}\\ 0\end{array}\end{array} \begin{array}{c}0\\ 0\\ \frac{{sin}t{\theta }_{3}}{{sin}{\theta }_{3}}\end{array}\right)\end{array}$$
(8)

In the implementation, Schmidt orthogonalization strategy is required for interpolation correction, and the final interpolated diffusion tensor can be composed as \(S\left({t}\right)={U}\left({t}\right)\Lambda \left({t}\right){U}{\left({t}\right)}^{{T}}\).

2.2 Interpolation of four tensors

In order to generalize one-dimensional interpolation to the two-dimension case, here we present the proposed interpolation strategy on four tensors. Given four positive tensors \({S}_{1}\), \({S}_{2}\), \({S}_{3}\), and \({S}_{4}\), the interpolated eigenvalue matrix of \(S\left(t\right)\) can be computed similarly as

$$\Lambda \left(t\right)=exp\left(\sum_{i=1}^{4}{t}_{i}log{\Lambda }_{i}\right)$$
(9)

For eigenvector matrix part interpolation, we still denote the interpolated eigenvector matrix of \(S\left(t\right)\) as \(U\left(t\right)=\left({\nu }_{1}\left(t\right),{\nu }_{2}\left(t\right),{\nu }_{3}\left(t\right)\right)\). What differs from two tensor interpolation cases, there exist several included angles between the four corresponding eigenvectors. Considering the eigenvectors of the interpolated tensor should be covered by the eigenvectors of \({S}_{1}\), \({S}_{2}\), \({S}_{3}\), and \({S}_{4}\), therefore, we define the interpolated eigenvectors as,

$$\left\{\begin{array}{c}{v}_{1}\left(t\right)=\sum\limits_{i=1}^{4}\frac{sin{t}_{i}{\theta }_{1}}{sin{\theta }_{1}}{v}_{i,1}\\ {v}_{2}\left(t\right)=\sum\limits_{i=1}^{4}\frac{sin{t}_{i}{\theta }_{2}}{sin{\theta }_{2}}{v}_{i,2}\\ {v}_{3}\left(t\right)=\sum\limits_{i=1}^{4}\frac{sin{t}_{i}{\theta }_{3}}{sin{\theta }_{3}}{v}_{i,3}\end{array}\right.$$
(10)

where \({\theta }_{i}=\underset{m,n={1,2},{3,4}}{max}\left\{arccos\left({v}_{{m},i},{v}_{{n},i}\right)\right\},\left(i=1,2,3\right)\), \({v}_{{m},i}\) are the \({i}^{th}\) eigenvector of diffusion tensor \({S}_{m}\) and \({t}_{i}\) are the corresponding weights associated with the four diffusion tensors. Therefore, the interpolated eigenvector matrix \(U\left({t}\right)\) can be summarized as,

$$U\left(t\right)=\left({\nu }_{1}\left(t\right),{\nu }_{2}\left(t\right),{\nu }_{3}\left(t\right)\right)=\sum_{i=1}^{4}{U}_{i}diags\left(\frac{sin{t}_{i}{\theta }_{1}}{sin{\theta }_{1}},\frac{sin{t}_{i}{\theta }_{2}}{sin{\theta }_{2}},\frac{sin{t}_{i}{\theta }_{3}}{sin{\theta }_{3}}\right)$$
(11)

Finally, the tensor to be interpolated can be composed as \(S\left({t}\right)={U}\left({t}\right)\Lambda \left({t}\right){U}{\left({t}\right)}^{{T}}\).

2.3 Multidimensional interpolation and DTI mean

Based on the definition of four tensors interpolation, it is easy to define SS interpolation in the multidimensional case. Suppose \({S}_{1},{S}_{2},\dots ,{S}_{N}\) is a set of diffusion tensors, which can be decomposed as \({S}_{i}={U}_{i}{\Lambda }_{i}{{U}_{i}}^{T},\left(i=1,2,\dots ,N\right)\), where \({\Lambda }_{i}=diag\left({\lambda }_{i1},{\lambda }_{i2},{\lambda }_{i3}\right)\) and \({U}_{i}=\left({v}_{i,1},{v}_{i,2},{v}_{i,3}\right)\). Interpolating the eigenvalue and eigenvector matrices separately, we have the interpolated eigenvalue matrix.

\(\Lambda \left(t\right)=exp\left(\sum\limits_{i=1}^{N}{t}_{i}log{\Lambda }_{i}\right)\), the eigenvector matrix \(U\left(t\right)=\sum\limits_{i=1}^{N}{U}_{i}diag\left(\frac{sin{t}_{i}{\theta }_{1}}{sin{\theta }_{1}},\frac{sin{t}_{i}{\theta }_{2}}{sin{\theta }_{2}},\frac{sin{t}_{i}{\theta }_{3}}{sin{\theta }_{3}}\right)\) with \({\theta }_{i}=\underset{m,n={1,2},\dots ,N}{max}\left\{arccos\left({v}_{{m},i},{v}_{{n},i}\right)\right\},\left(i=1,2,3\right)\), and the final multidimensional interpolated tensor \(S\left({t}\right)={U}\left({t}\right)\Lambda \left({t}\right){U}{\left({t}\right)}^{{T}}\).

Interestingly, the question about multidimensional interpolation is very similar to DTI mean in essence. As described above, the question about multidimensional interpolation is to seek a reasonable tensor based on its neighbor tensors, while the question of DTI mean is to compute a common representative tensor from a group of tensors at the same point. In other words, the interpolating weights in multidimensional interpolation are designed according to the distance from local neighbor tensors, and the weights used in computing DTI mean are estimated by minimizing the target function that measures the distance from the mean tensor to the others. Now we present the solution on DTI mean question based on the proposed SS interpolation framework.

The Fréchet mean is well known in application; for DTI mean, this definition is described as,

$${S}_{\text{mean}}\left({S}_{1},{S}_{2},\dots ,{S}_{N}\right)=\underset{S}{argmin}\sum_{i=1}^{N}{w}_{i}{\text{dist}}^{2}\left(S,{S}_{i}\right)$$
(12)

where the distance measure \({\text{dist}}\left(\cdot ,\cdot \right)\) gives the distance between two tensors, \({w}_{i}\) are the weights, and the optimized solution is the DTI mean tensor \({S}_{\text{mean}}\). In the affine invariant framework, the computation of the DTI mean needs a large number of use of matrix exponential, logarithm, inverse, and square root operations [17], which makes DTI processing very complex. Since the tensor space of logarithmic Euclidean metric has actually the same form as the corresponding Euclidean transformation space of the symmetric matrix, the Log-Euclidean Fréchet mean is generalized as (Moakher M, 14),

$${S}_{\text{LEmean}}\left({S}_{1},{S}_{2},\dots ,{S}_{N}\right)=exp\left(\sum_{i=1}^{N}{w}_{i}log\left({S}_{i}\right)\right)$$
(13)

The Log-Euclidean method provides a much simpler strategy for the mean tensor calculation.

The solution for DTI mean question using the proposed SS interpolation framework is consistent with that of the SQ method, in which the mean tensor is defined with two different components: mean eigenvalue and mean orientation. Given \(N\) positive weights \({\omega }_{1},\dots ,{\omega }_{N}\) that satisfy \(\sum_{i=1}^{N}{\omega }_{i}=1\), and the weighted mean of \(N\) tensors \({S}_{1},\dots ,{S}_{N}\) is defined by \({S}_{\text{mean}}={U}_{\text{mean}}{\Lambda }_{\text{mean}}{U}_{{\text{mea}}{\text{n}}}^{T}\), where the different components \({U}_{\text{mean}}\) and \({\Lambda }_{\text{mean}}\) are defined as follows. As shown in Eqs. (9, 11), here the weighted mean eigenvalue matrix is defined as,

$${\Lambda }_{\text{mean}}=exp\left(\sum_{i=1}^{N}{\omega }_{i}log{\Lambda }_{i}\right)$$
(14)

and the mean eigenvector matrix can be computed according to the equation

$${U}_{\text{mean}}=\sum_{i=1}^{N}{U}_{i}diag\left(\frac{sin{\omega }_{i}{\theta }_{1}}{sin{\theta }_{1}},\frac{sin{\omega }_{i}{\theta }_{2}}{sin{\theta }_{2}},\frac{sin{\omega }_{i}{\theta }_{3}}{sin{\theta }_{3}}\right)$$
(15)

This is different from that of the SQ method. For mean orientation estimation, the SQ method consists in selecting the tensor with the largest mean of Hilbert anisotropy as the reference quaternion firstly, then realign the quaternion, and finally get the mean quaternion. Here the SS method performs a direct orientation interpolation, without choosing any reference tensor; therefore, the estimated DTI orientation matrix depends on all the original tensors, with no dependence on any special reference tensors.

2.4 Invariant properties of SS

Invariant properties are important for DTI processing, as reported in Collard et al. [7],the SQ interpolation formula is shaped invariant by scaling, congruence, and even general linear group. According to SS interpolation formulas (5, 8), for scaling invariant property, if \(\alpha >0\),

$$\begin{array}{c}S\left(t;\alpha {S}_{1};\alpha {S}_{2}\right)\\ =Uexp\left(\left(1-t\right)log\left(\alpha {S}_{1}\right)+tlog\left(\alpha {S}_{2}\right)\right){U}^{T}\\ =Uexp\left(log\alpha +\left(1-t\right)log{S}_{1}+tlog{S}_{2}\right){U}^{T}\\ =\alpha Uexp\left(\left(1-t\right)log{S}_{1}+tlog{S}_{2}\right){U}^{T}\\ =\alpha S\left(t;{S}_{1};{S}_{2}\right)\end{array}$$
(16)

This shows that the SS interpolate satisfies the shape invariant property. Compared to shape invariant property, orientation invariant property is more attractive. Denote \(SO\left(3\right)\) as the special orthogonal group of rotation matrices with determent equal to 1, \(\forall M\in SO\left(3\right)\),

$$S\left(t;{MS}_{1}{M}^{T};{MS}_{2}{M}^{T}\right)=S\left(t;{MU}_{1}{\Lambda }_{1}{\left({MU}_{1}\right)}^{2}\right)\triangleq U{^{\prime}}\left(t\right)\Lambda \left(t\right)U{^{\prime}}{\left(t\right)}^{T}$$
(17)

where

$$\begin{array}{c}{U}^{{^{\prime}}}\left({t}\right)={MU}_{1}diag(\frac{{sin}\left(1-t\right){\theta }_{1}}{{sin}{\theta }_{1}},\frac{{sin}\left(1-t\right){\theta }_{2}}{{sin}{\theta }_{2}},\frac{{sin}\left(1-t\right){\theta }_{3}}{{sin}{\theta }_{3}})+{MU}_{2}diag(\frac{{sin}{t\theta }_{1}}{{sin}{\theta }_{1}}, \frac{{sin}{t\theta }_{2}}{{sin}{\theta }_{2}}, \frac{{sin}{t\theta }_{3}}{{sin}{\theta }_{3}})\\ {M(U}_{1}diag(\frac{{sin}\left(1-t\right){\theta }_{1}}{{sin}{\theta }_{1}},\frac{{sin}\left(1-t\right){\theta }_{2}}{{sin}{\theta }_{2}},\frac{{sin}\left(1-t\right){\theta }_{3}}{{sin}{\theta }_{3}})+{U}_{2}diag(\frac{{sin}{t\theta }_{1}}{{sin}{\theta }_{1}}, \frac{{sin}{t\theta }_{2}}{{sin}{\theta }_{2}}, \frac{{sin}{t\theta }_{3}}{{sin}{\theta }_{3}}))\\ =MU(t)\end{array}$$
(18)

Therefore,

$$S\left(t;{MS}_{1}{M}^{T};{MS}_{2}{M}^{T}\right)=MU\left({t}\right)\Lambda \left({t}\right)U{\left({t}\right)}^{{T}}{M}^{T}=MS\left({t};{S}_{1};{S}_{2}\right){M}^{T}$$
(19)

What shows the SS interpolate formula satisfies the orientation invariant property under elementary rotation transformation. Similarly, we can deduce the scaling and rotation invariant formula,

$$S\left(t;\alpha M{{S}}_{1}{M}^{T};\alpha {MS}_{2}{M}^{T}\right)=\alpha MS\left({t},{{S}}_{1},{{S}}_{2}\right){M}^{T}$$
(20)

3 Evaluation measures of DTI interpolation strategy

In this section, we introduce a range of measurements, which can be used to evaluate different DTI interpolation methods. A diffusion tensor can be classified by its size, shape, and orientation. We evaluate different interpolation methods on the basis of their sensitivity to the changes in these properties. For an interpolation method, the general evaluation properties are mainly divided into the following two categories: (1) DTI scalar indices evaluation and (2) DTI orientation angular difference.

3.1 DTI scalar indices evaluation

The easiest way to get the difference between two diffusion tensors \({S}_{1}\) and \({S}_{2}\) is to compare the absolute difference of their scalar indices (Peeters 15). These indices reduce the 6D information in a tensor to a scalar value. Several kinds of commonly used measures, including mean diffusivity (MD), fractional anisotropy (FA), relative anisotropy (RA) [3], geodesic anisotropy (GA) [8], and Hilbert anisotropy (HA) [7] are introduced in Table 1. These measures are defined by the eigenvalues and they are rotation invariant.

Table 1 Scalar indices for diffusion tensors

3.2 DTI orientation evaluation

The scalar indices mentioned above are related to tensor shape and size, and the orientation information of diffusion tensor is related to tensor’s eigenvectors, which is important to fiber tractography. For tensor orientation evaluation, we employ the included angle of two tensors’ corresponding eigenvectors [24].

$$IA=arccos\left({v}_{i1}\cdot {v}_{i2}\right),i={1,2},3.$$
(21)

where \({v}_{i1},{v}_{i2}\) are the principal eigenvectors of different tensors \({S}_{1}\) and \({S}_{2}\). A smaller \(IA\) value means a better orientation overlap. In practice, since the principal eigenvectors determine the direction of fiber tractography which is important in the application, therefore we compute the \(IA\) measure of the principal eigenvectors only.

4 Experiments

In this paper, simulated diffusion tensor data and real DTI data are used to verify the proposed SS interpolation method, which is compared with the SQ and the Log-E interpolation methods. In order to fully consider the interpolated tensors, the synthetic data constructed in this experiment include anisotropic and isotropic tensors of different sizes. Therefore, the merits and demerits of these three interpolation methods are investigated comprehensively and systematically.

4.1 Synthetic tensor data experiments

Firstly, the interpolation experiments of three different methods are carried out using the synthetic tensor data for the interpolation of two tensors. In order to fully observe the variation of tensor to be interpolated, the synthetic data in this experiment have the same shape in different orientations. Firstly, the orientation is determined according to the pre-defined rotation matrix \(R\) of a tensor with different angles \(\alpha\), and then, the size of this tensor is determined by selecting different eigenvalues. Let \(S\left({t}\right)\) denote a series of tensors, in which \(S\left(0\right)={S}_{1}\), \(S\left(1\right)={S}_{2}\), and the other tensors in \(S\left({t}\right)\) are interpolated equally between 0 and 1 with step \(\Delta t=0.125\). The orientation of \({S}_{1}\) and \({S}_{2}\) is determined according to the defined rotation matrix \(R=\left(\begin{array}{ccc}cos\alpha & -sin\alpha & 0\\ sin\alpha & cos\alpha & 0\\ 0& 0& 1\end{array}\right)\) with different angles \({\alpha }_{1}=2\pi /360\), \({\alpha }_{2}=2\pi \times 63/360\), and the shape changes are controlled by the size of eigenvalues \({\Lambda }_{1}=diag\left(10,1,1\right)\), \({\Lambda }_{2}=diag\left(40,4,1\right)\).

Figure 2 shows the interpolation results of the SQ, Log-E, and SS methods between two tensors. Figure a, b, and c present the interpolated tensors of SQ, Log-E, and SS methods, and Figure d computes the evaluation indices of tensor size, shape, and orientation. According to the change of color and shape of the ellipsoid in Fig. 2, it can be seen that the interpolated tensors corresponding to \(t=0.625:1\) of the Log-E method tend to be isotropic, and the change on tensor’s orientation of Log-E interpolation is too abrupt, while the SQ and SS interpolation methods both present a gradual interpolation process. In Figure d, from left to right, the horizontal axis represents the parameter \(t\) and the longitudinal axis represents the determinant (Det), fractional anisotropic (FA), Hilbert anisotropic (HA), and the principal eigenvectors included angle (IA) respectively. From Fig. 2, we can see that for tensor determinant variation curves, the determinant curves of the three interpolation methods overlap, which shows that the determinant changes of these three methods are coincident, showing a monotone increasing trend. From the second and third figure of (d), for the variation of FA and HA, only the SQ and SS methods are monotonic. The Log-E method has a minimum value in the second figure of (d), this indicates that the Log-E method collapses for FA and HA values at some interpolated tensor, where the tensor is more like isotropic while the anisotropy is restrained.

Fig. 2
figure 2

Interpolation results of two tensors. Panels a, b, and c are the interpolation results of SQ, Log-E, and SS methods respectively. Panel d, from left to right, the determent index, FA and HA indices, and the IA index of the principal eigenvectors between S_1 and interpolated tensors

For tensor orientation evaluation in the last figure of Fig. 2d, the difference between SQ, Log-E, and SS is obvious, while the difference between SQ and SS is hard to observe. In fact, there is a small difference between SQ and SS methods. In order to show this difference clearly, we compute the differentiation of the IA curve in Fig. 2d, which is presented in Fig. 3a. In the Log-E interpolation method, the tensor’s orientation changes greatly from the first tensor to the last tensor, and both the SQ and SS methods display the tensor’s orientation changes gradually. To be precise, the tensor’s orientation of the SS method changes equally according to the circle arc while the orientation of the SQ method changes equally according to the circle chord, which leads to the IA index changes equally for SS, symmetrically for SQ. The precise quantitative values of mark points in Fig. 2d are presented in Fig. 3b, a small difference exists between SQ and SS.

Fig. 3
figure 3

Detailed tensor orientation changes comparison corresponding IA index in Fig. 2d. a Differentiation of IA corresponding with three different methods; b quantitative values of mark points in Fig. 2d

The second synthetic tensor data experiment is to verify the effectiveness of SS for four tensors’ interpolation. Using the same synthetic data generation strategy as in the above two tensors’ interpolation experiment, we define four tensors \({S}_{1}\), \({S}_{2}\), \({S}_{3}\), and \({S}_{4}\) with \({\alpha }_{1}=\frac{\pi }{3}\), \({\alpha }_{2}=\frac{\pi }{4}\), \({\alpha }_{3}=\frac{\pi }{2}\), \({\alpha }_{4}=0\), and \({\Lambda }_{1}=diag\left(1,0.95,0.9\right)\), \({\Lambda }_{2}={\Lambda }_{3}={\Lambda }_{4}=diag\left(2,0.25,0.1\right)\), which are placed at four corners of the rectangle region from the bottom left corner to the top left corner counterclockwise. As displayed in Fig. 4, \({S}_{1}\) is approximate to an isotropy tensor, \({S}_{2}\), \({S}_{3}\), and \({S}_{4}\) are linear shape anisotropy tensors with different orientations. The interpolation experiment is to estimate the tensors distributed on the uniform grid points within the rectangle region.

Fig. 4
figure 4

Interpolation results of four tensors. Topline: a interpolation results of SS method, b the principal eigenvectors direction map of a, c the HA contour map of a; middle line: d the interpolation results of SQ, e the principal eigenvectors direction map of d, f the HA contour map of d; bottom line: g the interpolation results of Log-E, h the corresponding principal eigenvectors direction map of g, i the HA contour map of g

Using the proposed SS framework on four tensors’ interpolation, the interpolation results are presented in Fig. 4. In the first column of Fig. 4, the top, middle, and bottom figures are the interpolation results of SS, SQ, and Log-E methods respectively. According to the shape and color changes of these ellipsoidal tensors shown in Fig. 4, the difference of interpolated tensors between SS, SQ, and Log-E method is obvious, while the interpolation performance between SS and SQ is hard to distinguish. In the second column of Fig. 4, the corresponding principal eigenvectors direction maps are displayed, and a large difference can be seen from the Log-E method, but only little difference between SS and SQ. The last column figures are the corresponding HA contour maps of SS, SQ, and Log-E. Both SS and SQ methods present a uniformly distributed contour map.

In order to further compare the difference between SS and SQ methods, we compute the weighted angles between each interpolated tensors and the four given tensors, which is defined as \(WA\left(i,j\right)=\sum\limits_{k=1}^{4}{\omega }_{ij}arccos\left({e}_{k}\cdot {e}_{ij}\right)\), where \({\omega }_{ij}\) is the weight at a grid point \(\left(i,j\right)\), \({e}_{ij}\) is the principal eigenvector of the interpolated tensor \(S\left(i,j\right)\), and \({e}_{k},k={1,2},{3,4}\) are the principal eigenvector of \({S}_{k}\). As expected, the weighted angle index of SS is a little smaller than that of SQ and Log-E at all the inner grid points, and the \(WA\) index is consistent with the result of two tensors’ interpolation at the border interpolated grid points. The final average \(WA\) indices for the three methods are \({WA}_{SS}=0.3595\), \({WA}_{SQ}=0.3851\), and \({WA}_{Log-E}=0.3989\). In order to observe the vision effect difference of both SS and SQ methods, we present the overlap principal eigenvectors direction map in the following Fig. 5. After calculating the angle between adjacent principal eigenvectors in one row, we find that the principal eigenvector direction of SS varies uniformly, while the principle direction of SQ changes a little bigger at the beginning and end points than the middle points.

Fig. 5
figure 5

The overlap of SS, SQ principal eigenvector directions. The solid line is the SS principal eigenvectors direction and the dotted line is the SQ principal eigenvectors’ direction

4.2 Real DTI data experiments

In order to further verify the interpolation performance of the proposed SS framework, we now perform SS on real DTI data by comparing it with SQ and Log-E methods. In this experiment, the brain DTI data was acquired from Shanghai Ninth People’s Hospital, and the matrix size is \(128\times 128\times 60\) with a \(2\times 2\times 2\) mm3 voxel size, and the b-value is 800 s mm−2, and the scanning series is EPI. To observe the interpolation performance clearly, only a \(41\times 41\) region of interest (ROI) focusing on the corpus callosum is chosen for interpolation methods validation, which is shown in Fig. 6a. In this experiment, the DTI data is firstly downsampled to \(21\times 21\) in Fig. 6b, and then, interpolating the downsampled tensor field to original resolution with SS, SQ, and Log-E methods.

Fig. 6
figure 6

Real brain DTI data experiment. a 41 × 41 corpus callosum ROI; b downsampling of a

In order to display the interpolation results clearly, this study selects two small regions in Fig. 6b with black and red rectangles, where the black rectangle region focuses on anisotropy tensors interpolation while the red rectangle focuses on relative isotropy tensors interpolation. The interpolation results focusing on the black rectangle region are displayed in Fig. 7. For comparison, the original tensor image together with the SS, SQ, and Log-E interpolated images around the black rectangle are displayed. As the tensors’ shape and orientation change slowly in real DTI data, the difference between three different methods is very small. To observe the black rectangle region carefully, it can be seen that the SS interpolation results show a better shape and orientation variation. For quantitative evaluation, the evaluation measures described in the previous section are computed in Fig. 7a–d respectively. The difference between SS, SQ, and Log-E methods and the original images are summarized in Table 2, and a small value means better interpolation performance. Since the eigenvalue interpolation strategy is the same in SS and SQ methods, the HA, FA, MD, and Det indices show the same performance, while the tensor’s orientation index IA shows some difference. The IA index of the SS method is the smallest, which indicates that the SS method has the best orientation preservation ability.

Fig. 7
figure 7

Interpolation results focusing on the black rectangle region. a Original tensor image; from b to d, the results of SS, SQ, and Log-E methods respectively

Table 2 Error analysis of three interpolation methods in the black rectangle region

The red rectangle region interpolation results are shown in Fig. 8. A very similar performance to the black rectangle region is completed by SS, SQ, and Log-E methods, which shows that the region with much anisotropy (black rectangle region) or much isotropy (red rectangle region) has no effect on all the three interpolation methods. Quantitative indices are compared similarly and summarized in Table 3. The IA index shows some decrease in the SS method with respect to SQ and Log-E, and the other indices show no difference.

Fig. 8
figure 8

Interpolation results focusing the on red rectangle region. a Original tensor image; from b to d, the results of SS, SQ, and Log-E methods respectively

Table 3 Error analysis of three interpolation methods in the red rectangle region

In addition, in order to observe the whole contour of the corpus callosum, according to the three methods interpolated results, we select a specific boundary area around the corpus callosum. The interpolated tensor fields of SS, SQ, and Log-E methods are presented in Fig. 9, the corresponding FA indexes are computed. From Fig. 9a to d, the boundaries of the three methods are preserved well. However, from the corresponding FA images, SS and SQ present a much better contour performance than Log-E.

Fig. 9
figure 9

The contour of corpus callosum comparison. Top row: from left to right, the original tensor fields, SS interpolated results, SQ and Log-E interpolated results; bottom row: corresponding FA images of the original image, SS, SQ, and Log-E interpolated images

5 DTI processing with SS interpolation

In this section, we further develop some DTI processing methods based on the proposed SS interpolation framework, together with the multidimensional interpolation strategy and DTI mean. Filtering and regularization are basic in DTI data processing; therefore, we present these two DTI processing algorithms in the following. To be pointed out, the proposed SS framework and the definition of DTI mean can be further used in many other applications, such as DTI registration and brain template construction.

5.1 Gaussian filtering of DTI

The concept of DTI weighted mean based on the SS interpolation framework provides novel ideas for DTI processing, and Gaussian filtering is one of the most widely used technique. Here, we apply the weighted mean of SS interpolation to Gaussian filtering, and experimental results are shown in Fig. 10. In this experiment, the size of the Gaussian filter is \(3\times 3\times 3\), and the Gaussian kernel parameter \(\sigma =0.5\). In Fig. 10, figure (a) is the original tensor data focusing on the brain corpus callosum, (b) is the noisy tensor display of (a), and (c) is the filtering result of (b). From the two black rectangle regions in figure (b), we can find that the shape and orientation of some tensors are askew, and the shape and orientation of tensors after filtering are improved significantly. At last, we give a brief algorithm steps for Gaussian filtering.

figure e
Fig. 10
figure 10

DTI Gaussian filtering experiment. a Original DTI brain data focusing corpus callosum; b noisy DTI data of image a; c Gaussian filtering result of image b

5.2 DTI regularization

In the process of DTI acquisition, due to the influence of noise or some other factors, the shape and orientation of some diffusion tensors are usually blurred, which makes it difficult to identify the detailed edges or small lesions. In order to alleviate the influence of noise on the diffusion tensor image and to effectively preserve the edge or lesion information, regularization of DTI data is required. Due to the difficulty of dealing with DTI orientation information, the traditional scalar image regularization technique does not work for DTI images. Here we present a new DTI regularization procedure based on the SS framework on multidimensional interpolation. A brief step is listed as follows:

figure f

The regularization result of the above algorithm on real DTI data is reported in Fig. 11. In Fig. 11, (a) is the corpus callosum ROI in the central slice of brain DTI data, (b) is the zoom-in view of the pink rectangle region in figure (a), and figure (c) is the corresponding regularization ROI to figure (b). It is clear after regularization, and the tensor’s shape and orientation are normalized. The profile of tensors in the pink band of figure (b) and (c) is drawn in figure (d), where the Det, FA, HA, and IA indices profile are compared with different colors. The profiles after regularization are almost coincident with the original DTI data.

Fig. 11
figure 11

Regularization results of a real brain DTI data. a Original tensor image of brain corpus callosum ROI; b zoom-in view of a in the pink rectangular; c regularization results of the corresponding region with b; d The Det, FA, HA, and IA curves corresponding to the tensors within the pink band in b and c

6 Discussion

This work proposed a new DTI interpolation framework named with spectrum-sine (SS) by connecting the spectrum of tensor to be interpolated with the spectrum of known tensors with some sine weights analytically. One-dimensional DTI interpolation strategy is built between two tensors in a geometric manner, in which the shape and orientation of interpolated tensors vary uniformly. As presented, a two-dimensional case is not a direct generalization of one-dimensional interpolation since the sum of four tensors is not twice of two. In a two-dimensional interpolation, the SS framework is further developed from the idea of geometric interpolation view. The orientation of the interpolated tensor should be included by the known four tensors. Based on this point, the two-dimensional interpolation strategy is successfully proposed. It should be pointed out, the try of twice of one-dimensional interpolation failed because the idea of bilinear is algebraic, not geometric in essence. For the multidimensional interpolation strategy, we can generalize the idea of the two-dimensional interpolation strategy. Another output accompanying the multidimensional interpolation method is the DTI mean definition under the SS framework. Thus far, the whole SS framework for DTI interpolation was proposed comprehensively.

The main merit of the SS interpolation framework is the tensor’s orientation preservation. Most of the current DTI processing techniques try to transfer the tensor’s high-dimensional information to one-dimensional scalar information; then, a lot of mature technique in scalar information processing can be used in DTI processing directly. In the DTI interpolation area, from element-wise linear interpolation to the Log-E framework, the tensor’s high-dimensional information is approximated better and better, and until the SQ framework based on representing the tensor’s orientation with quaternions ingeniously, the tensor’s anisotropy feature was well preserved. As the SS framework is concerned, this is the first try to interpolate the tensor’s orientation directly, and the good shape and rotation invariant property proposed in the SQ framework are all satisfied in SS. There is a small difference between SQ and SS framework, focusing on the orientation preservation; the interpolation of SQ is to make the changes vary uniformly along the chord direction while the SS framework is to lead the orientation changes to vary uniformly along the arc direction. This is further illustrated in Fig. 12, figure (a) is the demonstration of the SQ method, in which the length of each chord is equal, and figure (b) is for the SS method in which the length of each arc is equal. Therefore, the interpolated angles of SS are equal, and the angles of SQ are symmetric changing and near to equal.

Fig. 12
figure 12

Demonstration of SQ and SS interpolation model. a SQ changes uniformly along the chord. b SS changes uniformly along the arc

Experiments were carried on both synthetic and real DTI data. In synthetic DTI data, the interpolation experiments between two tensors in 1D and four tensors in 2D were compared in detail with SS, SQ, and Log-E methods. The results show that the SS and SQ methods perform well in the preservation of the tensor’s size, shape, anisotropy, and all scalar indices related to the eigenvalues. For the orientation of tensor, the interpolation results of two tensors and four tensors both show that the orientation variation obtained by the SS method is more homogeneous than SQ. In a real DTI data experiment, the three interpolation methods were further validated on brain images. No matter anisotropy and isotropy ROI, the interpolation performance of both SS and SQ is better than Log-E, and the difference between SS and SQ only lies in orientation variation. As the result of synthetic DTI data, the continuity of tensor’s orientation in SS is a little better than SQ. For multidimensional interpolation and DTI mean methods validation, we further developed Gaussian filtering and regularization applications for DTI. The experimental result of DTI Gaussian filtering based on the SS framework shows that the procedure is satisfied on both the tensor’s shape and orientation preservation. Regularization of DTI experimental results shows that the Det, FA, HA, and IA profile after regularization is coincident with the original DTI data, while the tensor’s shape and orientation feature at some bad points were improved significantly. In addition, the computing complexity of the SS method is lower than that of SQ since there is no representation calculation process of quaternions or Euler angles of the spectrum.

Finally, we want to discuss the disadvantages of the current SS framework. For convenience, the whole method related to the SS framework in this work was deduced on positive diffusion tensors since no singular tensor is concerned. In theory, all of the tensors from DTI should be positive; however, there are some cases in real numerical implementation related to tensors close to singular. This is not covered by the current SS framework, which will be further supplemented in our future study.

7 Conclusion

In conclusion, a new spectrum-sine interpolation framework for DTI processing is proposed in this work. The SS framework for DTI processing was developed for two tensors interpolation, four tensors’ interpolation, and multidimensional interpolation. Based on these interpolation methods, the idea of DTI mean was proposed using the multidimensional SS interpolation strategy. This is further developed for DTI Gaussian filtering and regularization. Experiments on synthetic and real brain DTI data both verify the effectiveness of the proposed DTI processing technique. In the near future, we will apply the proposed SS interpolation framework in DTI registration for a better registration accuracy, especially on the principal direction accuracy, which is also important for DTI fiber tracking.