Re: DICOM scanning slices problem

From: Thanasis Manousos <athmanou_at_gmail.com>
Date: Fri, 12 Jul 2013 11:16:23 +0200

Hello Maciej,

Yes you have to install numpy package as it is used by pydicom.
This will solve the problem

Best regards,
Thanasis

---
Athanasios Manousos
Dep. EN/STI, CERN
CH-1211 GENEVA 23
SWITZERLAND
PHONE: +41-22-7675461 <tel:%2B41-22-7675461>
URL: http://cern.ch/manousos
On 07/11/2013 06:36 PM, ELKA wrote:
> Hello,
> I have a question about DICOM processing in flair. After I have added
> DICOM files to flair app I had a problem during scanning slices...
> Output window give me an error:
>
> Traceback (most recent call last):
>  File "/usr/local/flair/tkFlair.py", line 1046, in __call__ return
> self.func(*args)
>  File "/usr/local/flair/Dicom.py", line 275, in _scanSlice for row in
> dataset.pixel_array:
>  File
> "/usr/lib/python2.7/site-packages/pydicom-0.9.8-py2.7.egg/dicom/dataset.py",
> line 394, in pixel_array
>   return self._get_pixel_array()
>  File
> "/usr/lib/python2.7/site-packages/pydicom-0.9.8-py2.7.egg/dicom/dataset.py",
> line 386, in _get_pixel_array
>   self._pixel_array = self._pixel_data_numpy()
>  File
> "/usr/lib/python2.7/site-packages/pydicom-0.9.8-py2.7.egg/dicom/dataset.py",
> line 331, in _pixel_data_numpy
>   raise ImportError(msg)
> ImportError: The Numpy package is required to use pixel_array, and
> numpy could not be imported
> Could you tell me what is wrong? Do I have to install this package?
> Thank you for answer.
> Regards,
> Maciej Maciak
Received on Mon Jul 15 2013 - 10:56:57 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 15 2013 - 10:56:57 CEST