simplified use of manual segmetation #325
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've had many users get tripped up on this (myself included!), often when using ex-vivo data. Here, I provide a single
--modality
option for manual segmentations. I add the requirement that the data be roughly aligned with one of the input templates (e.g. CITI168). I believe this is a simple requirement given the complexity anyone has to go through in doing a manual segmentation anyway. Also ex-vivo cases tend to be in arbitrary spaces anyway, making it very hard to work with until they are reoriented.I also restore the lut, which I will ad to the Documentation guiding manual segmentations (TODO!)
The template is still used to go to space-corobl (with cropping), so users don't need to crop around the hippocampus. So, effectively, I'm renameing
cropseg
tomanualseg
, adding the template-to-corobl transform, and remove thesegT1w
andsegT2w
workflows.