Automatic Spatial Calibration of Ultra-Low-Field MRI for High-Accuracy Hybrid MEG–MRI

Automatic Spatial Calibration of Ultra-Low-Field MRI for High-Accuracy Hybrid MEG–MRI

Antti J. Mäkinen*, Koos C. J. Zevenhoven*, and Risto J. Ilmoniemi This project has received funding from the International Doctoral Programme in Biomedical Engineering and Medical Physics (iBioMEP), from the Finnish Cultural Foundation, from the Academy of Finland, and from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 686865.* A. J. Mäkinen and K. C. J. Zevenhoven contributed equally to this work.All authors are with the Department of Neuroscience and Biomedical Engineering Aalto University School of Science, address: P. O. Box 12200, FI-00076 AALTO, email: antti.makinen@aalto.fi, phone: +358445713188Copyright (c) 2019 IEEE. Personal use of this material is permitted. However, permission to use this material for any other purposes must be obtained from the IEEE by sending a request to pubs-permissions@ieee.org.
Abstract

With a hybrid MEG–MRI device that uses the same sensors for both modalities, the co-registration of MRI and MEG data can be replaced by an automatic calibration step. Based on the highly accurate signal model of ultra-low-field (ULF) MRI, we introduce a calibration method that eliminates the error sources of traditional co-registration. The signal model includes complex sensitivity profiles of the superconducting pickup coils. In ULF MRI, the profiles are independent of the sample and therefore well-defined. In the most basic form, the spatial information of the profiles, captured in parallel ULF-MR acquisitions, is used to find the exact coordinate transformation required. We assessed our calibration method by simulations assuming a helmet-shaped pickup-coil-array geometry. Using a carefully constructed objective function and sufficient approximations, even with low-SNR images, sub-voxel and sub-millimeter calibration accuracy was achieved. After the calibration, distortion-free MRI and high spatial accuracy for MEG source localization can be achieved. For an accurate sensor-array geometry, the co-registration and associated errors are eliminated, and the positional error can be reduced to a negligible level.

Calibration, co-registration, hybrid MEG–MRI, magnetoencephalography, sensitivity profile, spatial accuracy, ULF MRI

I Introduction

In magnetoencephalography (MEG), neuronal activity in the brain is estimated from magnetic field measurements with an array of sensors outside the head [1]. As the overall precision of MEG increases, accurate knowledge of the brain conductivity structure with respect to the magnetic field sensors becomes more and more important for modeling the neuronal fields at the sensors. Independent of this, accurate positional information of the brain anatomy is also essential when setting constraints for reconstructing the neuronal sources [2]. This information usually comes from magnetic resonance (MR) images of the subject’s head. Because the brain structure is imaged in a different device, the MR images and the MEG sensor array have to be aligned, or co-registered, with respect to each other.

Conventional co-registration procedures involve manual steps with several possible error sources [3, 4], complicating the MEG workflow and data analysis. Inaccuracies in the co-registration distort both the conductor model and the source model of the neuromagnetic problem, causing errors in the localization of brain activity. The total co-registration error can be up to 10 mm and, depending on assumptions in the source modeling, it can significantly deteriorate the inverse estimates [5]. Improving the co-registration accuracy in a systematic fashion [6, 7] has thus far involved external equipment, further complicating the workflow.

Fig. 1: Visualization of calculated sensitivity profiles in the array frame of reference and in MRI for three selected sensors. (a) Selected SQUID magnetometer pickup coils (red, green, and blue) in the helmet-shaped sensor array. Absolute values of sensitivity profiles of the three colored pickups are plotted with corresponding colors on the surface of a spherical phantom inside the array. (b) Illustration of the same slice from three single-coil MR images corresponding the colored pickups in Fig (a). The profiles can be observed in the phantom volume. Voxels with maximal intensity can be found at the boundary of the phantom closest the corresponding pickup coil.

With a hybrid MEG–MRI device [8], a co-registration-free workflow can be achieved, when both modalities are measured using the same sensor array. Instead of separately registering an MRI with the MEG array for each individual subject, the hybrid device can be calibrated so that the MRI is automatically reconstructed in the same coordinate system as the MEG. In this work, we introduce a calibration method that utilizes spatial information in the MR sensitivity profiles of the sensor array. The profiles depend on the sensor types and array geometry [9], information of which is encoded in the single-sensor MR reconstructions (Fig. 1). However, in conventional high-field MRI, the profiles are unstable and cannot be modeled accurately because of high-frequency and high-field effects [10]. Furthermore, sensors used in MEG are severely incompatible with such high fields.

Conveniently for hybrid MEG–MRI, these issues are absent in ultra-low-field MRI (ULF MRI), where the magnetic fields during the measurement are on the order of 10–100 T. At ultra-low fields, the sensitivity profiles can be modeled accurately because they are independent of the imaged sample. Consequently, the modeled profiles can be used in calibration and image reconstruction [9]. ULF MRI also does not suffer from high-field-related geometrical distortions including effects of radio or microwave frequencies, tissue susceptibility or chemical shifts, and it has been demonstrated to allow imaging in the presence of metals [11]. While the resolution is still lower than in high field, detailed information from high-field images can be accurately registered even with low-resolution data [12]. Moreover, an ULF MRI scanner can be designed to have an open geometry and to operate without any sound.

For the calibration, we assume that the sensor array geometry is itself calibrated accurately [13], which is also a prerequisite for spatially accurate MEG. After this calibration, the array geometry is defined in a frame of reference which we will call the array frame, and which also corresponds to the MEG coordinate system. However, the positions of the ULF-MRI volume elements, voxels, are conventionally determined only by the spatial encoding magnetic fields in the imaging sequence. Consequently, the image frame, typically a grid of voxels, is independent of the array frame. To accurately position the grid of voxels in the array frame, we need another calibration, which we call ULF-MRI calibration. As the sensor array and MRI coils have fixed positions, the calibration has to be done only once for a specific imaging sequence, assuming the electronics are also stable.

The ULF-MRI calibration could be carried out, e.g., by first locating a set of fiducial points in both the array and image frame and then point-wise registering the fiducials. This approach has been demonstrated in conjunction with interleaved MEG and ULF-MRI measurements in Ref. [14], with errors reported to be a few millimeters. Our method, however, is fundamentally different, since it utilizes a full ULF MRI signal model, including both gradient encoding and the sensitivity profiles. The method is aimed to be automatic and to enable image reconstruction into the array frame with sub-voxel and sub-millimeter spatial accuracy.

Ii Methods

In the following, we introduce a model to describe voxel values in single-coil MR images from an ULF-MRI array [9]. Later in this section, we apply the model to calibrate the mapping between the MRI voxel coordinates and points with coordinates in the array frame111Coordinate vectors (31 matrices) are in boldface to distinguish them from the more abstract Euclidean vectors in three-dimensional space, denoted by arrow symbols. In this notation, arrow vectors have and products, whereas boldfaced vectors are manipulated by linear algebraic matrix operations. Arrow vectors with unit length are denoted using hat symbols.. Finally, we describe the numerical simulations used to assess the accuracy of the calibration method.

Ii-a Signal Model

We use ULF-MRI-tailored Superconducting QUantum Interference Devices (SQUIDs) [15] to record both MEG and MRI. As the SQUID loops themselves are made small ( mm), they are coupled with the magnetic sources via larger superconducting pickup coils. The SQUID signal is thus proportional to the magnetic flux through its pickup coil. The rectangular magnetometer pickup coils used in the simulations of this work are shown in Fig. 1. The pickup coils are only around 2 cm in diameter, focusing the majority of the sensitivity in a relatively small volume. More details of the working principles, array design as well as modeling the signal can be found in [9].

For a time-varying nuclear magnetization in the imaged sample, the resulting flux through a pickup coil (from now on, indexed with ) of the sensor array can be modeled as

(1)

where is the sensor field, or the magnetization lead field of the pickup coil, and the macroscopic magnetization at position at time . The volume integral is taken over the imaged object. In ULF MRI, the magnetization is increased to a measurable level by applying an additional prepolarizing pulse before the imaging sequence [11]. The magnitude of the polarization field determines the initial magnetization profile, , and depending on the coil design, it can be rather inhomogeneous.

In the quasi-static limit, the sensor field can be expressed as a Biot–Savart integral

(2)

where is a path along the pickup coil wire. The fact that is the same as the magnetic field produced by a unit current in the pickup coil is an expression of the principle of reciprocity. Equation (2) is valid for ULF MRI, but at high fields and frequencies it becomes much more complicated as the electromagnetic properties of the object cause an altered field distribution inside the object [10].

During signal acquisition, according to the Bloch equation, precesses around the direction of the applied magnetic field at the Larmor frequency , creating an oscillating flux signal in the pickup coil at the same frequency. Here, is the gyromagnetic ratio. Identifying the plane perpendicular to the applied main field as the complex plane, we can describe the precessing motion using a complex representation of the transverse magnetization

(3)

where is the magnitude and is the initial phase of the magnetization, which depends on the choice of the real axis on the precession plane. Similarly to the magnetization, we can define a complex sensitivity profile [9] with magnitude . The phase of depends on the direction of in the precession plane. Using these complex quantities, the flux signal in Eq. (1) (above zero frequency) can be written as

(4)

Spatial information is encoded in the magnetization phase, which depends on the Larmor frequency as , where and corresponds to the fields generated by a set of gradient coils. Demodulating the acquired flux signal by multiplying with and applying a lowpass filter (LPF), we obtain a new complex-valued signal

(5)

where is the phase due to spatial-encoding gradients.

The image reconstruction is performed from a finite set of data points corresponding to the accrued phase at acquisition times , where the index covers all the acquisitions. Normally, the image is reconstructed as numerical values assigned to image voxels, whose positions in the three-dimensional voxel array can be identified with a triple-index . Furthermore, any point between the voxel positions can be represented by a coordinate vector taking values between different . On the other hand, positions in space can be determined using array-frame coordinates used for representing the geometry of the sensor array. Assuming the position vector has the same origin as our array coordinate system, these coordinates are projections of to the array coordinate axes . In addition, we define a one-to-one mapping such that

(6)

The mapping depends on how the array frame is located and oriented with respect to the spatial encoding fields.

For now, we assume direct Cartesian Fourier imaging, in which the phase is encoded across the acquisitions using uniform gradients of so that the inverse discrete Fourier transform (IDFT) can be used to reconstruct the image. This means that the encoded phase can be written as , where and corresponds to a normalized spatial frequency in a three-dimensional discrete Fourier transform (DFT).

Changing the notation to the coordinate representation defined above, the data points obtained from Eq. (5) are now given by

(7)

where we have changed variables and denote the Jacobian of by . Here, corresponds to a value sampled from the Fourier transform of a sensitivity-weighted image

(8)

Reconstructing the data in Eq. (7) with IDFT, we get the value of a voxel (from now on, indexed with ) centered at :

(9)

where we have changed the order of summation and integration and defined the voxel function or the spatial response function [16]

(10)

Here, the summation is over the spatial frequencies of the three-dimensional DFT. As can be shown, the SRF in this case is simply the periodic sinc function, also known as the Dirichlet kernel [17].

Ii-B Calibration

