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

Extend SC segmentation to include C1 #31

Open
jcohenadad opened this issue Nov 27, 2024 · 0 comments
Open

Extend SC segmentation to include C1 #31

jcohenadad opened this issue Nov 27, 2024 · 0 comments

Comments

@jcohenadad
Copy link
Member

jcohenadad commented Nov 27, 2024

The idea is to include at least C1, therefore the proposed methodology could be:

  • Select images where C1 is fully covered. Typically: T1w MPRAGE, T2 SPACE, MP2RAGE
  • Run propseg on these images. Propseg's parameters can be tweaked so that the propagation algorithm does not stop when the cord gets bigger (typically at the medulla oblongata). Relevant param: -max-area <float> and possibly -max-deformation <float>
  • Automatically select a few vertebral levels that are covered by both propseg and contrast-agnostic methods (eg: C3-C5), and estimate a scaling factor to account for the contrast dependency of propseg. See similar investigation: XXX (@Nilser3 can you please cross-ref your post related to this investigation)
  • Apply the scaling factor to dilate/erode the propseg segmentation
  • Merge the segmentation from propseg and contrast-agnostic
    • This could done by fining the z-index where the contrast-agnostic segmentation stops, subtract a few slices, eg: 5, to that index (because the very top part of the segmentation is often partial, ie: does not cover the full extent of the cord)
    • Add the propseg part above that identified index
  • QC the whole thing
  • Re-train model, by inputting also data from many other contrasts, that do not include the whole C1 (so that the model would not learn to not segment C1).

To be done within that repos: https://github.com/sct-pipeline/contrast-agnostic-softseg-spinalcord

@jcohenadad jcohenadad changed the title Extend SC segmentation model to brainstem Extend SC segmentation more rostrally Nov 28, 2024
@jcohenadad jcohenadad changed the title Extend SC segmentation more rostrally Extend SC segmentation to include C1 Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant