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 C1 vertebrae on the PAM50_levels template file #20

Closed
jcohenadad opened this issue Jan 13, 2023 · 1 comment · Fixed by #21
Closed

Extend C1 vertebrae on the PAM50_levels template file #20

jcohenadad opened this issue Jan 13, 2023 · 1 comment · Fixed by #21

Comments

@jcohenadad
Copy link
Member

jcohenadad commented Jan 13, 2023

Context: https://forum.spinalcordmri.org/t/c1-vertebral-level-labelling/1002/3

Ah! OK, another reason for C1 to be cropped if the cord segmentation spans it entirely would be because it is difficult to find the top part of C1, hence the algorithm was trained to stop after a given distance that is based on the length of C1 in the PAM50 template (which is cropped):

Historically, no user was interested in looking at C1, hence it was somewhat “neglected”, but I agree we should extend the segmentation on the PAM50 template so that the vertebral labeling would be more correct regarding C1 level.

@jcohenadad
Copy link
Member Author

We should probably extend the coverage up to slice 985, which corresponds to the top of C1:

image

@jcohenadad jcohenadad changed the title Extend C1 vertebrae on the PAM50 template Extend C1 vertebrae on the PAM50_levels template file Aug 5, 2023
jcohenadad added a commit that referenced this issue Aug 5, 2023
jcohenadad added a commit that referenced this issue Oct 23, 2023
* Getting started with a script to compute spinal segments

* First version of 'working' code

* Added .gitignore

* Completed list of percent spinal cord

* Added some printouts for the user

* Added some checks

* Zero values above z_top

* Fixed "__setitem__" method not defined on type "uint8"

* Have the top of C1 spinal and vertebral correspond

See: #20 (comment)

* Removed hard-coded values

* Cleanup

* Adding new spinal levels

* Removed PAM50/spinal_levels

* Fixed cumulative error caused by rounding

#18 (comment)

* Added backbone code to create PAM50_spinal_midpoint.nii.gz

* Fixed wrong value for midpoint

* Added midpoint labels

* Updated info_label.txt

* Changed dtype for UINT8
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 a pull request may close this issue.

1 participant