In the limit of low precession frequencies, the signal model can be made very accurate and stable so that a correctly reconstructed image contains no geometric distortions. However, to accurately know the origin, orientation and scaling of the image with respect to the array frame, we need calibration. Here, we present a calibration method that is based on the consistency between imaged data and the signal model in Eqs. (89).

Fig. 2: 2D representations of (left) the Dirichlet kernel and (right) the SRF when using the Hann window, illustrating the difference in the shapes of the SRFs. Red represents positive values and blue negative ones. The black lines indicate boundaries of the cubic voxels (pixels) corresponding to the sampling frequency. The dashed lines correspond to the half-maximum values.

The calibration task is to determine the mapping such that the signal equations for hold. For this, we use images of a phantom with ideally uniform magnetization strength . However, as the prepolarization field strength mentioned above is not uniform, this ideal situation cannot be achieved in practice. We will study the effect of inhomogeneous magnetization as a separate case.

If the energy of the SRF were concentrated close to the voxel position , it would be straightforward to make accurate approximations of the integral in Eq. (9). However, this is not the case with the Dirichlet kernel as can be seen in Fig. 2. To enable the approximations described below, we modify the SRF by applying a window function to the -space data. Using a Hann window , the modified SRF becomes

(11)

Fig. 2 illustrates how this operation attenuates the side lobes of the SRF, while only minimally widening the main lobe.

After this modification, the phase and the Jacobian can be approximated as being uniform within the main lobe of the SRF, which is now the effective voxel volume. Considering only the voxels whose main lobes are fully included in the phantom (interior voxels), also can be approximated uniform within each of these voxels. This allows the following approximation for the interior voxels

(12)

where is the initial voxel phase.

Equation (12) suggests that we should convolve the sensitivities with the SRF to be able to accurately model . As the sensitivities are spatially more rapidly varying, it is not obvious that they can be approximated uniform inside the voxel volume. However, it can be shown from Maxwell’s equations that the real and imaginary components of are harmonic, i.e., . From the mean-value property of harmonic functions [18], we find that convolving such a function with a spherically symmetric kernel does not affect the function values. As the main lobe of approximately has this symmetry, the convolution of can be evaluated as simply as , and the approximation for the voxel value becomes

(13)

To conclude, the interior voxel values correspond to the profiles apart from the factor and measurement noise. Note that the Jacobian is uniform unless the mapping is nonlinear. As we use only the interior voxels, the shape of the phantom does not play a role in the voxel signal model used for the calibration. In the simulations, we will use a spherical phantom, but in a real scenario, a phantom that covers the whole imaged volume would be a preferable choice.

To be able to search for the mapping that ensures the consistency of the signal model, we parametrize with a certain set of parameters , the choice of which is discussed below. The problem can now be formulated as an optimization task. To this end, we select a subset of voxels inside the phantom and denote their indices by . For each voxel, we form a voxel vector , where and is the number of pickup coils. In other words, each vector consists of the values of the voxel in single-coil images. By concatenating vectors , we can represent the selection of MR data as a single vector in

(14)

Similarly to the vector , we form a sensitivity vector

(15)

where the element of the subvector is .

Consistency of the spatial information in the sensitivity vector with the imaged data is found by solving the optimization problem

(16)

where an is an objective function, which should be insensitive to both and the voxel phase , and whose optimum should not be biased by noise in . Naturally, the choice of objective function is critical. In particular, it is important to utilize the spatial information in the phase of the sensitivity profiles while taking into account the fact that unknown factors may affect the voxel phase at the time of spatial calibration. Our previous calibration methods based on absolute-value images were able to reduce, but not fully remove the systematic bias resulting from the fact that taking the absolute value makes the noise in low-intensity voxels non-Gaussian [19]. While emphasizing the high-signal voxels in the objective function did significantly reduce the bias, the methods were suboptimal also in terms of random error (defined in Sec. II-E).

In Appendix, we show that the phase information is exploited and the above criteria for the objective function are satisfied by

(17)

where denotes the Euclidean vector norm and the conjugate transpose.

In practice, we employ the Broyden–Fletcher–Goldfarb–Shanno (BFGS) quasi-Newton algorithm from Python’s SciPy Stack for solving the nonlinear optimization problem in Eq. (16). To speed up the optimization, we have implemented a semi-analytical gradient function for and developed an interpolation scheme to avoid recalculating the profiles from scratch. Furthermore, as adjacent voxels are significantly correlated, we use only every other voxel in each dimension inside the phantom, decreasing the computation time by a factor of eight.

Fig. 3: Schematic illustration of an affine mapping from the image coordinates to array-frame coordinates . The image field of view on the right (gray box) maps to the volume indicated by the blue outline on the left. An example of a voxel is represented by the red cube. The axes indicate coordinate directions in each coordinate frame. The gray squares on the left represent the pickup coils of the sensor array.

Ii-C Mapping

For an accurately reconstructed ULF MRI, the mapping from voxel coordinates to Cartesian array-frame coordinates (Fig. 3) is given by an affine mapping

(18)

where the mapping is parametrized with containing the elements of and . The ideal mapping consists of translations, rotations, and scalings, which constitute nine degrees of freedom. The remaining three degrees of freedom account for shear, which should be zero unless the imaging gradients are non-orthogonal in terms of partial derivatives. In case there was any kind of affine distortion in the image, e.g., due to imperfections in the imaging sequence, this mapping would also adapt to that.

In incomplete image reconstructions, the images can suffer from distortions due to concomitant gradient fields or other field imperfections [20, 21]. Nevertheless, when the field imperfections are small compared to , one can model the distortions to second order with

(19)

