17 #ifndef MITKDIFFUSIONHEADERFILEREADER_H
18 #define MITKDIFFUSIONHEADERFILEREADER_H
23 #include <itkLightObject.h>
24 #include <itkObjectFactory.h>
26 #include "gdcmScanner.h"
27 #include "gdcmReader.h"
28 #include <vnl/vnl_vector_fixed.h>
49 MITK_INFO <<
" DiffusionImageHeaderInformation : \n"
50 <<
" : b value : " <<
b_value <<
"\n"
51 <<
" : gradient : " <<
g_vector <<
"\n"
52 <<
" : isotropic : " <<
isotropic <<
"\n --- \n";
78 :
public itk::LightObject
85 itkSimpleNewMacro( Self )
91 virtual
bool ReadDiffusionHeader(
std::
string ){
return false; }
93 DICOMHeaderListType GetHeaderInformation();
113 bool RevealBinaryTag(
const gdcm::Tag tag,
const gdcm::DataSet& dataset, std::string& target);
115 bool RevealBinaryTagC(
const gdcm::Tag tag,
const gdcm::DataSet& dataset,
char* target_array );
120 #endif // MITKDIFFUSIONHEADERFILEREADER_H
bool RevealBinaryTag(const gdcm::Tag tag, const gdcm::DataSet &dataset, std::string &target)
Retrieve the value of a gdcm tag to the given string.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKDIFFUSIONCORE_EXPORT
bool RevealBinaryTagC(const gdcm::Tag tag, const gdcm::DataSet &dataset, char *target_array)