pydicom

Software Screenshot:
pydicom
Software Details:
Version: 0.9.8
Upload Date: 15 Apr 15
Developer: Darcy Mason
Distribution Type: Freeware
Downloads: 28

Rating: 2.8/5 (Total Votes: 4)

pydicom is a pure Python module for working with DICOM files. It was made for inspecting and modifying DICOM files in an easy "pythonic" way. The modifications can be written again to a new file. As a pure python package, it should run anywhere python runs without any other requirements.

Here is a short code sample from an interactive python session:

>>> import dicom
>>> plan=dicom.ReadFile("rtplan.dcm")
>>> plan.PatientsName
'Last^First^mid^pre'
>>> plan.dir("setup") # get a list of tags with "setup" somewhere in the name
['PatientSetups']
>>> plan.PatientSetups[0]
(0018, 5100) Patient Position CS: 'HFS'
(300a, 0182) Patient Setup Number IS: '1'
(300a, 01b2) Setup TechniqueDescription ST: ''
>>> plan.PatientSetups[0].PatientPosition = "HFP"
>>> plan.SaveAs("rtplan2.dcm")
>>>


pydicom is not a DICOM server, and is not about viewing images. It is designed to let you manipulate data elements in a DICOM file with python code.

pydicom is released under the GPL license. See the license.txt file in the distribution for details.

Requirements:

  • Python

Similar Software

MyPatients
MyPatients

17 Feb 15

pyQPCR
pyQPCR

15 Apr 15

kradview
kradview

2 Jun 15

Aeskulap
Aeskulap

3 Jun 15

Comments to pydicom

Comments not found
Add Comment
Turn on images!