where the coordinates with tilde correspond to the undistorted coordinate system, denotes an origin where there is no distortion, are symmetric coefficient matrices, and represents a unit vector along the voxel coordinate axis. In Ref. [22], it is shown that this formulation can account for small geometric distortions due to concomitant gradients in conventional Fourier imaging at high relative gradient strengths. In this case, the mapping from the MRI to the array-frame coordinates is

(20)

Here, we have the inverse of the quadratic distortion because the direction of the mapping is now from the distorted coordinate system to the undistorted. For this reason, the combined mapping is not purely quadratic.

However, a pure second-order correction is found using a general quadratic mapping

(21)

which can represent a second-order polynomial expansion of any coordinate transformation in . The parameters include now also the 18 independent quadratic coefficients in . After detecting (quadratic) distortions, one may want to identify and eliminate the cause of the distortion. Alternatively, the quadratic distortion can be removed by using a warped image accordingly.

Fig. 4: (a) Array-frame coordinate axes and fields of view of the MR images mapped to the array frame. The blue frame corresponds to the affine mapping and the red to the distorted mapping. The gray squares depict the magnetometer pickup coils. (b) Coordinate grid with the second-order distortion (red) and undistorted grid (blue) for comparison. The grid spacing is 16 mm, i.e., four times the voxel diameter.

We emphasize that for an accurately reconstructed ULF MRI, the mapping is always affine. The additional fitting of the quadratic distortion can therefore be used to evaluate the quality of the reconstruction or to correct errors in a naively reconstructed image where effects of concomitant gradients are present.

Ii-D Non-idealities and additional considerations

The calibration technique was designed to be independent of external parameters such as the reconstruction technique, and the required data should only be the channel-wise reconstructed MR images. In an actual imaging sequence, a possible non-ideality affecting the image quality can then also degrade the calibration, unless taken into account. However, as the overall aim is to maximize the image quality while solving also these issues, we have left modeling of their effects out of this work. For example, field distortions related to pulsing MRI coils can be reduced by coil design and Dynamical Coupling for Additional dimeNsions (DynaCAN) [23, 24], and the MRI electronics should have high precision in order not to affect the image quality [25].

Even if unknown, we have conveniently taken the possibly non-uniform phase into account in the design of the objective function. However, there are at least two complicating aspects modeled already in Eq. (13) but ignored in the construction of the objective function in the Appendix. These are (a) the inhomogeneity in the magnetization of the phantom due to inhomogeneous polarization field and (b) the uncertainty in the direction of the field with respect to the array frame.

To address (a), we can take an iterative approach. In the first calibration, we assumed a homogeneous polarization, and due to this approximation, some error may remain in the calibration parameters . However, reliable estimates for the sensitivity vectors are now available and the underlying magnetization profile can be estimated voxel-wise as [9]

(22)

Next, update the sensitivity model to , i.e., include the estimated magnetization inhomogeneity in the sensitivity profiles. Then, iterate the calibration by updating the magnetization estimate until converged. Results of this procedure are presented in the next section.

The other unknown factor (b) is the direction of . The profiles calculated in the array frame depend on the direction of , but as has no reference in this frame, its direction should also be calibrated together with the mapping parameters. For the sake of computation time and unambiguity of the results, we assumed this direction to be known in the noise simulations and tested optimizing it in separate cases.

Ii-E Error Analysis

To study the effects of image noise, approximations in the modeling, and the overall robustness of the calibration method, we used a series of numerical simulations. We generated 3D MR images for the 102 magnetometer pickups in a helmet-shaped array based on a standard MEG configuration from Elekta Oy (Helsinki, Finland). An affine mapping [Eq. (18)] was fixed between the voxel coordinates and the array frame so that the field of view (FOV) of the MR image matched the extent of the sensor array. To assess the detection of geometric distortion, we constructed another mapping with a quadratic geometric distortion [Eq. (20)] corresponding to a gradient-field variation of over half of the FOV, which roughly matches the maximum relative gradient strengths used in Ref. [8]. Fields of view corresponding to both mappings as well as a depiction of the second-order distortion are shown in Fig. 4.

The MR images were simulated using Eq. (7), where the sensitivity profiles were calculated based on the Biot–Savart integral, using the exact analytical formula from the Appendix of [9] and a given direction of . was uniform inside a sphere with radius 85 mm, which fits well inside the sensor helmet, leaving a 25-mm distance to the closest sensor positions. The phase was chosen to be uniform in the simulation, although in a realistic scenario, there may be slight deviations from that. The image was sampled from a field of view of 192192192 mm and the voxel size was 444 mm. The continuous SRF convolution in Eq. (9) was calculated as a multiplication in the space. We first mimicked the continuous Fourier transform in Eq. (7) by oversampling the FOV by a factor of eight and using a special memory-efficient version of the Fast Fourier Transform (FFT) [26] to calculate only the required samples in the center of the space. We then added white Gaussian noise to the samples, after which we applied the 3D Hann window to the data.

Effects of noise were studied by simply running the calibration algorithm several times, each time with a different realization of the noise. Statistics were calculated over 50 calibration runs for different signal-to-noise ratios (SNR) defined as

(23)

where is a noiseless image vector consisting of voxels inside the phantom, is the number of voxels, is the number of pickup coils (i.e., is the dimension of ), and is the variance of the noise in each voxel.

We analyzed the quality of the calibration by determining the systematic calibration error (SCE) and the random calibration error (RCE), which can be thought of as a 3D generalization of the mean and standard deviation of the errors, respectively, as explained in the following. The positional error vector in the calibration run was defined as

(24)

where is the true mapping and the mapping obtained from the calibration run. Using this definition, the systematic calibration error was estimated as

(25)

and the random calibration error as

(26)

Here, the overbar denotes the arithmetic mean.

