From c05b40d385ba67a91c43f9396718f738e191c0e4 Mon Sep 17 00:00:00 2001 From: srit Date: Thu, 15 Jul 2010 11:53:34 +0000 Subject: [PATCH] gdcm stuff doesn't compile with recent ITK releases. Should not be in clitkImageCommon anyway => commented out. --- common/clitkImageCommon.cxx | 4 ++-- common/clitkImageCommon.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/clitkImageCommon.cxx b/common/clitkImageCommon.cxx index d2ab867..9386ecd 100644 --- a/common/clitkImageCommon.cxx +++ b/common/clitkImageCommon.cxx @@ -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) diff --git a/common/clitkImageCommon.h b/common/clitkImageCommon.h index e734d21..d3fefb3 100644 --- a/common/clitkImageCommon.h +++ b/common/clitkImageCommon.h @@ -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 -- 2.47.1