A flywheel gear to remove facial structure from MRI images.
Leverages FSL, Python 3, NumPy, NiBabel, and Nipype to coregister a provided image to a template and removes facial features by removing the facial structure in accordance with the registration template and face mask. User may provide a template and face mask.
The source code of pydeface can be found at github
- infile (required): The NIfTI file to remove facial structure from
- template (optional): The optional template image that will be used as the registration target instead of the default.
- facemask (optional): The optional face mask image that will be used instead of the default.
- cost: FSL-FLIRT cost function. "mutualinfo" default.
- nocleanup: Do not cleanup temporary files. On by default.
- verbose: Show additional status prints. On by default.