In addition to the simulations described above, we ran some tests to study the effect of inhomogeneous magnetization. We added a magnetization profile proportional to a polarization field strength fitted to corresponding fluxgate magnetometer measurements inside the sensor helmet. The fitted field strength had an inhomogeneity of around 60% over the spherical phantom.

Iii Results

We examined the calibration results for SNR values ranging from 0.5 to infinity (zero noise). In all cases, the optimization algorithm converged in the vicinity of the correct optimum. One indication of the robustness of the method is that we employed no prior information of the image scale or orientation, but used zero as the initial guess for each parameter. This corresponds to a transformation that maps all voxels to the origin of the array frame, which is in the middle of the sensor array.

In this section, we show results for two very low SNR values and , because these values were already sufficient for high spatial accuracy. Calibrations were obtained for both (a) well-reconstructed undistorted images simulated using an affine mapping [Eq. (18)] and (b) distorted images simulated using the mapping in Eq. (20). Fig. 5 shows the calibration error statistics plotted along the axes shown in Fig. 5a.

Fig. 5: Calibration errors plotted inside the sensor helmet on the three Cartesian coordinate axes depicted in (a): (red), (green), and (blue). (b) Affine calibration, = 1. (c) Affine calibration, = 5. (d) Quadratic calibration, = 1. (e) Quadratic calibration, = 5.

In the case of correctly reconstructed, undistorted images, only the twelve affine parameters were fitted. For (Fig. 5b) 0.3 mm and 0.2 mm are much smaller than the voxel diameter of 4 mm. In Fig. 5c, we see that, with the SNR increasing from 1 to 5, RCE decreases roughly by the same factor. Such correlation suggests that measurement noise in the estimate is dominating the actual systematic error. We can only conclude that SCE is always much smaller than RCE.

Fig. 6: Random calibration error of voxel positions, plotted on the planes spanned by the axes in Fig. 5e (a) Affine calibration with (b) Quadratic calibration with . The dots represent the closest sensor positions projected on the plane and the dashed line denotes the boundary of the spherical phantom. Note that the colormap saturates at 0.8 mm.

For detecting distortions in incorrectly reconstructed images, we fitted the quadratic mapping [Eq. (21)] with 18 additional coefficients. The error statistics are shown in Figs. 5d and e. Comparing the calibration errors to those in pure affine calibration in Figs. 5b and c, we see that the calibration accuracy of the quadratic mapping is more prone to noise. Furthermore, we observe increased systematic error, especially on the negative axis where the sensor array is least sensitive. This is due to the fact that, for detecting the distortions, we use the purely quadratic mapping [Eq. (21)], which cannot completely represent the inverse-quadratic distortion [Eq. (20)] in the simulated images. Nevertheless, since the calibration errors are mostly below 0.4 mm (up to 0.8 mm far from the sensors), the distortions are well detected even in high-noise conditions.

For a more qualitative analysis, in Fig. 6, we have plotted the estimated random calibration error for = 1 on , and planes. In the case of affine calibration (Fig. 6a), the smallest random calibration error can be found near the sensors inside the spherical phantom. The effect is even more pronounced in Fig. 6b, which corresponds to the case of quadratic mapping. In conclusion, independent of the mapping, using our calibration method, the smallest calibration error is found where the sensor array is most sensitive.

As mentioned previously, after detecting a distortion in the reconstructed image, it can be corrected by warping it back to the original geometry. Fig. 7 demonstrates the second-order geometry correction of a distorted image using a mapping according to Eq. (21), which was determined using images with . In the distorted image, the deviation from the true geometry was around two voxels at the edges of the sphere. Still, the calibration error was much smaller than the voxel size. Using the calibrated mapping, the image could thus be warped back quite well to the true spherical geometry.

In addition to noise simulations, we ran separate calibrations for images with additional inhomogeneity, modeling the effect of nonuniform prepolarization, as described in the previous section. In the uncorrected case, the calibration error increased to around 3.5 mm, independent of noise. As described previously, this effect can be alleviated by estimating the inhomogeneity from the images and adding it to the sensitivity model. In Fig. 8, we see the effect of this procedure in the calibration error as a function of iterations, for phantom images with . After a few iterations, sub-millimeter maximum error inside the calibration phantom was again achieved.

Fig. 7: Correction of minor geometric distortion for simulated MR images. (a) Slice of a sum-of-squares image of the spherical phantom with distortion due to incorrect reconstruction and (b) the same slice warped using quadratic parameters found from a calibration with . The red dashed circle is a visual aid to show the true shape of the phantom.

To test another nonideality, we ran a test case with spatially rapidly varying phase added to the simulated images. These images contained quadratically increasing phase towards the edges of the FOV with maximum phase difference of . In this case, we noted an increase in the calibration error but it was limited to 0.5 mm within the FOV.

Finally, we let the direction of the precession plane (determined by ) be optimized in conjunction with the mapping parameters, utilizing the same objective function. We ran several test cases with incorrect initializations of this direction. First, keeping the incorrect direction fixed while optimizing the mapping led to erroneous calibrations. However, when also the direction parameters were optimized, the direction robustly turned towards the true direction of . We did not see notable differences in the calibration error compared to the ideal case, although the computation time was longer.

With the present implementation, calibrating the affine mapping takes about one minute on a desktop computer (Intel Xeon quad-core CPU at 3.2 GHz with 8 GB of memory). Adding the quadratic distortion parameters increased the computation time of the optimization to around 3 minutes.

Fig. 8: Maximum, mean, and minimum calibration errors over the calibration phantom for a set of simulated images with additional inhomogeneity and SNR=1. After three iterations the maximum error has decreased below one millimeter.

