python-pillow / python-pillow/Pillow
3-D Volumes
Open
Nobody has claimed this yet.
Enhancement
- Dominant language
- Python
- Stars
- 13.8k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 89
Description
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?
- OS: MacOs Catalina
- Python: Python3.7
- Pillow: Master
from PIL import Image
im = Image.open("brain_scan.dcm")
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported Image.open("brain_scan.dcm") example and inspect how Pillow currently handles the requested input. Define the supported scope for 3-D volumes and DICOM files, then add coverage showing that the intended 3-D data can be opened and handled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100