Project-MONAI / MONAI

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

2D Slice Segmentation with UNet from 3D Volume #6940

Closed Spawnfile closed 1 year ago

Spawnfile commented 1 year ago

Hi all,

I've got a bunch of CT volumes like 512x512x301 etc. which I need to train. Despite the all my research I couldn't find any implementation of methods in order to do that. How can I train a 2D ( CT slice ) segmentation with UNet from 3D CT volume ?

Cheers

KumoLiu commented 1 year ago

Hi @Spawnfile, here are some tutorials you could refer to: https://github.com/Project-MONAI/tutorials/blob/main/modules/2d_slices_from_3d_training.ipynb https://github.com/Project-MONAI/tutorials/tree/main/modules/generate_random_permutations https://github.com/Project-MONAI/tutorials/blob/main/modules/2d_slices_from_3d_sampling.ipynb

These are written in terms of sampling 2D from 3D, but they can generate 3D samples as well. Hope it helps, thanks!