Hi,
That doesn't work because it maps all the x-coordinates into negative
values, which are outside the FOV - hence your blank image.
You need to put in an offset in the fourth column (first row) which is
the size of the FOV in the x-axis (in mm).
All the best,
Mark
On 3 Aug 2009, at 23:04, David Gutman wrote:
> So it dawned on me I could just use FSLSWAPDIM <input> -x y z and
> it seemed to do what I wanted
>
> I first tried
> -1 0 0 0
> 0 1 0 0
> 0 0 1 0
> 0 0 0 1
>
> and tried to do ApplyXFM to apply the transformation-- I thought
> that would work, but when I get a blank output I decided to post my
> original matrix.
>
> Is it because the reference of the 0,0,0 coordinate somehow doesn't
> get factored in or something fancy like that?
>
>
>
> --
> David A Gutman, M.D. Ph.D.
> Department of Psychiatry & Behavioral Sciences
> Emory University School of Medicine
|