X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageCommon.h;h=3cd8ae51520d7623bb95e0ccca692e329142684e;hb=dacff874d9d3cc4cf26429dc677832d221b963c3;hp=9559a80cdc49de39f666bdc59f9e9fd35ef2ce5a;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/common/clitkImageCommon.h b/common/clitkImageCommon.h index 9559a80..3cd8ae5 100644 --- a/common/clitkImageCommon.h +++ b/common/clitkImageCommon.h @@ -26,12 +26,6 @@ #include "itkImageFileReader.h" #include "itkImageSeriesReader.h" #include "itkImageFileWriter.h" -#include "gdcmFile.h" -#if GDCM_MAJOR_VERSION == 2 - #include "gdcmReader.h" -#else - #include "gdcmFileHelper.h" -#endif namespace clitk { @@ -82,10 +76,6 @@ namespace clitk { // Determine pixetype, dimension and number of pixel components of an image file void ReadImageDimensionAndPixelType(const std::string & filename, int & dimension, std::string & pixeType, int & components); - //-------------------------------------------------------------------- - // Read a dicom header - gdcm::File * readDicomHeader(const std::string & filename, const bool verbose=false); - //-------------------------------------------------------------------- template int ComputeHowManyDifferentIntensity(const typename ImageType::Pointer & image,