bigmb / Unet-Segmentation-Pytorch-Nest-of-Unets

Implementation of different kinds of Unet Models for Image Segmentation - Unet , RCNN-Unet, Attention Unet, RCNN-Attention Unet, Nested Unet
MIT License
1.87k stars 345 forks source link

How to prep the datasets? #48

Closed eduardo4jesus closed 3 years ago

eduardo4jesus commented 3 years ago

How to prep the datasets? lets say the pancras mentioned on this work, originally available here https://wiki.cancerimagingarchive.net/display/Public/Pancreas-CT?

Thanks for your time.

bigmb commented 3 years ago

You can refer to this file: https://github.com/bigmb/Unet-Segmentation-Pytorch-Nest-of-Unets/blob/master/2d_from_3d.py It converts the 3d image to 2d using slices. I took some of the slices which were required for my work and discarded the rest.