This function wraps abpN4 and
abpBrainExtraction for nifti images with additional checks
brain_extract( img, template, template.mask, typeofTransform = c("SyNabp", "SyN"), correct = TRUE, reproducible = TRUE, seed = 1, ... )
| img | Image for brain extraction, nifti, character or antsImage |
|---|---|
| template | Template image with mask, nifti, character or antsImage |
| template.mask | Template brain mask |
| typeofTransform | registration type: 'SyNabp' (better, slower), 'SyN' (fast) |
| correct | Should |
| reproducible | Sets the seed and
|
| seed | will execute
|
| ... | additional arguments passed to |
A list of the brain image, brain mask, k-means segmentation, and transformations.