]> Creatis software - clitk.git/commitdiff
gdcm stuff doesn't compile with recent ITK releases. Should not be in clitkImageCommo...
authorsrit <srit>
Thu, 15 Jul 2010 11:53:34 +0000 (11:53 +0000)
committersrit <srit>
Thu, 15 Jul 2010 11:53:34 +0000 (11:53 +0000)
common/clitkImageCommon.cxx
common/clitkImageCommon.h

index d2ab8673778dc1b92fb3b618430df840cce21766..9386ecdda27c4998a8d631328754046054ce6e46 100644 (file)
@@ -69,7 +69,7 @@ void clitk::ReadImageDimensionAndPixelType(const std::string & filename,
 //--------------------------------------------------------------------
 
 //--------------------------------------------------------------------
-// Read a dicom header
+/* Read a dicom header
 gdcm::File * clitk::readDicomHeader(const std::string & filename,
                                     const bool verbose)
 {
@@ -82,7 +82,7 @@ gdcm::File * clitk::readDicomHeader(const std::string & filename,
   header->Load();
   return header;
 }
-//--------------------------------------------------------------------
+*///--------------------------------------------------------------------
 
 //--------------------------------------------------------------------
 itk::ImageIOBase::Pointer clitk::readImageHeader(const std::string & filename, bool exit_on_error)
index e734d21bf402367538169da3d250a7a12dbb8114..d3fefb3228b153928429a1bbb2c3e486f1feec7b 100644 (file)
@@ -26,8 +26,8 @@
 #include "itkImageFileReader.h"
 #include "itkImageSeriesReader.h"
 #include "itkImageFileWriter.h"
-#include "gdcmFile.h"
-#include "gdcmFileHelper.h"
+//#include "gdcmFile.h"
+//#include "gdcmFileHelper.h"
 
 
 namespace clitk {
@@ -81,7 +81,7 @@ namespace clitk {
 
   //--------------------------------------------------------------------
   // Read a dicom header  
-  gdcm::File * readDicomHeader(const std::string & filename, const bool verbose=false);
+//  gdcm::File * readDicomHeader(const std::string & filename, const bool verbose=false);
 
   //--------------------------------------------------------------------
   template<class ImageType>