9 if( header.find(
"SV10") != std::string::npos )
23 int vm = *(input.c_str() + format_specs.
NameLength );
25 for (
int k = 0; k < vm; k++)
27 int itemLength = *(input.c_str() + offset + 4);
29 int strideSize =
static_cast<int> (ceil(static_cast<double>(itemLength)/4) * 4);
30 std::string valueString = input.substr( offset+16, itemLength );
32 double value = atof( valueString.c_str() );
33 values.push_back( value );
35 offset += 16+strideSize;
39 return (values.size() > 0 );
bool ParseInputString(std::string input, std::vector< double > &values, Siemens_Header_Format format_specs)
SiemensDiffusionHeaderType
SiemensDiffusionHeaderType GetHeaderType(std::string header)