mincresample_vector Man page

NAME

mincresample_vector.pl - resamples a vector (in 3 separate file components) to new spatial dimensions

SYNOPSIS

 mincresample_vector.pl -xfm <transform.xfm> -vector <x.mnc y.mnc z.mnc> [-mask <mask.mnc>]

DESCRIPTION

mincresample_vector.pl is needed to resample vector files to another space. This is because any rotation will cause a relative change in the magnitude of the vector components. The main purpose is to resample vector files (i.e. e1x, e1y, e1z, etc.) generated by minctensor. Interpolation by taking an average between all surrounding directions is implemented, but it is not necessarily a correct assumption in all cases (e.g. in regions of fibre-crossings) so beware. The matlab script flip_vector.m gets called and is also included in the CVS.

OPTIONS

Summary of options:
   -xfm  <tx.xfm>
            transformation file
   -target <target.mnc>
            target volume name
   -vector <x.mnc> <y.mnc> <z.mnc>
            3 vector components
   -mask <mask.mnc>
            mask file: tensor will not be calculated where mask file value is
            0 [default: none]


   Generic options
       -help: Print summary of command-line options and abort.

EXAMPLES

You have processed all your data in native space and you would like to register it with the anatomical. Using the outputs from minctensor.pl and a mask (a mask should be used to reduce the computation time so that all voxels with a value of 0 are left out of the calculation. Note that although a mask was used for the tensor calculation, during processing the e1* files could have acquired values different from 0 outside the brain):

mincresample_vector.pl -xfm dti-to-anat.xfm -vector infile-mask_e1x.mnc infile-mask_e1y.mnc infile-mask_e1z.mnc -mask anat-mask-diffspace.mnc


Ilana LEPPERT
created: 21st March 2007
last modified: 19th April 2007