18#ifndef itkImageSeriesReader_h
19#define itkImageSeriesReader_h
20#include "ITKIOImageBaseExport.h"
44template <
typename TOutputImage>
86 if (m_FileNames != name)
94 const FileNamesContainer &
106 m_FileNames.push_back(name);
115 m_FileNames.push_back(name);
122 itkSetMacro(ReverseOrder,
bool);
123 itkGetConstMacro(ReverseOrder,
bool);
124 itkBooleanMacro(ReverseOrder);
129 itkSetMacro(ForceOrthogonalDirection,
bool);
130 itkGetConstMacro(ForceOrthogonalDirection,
bool);
131 itkBooleanMacro(ForceOrthogonalDirection);
151 itkSetMacro(MetaDataDictionaryArrayUpdate,
bool);
152 itkGetConstMacro(MetaDataDictionaryArrayUpdate,
bool);
153 itkBooleanMacro(MetaDataDictionaryArrayUpdate);
174 itkSetMacro(UseStreaming,
bool);
175 itkGetConstReferenceMacro(UseStreaming,
bool);
176 itkBooleanMacro(UseStreaming);
180 itkSetMacro(SpacingWarningRelThreshold,
double);
181 itkGetConstMacro(SpacingWarningRelThreshold,
double);
201 bool m_ReverseOrder{
false };
204 bool m_ForceOrthogonalDirection{
true };
214 unsigned int m_NumberOfDimensionsInImage{ 0 };
220 bool m_UseStreaming{
true };
222 bool m_SpacingDefined{
false };
224 double m_SpacingWarningRelThreshold{ 1
e-4 };
236 bool m_MetaDataDictionaryArrayUpdate{
true };
240#ifndef ITK_MANUAL_INSTANTIATION
241# include "itkImageSeriesReader.hxx"
Base class for all data objects in ITK.
Data source that reads image data from a single file.
Abstract superclass defines image IO interface.
Data source that reads image data from a series of disk files.
std::vector< std::string > FileNamesContainer
void AddFileName(std::string const &name)
std::vector< DictionaryRawPointer > DictionaryArrayType
void GenerateData() override
typename TOutputImage::RegionType ImageRegionType
const DictionaryArrayType * DictionaryArrayRawPointer
void GenerateOutputInformation() override
typename TOutputImage::SizeType SizeType
void SetFileName(std::string const &name)
typename TOutputImage::IndexType IndexType
DictionaryArrayRawPointer GetMetaDataDictionaryArray() const
~ImageSeriesReader() override
void PrintSelf(std::ostream &os, Indent indent) const override
int ComputeMovingDimensionIndex(ReaderType *reader)
void SetFileNames(const FileNamesContainer &name)
void EnlargeOutputRequestedRegion(DataObject *output) override
const FileNamesContainer & GetFileNames() const
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Generate a unique, increasing time value.
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
static constexpr double e
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....