Description Usage Arguments Value Examples
View source: R/five_tissue_gen.R
Generat a five-tissue-type (5TT) segmented tissue image suitable for use in Anatomically-Constrained Tractography (ACT)
1 2 3 4 |
infile |
The input T1-weighted image |
algorithm |
algorithm to be used to complete segmentation |
outfile |
Output image file |
crop |
crop the resulting 5TT image to reduce its size (changed dimensions compared to input image) |
amyg_hipp_gray |
Represent the amygdalae and hippocampi as sub-cortical grey matter in the 5TT image |
mask |
Mask for brain |
t2 |
T2-weighted image in addition to the default T1-weighted image; this will be used as a second input to FSL FAST |
premasked |
Indicate that brain masking has already been applied to the input image |
lut |
Manually provide path to the lookup table on which the input parcellation image is based (e.g. FreeSurferColorLUT.txt) |
opts |
Additional options to pass to function |
verbose |
Print diagnostic output |
... |
arguments to pass to |
Output filename
1 2 3 4 5 6 | ## Not run:
infile = "~/Downloads/anat+seg.nii.gz"
t1 = "~/Downloads/t1.nii.gz"
response = five_tissue_gen(t1, algorithm = "freesurfer")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.