sct-pipeline / contrast-agnostic-softseg-spinalcord

Contrast-agnostic spinal cord segmentation project with softseg
MIT License
4 stars 3 forks source link

Compute CSA prediction error #67

Closed sandrinebedard closed 9 months ago

sandrinebedard commented 11 months ago

Description

In the analysis of CSA, we want to compute the CSA error between the GT and the prediction for every image of the test set:

ABS(CSA_pred- CSA_GT)

TODO

sandrinebedard commented 11 months ago

Here are some preliminary results:

Error for csa_monai_csaDiceL_160x224x96:

violin_plot_csa_percontrast_errorMONAI_avg_csa

Error for ivado_avg_bin_no_crop:

violin_plot_csa_percontrast_errorIVADO_avg_bin

Error for csa_nnunet_soft_avg_all_no_crop:

violin_plot_csa_percontrast_errornnUNet_avg_bin

For all:

**note that the mean per subject is done, which may not relfect the max values --> in TODOS violin_plot_csa_error_all

Note that for now it is not Binarized CSA soft GT that is used, this may change the results...

jcohenadad commented 11 months ago

great results! I’m glad we beat nnUNET and ivadomed

naga-karthik commented 11 months ago

Thanks for creating these plots @sandrinebedard ! Just to clarify:

In the analysis of CSA, we want to compute the CSA error between the GT and the prediction for every image of the test set: ABS(CSA_pred- CSA_GT)

This is the CSA of the entire label right? Not just the CSA of C2-C3 levels?

sandrinebedard commented 11 months ago

Thanks for creating these plots @sandrinebedard ! Just to clarify:

In the analysis of CSA, we want to compute the CSA error between the GT and the prediction for every image of the test set: ABS(CSA_pred- CSA_GT)

This is the CSA of the entire label right? Not just the CSA of C2-C3 levels?

This is at C2-C3, you are right is would be good to compte the error on the entire mask, or slicewise.

naga-karthik commented 9 months ago

Closing as all tasks are done and we have the latest plots