logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xfm2def - convert a MNI transform file to a deformation volume

Author

       Andrew Janke

Copyrights

       Copyright © 2010 Andrew Janke - a.janke@gmail.com

                                          $Date: 2010-08-11 04:06:42 $                                XFM2DEF(1)

Description

xfm2def  takes  an input transform input.xfm that can consist of a series of concatenated transforms in a
       single xfm file and converts this into a single deformation volume that is output  as  def_vol.mnc.  Note
       that  the output is not a transform file itself, you can then make use of this volume in a MINC transform
       by creating an .xfm file as such:

          MNI Transform File

          Transform_Type = Grid_Transform;
          Displacement_Volume = def_vol.mnc;

       The output resolution and sampling of the deformation grid must be specified or a default  size  will  be
       used. (100x100x100 1mm steps centred around the origin).

Name

       xfm2def - convert a MNI transform file to a deformation volume

Options

-help  Print summary of command-line options and exit.

       -version
              Print the program's version number and exit.

       -verbose
              Print out extra progress information while running.

       -clobber
              Overwrite any existing output file

       -xnelementsnx
              Number of elements along the xspace dimension.

       -ynelementsny
              Number of elements along the yspace dimension.

       -znelementsnz
              Number of elements along the zspace dimension.

       -xstepxstep
              Step between voxels along the xspace dimension.

       -ystepystep
              Step between voxels along the yspace dimension.

       -zstepzstep
              Step between voxels along the zspace dimension.

       -xstartxstart
              Position of centre of first voxel along the xspace dimension.

       -ystartystart
              Position of centre of first voxel along the yspace dimension.

       -zstartzstart
              Position of centre of first voxel along the zspace dimension.

       -xdircosx1x2x3
              Direction cosines for the xspace dimension.

       -ydircosy1y2y3
              Direction cosines for the yspace dimension.

       -zdircosz1z2z3
              Direction cosines for the zspace dimension.

Synopsis

xfm2def [options] input.xfmdef_vol.mnc

See Also