Iv Discussion

Assuming an affine mapping between the MRI and array-frame coordinates, we performed the calibration of ULF MRI using simulated images by maximizing the given objective function with respect to the twelve affine parameters. When images of all the 102 magnetometers in the sensor array are in use, this is a massively overdetermined problem, which results in negligible spatial error even when low-SNR images are used in the calibration. The vast amount of data can be used to fit even more degrees of freedom, e.g., to detect distortions in the images. Fitting 18 additional quadratic parameters to distorted images was also shown to work, although the calibration error far from the sensors diverged faster. In principle, any kind of deformation model with a sufficiently small number of degrees of freedom could be applied for detecting nonlinear geometric distortions.

In addition to the random error, the calibration always contains systematic error, which can only be removed by perfectly modeling the acquired signals and designing an objective function free of noise bias. The objective function was shown to perform well also in terms of systematic error even when significant amount of noise () was added to the images. Although the sensitivity model itself [9] is very accurate in ULF MRI, additional inhomogeneity due to the initial prepolarization can slightly alter the voxel values and cause error up to a few millimeters in the calibration. However, by taking the inhomogeneity into account in the profiles and iterating the method for a few times, we were able to eliminate this error.

Errors in the sensor array geometry could also play a role in ULF MRI calibration, but this was not studied as a calibrated sensor geometry is also a prerequisite for accurate MEG. In Ref. [27], it is shown how, after calibrating ULF MRI to the array frame, phantom data could be used to calibrate the positions and orientations of the pickup coils. However, any error in the ULF MRI calibration could then produce errors in the sensor-array geometry. To keep the calibration of the array geometry independent of the ULF MRI calibration, we assumed the sensor array was calibrated, e.g., with a geometrically accurate electrical phantom  [13, 28, 29]. Nonetheless, it is not known if alternating iterations of spatial ULF MRI calibrations and sensor array calibrations using only ULF MRI data could be used to perform both calibrations.

Also, timing errors in the MRI sequence and gradient non-linearities beyond the concomitant components were not studied in this work, as they can be reduced by careful design and implementation of the measurement system. The effect of system imperfections left unmodeled should be confirmed in an actual experiment in which the calibration method can be tested against some ground truth. This is left for future work with a next-generation MEG–MRI device, which we are currently developing. However, it should be noted that any affine or quadratic distortion originating from such imperfections can be compensated for using the mapping to the calibrated distortion-free array frame.

As shown in the previous section, high calibration accuracy is only guaranteed near the sensitive volume of the array. This is especially true for a sensor array that does not cover the whole head. Based on simulations, for a flat array, the objective function may also have another optimal location for the image on the other side of the array, so care must be taken when calibrating ULF MRI with such an array. On the other hand, distributing fewer sensors around the head can increase the random error compared to the case of the full head array, but the error is globally more restricted than with a flat array.

To make the computations tractable, we assumed that the concomitant gradients have been compensated for to yield no distortion or that they generate only geometric distortions. As shown in Ref. [20], increasing relative gradient strengths adds blurring at the edges of the FOV due to inconsistencies in phase encoding. In addition, the assumption of second-order geometric distortion breaks down. In such a case, accurate reconstruction can only be performed using a specialized method that takes into account the known concomitant gradients [21, 30]. Mere geometric distortions can be determined using this calibration method with a suitable non-linear mapping.

Regarding the image simulations, we took the continuous nature of the MR measurement into account by heavily oversampling the field of view, which requires a significant amount of memory and computation time. The voxel size of was chosen partly because a similar sizes were used in the first brain images acquired by the system [8], but the main reason was that smaller voxels would have required much more computational resources. In Ref. [31], uniform-phantom computations were made much more efficiently by approximating the sensitivity profiles inside an ellipse with a set of basis functions and analytically calculating the Fourier integrals for each of the functions. This approach may also be adapted for calculating the -space signal from our profiles inside the spherical phantom so that the computational burden could be reduced.

Alone, calibrating ULF-MR images to the array frame with high accuracy guarantees a perfect co-registration only if the head stays still during the measurements. This could be achieved by fixing the head position with subject-specific head-casts [7], although they are not easily applicable in daily MEG workflow. Otherwise, the head movement must be tracked and compensated for in the data. In a typical MEG setup, the head tracking is implemented with a set of localization coils attached to the scalp [32, 33, 34]. In contrast to conventional MEG, after the ULF-MRI coordinate calibration, we do not need the absolute positions of the localization coils with respect to the head or each other, but only the change of the coil positions with respect to the measurement device. This further eliminates the errors related to 3-D digitizer operation [35]. An alternative way to track the head would be to use the fact that the MRI sensitivity profiles encode the head displacement differently in each measurement channel when recording NMR signals from the head. With a sufficient model of the underlying magnetization distribution of the head, the movement parameters could possibly be inferred from, e.g., a free induction decay (FID) signal. Although movement tracking and compensation are necessary, these methods are left outside the scope of this work.

V Conclusions

In this work, an accurate method was designed for spatially calibrating ULF-MRI data using a hybrid MEG–MRI system and the consistency between the MRI signal model and calibration-phantom data. This eliminates the conventional MEG–MRI co-registration step. The method finds affine parameters for mapping the voxel indices to coordinates in the sensor-array frame and can be used to fit an additional quadratic mapping to detect and correct for minor geometric distortions in incorrectly reconstructed images. After this, the array frame can be used as a common (laboratory) frame to represent both MEG and MRI data. The method was shown to work robustly and accurately using simulated MRI data. Sub-voxel and sub-millimeter calibration accuracy was achieved even in very low SNR conditions. Our approach eliminates all sources of the conventional co-registration error and can reduce overall errors in spatial alignment to a negligible level.

