Apply a transformation to a 4D volume

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
m.roth
Posts: 10
Joined: Tue Jul 03, 2007 2:02 pm
Contact:

Apply a transformation to a 4D volume

Post by m.roth »

Hello,

I would like to apply a transformation to diffusion images (4D volume). Then I use Apply a transformation, but it add all the volumes (different directions for diffusion volumes) and it apply the transformation to the residual sum (the result is a 3D volume). Is it possible to apply a transformation to each 3D volume of a 4D volume.

To try this, I use also in converters "single files to volume series". But it only take my 4D diffusion volume and give the same 4D volume ?

Thanks for any help,

Muriel ROTH
User avatar
Yann Cointepas
Posts: 316
Joined: Tue Jan 20, 2004 2:56 pm
Location: Neurospin, Saint Aubin, France
Contact:

Post by Yann Cointepas »

Hi Muriel,

The BrainVISA process explicitely sum all the images of a 4D volume before applying the transformation. This is going to be changed. You can use directly the following command:

Code: Select all

<brainvisa_package_dir>/bin/AimsResample -i source4Dimage -m transformation_matrix.trm -o resampled4Dimage.ima
You can use several interpolations methods or change the geometry of the output image (use --help to see all options).

Yann
m.roth
Posts: 10
Joined: Tue Jul 03, 2007 2:02 pm
Contact:

4D volume transformation

Post by m.roth »

Hi Yann,

Thank you for your help. I test it today and it works well.

Best regards,

Muriel
Post Reply