# NOT RUN {
if (have_fsl()) {
file = "~/Downloads/sample_T1_input.nii.gz"
if (file.exists(file)) {
mask = face_removal_mask(file = file,
template = NULL, face_mask = NULL)
image = fslmask(file, mask)
}
}
# }
Run the code above in your browser using DataLab