I added some new transforms to convert from BraTS2023 labels to multi-channel - both when performing region-based and label-based training. I thought it could be useful because right now the only one existing in monai.transforms (ConvertToMultiChannelBasedOnBratsClasses) is based on BraTS2018 labels, which have changed over the past editions. If you find this useful I could also try to implement them for BraTS2024, although here we have more heterogenity across the different tasks.
New classes:
ConvertToMultiChannelBasedOnBrats23Classes: returns labels -> regions -> multi-channel tensors. Simulates the previous mentioned class (ConvertToMultiChannelBasedOnBratsClasses)
I've quickly tested the changes by running it in some experiments I'm working on, but I haven't run any integration tests yet. Please let me know if this is helpful. I'm happy to assist further with the implementation or help finalize the pull request.
Types of changes
[x] Non-breaking change (fix or new feature that would not break existing functionality).
[ ] Breaking change (fix or new feature that would cause existing functionality to change).
Hi team!
I added some new transforms to convert from BraTS2023 labels to multi-channel - both when performing region-based and label-based training. I thought it could be useful because right now the only one existing in monai.transforms (
ConvertToMultiChannelBasedOnBratsClasses
) is based on BraTS2018 labels, which have changed over the past editions. If you find this useful I could also try to implement them for BraTS2024, although here we have more heterogenity across the different tasks.New classes:
ConvertToMultiChannelBasedOnBrats23Classes
: returns labels -> regions -> multi-channel tensors. Simulates the previous mentioned class (ConvertToMultiChannelBasedOnBratsClasses)ConvertToMultiChannelBasedOnBrats23ClassesNoReg
: returns labels -> multi-channel tensorsI've quickly tested the changes by running it in some experiments I'm working on, but I haven't run any integration tests yet. Please let me know if this is helpful. I'm happy to assist further with the implementation or help finalize the pull request.
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.make html
command in thedocs/
folder.