18#ifndef sitkImageSeriesWriter_h
19#define sitkImageSeriesWriter_h
67 virtual std::vector<std::string>
82 virtual SITK_RETURN_SELF_TYPE_HEADER
92 return std::string(
"ImageSeriesWriter");
101 SITK_RETURN_SELF_TYPE_HEADER
106 SITK_RETURN_SELF_TYPE_HEADER
108 SITK_RETURN_SELF_TYPE_HEADER
118 SITK_RETURN_SELF_TYPE_HEADER
130 SITK_RETURN_SELF_TYPE_HEADER
141 SITK_RETURN_SELF_TYPE_HEADER
143 const std::vector<PathType> &
148 SITK_RETURN_SELF_TYPE_HEADER
150 SITK_RETURN_SELF_TYPE_HEADER
151 Execute(
const Image & image,
const std::vector<PathType> & inFileNames,
bool useCompression,
int compressionLevel);
154 template <
class TImageType>
195 const std::vector<PathType> & fileNames,
196 bool useCompression =
false,
197 int compressionLevel = -1);
~ImageSeriesWriter() override
Self & SetUseCompression(bool UseCompression)
Enable compression if available for file type.
Self & UseCompressionOff()
Set/Get name of ImageIO to use.
std::string ToString() const override
Self &(Self::* MemberFunctionType)(const Image &)
Self & SetCompressor(const std::string &)
A compression algorithm hint.
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & Execute(const Image &image, const std::vector< PathType > &inFileNames, bool useCompression, int compressionLevel)
Self & SetFileNames(const std::vector< PathType > &fileNames)
std::string GetName() const override
std::vector< PathType > m_FileNames
std::string GetCompressor()
A compression algorithm hint.
virtual std::string GetImageIO() const
Set/Get name of ImageIO to use.
Self & UseCompressionOn()
Set/Get name of ImageIO to use.
itk::SmartPointer< ImageIOBase > GetImageIOBase(const PathType &fileName)
const std::vector< PathType > & GetFileNames() const
virtual Self & SetImageIO(const std::string &imageio)
Set/Get name of ImageIO to use.
Self & Execute(const Image &)
Self & SetCompressionLevel(int)
A hint for the amount of compression to be applied during writing.
std::string m_ImageIOName
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.
virtual std::vector< std::string > GetRegisteredImageIOs() const
Get a vector of the names of registered itk ImageIOs.
Self & ExecuteInternal(const Image &inImage)
The Image class for SimpleITK.
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...