powered by
MRI Defacer
mridefacer(file, ..., verbose = TRUE)get_mridefacer_mask( file, brain_mask = NULL, bet_opts = "-f 0.5", search_radius = 90, opts = NULL, template_brain = NULL, template_brain_weight = NULL, template_biometric_mask = NULL, verbose = TRUE )
get_mridefacer_mask( file, brain_mask = NULL, bet_opts = "-f 0.5", search_radius = 90, opts = NULL, template_brain = NULL, template_brain_weight = NULL, template_biometric_mask = NULL, verbose = TRUE )
A character filename of the output image
input file image to remove face/ears
not used
print diagnostic messages. If > 1, more verbose
> 1
brain mask of file. If NULL, fslbet will be applied
NULL
fslbet
options to pass to fslbet if applied
search radius option to pass to flirt
flirt
additional options to pass to flirt
template brain image, may be NULL
template brain weight image, used for registration may be NULL
template biometric mask. Everything that is wanted should be 1, may be NULL
1
if (have_fsl()) { file = "~/Downloads/sample_T1_input.nii.gz" if (file.exists(file)) { res = mridefacer(file) } }
Run the code above in your browser using DataLab