-
Notifications
You must be signed in to change notification settings - Fork 1
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
SC segmentation using contrast-agnostic model #49
Comments
Hold on; I believe there is no need to reimplement the same thing to Python. |
That's true. But since I had already done it, I might as well add it to the code. |
Optimisation idea: as mentionned in issue 46 : could work to change the parameter to Experiment results: great quality overall for both PSIR and STIR. Results of QC: Big issues : required manual correction (20 subjects / 446)
Minor correction (small points outside of the sc): (8/446)
For the minor correction, often, a part of the eye is included in the segmentation : this is easily solvable by changing the cropping regions. As for the bigger problems, sometimes it is linked to poor image quality, sometimes there is a hole in middle of the segmentation (as in the sc is segmented entirely expect between certain vertebral levels)... However, something that we can note is that it happens almost only for PSIR and majorly for The QC is available on |
If not too big (<10MB) could you please upload a ZIP of the QC? If not no worries I'll look into |
Its about 100 MB. |
idea from @plbenveniste : flip RL and re-run the inference as a quick check to see if there is an asymmetry bias in the inference |
that's another argument for adding post-processing (sct-pipeline/contrast-agnostic-softseg-spinalcord#73) |
Spinal cord segmentation was performed using x, y, z flip and sum of the 4 files (the original one as well). The output was saved before and after binarization (in case we want to modify the segmentation mask before binarization). The QC folder is available at : Visual observation of QC : Problems with the following files
To summarize this : only 35/ 446 files (8%) have segmentation issues. After investigation: the 10 major segmentation issues come from image quality issues : see issue 53. |
I confirm that segmentation results look much better with "flip_xyz". In general, much less false negatives. Below are four representative examples at each site, comparing the previous method (single inference) with the "flip_xyz" method (for posterity): So
|
On branch
plb/sc_seg-contrast-agnostic
Issue to document work on spinal cord segmentation using the contrast-agnostic model.
Related to #46
As discussed with @valosekj, I am doing this to have the code in Python (@valosekj is doing it in
.sh
).Parameters used:
The text was updated successfully, but these errors were encountered: