Groupwise registration method. Initially all images Si are registered to an arbitrary DW image S* taken as reference. Then, all images are resampled and averaged to obtain a first average S̄(1), which becomes the new reference. At iteration k, the images Si are registered to the mean S̄(k) to obtain the transforms
. After convergence, S̄(k) is registered to
, and the composition of transformations
is applied to map all images Si into the coordinate system of
.