pydicom

Read, modify and write DICOM files with python code

Github stars Tracking Chart

pydicom

Build Status
AppVeyor
CircleCI
codecov
Python version
PyPI version
DOI
Gitter

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.

Main metrics

Overview
Name With Ownerpydicom/pydicom
Primary LanguagePython
Program languagePython (Language Count: 3)
Platform
License:Other
所有者活动
Created At2013-10-31 02:58:52
Pushed At2025-06-15 05:18:55
Last Commit At
Release Count47
Last Release Namev3.0.1 (Posted on )
First Release Namerelease-0.9.1 (Posted on )
用户参与
Stargazers Count2k
Watchers Count64
Fork Count505
Commits Count1.8k
Has Issues Enabled
Issues Count1075
Issue Open Count12
Pull Requests Count906
Pull Requests Open Count1
Pull Requests Close Count97
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private