Hello,
Would it be of interest to add a feature so that pydeface accepts a BIDS directory as input, to make pydeface potentially run as a BIDS app ?
Many implementations are possible, with one possible first iteration e.g. relying on pybids and involving as parameters:
- a path to a BIDS directory
- an optional subject (all by default)
- an optional suffix (
T1w by default)
Best practice seems to be replacing the original file with the defaced one so the output could be:
- the original non defaced file renamed as
..._desc-nondefaced_..._<suffix>.nii.gz
- saving the defaced file with the name of the original one (or e.g.
..._desc-defaced_...<suffix>.nii.gz)
Hello,
Would it be of interest to add a feature so that
pydefaceaccepts a BIDS directory as input, to makepydefacepotentially run as a BIDS app ?Many implementations are possible, with one possible first iteration e.g. relying on
pybidsand involving as parameters:T1wby default)Best practice seems to be replacing the original file with the defaced one so the output could be:
..._desc-nondefaced_..._<suffix>.nii.gz..._desc-defaced_...<suffix>.nii.gz)