Project-MONAI / MONAI

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

Plotting segmentation masks on input images #8217

Closed faizan1234567 closed 1 week ago

faizan1234567 commented 1 week ago

Are there any monai function that overlay segmentation masks which (1, 3, 128, 128, 128) corresponding to (Batch, channels, depth, height, width) on the input image with shape (1, 4, 128, 128, 128). I am doing segmentation on BraTS 2023 dataset. And I have to put qualitative results in my paper. Please let me know if there is any tutorial on monai that does it.

KumoLiu commented 1 week ago

Hi @faizan1234567, thanks for your interest here. You can refer to this tutorial: https://github.com/Project-MONAI/tutorials/blob/main/modules/transform_visualization.ipynb

Hope it helps, thanks. (Move to discussion since not a issue)