18 #ifndef sitkImageSeriesReader_h
19 #define sitkImageSeriesReader_h
79 ToString()
const override;
85 return std::string(
"ImageSeriesReader");
94 SITK_RETURN_SELF_TYPE_HEADER
97 this->m_MetaDataDictionaryArrayUpdate = metaDataDictionaryArrayUpdate;
103 return this->m_MetaDataDictionaryArrayUpdate;
108 SITK_RETURN_SELF_TYPE_HEADER
111 return this->SetMetaDataDictionaryArrayUpdate(
true);
113 SITK_RETURN_SELF_TYPE_HEADER
116 return this->SetMetaDataDictionaryArrayUpdate(
false);
147 static std::vector<PathType>
148 GetGDCMSeriesFileNames(
const PathType & directory,
149 const std::string & seriesID =
"",
150 bool useSeriesDetails =
false,
151 bool recursive =
false,
152 bool loadSequences =
false);
164 static std::vector<std::string>
165 GetGDCMSeriesIDs(
const PathType & directory,
bool useSeriesDetails =
false);
167 SITK_RETURN_SELF_TYPE_HEADER
168 SetFileNames(
const std::vector<PathType> & fileNames);
169 const std::vector<PathType> &
170 GetFileNames()
const;
173 SITK_RETURN_SELF_TYPE_HEADER
174 SetSpacingWarningRelThreshold(
double spacingWarningRelThreshold);
176 GetSpacingWarningRelThreshold()
const;
195 std::vector<std::string>
198 return this->m_pfGetMetaDataKeys(slice);
206 return this->m_pfHasMetaDataKey(slice, key);
220 return this->m_pfGetMetaData(slice, key);
225 template <
class TImageType>
248 double m_SpacingWarningRelThreshold{1e-4};
250 bool m_MetaDataDictionaryArrayUpdate{
false};
278 ReadImage(
const std::vector<PathType> & fileNames,
280 const std::string & imageIO =
"");