Open lukasfolle opened 4 years ago
@radarhere I believe this would enhance the Pillow package substantially. Especially using Pillow with 3-D support as the backend for torchvision would be awesome.
Do you have an example file, ideally one with a small file size that could be added to our test suite and distributed under the Pillow license?
A public dataset would probably be a great choice, something like this for example: https://www.cancerimagingarchive.net/collection/tcga-lgg/
Thanks for the link. It is helpful to understand what you're after - but just to be clear,
Some data in this collection contains images that could potentially be used to reconstruct a human face. To safeguard the privacy of participants, users must sign and submit a TCIA Restricted License Agreement to help@cancerimagingarchive.net before accessing the data.
isn't going to be compatible with our license.
Good point! How about this sample data from Slicer? https://www.slicer.org/wiki/SampleData
How about this sample data from Slicer?
A medical imager in the house, welcome! I spent many years providing IT support to neuroscientists at NIH and love to see overlap of medical imaging and Pillow.
What did you do?
I tried to load a
.dcm
MRI scan with PIL.What did you expect to happen?
PIL to be able to deal with 3-D data.
What actually happened?
.dcm
or in general 3-D volumes are not supported in general. Thus, the file couldn't be opened.What are your OS, Python and Pillow versions?