Content-type: text/html Manpage of mha2dt

mha2dt

Section: User Commands (1)
Index Return to Main Contents

 

NAME

mha2dt - Converts MetaIO tensors to Camino format.

 

SYNOPSIS

mha2dt -inputfile [image.mha] [-s0 <file> | -lns0 <file>] [options]

 

DESCRIPTION

This tool converts MetaIO diffusion tensors to Camino format.

The output is the tensors in Camino voxel ordering: [exit, ln(S0), dxx, dxy, dxz, dyy, dyz, dzz].

The exit code is set to 0 unless a background mask is supplied, in which case the code is 0 in brain voxels and -1 in background voxels.

The value of ln(S0) in the output is taken from a file if one is supplied, otherwise it is set to 0.

 

EXAMPLES

Convert tensors from the file image.mha, applying a brain / background segmentation including the unweighted signal in the output.


  mha2dt -inputfile image.mha -bgmask mask.mha -lns0 lns0.mha > dt.Bdouble

Alternatively, the output may be piped to any Camino program that takes tensors as input.

 

OPTIONS

-inputfile <metafile>
A meta image file containing diffusion tensors. The tensors are assumed to be in upper-triangular order and voxel-ordered.

-s0 <file>
File containing the unweighted signal for each voxel, may be a raw binary file (specify
type with -inputdatatype) or a supported image file.

-lns0 <file>
File containing the log of the unweighted signal for each voxel, may be a raw binary file
 (specify type with -inputdatatype) or a supported image file.

-bgmask <mask>
Binary valued brain / background segmentation, may be a raw binary file (specify type with -maskdatatype) or a supported image file.

 

AUTHORS

Philip Cook <camino@cs.ucl.ac.uk>

 

SEE ALSO

nii2dt(1)

 

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
OPTIONS
AUTHORS
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 02:07:11 GMT, December 04, 2017