Example of making a ventricle mask, to be used if Freesurfer is not available or needed before using afni_proc.py

afni_tt_vent_mask(dxyz = rep(2.5, 3), ...)

Arguments

dxyz

Dimensions to Resample the Image

...

additional arguments passed to afni_3dresample

Value

An object of class nifti, unless retimg = FALSE in ...

Note

See https://afni.nimh.nih.gov/pub/dist/doc/program_help/afni_proc.py.html for example. This code uses TT_desai_dd_mpm+tlrc