Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplified use of manual segmetation #325

Merged
merged 8 commits into from
Dec 17, 2024
Merged

Conversation

jordandekraker
Copy link
Collaborator

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 to manualseg, adding the template-to-corobl transform, and remove the segT1w and segT2w workflows.

@jordandekraker
Copy link
Collaborator Author

check should pass with #326

jordandekraker and others added 3 commits December 16, 2024 10:11
* fix for using T1T2w model

run_inference was only accepting a single input image, this makes it
accept a list of images too, and makes it so --force-nnunet-model T1T2w grabs both T1w and T2w as inputs.

* hipp curvature was being used always, instead of wildcard

this didn't affect any workflow computations, just the subsequent
dscalar.nii and spec file that would have the wrong curvature map

* fix logical error

* Bump version to 1.5.2-pre.1

* Bump version to 1.5.2-pre.2

* keep pipeline_description changes

---------

Co-authored-by: Ali Khan <akhanf@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jordandekraker
Copy link
Collaborator Author

double check common.smk

@jordandekraker jordandekraker merged commit f642963 into dev-v2.0.0 Dec 17, 2024
4 checks passed
@jordandekraker jordandekraker deleted the simplemanualseg branch December 17, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant