dwi2fod: Estimate fibre orientation distributions from diffusion data...

Description Usage Arguments Value Examples

View source: R/dwi2fod.R

Description

Estimate fibre orientation distributions from diffusion data using spherical deconvolution

Usage

1
2
3
4
5
6
dwi2fod(infile, response, algorithm = c("csd", "msmt_csd"),
  bvals = NULL, bvecs = NULL, scheme = NULL, mask = NULL,
  lmax = NULL, shells = NULL, outfile = NULL, opts = "",
  verbose = TRUE, ...)

dwi2fod_with_response(infile, ...)

Arguments

infile

the input DWI image containing volumes that are both diffusion weighted and b=0

response

response file, usually generated by dwi2response

algorithm

the algorithm to use for fibre orientation distributions estimation

bvals

The file containing the b-values.

bvecs

The file containing the b-vectors.

scheme

The file containing a 4xT text file, instead of bvals/bvecs

mask

initial mask for response voxel selection

lmax

The maximum harmonic degree(s) of response function estimation (single value for single-shell response, comma-separated values for multi-shell response)

shells

The b-value shell(s) to use in response function estimation (single value for single-shell response, comma-separated values for multi-shell response)

outfile

Output response file

opts

Additional options to pass

verbose

Print diagnostic output

...

arguments to pass to std_opts

Value

Output filename

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
infile = "~/Downloads/data.nii.gz"
bvals = "~/Downloads/bvals"
bvecs = "~/Downloads/bvecs"
response = dwi2response(infile, bvals = bvals, bvecs = bvecs)
fod = dwi2fod(infile, response = response,
bvals = bvals, bvecs = bvecs,
algorithm = "csd")
fod_make_resp = dwi2fod_with_response(infile = infile,
bvals = bvals, bvecs = bvecs)


## End(Not run)

muschellij2/mrtrix documentation built on July 9, 2019, 9:15 a.m.