In first version, add a filter which adapts the diffusion image based on a transformation given. This is required when the diffusion data is registered:
- head-motion correction ( see T15846 ) requires a modification of each of the gradient directions based on a given set of transformation matrices ( 1-per-gradient-image )
- transformation of a diffusion image : correct the gradient directions by a given transformation matrix ( 1 matrix per dataset )