[Derivation of the objective function] As explained in Sec. II-B, to solve the calibration problem, the spatial information in the image vector should be made consistent with the sensitivity vector . If the only unknown in the calibration were the white Gaussian noise in the image, this condition could be straightforwardly estimated by minimizing . Unfortunately, there are also scale and phase ambiguities between the vector elements [see Eq. (12)].

The scale ambiguity is assumed to be uniform and can be eliminated by simply normalizing and . The ambiguity in phase is trickier since signal cancellation can occur if the phase is not uniform across the voxels. One solution could be taking absolute values of the vector elements, but this would lead to Rician noise [19], which has a biased mean in low-SNR voxels and can thus shift the optimal at high noise levels. However, close to the optimum, the phase of the voxel can be estimated using an expression for the array-reconstructed complex voxel value [9], which for uniform-variance noise uncorrelated across the sensors reduces to

(27)

where and are subvectors of and corresponding to the voxel. The phase factor can then be estimated as

(28)

Defining the phase-corrected image vector as where , we can perform the calibration by minimizing the squared error

(29)

where we note that maximizing the complex inner product yields an optimum at the same point. By rewriting the inner product using the voxel vectors and and inserting the phase estimates, we get

(30)

where the last expression gives the objective function in Eq. (17).

Although the phase estimate in Eq. (28) is correct only in the vicinity of the optimum, where the sensitivity vector matches the true sensitivities, we have noted in simulations that it does not affect the convergence of the method. In the end, the objective function is very similar to the cosine measure of absolute value vectors, but exploits also the fact that, at the optimum, the phases in should match apart from the local magnetization phase .

