It just multiplies with the matrix.
I've now attached one that extracts the rotation and then rotates.
You can actually very easily change it to extract Forward or Backward half transforms if needed :)
Saad
On 2 Feb 2012, at 21:04, Cunningham, Dustin wrote:
> Thanks for your help Saad -- does this script "fdt_rotate_bvecs" extract the rotation from the affine matrix? Or just simply multiply the vectors by whatever matrix is in ecclog? Sorry my shell scripting skills are not the best.
>
> Thanks again
> ________________________________________
> From: FSL - FMRIB's Software Library [[log in to unmask]] On Behalf Of Saad Jbabdi [[log in to unmask]]
> Sent: Wednesday, February 01, 2012 10:29 AM
> To: [log in to unmask]
> Subject: Re: [FSL] Rotate bvecs
>
> Try this one.
>
> Saad
>
--
Saad Jbabdi
University of Oxford, FMRIB Centre
JR Hospital, Headington, OX3 9DU, UK
(+44)1865-222466 (fax 717)
www.fmrib.ox.ac.uk/~saad
|