Project-MONAI / MONAI

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

Add DeleteChannelD inverse equivalent of RepeatChannelD #1567

Closed wyli closed 3 years ago

wyli commented 3 years ago

In the liver and tumor segmentation model, it's possible to approximate the Brain Segmentation workflow with RepeatChannelD to enable usage of ConvertToMultiChannelBasedOnBratsClassesd. However this results in greater, unnecessary memory usage.

Adding a DeleteChannelD transform would allow the duplicated channels to be pared down before feeding into the network.

Nic-Ma commented 3 years ago

Hi @wyli ,

Thanks for raising this, I think Tam is working on the PR to address it: https://github.com/Project-MONAI/MONAI/pull/1569.

wyli commented 3 years ago

sure, he created this issue originally, I just copied the content here