18#ifndef sitkImageSeriesWriter_h
19#define sitkImageSeriesWriter_h
67 virtual std::vector<std::string>
92 return std::string(
"ImageSeriesWriter");
149 const std::vector<PathType> &
157 Execute(
const Image & image,
const std::vector<PathType> & inFileNames,
bool useCompression,
int compressionLevel);
160 template <
class TImageType>
202 const std::vector<PathType> & fileNames,
203 bool useCompression =
false,
204 int compressionLevel = -1);
~ImageSeriesWriter() override
void SetCompressor(const std::string &)
A compression algorithm hint.
std::string ToString() const override
std::string GetName() const override
void SetFileNames(const std::vector< PathType > &fileNames)
std::vector< PathType > m_FileNames
void UseCompressionOn()
Set/Get name of ImageIO to use.
void Execute(const Image &image, const std::vector< PathType > &inFileNames, bool useCompression, int compressionLevel)
std::string GetCompressor()
A compression algorithm hint.
virtual std::string GetImageIO() const
Set/Get name of ImageIO to use.
void Execute(const Image &)
void(Self::* MemberFunctionType)(const Image &)
itk::SmartPointer< ImageIOBase > GetImageIOBase(const PathType &fileName)
const std::vector< PathType > & GetFileNames() const
void ExecuteInternal(const Image &inImage)
std::string m_ImageIOName
void UseCompressionOff()
Set/Get name of ImageIO to use.
bool GetUseCompression() const
Set/Get name of ImageIO to use.
int GetCompressionLevel() const
A hint for the amount of compression to be applied during writing.
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
virtual std::vector< std::string > GetRegisteredImageIOs() const
Get a vector of the names of registered itk ImageIOs.
void SetCompressionLevel(int)
A hint for the amount of compression to be applied during writing.
virtual void SetImageIO(const std::string &imageio)
Set/Get name of ImageIO to use.
void SetUseCompression(bool UseCompression)
Enable compression if available for file type.
The Image class for SimpleITK.
A class used to instantiate and generate function object to templated member functions.
SITKIO_EXPORT void WriteImage(const Image &image, const PathType &fileName, bool useCompression=false, int compressionLevel=-1)
WriteImage is a procedural interface to the ImageFileWriter. class which is convenient for many image...