Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDiffusionHeaderSiemensDICOMFileHelper.h
Go to the documentation of this file.
1 #ifndef MITKDIFFUSIONHEADERSIEMENSDICOMFILEHELPER_H
2 #define MITKDIFFUSIONHEADERSIEMENSDICOMFILEHELPER_H
3 
4 #include <string>
5 #include <vector>
6 
7 namespace mitk
8 {
9 
13 };
14 
15 SiemensDiffusionHeaderType GetHeaderType( std::string header );
16 
18 {
19  Siemens_Header_Format( size_t nlen,
20  size_t vm,
21  size_t vr,
22  size_t syngodt,
23  size_t nitems )
24  : NameLength( nlen ),
25  Delimiter( "\0" ),
26  VM( vm ),
27  VR( vr ),
28  Syngodt( syngodt ),
29  NumItems( nitems )
30  {
31 
32  }
33 
34  size_t NameLength;
35  std::string Delimiter;
36  size_t VM;
37  size_t VR;
38  size_t Syngodt;
39  size_t NumItems;
40 };
41 
42 bool ParseInputString( std::string input, std::vector<double>& values, Siemens_Header_Format format_specs );
43 
44 } //end namespace
45 #endif // MITKDIFFUSIONHEADERSIEMENSDICOMFILEHELPER_H
bool ParseInputString(std::string input, std::vector< double > &values, Siemens_Header_Format format_specs)
DataCollection - Class to facilitate loading/accessing structured data.
Siemens_Header_Format(vcl_size_t nlen, vcl_size_t vm, vcl_size_t vr, vcl_size_t syngodt, vcl_size_t nitems)
SiemensDiffusionHeaderType GetHeaderType(std::string header)