[Dcmlib] TestCopyDicom

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri Sep 3 18:14:47 CEST 2004


Jean-Pierre Roux wrote:
>>Jean-Pierre Roux wrote:
>>
>>>>Salut,
> 
> 
>>C'est sense compiler ou c'est juste un exemple theorique ?
> 
> 
> Oops !
> J'ai oublie de comiter le source dans lequel  gdcmElementSet::GetEntry()
> avit ete decomente :-(
> Apres ca, ca marchera *beaucoup* mieux.


Salut JP,

	Je bien tout recompiler mais si je fais sur une image au pif:

./bin/TestCopyDicom ~/Creatis/gdcmData/012345.002.050.dcm foobar.dcm

./bin/vtkgdcmViewer foobar.dcm
Debug: In /home/malaterre/Creatis/malaterre/gdcm/vtk/vtkGdcmReader.cxx, 
line 369
vtkGdcmReader (0x9e4f980): Adding file foobar.dcm

ERROR: In /home/malaterre/Creatis/malaterre/gdcm/vtk/vtkGdcmReader.cxx, 
line 450
vtkGdcmReader (0x9e4f980): Gdcm cannot parse file foobar.dcm

ERROR: In /home/malaterre/Creatis/malaterre/gdcm/vtk/vtkGdcmReader.cxx, 
line 452
vtkGdcmReader (0x9e4f980): Removing this file from readed files foobar.dcm

Debug: In /home/malaterre/Creatis/malaterre/gdcm/vtk/vtkGdcmReader.cxx, 
line 570
vtkGdcmReader (0x9e4f980): Number of coherent files: 0

Debug: In /home/malaterre/Creatis/malaterre/gdcm/vtk/vtkGdcmReader.cxx, 
line 578
vtkGdcmReader (0x9e4f980): Total number of planes on the stack: 1

Debug: In /home/malaterre/Kitware/VTK/IO/vtkImageReader2.h, line 80
vtkGdcmReader (0x9e4f980): vtkGdcmReader (0x9e4f980): setting 
NumberOfScalarComp onents to 875444014

Debug: In /home/malaterre/Kitware/VTK/IO/vtkImageReader.cxx, line 584
vtkGdcmReader (0x9e4f980): Transformed extent are:0, 892221487, 0, 
875442477, 0,  0

Debug: In /home/malaterre/Kitware/VTK/IO/vtkImageReader.cxx, line 584
vtkGdcmReader (0x9e4f980): Transformed extent are:0, 892221487, 0, 
875442477, 0,  0

zsh: 13169 abort      ./bin/vtkgdcmViewer foobar.dcm


Sur quelle image t'as verifier que ca marchait ?

Merci
Mathieu





More information about the Dcmlib mailing list