before the itk ones, otherwise there is a conflict between stdint.h and itkIntTypes.h
//--------------------------------------------------------------------
//--------------------------------------------------------------------
-/* Read a dicom header
+// Read a dicom header
gdcm::File * clitk::readDicomHeader(const std::string & filename,
const bool verbose)
{
header->Load();
return header;
}
-*///--------------------------------------------------------------------
+///--------------------------------------------------------------------
//--------------------------------------------------------------------
itk::ImageIOBase::Pointer clitk::readImageHeader(const std::string & filename, bool exit_on_error)
#include "itkImageFileReader.h"
#include "itkImageSeriesReader.h"
#include "itkImageFileWriter.h"
-//#include "gdcmFile.h"
-//#include "gdcmFileHelper.h"
+#include "gdcmFile.h"
+#include "gdcmFileHelper.h"
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>
// clitk include
#include "clitkIO.h"
#include "clitkCommon.h"
+#include "clitkImageCommon.h"
#include "clitkAffineRegistration_ggo.h"
#include "clitkImageArithm_ggo.h"
#include "clitkCorrelationRatioImageToImageMetric.h"