From Camino

Man: Md

Content-type: text/html Manpage of trd

trd

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

 

NAME

md - Computes the mean diffusivity (trace/3) from diffusion tensors.

 

SYNOPSIS

md [-inputmodel <dt|twotensor|threetensor|multitensor>]

 

DESCRIPTION

Reads diffusion tensor (single, two-tensor or three-tensor) data from the standard input, computes the mean diffusivity, ie trace/3, of each tensor and outputs the results to the standard output. For multiple-tensor data the program outputs the mean diffusivity of each tensor, so for three-tensor data, for example, the output contains three values per voxel.

 

EXAMPLES

Compute MD in each voxel of diffusion MRI data set SubjectA.Bfloat and store the output in MD_A.Bdouble:

dtfit SubjectA.Bfloat test/A.scheme | md > MD_A.Bdouble

Compute MD for each component of the two-tensor fit to the same data set:

twotenfit SubjectA.Bfloat test/A.scheme | md -inputmodel twotensor > MD_A.Bdouble

Compute MD for 10000 independent trials of fitting the diffusion tensor to data synthesized from test function 1 (see datasynth(1)) using imaging scheme A.scheme and assuming signal to noise ratio of 16 at b=0:

datasynth -testfunc 1 -voxels 10000 -snr 16 -schemefile A.scheme | dtfit - A.scheme | md > MD_A_SNR16.Bdouble

 

OPTIONS

-inputmodel <model type>
Specifies the model that the input data contains parameters for. Possible model types are: "dt" (diffusion-tensor data), "twotensor" (two-tensor data), "threetensor" (three-tensor data). By default, the program assumes that the input data contains a single diffusion tensor in each voxel.

-inputdatatype <data type of input>
Specifies the data type of the input file. The data type can be any of the following strings: "char", "short", "int", "long", "float" or "double".

-outputdatatype <data type of output>
Specifies the data type of the output data. The data type can be any of the following strings: "char", "short", "int", "long", "float" or "double". See camino(1).

 

AUTHORS

Daniel Alexander <camino@cs.ucl.ac.uk>

 

SEE ALSO

trd(1), fa(1), dtpds(1), dtfit(1), twotenfit(1), threetenfit(1), modelfit(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

Retrieved from http://web4.cs.ucl.ac.uk/research/medic/camino/pmwiki/pmwiki.php?n=Man.Md
Page last modified on October 26, 2009, at 02:54 PM