18#ifndef sitkImageFileWriter_h
19#define sitkImageFileWriter_h
71 return std::string(
"ImageFileWriter");
76 virtual std::vector<std::string>
itk::SmartPointer< ImageIOBase > GetImageIOBase(const PathType &fileName)
bool GetUseCompression() const
Enable compression if available for file type.
void SetCompressionLevel(int)
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.
std::string ToString() const override
void UseCompressionOn()
Enable compression if available for file type.
void KeepOriginalImageUIDOn()
Set/Get name of ImageIO to use.
~ImageFileWriter() override
virtual std::string GetImageIO() const
Set/Get name of ImageIO to use.
void UseCompressionOff()
Enable compression if available for file type.
virtual void SetImageIO(const std::string &imageio)
Set/Get name of ImageIO to use.
void ExecuteInternal(const Image &)
std::string GetName() const override
PathType GetFileName() const
bool m_KeepOriginalImageUID
void Execute(const Image &)
void SetKeepOriginalImageUID(bool KeepOriginalImageUID)
Use the original study/series/frame of reference.
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
bool GetKeepOriginalImageUID() const
Set/Get name of ImageIO to use.
void SetCompressor(const std::string &)
A compression algorithm hint.
std::string m_ImageIOName
std::string GetCompressor()
A compression algorithm hint.
NonLabelPixelIDTypeList PixelIDTypeList
void SetFileName(const PathType &fileName)
void KeepOriginalImageUIDOff()
Set/Get name of ImageIO to use.
void(Self::* MemberFunctionType)(const Image &)
int GetCompressionLevel() const
A hint for the amount of compression to be applied during writing.
void SetUseCompression(bool UseCompression)
Enable compression if available for file type.
void Execute(const Image &, const PathType &inFileName, bool useCompression, int compressionLevel)
The Image class for SimpleITK.
A class used to instantiate and generate function object to templated member functions.
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
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...