Menu

Package that provides tools for brain MRI Deep Learning pre-processing.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

brainprep.workflow.deface.brainprep_deface_qc(anatomical, anatomical_deface, deface_root, thr_mask=0.6)[source]ΒΆ

Define defacing qc workflow.

Parameters:

anatomical : str

path to the anatomical T1w Nifti file.

anatomical_deface : str

path to the defaced anatomical T1w Nifti file.

deface_root : str

the destination filename root (without extension).

thr_mask : float, default 0.6

the threshold applied to the two input anatomical images intensities difference in order to retrieve the defacing mask.

Follow us

© 2025, brainprep developers