X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageCommon.h;h=9559a80cdc49de39f666bdc59f9e9fd35ef2ce5a;hb=573d80d0f7a17607d2ee883c21c940c0ba020282;hp=e734d21bf402367538169da3d250a7a12dbb8114;hpb=6ba3ae42db97a5367507312b4d086e006081d8ed;p=clitk.git diff --git a/common/clitkImageCommon.h b/common/clitkImageCommon.h index e734d21..9559a80 100644 --- a/common/clitkImageCommon.h +++ b/common/clitkImageCommon.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,12 +14,12 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef CLITKIMAGECOMMON_H #define CLITKIMAGECOMMON_H // clitk -#include "clitkCommon.h" +//#include "clitkCommon.h" // itk #include "itkImage.h" @@ -27,8 +27,11 @@ #include "itkImageSeriesReader.h" #include "itkImageFileWriter.h" #include "gdcmFile.h" -#include "gdcmFileHelper.h" - +#if GDCM_MAJOR_VERSION == 2 + #include "gdcmReader.h" +#else + #include "gdcmFileHelper.h" +#endif namespace clitk {