Thanks to Seongjin for making me look at the subject line!
OK, so if it is SRA then you proceed as follows:
old x=S, old y=R, old z=A
and you want
new x=R, new y=P, new z=I
So, new x=R=old y
new y=P= - old z
new z=I= - old x
Therefore y -z -x is what you need, since the usage says:
Usage: fslswapdim <input> <a> <b> <c> [output]
where a,b,c represent the new x,y,z axes in terms of the
old axes.
Hope that works.
All the best,
Mark
On 2 Jun 2011, at 12:44, [Seongjin] wrote:
> SRI seems to be SI-RL-AP judging from e-mail title.
>
> S
>
> On Thu, Jun 2, 2011 at 2:28 AM, Mark Jenkinson <[log in to unmask]> wrote:
> Dear Jen,
>
> Yes, this is the command you need.
> But what is SRI? Where is AP?
> Do you mean ARI? SRA?
> I can't really help without knowing this.
>
> All the best,
> Mark
>
>
>
> On 2 Jun 2011, at 01:18, Jennifer Bramen wrote:
>
> > Dear FSL mailing List
> >
> > I am trying to get fslswapdim to create an RPI image out of an SRI image, which requires some 90 degree rotations (not just 180 degree flips). I have tried every iteration of x y z I can think of to no avail. Any idea if this tool can do this, and if so, how I can set the parameters?
> >
> > Thanks!
> > Jen
> >
>
|