[vtkusers] Problem to read Dicom with vtkGdcmReader

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri Sep 15 17:38:52 EDT 2006


Glauco Silva wrote:
>  
> Hi,
> I'm trying to reade a DICOM image with vtkGdcmReader like this:
> reader = vtkGdcmReader()
> reader.SetFileName("E:\\Imagens\\Jair\\1.3.12.2.1107.5.1.1.20706.20020604105439700.4.dcm")
> reader.Update()
>  
> But when occur a error in reader.Update().
> Error: gdcm connot parse file : 
> "E:\\Imagens\\Jair\\1.3.12.2.1107.5.1.1.20706.20020604105439700.4.dcm"
>  
> What's wrong ?
> Thanks
> Glauco


Glauco,

	[You should really direct your question to the GDCM mailing list, 
including the version of VTK and GDCM you are using]

	Have you tried the vtkDICOMImageReader first ? Is it working for you ? 
Are you sure there is a file at location:

   E:\\Imagens\\Jair\\1.3.12.2.1107.5.1.1.20706.20020604105439700.4.dcm

	Can you read this file, if you move it somewhere else, like:

   C:/1.3.12.2.1107.5.1.1.20706.20020604105439700.4.dcm

Thanks
Mathieu



More information about the vtkusers mailing list