X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vtk%2FvtkGdcmReader.cxx;h=cad97d6873565ba9e835a8b765f3b2ed0ff2d7bc;hb=a80d47bc2508e09f3a4f2cb6aa08b944330ec0fe;hp=bb13548d7d781aae6d3e864083e5c553019c5163;hpb=8f4652ccc78659f8b5fa4784d3a372cb37f0c702;p=gdcm.git diff --git a/vtk/vtkGdcmReader.cxx b/vtk/vtkGdcmReader.cxx index bb13548d..cad97d68 100644 --- a/vtk/vtkGdcmReader.cxx +++ b/vtk/vtkGdcmReader.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: vtkGdcmReader.cxx,v $ Language: C++ - Date: $Date: 2005/04/28 14:32:54 $ - Version: $Revision: 1.70 $ + Date: $Date: 2005/06/06 08:38:29 $ + Version: $Revision: 1.71 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -83,7 +83,7 @@ #include #include -vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.70 $"); +vtkCxxRevisionMacro(vtkGdcmReader, "$Revision: 1.71 $"); vtkStandardNewMacro(vtkGdcmReader); //----------------------------------------------------------------------------- @@ -491,7 +491,10 @@ int vtkGdcmReader::CheckFileCoherence() //gdcm::File GdcmFile( filename->c_str() ); // to save some parsing time. gdcm::File GdcmFile; - GdcmFile.SetLoadMode( NO_SEQ | NO_SHADOW ); + // Some images have a wrong length for 0x0000 element of private groups + // Better we don't use NO_SHADOW as a default option + //GdcmFile.SetLoadMode( NO_SEQ | NO_SHADOW ); + GdcmFile.SetLoadMode( NO_SEQ ); GdcmFile.Load(filename->c_str() ); if (!GdcmFile.IsReadable()) {