Ok Matt, don't worry, I am going to try this. Many thanks for your helping. Rosalia. 2012/5/22 Matt Glasser <[log in to unmask]> > ** ** > > That will be in a future version of flirt, I didn’t realize it hadn’t been > released yet.**** > > ** ** > > You can ignore it for any flirt command you don’t care about the blurring > of the output (i.e. you are just calculating the transformation matrix). > You can use applywarp to apply a transformation matrix with spline > interpolation.**** > > ** ** > > applywarp --interp=spline -i T2_brain.nii.gz -r T1_brain.nii.gz > --premat=T2_to_T1.mat -o T2_to_T1.nii.gz will apply a precalculated > transformation matrix (that you calculated earlier from flirt) to an image > with spline interpolation. **** > > ** ** > > Peace,**** > > ** ** > > Matt.**** > > ** ** > ------------------------------ > > *From:* Rosalia Dacosta [mailto:[log in to unmask]] > *Sent:* Tuesday, May 22, 2012 1:09 AM > *To:* **FSL - FMRIB's Software Library**; Matt Glasser > *Subject:* A problem with flirt**** > > ** ** > > Hi Matt, > > Yesterday I was trying the following command: flirt -interp spline -in > T2_brain.nii.gz -ref T1_brain.nii.gz -omat T2_to_T1.mat -out T2_to_T1.nii.gz > > But it does not work, because there is not interp *spline* option for > flirt, the only options are: > > -interp **{trilinear,nearestneighbour,sinc}** > > Could you tell how can I change this in order to get the results? > > Many thanks. > > Rosalia.**** > -- Rosalia Dacosta Aguayo Clinical Neuropsychologist Department of Psychobiology and Clinical Psychiatry University of Barcelona Pg. Vall d'Hebron 171 08035 Barcelona, Catalonia, Spain