[MINC-development] param2xfm && xfm2param

Andrew Janke minc-development@bic.mni.mcgill.ca
Mon, 31 Mar 2003 15:14:47 +1000


   $ param2xfm -scales 1 -1 1 t2.xfm
   $ cat t2.xfm
   MNI Transform File
   %Mon Mar 31 15:08:50 2003>>> param2xfm -scales 1 -1 1 t2.xfm
   %(Package MNI AutoReg, version 0.98k, compiled by rotor@twodogs.cmr.uq.edu.au
      (mips-sgi-irix6.5) on 2002-09-06 at 12:02:54)

   Transform_Type = Linear;
   Linear_Transform =
    1 0 0 0
    0 -1 0 0
    0 0 1 0;

so far so good.

   $ xfm2param t2.xfm
   after parameter extraction
   -center         0.00000    0.00000    0.00000
   -translation    0.00000    0.00000    0.00000
   -rotation       0.00000    0.00000    0.00000
   -scale          1.00000    1.00000    1.00000
   -shear          0.00000    0.00000    0.00000

Hrm..?

--
Andrew Janke   ( rotor@cmr.uq.edu.au || www.cmr.uq.edu.au/~rotor )
Australia->University of Queensland->Centre for Magnetic Resonance
Work: +61 7 3365 4100 || Home: +61 7 3800 4042