Dear Mark,

Thank you for your suggestion. I have tried running it and when I open the output file in fslview, I see nothing (it uploads the file but there is no brain showing). The command I ran is as follows:

/usr/local/fsl/bin/fslcreatehd 70 70 34 1 3 3 3.3 1 0 0 0 16  <name of output nii>_tmp.nii.gz ; /usr/local/fsl/bin/flirt -in <name of input nii> -applyxfm -init <Feat directory>/reg/example_func2highres.mat -out  <name of output nii> -paddingsize 0.0 -interp trilinear -ref  <name of output nii>.nii.gz_tmp


Can you please tell me what is wrong with this command? or is there another way to view the output?

Thank you very much for all your help.

Francesca

2014-09-05 14:00 GMT+02:00 Mark Jenkinson <[log in to unmask]>:
Hi,

If you use the ApplyXFM GUI then you can specify your output resolution and FOV easily.  You can also do this at the command line with flirt or applywarp if you have an image of the appropriate resolution and FOV to use as a reference (since the reference image is only used for resolution and FOV if you are applying a pre-calculated transformation).

All the best,
        Mark


On 31 Aug 2014, at 23:07, Francesca Strappini <[log in to unmask]> wrote:

> Dear all,
>
> I am trying to work in native space instead of in MNI space.
> I would like to transform all my 4D functional data matrices of the same subject to fit the anatomical data (not from the same session).
> In the next step I read the nifti into Matlab and use it as a data matrix, so changes of information in the header cannot help me - the transformation should apply to the data itself.
> The problem is that my anatomy is in 1x1x1mm resolution, while my functional scan is 3x3x3.3
> I would like to keep the original resolution in order to avoid memory issues (right now everything I am trying fails because the data matrix ends up being too large).
> This appears to be something very basic, but somehow I found it easier to transform to MNI than to keep the native resolution in the right orientation.
>
> Every help will be much appreciated!
> Thank you very much in advance,
> Francesca