-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I have identified the following issue in the data used for testing the model:
(in green the manual segmentation/ in red the segmentation used for training/testing the model)
Possible causes for this:
- label reorientation:
assert os.system(f"sct_image -i {label_file_nnunet} -setorient RPI -o {label_file_nnunet}") ==0 - label resampling to match image dimension:
assert os.system(f"sct_register_multimodal -i {str(label_file_nnunet)} -d {str(image_file_nnunet)} -identity 1 -o {str(label_file_nnunet)} -owarp file_to_delete.nii.gz -owarpinv file_to_delete_2.nii.gz ") ==0 - label binarization:
assert os.system(f"sct_maths -i {str(label_file_nnunet)} -bin 0. -o {str(label_file_nnunet)}") ==0
This is a BIG issue!
Metadata
Metadata
Assignees
Labels
No labels