Project-MONAI / MONAI

AI Toolkit for Healthcare Imaging
https://monai.io/
Apache License 2.0
5.93k stars 1.09k forks source link

Add multi-channel conversion transforms for brats23 #8112

Open dani-capellan opened 2 months ago

dani-capellan commented 2 months ago

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:

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