]> Creatis software - clitk.git/blobdiff - common/clitkImageCommon.h
migration gdcm 2.0 clitkDicom2Image
[clitk.git] / common / clitkImageCommon.h
index 9559a80cdc49de39f666bdc59f9e9fd35ef2ce5a..3cd8ae51520d7623bb95e0ccca692e329142684e 100644 (file)
 #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<class ImageType>
   int ComputeHowManyDifferentIntensity(const typename ImageType::Pointer & image,