Top "Pydicom" questions

pydicom is a pure Python package for working with DICOM files such as medical images, reports, and radiotherapy objects.

Create pydicom file from numpy array

I'm trying to create a mew dicom image from a standard-sized (512 x 512 or 256 x 256) numpy array. It seems like this …

python dicom pydicom
pydicom module not found by python

The error message: In [1]: import pydicom as dicomio --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-102814c2908e&…

macos python-2.7 anaconda pydicom
PyDICOM can't read pixel data and needs GDCM or Pillow

I'm using pydicom and my code is pretty straightforward: image = np.stack([s.pixel_array for s in scans]) But …

python python-imaging-library pydicom gdcm
Using dicom Images with OpenCV in Python

I am trying to use a dicom image and manipulate it using OpenCV in a Python environment. So far I …

python python-3.x opencv opencv3.0 pydicom
pydicom 'Dataset' object has no attribute 'TransferSyntaxUID'

I'm using pydicom 1.0.0a1, downloaded from here, When I run the following code: ds=pydicom.read_file('./DR/abnormal/…

python pydicom