powered by
Tool to deface a structural T1w image.
fsl_deface( file, outfile = NULL, retimg = TRUE, opts = "", deface_cropped = FALSE, bet_fractional_intensity = NULL, bias_correct = FALSE, shift_xyz = NULL, cog_xyz = NULL, reorient = FALSE, intern = FALSE, verbose = TRUE, ... )
(character) input image to estimate edge strength
(character) resultant image name (optional)
(logical) return image of class nifti
(character) operations to be passed to fsl_deface
fsl_deface
apply the defacing to the cropped image instead of the original image
fractional intensity for bet (0->1); default=0.5;
Bias-correct the input image (with fast);
Shift, in mm, x-, y- and z-directions, to shift face mask by;
centre-of-gravity for bet (voxels, not mm);
(logical) If retimg, should file be reoriented when read in? Passed to readnii.
readnii
(logical) to be passed to system
system
print diagnostic messages
additional arguments passed to fslcmd.
fslcmd
# \donttest{ if (have_fsl()) { file = mni_fname(mm = 1, brain = FALSE) out = fsl_deface(file, retimg = FALSE) } # }
Run the code above in your browser using DataLab