[vtkusers] Problem to read Dicom with vtkGdcmReader

Glauco Silva glauco.silva at cenpra.gov.br
Mon Sep 18 08:34:41 EDT 2006


Hi Mathieu,
I tried vtkDICOMImageReader first and it's ok ! I can read the same Dicom 
Image !!
But when I tried vtkGdcmReader, one error occurred !!
I tried to move to C:/1.3.12.2.1107.5.1.1.20706.20020604105439700.4.dcm, but 
the error occurred too !!

Thanks
Glauco


----- Original Message ----- 
From: "Mathieu Malaterre" <mathieu.malaterre at kitware.com>
To: "Glauco Silva" <glauco.silva at cenpra.gov.br>
Cc: <vtkusers at vtk.org>
Sent: Friday, September 15, 2006 6:38 PM
Subject: Re: [vtkusers] Problem to read Dicom with vtkGdcmReader


> 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