-
Notifications
You must be signed in to change notification settings - Fork 3
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
Testing contrast-agnostic model on GRE magnitude data #108
Comments
Trying with a lumbar data: First thing to do is to reorient the image (bc AP and SI are swapped): sct_image -i 109_Rekos_magnitude1.nii -transpose y,x,z -o 109_Rekos_magnitude1_transposed.nii.gz
sct_image -i 109_Rekos_magnitude1_transposed.nii.gz -flip x -o 109_Rekos_magnitude1_transposed.nii.gz Which gives: Now we can run the inference: sct_deepseg -i 109_Rekos_magnitude1_transposed.nii.gz -task seg_sc_contrast_agnostic -qc qc Result (room for improvement 😅): QC report: qc.zip Note For creating the mask for shimming, binary segmentation will suffice. However, for precise evaluation of shimming methods, e.g., computing B0 inside the spinal cord, then the soft segmentation should be used (see entry "2024-06-05 10:26:01" in the QC report). |
@naga-karthik can you please replace 'new' and 'old' with the actual names of the model in your post? (eg: M5', nnUnet3D_20250205, etc.) thanks! |
Done now! |
cool! although i would be cautious about interpretation-- there seem to be some oversegmentation at the bottom |
indeed ! the nnunet prediction is relatively better as it predicts something rather than an empty pred |
As of SCT version spinalcordtoolbox/spinalcordtoolbox@bb479d8 (install dev version until SCT v6.4 is released)
Syntax:
Red: contrast-agnostic (release https://github.com/sct-pipeline/contrast-agnostic-softseg-spinalcord/releases/tag/v2.4), Green: sct_deepseg_sc:
With the mask:

@chaigner
The text was updated successfully, but these errors were encountered: