This function performs registration to a T1 template using ANTsR transformation
oasis( filename, skull_strip = TRUE, skull_stripfile = NULL, correct = TRUE, normalize = TRUE, normalize_file = NULL, retimg = TRUE, outfile = NULL, template.file = file.path(fsldir(), "data", "standard", "MNI152_T1_1mm_brain.nii.gz"), interpolator = "LanczosWindowedSinc", other.files = NULL, other.outfiles = NULL, typeofTransform = "Rigid", remove.warp = TRUE, outprefix = NULL, bet.opts = "-B -f 0.1 -v", betcmd = "bet", reproducible = TRUE, seed = 1, ... )
| filename | filename of T1 image |
|---|---|
| skull_strip | do skull stripping with FSL BET |
| skull_stripfile | Output skull strip filename |
| correct | do N3 Bias correction |
| normalize | Normalize data using |
| normalize_file |
|
| retimg | return a nifti object from function |
| outfile | output filename should have .nii or .nii.gz extension |
| template.file | Filename of template to warp to |
| interpolator | interpolation done for
|
| other.files | Filenames of other iamges to be transformed with the T1 |
| other.outfiles | Output filenames of |
| typeofTransform | type of transformed used, passed to
|
| remove.warp | (logical) Should warping images be deleted? |
| outprefix | Character path of where the warp files should be stored.
Required if |
| bet.opts | Options passed to |
| betcmd | BET command used, passed to |
| reproducible | Sets the seed and
|
| seed | will execute
|
| ... | arguments to |
NULL or object of class nifti for transformed T1 image