[Insight-users] Problem trying to open a DICOM series

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Jan 4 11:38:24 EST 2007


Luca Binotto wrote:
> Hi there,
> I need to read the DICOM series hosted at http://www.medical-image-processing.info/MVE/Download/index.htm
> ( COLON DICOM 128x128x488). I used the code found in: DicomSeriesReadImageWrite2.cxx 
> but it failed.
> I don't know what is the correct PixelType to use (signed short ?) and/or
> if I have to add/change something in :
>  nameGenerator->AddSeriesRestriction("0008|0021" );
> #########################################################################
> luca at linuxBINOTTO:~/devel/vtkITK> vtkITK  /home/luca/devel/vtkITK/Colon  IM_
> 
> The directory:
> 
> /home/luca/devel/vtkITK/Colon
> 
> Contains the following DICOM Series:
> 
> WARNING: In /usr/local/ITK_src/InsightToolkit-2.8.1/Code/IO/itkGDCMSeriesFileNames.cxx, line 89
> GDCMSeriesFileNames (0x819ec18): No Series were found
> 
> Segmentation fault
> ############################################################################
> Is there someone that can help me ?


Hi Luca,

	/home/luca/devel/vtkITK/Colon does not seems to contains any DICOM 
files. Please make sure you extracted the zip file in the proper 
directory. As a side note do not use:

   AddSeriesRestriction("0008|0021" )

	Since those files do not even contains this tag this will add an 
overhead and confuse the user on why you are using it.

HTH
-Mathieu


More information about the Insight-users mailing list