Pure python package for DICOM medical file reading and writing
Project description
pydicom
pydicom is a pure python package for working with DICOM files. It was made for inspecting and modifying DICOM data in an easy "pythonic" way. The modifications can be written again to a new file.
As a pure python package, pydicom can run anywhere python runs without any other requirements, although NumPy is needed if manipulating pixel data.
pydicom is not a DICOM server, and is not primarily about viewing images. It is designed to let you manipulate data elements in DICOM files with python code.
Limitations -- for files with compressed pixel data, pydicom can decompress it (with additional libraries installed) and allow you to manipulate the data, but can only store changed pixel data as uncompressed. Files can always be read and saved (including compressed pixel data that has not been modified), but once decompressed, modified pixel data cannot be compressed again.
Documentation
pydicom documentation is available on GitHub Pages both for the development (master) version and for the released version. The documentation for the previous 0.9.9 version is still there for reference.
See Getting Started for installation and basic information, and the User Guide for an overview of how to use the pydicom library. To contribute to pydicom, read our contribution guide. To contribute an example or extension of pydicom that does not belong with the core software, see our contribution repository, contrib-pydicom.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pydicom-1.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3a94de180c6337e1443ce346730a784f9027f56175f61ba4dfda632693b843 |
|
MD5 | c8ba31c8edff054daca02de46182e9e9 |
|
BLAKE2b-256 | fcd5da1fdf3b967e324ee47a7ad9553c9b94c1193b6b98afd9eeda0efb76b9f7 |