[ENH]: Compute GM/WM/CSF mask from probseg files #400
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer#400
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Are you requiring a new dataset or marker?
Which feature do you want to include?
The
compute_brain_maskfunction allows to take a probseg file and apply a threshold.Currently, this masks are from template spaces. However, some datasets (mostly when providing fmriprep derivatives) can have subject specific probsegs which should be preferred.
How do you imagine this integrated in junifer?
add a
srcparameter to thecompute_brain_maskfunction which can be eithertemplateorsubject. If template, get the template from templateflow, if `subject, look for the corresponding VBM (or MASK) in the subject's data.Do you have a sample code that implements this outside of junifer?
Anything else to say?
No response