Hello,
If you just want an isotropic resample then the input image can also be the reference, e.g.:
flirt -in $FSLDIR/data/standard/MNI152_T1_2mm.nii.gz -ref $FSLDIR/data/standard/MNI152_T1_2mm.nii.gz -applyisoxfm 4 -out foo
Kind Regards
Matthew
--------------------------------
Dr Matthew Webster
FMRIB Centre
John Radcliffe Hospital
University of Oxford
> On 9 May 2018, at 08:57, huyang <[log in to unmask]> wrote:
>
> Hi,
>
> Thank you! I find that the solutions listed in the post could not solve my problem, if I don't miss something. The post lists two methods: flirt and ApplyXFM, and ApplyXFM would invoke flirt internally. The key is a reference image which is exactly placed in the space I want. However, I just don't have this kind of reference image and it seems a chicken-and-egg problem. I could manually create a reference image, but it would be error-prone.
>
> Best,
> Yang Hu
>
> At 2018-05-09 14:59:53, "Ort, E." <[log in to unmask]> wrote:
> Hi,
>
> this post should help you:
>
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1302&L=fsl&D=0&P=499466
>
> Just pick a reference an image that is in the same space as you want your image to be.
>
> Good luck,
>
> Eduard
> From: FSL - FMRIB's Software Library [[log in to unmask]] on behalf of huyang [[log in to unmask]]
> Sent: 09 May 2018 05:43
> To: [log in to unmask]
> Subject: [FSL] change voxel size of MNI T1 template
>
> Dear experts,
>
> I would like to resize the MNI152 T1 template to a lower resolution (for example, 3mm) and how can I do this using commands? I find the melodic GUI has a "resampling resolution" option, but I don't know how to do this with commands. I could use other software (for example, AFNI) to do this, but I am wondering if there is an FSL alternative.
>
> Best,
> Yang Hu
>
>
>
>
>
>
|