Check out the Nudge GUI, "$FSLDIR/bin/Nudge_gui", which underneath the GUI uses "makerot", "convert_xfm", and "flirt".
Cheers,
Carl
On 2012-05-02, at 16:28 PM, Mark Jenkinson wrote:
> Yes - use "makerot" to generate a FLIRT transformation.
>
> All the best,
> Mark
>
> On 3 May 2012, at 05:26, Koene Van Dijk wrote:
>
>> Hi there,
>> I'd like to rotate an image just a little bit: e.g. just 30 degrees around the x-axis. Is there a nice fsl tool/command for that?
>>
>> I've been using fslswapdim for 90 or 180 degree swaps but this is different. I looked into using flirt, e.g.:
>> flirt -in input.nii.gz -ref copy_of_input.nii.gz -out output.nii.gz -applyxfm -init matrix.mat
>>
>> ... but I don't know what to use as matrix.mat. I've read in old posts that rotation and translation (with a normal flirt output.mat when registering one image to another) are highly related and it seemed much to complex for what I want: just a rotation and no translation and the center of the image may remain what it is now: 80 80 47 (so my input image has these dimensions: 160 x 160 x 94).
>>
>> Thanks for any help,
>> Koene Van Dijk
>>
>
|