Description Usage Arguments Value
View source: R/reg_whitestripe.R
This function performs registration to a T1 template using ANTsR and SyN transformation
1 2 3 4 5 6 7 8 9 | reg_whitestripe(t1 = NULL, t2 = NULL, register = TRUE,
native = TRUE, template.file = file.path(fsldir(), "data",
"standard", paste0("MNI152_T1_1mm", ifelse(is.null(mask), "", "_brain"),
".nii.gz")), typeofTransform = c("Rigid", "Affine"),
interpolator = "LanczosWindowedSinc", type = c("T1", "T2", "hybrid"),
t1.outfile = NULL, t2.outfile = NULL, other.files = NULL,
other.outfiles = NULL, ws.outfile = NULL, mask = NULL,
mask.outfile = NULL, verbose = TRUE, reproducible = TRUE,
seed = 1, ...)
|
t1 |
filename (or nifti objects) of T1 image |
t2 |
filename (or nifti objects) of T2 image |
register |
Register image to template file |
native |
If images are registered, should the native space normalized image be returned? |
template.file |
Filename of template to warp to |
typeofTransform |
type of transformed used, passed to
|
interpolator |
Interpolation to be performed, passed to
|
type |
Type of whitestripe normalization done |
t1.outfile |
Output filename of normalized T1 image |
t2.outfile |
Output filename of normalized T2 image |
other.files |
Character filenames or list of nifti objects to normalize. In the same space as T1. |
other.outfiles |
Character filenames for output normalized files. |
ws.outfile |
Character filename for output whitestripe mask. |
mask |
File or nifti image of brain mask |
mask.outfile |
Character filename for output brain mask. |
verbose |
Print Diagnostic Messages |
reproducible |
Sets the seed and
|
seed |
will execute
|
... |
arguments to |
List of nifti objects or character filenames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.