robustfov code example
Example 1: robustfov
#!/bin/sh
# FSL tool to crop the neck (usually for a T1w image):
robustfov -i T1w -r T1w_cropped
Example 2: robustfov
#!/bin/sh
# fsl_anat will clean up the T1w image & normalize it to standard space
# including bias correction, tissue segmentation & subcortical
# segmentation (FIRST), though it creates the image in 2mm MNI space.
# Output is generated in a subdirectory named for the image but with the
# extension .anat (e.g., T1w.anat)
# Do all processing
fsl_anat -i T1w
# Do not run reorient, segmentation or FIRST subcortical segmentation
fsl_anat -i T1w --noreorient --noseg --nosubcortseg