References

  • [1] M. Hämäläinen, R. Hari, R. J. Ilmoniemi, J. Knuutila, and O. V. Lounasmaa, “Magnetoencephalography—theory, instrumentation, and applications to noninvasive studies of the working human brain,” Rev. Mod. Phys., vol. 65, no. 2, pp. 413–497, 1993.
  • [2] F. H. Lin, J. W. Belliveau, A. M. Dale, and M. S. Hämäläinen, “Distributed current estimates using cortical orientation constraints,” Hum. Brain Mapp., vol. 27, no. 1, pp. 1–13, 2006.
  • [3] C. Whalen, E. L. Maclin, M. Fabiani, and G. Gratton, “Validation of a method for coregistering scalp recording locations with 3D structural MR images,” Hum. Brain Mapp., vol. 29, no. 11, pp. 1288–1301, 2008.
  • [4] T. Bardouille, S. V. Krishnamurthy, S. G. Hajra, and R. C. N. Darcy, “Improved localization accuracy in magnetic source imaging using a 3-D laser scanner,” IEEE Trans. Biomed. Eng., vol. 59, no. 12, pp. 3491–3497, 2012.
  • [5] A. Hillebrand and G. R. Barnes, “Practical constraints on estimation of source extent with MEG beamformers,” NeuroImage, vol. 54, no. 4, pp. 2732–2740, 2011.
  • [6] P. Adjamian, G. R. Barnes, A. Hillebrand, I. E. Holliday, K. D. Singh, P. L. Furlong, E. Harrington, C. W. Barclay, and P. J. G. Route, “Co-registration of magnetoencephalography with magnetic resonance imaging using bite-bar-based fiducials and surface-matching,” Clin. Neurophysiol., vol. 115, no. 3, pp. 691–698, 2004.
  • [7] L. Troebinger, J. D. López, A. Lutti, D. Bradbury, S. Bestmann, and G. Barnes, “High precision anatomy for MEG,” NeuroImage, vol. 86, pp. 583–591, 2014.
  • [8] P. T. Vesanen, J. O. Nieminen, K. C. J. Zevenhoven, J. Dabek, L. T. Parkkonen, A. V. Zhdanov, J. Luomahaara, J. Hassel, J. Penttilä, J. Simola, A. I. Ahonen, J. P. Mäkelä, and R. J. Ilmoniemi, “Hybrid ultra-low-field MRI and magnetoencephalography system based on a commercial whole-head neuromagnetometer,” Magn. Reson. Med., vol. 69, pp. 1795–1804, 2013.
  • [9] K. C. J. Zevenhoven, A. J. Mäkinen, and R. J. Ilmoniemi, “Superconducting receiver arrays for magnetic resonance imaging,” submitted for publication, 2018.
  • [10] D. I. Hoult, “The principle of reciprocity in signal strength calculations—A mathematical guide,” Concepts Magn. Reson., vol. 12, no. 4, pp. 173–187, 2000.
  • [11] J. Clarke, M. Hatridge, and M. Mößle, “SQUID-detected magnetic resonance imaging in microtesla fields,” Annu. Rev. Biomed. Eng., vol. 9, pp. 389–413, 2007.
  • [12] R. Guidotti, R. Sinibaldi, C. De Luca, A. Conti, R. J. Ilmoniemi, K. C. J. Zevenhoven, P. E. Magnelind, V. Pizzella, C. Del Gratta, G. L. Romani, and S. Della Penna, “Optimized 3D co-registration of ultra-low-field and high-field magnetic resonance images,” PLOS ONE, vol. 13, no. 3, pp. 1–19, 2018.
  • [13] F. Chella, F. Zappasodi, L. Marzetti, S. Della Penna, and V. Pizzella, “Calibration of a multichannel MEG system based on the Signal Space Separation method,” Phys. Med. Biol., vol. 57, no. 15, pp. 4855–4870, 2012.
  • [14] P. E. Magnelind, J. J. Gomez, A. N. Matlashov, T. Owens, J. H. Sandin, P. L. Volegov, and M. A. Espy, “Co-registration of interleaved MEG and ULF MRI using a 7 channel low-Tc SQUID system,” IEEE Trans. Appl. Supercond., vol. 21, no. 3, pp. 456–460, 2011.
  • [15] J. Luomahaara, P. T. Vesanen, J. Penttilä, J. O. Nieminen, J. Dabek, J. Simola, M. Kiviranta, L. Grönberg, C. J. Zevenhoven, R. J. Ilmoniemi, and J. Hassel, “All-planar SQUIDs and pickup coils for combined MEG and MRI,” Supercond. Sci. Technol., vol. 24, no. 7, p. 075020, 2011.
  • [16] K. P. Pruessmann, “Encoding and reconstruction in parallel MRI,” NMR in Biomedicine, vol. 19, no. 3, pp. 288–299, 2006.
  • [17] W. Rudin, Principles of Mathematical Analysis.   McGraw-Hill, 1953.
  • [18] S. Axler, P. Bourdon, and W. Ramey, Harmonic Function Theory, 2nd ed.   Springer, 2001.
  • [19] A. J. den Dekker and J. Sijbers, “Data distributions in magnetic resonance images: A review,” Phys. Medica, vol. 30, no. 7, pp. 725–741, 2014.
  • [20] P. L. Volegov, J. C. Mosher, M. A. Espy, and R. H. Kraus, “On concomitant gradients in low-field MRI,” J. Magn. Reson., vol. 175, no. 1, pp. 103–113, 2005.
  • [21] Y. C. Hsu, P. T. Vesanen, J. O. Nieminen, K. C. J. Zevenhoven, J. Dabek, L. Parkkonen, I. L. Chern, R. J. Ilmoniemi, and F. H. Lin, “Efficient concomitant and remanence field artifact reduction in ultra-low-field MRI using a frequency-space formulation,” Magn. Reson. Med., vol. 71, no. 3, pp. 955–965, 2014.
  • [22] R. Kraus, M. Espy, P. Magnelind, and P. Volegov, Ultra-low field nuclear magnetic resonance: a new MRI regime.   Oxford, UK: Oxford University Press, 2014.
  • [23] K. C. J. Zevenhoven et al., “Towards high-quality ultra-low-field MRI with a superconducting polarizing coil,” Paper 3A-EL-O4, presented at the 11th Eur. Conf. Appl. Supercond., Genova, Italy., 2013.
  • [24] K. C. J. Zevenhoven, H. Dong, R. J. Ilmoniemi, and J. Clarke, “Dynamical cancellation of pulse-induced transients in a metallic shielded room for ultra-low-field magnetic resonance imaging,” Appl. Phys. Lett., vol. 106, no. 3, p. 034101, 2015.
  • [25] K. C. J. Zevenhoven and S. Alanko, “Ultra-low-noise amplifier for ultra-low-field MRI main field and gradients,” in Journal of Physics: Conference Series, vol. 507, no. 4.   IOP Publishing, 2014, p. 042050.
  • [26] D. H. Bailey and P. N. Swartzrauber, “The fractional fourier transform and applications,” SIAM Rev., vol. 33, no. 3, pp. 389–404, 1991.
  • [27] J. Dabek, P. T. Vesanen, K. C. J. Zevenhoven, J. O. Nieminen, R. Sepponen, and R. J. Ilmoniemi, “SQUID-sensor-based ultra-low-field MRI calibration with phantom images: towards quantitative imaging,” J. Magn. Reson., vol. 224, pp. 22–31, 2012.
  • [28] D. Oyama, Y. Adachi, M. Yumoto, I. Hashimoto, and G. Uehara, “Dry phantom for magnetoencephalography —configuration, calibration, and contribution,” J. Neurosci. Methods, vol. 251, pp. 24–36, 2015.
  • [29] R. J. Ilmoniemi, “The triangle phantom in magnetoencephalography,” J. Jpn. Biomagn. Bioelectromagn. Soc., vol. 22, pp. 44–45, 2009.
  • [30] J. O. Nieminen and R. J. Ilmoniemi, “Solving the problem of concomitant gradients in ultra-low-field MRI,” J. Magn. Reson., vol. 207, pp. 213–219, 2010.
  • [31] M. Guerquin-Kern, L. Lejeune, K. P. Pruessmann, and M. Unser, “Realistic analytical phantoms for parallel magnetic resonance imaging,” IEEE Trans. Med. Imaging, vol. 31, no. 3, pp. 626–636, 2012.
  • [32] S. Ahlfors and R. J. Ilmoniemi, “Magnetometer position indicator for multichannel MEG,” in Adv. Biomagn.   Springer, 1989, pp. 693–696.
  • [33] K. Uutela, S. Taulu, and M. Hämäläinen, “Detecting and correcting for head movements in neuromagnetic measurements,” NeuroImage, vol. 14, no. 6, pp. 1424–1431, 2001.
  • [34] J. C. de Munck, J. P. Verbunt, D. Van’t Ent, and B. W. Van Dijk, “The use of an MEG device as 3D digitizer and motion monitoring system,” Phys. Med. Biol., vol. 46, no. 8, pp. 2041–2052, 2001.
  • [35] L. Engels, X. D. Tiege, M. O. de Beeck, and N. Warzée, “Factors influencing the spatial precision of electromagnetic tracking systems used for MEG/EEG source imaging,” Neurophysiol. Clin., vol. 40, no. 1, pp. 19–25, 2010.
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
""
The feedback must be of minimum 40 characters and the title a minimum of 5 characters
   
Add comment
Cancel
Loading ...
347484
This is a comment super asjknd jkasnjk adsnkj
Upvote
Downvote
""
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters
Submit
Cancel

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test
Test description