ReorientTensorImage - part of ANTS registration suite
ReorientTensorImage dimension infile.nii outfile.nii warp.nii
Does not take into account reorientation needed when orientations change only in the header!! consider the same DT image in 2 different orientations under an applied identity transform. the components will not be rotated correctly, but should be, b/c the header rotation is not accounted for in the reorientation filter. this is a bug we need to fix. ...