Clone wiki

ACID - Artefact correction in diffusion MRI / ECMOCO Wiki

Short introduction

ECMOCO is an academic software for correcting linear eddy current and subject motion effects in diffusion weighted images (for details see below for details and Mohammadi et al. (2010)). To ensure that the maps with different image contrasts (e.g. due to differences in the diffusion weighting) are registered with sufficient precision a modality independent registration approach based on mutual information is used (details can be found in the SPM tool "spm_corg"). ECMOCO is based on the spm_coreg and developed by Siawoosh Mohammadi.


  • Target image: Because the underlying optimization function is modality independent, in theory any low-b-value image or high-b-value image can be used as target provided the SNR of the DTI dataset is high enough. Recommended is using the low-b-value image, because it suffers less from EC-related image distortions.
  • Source images: Select all images of the DTI dataset that are supposed to be corrected for drift, motion and EC image distortions.
  • Registration parameters: Choose the parameters, which you want to correct. You can choose between 12 affine parameters. The 4 eddy current parameters are displayed in Figure 1. I propose three sets of parameters for different purposes (see below), but you can select the parameters freely.
    Proposed parameters: a) Correcting only for subject motion: [1 1 1 1 1 1 0 0 0 0 0 0]; b) Correcting only for subject motion and whole-brain eddy currents: [1 1 1 1 1 1 0 1 0 1 1 0]; c) Correcting distortions in a spherical phantom: [1 1 1 0 0 0 1 0 1 1 0]. Note that the input vector for this parameter must have 12 binary components, i.e. for each component you can choose between 0 and 1 (0: the parameter is not estimated; 1: the parameter is estimated).
  • Write option images: Choose whether you want to write the registered images. By default the write images option is on. For each image a matfile is written, which contains the registration parameters (starting with prefix: ÒmutÓ).
  • Write option figure: Choose whether you want to see the estimated EC and motion parameters for each image. This option might be helpful to provide you with a feeling about the artefact level in your dataset (see Fig. 2). You might want to turn it off if more than one subject is registered, because two figures will be displayed for each subject. Note that those figures will also be written in ÒepsÓ-format.


ECMOCO Background

Fig. 1: The whole-brain eddy current distortions (3rd row) are corrected by affine transformations when the corresponding parameters (2, 8, 10 and 11, 1st row) are enabled. Note that this toolbox only corrects for image distortions that are related to the linear components of the EC field (4th row).

ECMOCO Background 2

Fig. 2: The EC (left) and motion (right) parameters for an example DTI dataset with 200 diffusion weighting directions.


Mohammadi S, Moller HE, Kugel H, Muller DK, Deppe M (2010) Correcting eddy current and motion effects by affine whole-brain registrations: evaluation of three-dimensional distortions and comparison with slicewise correction. Magn Reson Med 64: 1047-1056; doi: 10.1002/mrm.22501

(Please cite this paper when using this toolbox)