Lesion Processing considerations #44
dbrennan44
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
This is a great idea. I will see what I can do about this. I guess we would want to have two masks - the brain mask, which includes lesions but removes skull, etc. And a metric mask, which is [brain_mask - lesion_mask]. Thus lesions wouldn't count for registration or segmentation, but their values would still exist in the desc-brain images. I don't know how lesion masks would play with the deep_atropos tools though. It might need retraining to deal with them. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm processing TBI subjects with significant lesions. We have lesion masks, and I believe there's a BIDS-passing suffix for lesions masks. Could an option for altering the brain masks be included?
After (or within) cross-sectional pipeline, lesion masks are subtracted from brain extraction masks.
[longitudinal_pipeline.py 375] unified_mask_sst = ants_helpers.combine_masks(sst_t1w_masks, working_dir, thresh = **len(sst_t1w_masks)**) # get intersection instead of union of ses masks, so that lesion "holes" are propogated
Downstream analyses can proceed as normal, doing "cost function masking" within the brain mask respecting the lesion.
Sorry for roundabout way of proposing this, I'm still a novice when it comes to github/code dev.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions