bids-standard / bids-specification

Brain Imaging Data Structure (BIDS) Specification
https://bids-specification.readthedocs.io/
Creative Commons Attribution 4.0 International
273 stars 157 forks source link

How to handle lesion masks, including multi-session data? #174

Open danlurie opened 5 years ago

danlurie commented 5 years ago

This question came up in the context of how smriprep should handle multi-session data that has associated lesion masks (see https://github.com/poldracklab/smriprep/issues/58), but I think it raises a BIDS question too.

Currently, lesion masks are treated by BIDS as a special case of ROI masks, which are discussed in BEP003. As they are created by identifying damaged tissue from an existing image or set of images (e.g. T1, T2, FLAIR), they are by definition a derivative. That said, fmriprep currently looks them in the BIDS raw data directory (under /anat). This is a hack, and needs to get fixed at some point, but we did things this way because the lesion masks are used as inputs during structural preprocessing.

It would be great to get input from the community on the following:

leiliew commented 4 years ago

Hi - Just wanted to ping this and see if with the new BIDS specifications, there was greater clarity on how to proceed. From what we can tell, the revised BIDS specification wants us to make a /manual_masks/sub/anat/sub-*-desc-lesion_mask.nii.gz file. But, it is unclear to me why this requires the initial /manual_masks/ directory at the top level, rather than just being in our regular study/sub/anat/ format. Any help understanding whether or not we need to use /manual_masks/ as the top level would be great. Thanks!

yarikoptic commented 2 years ago

The question/ambiguity where to store lesions common (e.g. in MNI space) to all subjects is remaining. Anyone reached peace of mind since original discussion on "how to do it" while "minimizing BIDS abuse"?