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

Move scripts from utilities to inter-rater_variability #18

Merged
merged 93 commits into from
Nov 8, 2023

Conversation

valosekj
Copy link
Member

@valosekj valosekj commented Sep 8, 2023

⚠️ Note: the description below is obsolete, for the latest commits, see this commit message.

This PR:

  • does major refactoring of segment_to_csv.py, now named rootlets_to_spinal_levels.py, for details, see this commit message
  • adds run_batch_inter_rater_variability.sh script to perform inter-rater variability analysis; see the script here
  • adds generate_figure_inter_rater_variablity.py to generate a figure showing the inter-rater variability; see the script here
  • adds generate_scatter_plot_inter_rater_variability.py to generate a scatter plot for F1 score showing the inter-rater variability; see the script here
  • adds combine_segmentations_from_different_raters.py script to combine three multi-class (i.e., not binary) segmentations into the reference segmentation using the STAPLE algorithm; see the script here
  • updates the utilities/dice_y_value_soft.py script - see the current script here and list of all commits here

- rename segment_to_csv.py to rootlets_to_spinal_levels.py
- move code from intersect.py to intersect_seg_and_rootlets function
- move code from rootlet_to_level.py project_rootlets_to_segmentation function
- use SCT Image class instead of nibabel
- segment spinal cord
- detect PMJ label
- run rootlets_to_spinal_levels.py
…ons into the reference segmentation using STAPLE algorithm
@valosekj valosekj changed the title Refactor utilities folder Move scripts from utilities to inter-rater_variability Nov 8, 2023
@valosekj valosekj marked this pull request as ready for review November 8, 2023 21:32
@valosekj valosekj merged commit 8663024 into main Nov 8, 2023
@valosekj valosekj deleted the jv/refactor_utilities_folder branch February 16, 2024 14:02
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 this pull request may close these issues.

1 participant