DICOM scanning slices problem

From: ELKA <M.Maciak_at_stud.elka.pw.edu.pl>
Date: Thu, 11 Jul 2013 18:36:47 +0200


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.

Maciej Maciak
Received on Fri Jul 12 2013 - 09:44:42 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 12 2013 - 09:44:45 CEST