18#ifndef sitkImageFileWriter_h
19#define sitkImageFileWriter_h
71 return std::string(
"ImageFileWriter");
76 virtual std::vector<std::string>
86 SITK_RETURN_SELF_TYPE_HEADER
91 SITK_RETURN_SELF_TYPE_HEADER
93 SITK_RETURN_SELF_TYPE_HEADER
104 SITK_RETURN_SELF_TYPE_HEADER
116 SITK_RETURN_SELF_TYPE_HEADER
134 virtual SITK_RETURN_SELF_TYPE_HEADER
149 SITK_RETURN_SELF_TYPE_HEADER
154 SITK_RETURN_SELF_TYPE_HEADER
156 SITK_RETURN_SELF_TYPE_HEADER
160 SITK_RETURN_SELF_TYPE_HEADER
165 SITK_RETURN_SELF_TYPE_HEADER
167 SITK_RETURN_SELF_TYPE_HEADER
Self & UseCompressionOff()
Enable compression if available for file type.
itk::SmartPointer< ImageIOBase > GetImageIOBase(const PathType &fileName)
bool GetUseCompression() const
Enable compression if available for file type.
virtual Self & SetImageIO(const std::string &imageio)
Set/Get name of ImageIO to use.
virtual std::vector< std::string > GetRegisteredImageIOs() const
Get a vector of the names of registered itk ImageIOs.
std::string ToString() const override
Self & ExecuteInternal(const Image &)
~ImageFileWriter() override
virtual std::string GetImageIO() const
Set/Get name of ImageIO to use.
Self & KeepOriginalImageUIDOn()
Set/Get name of ImageIO to use.
Self & SetFileName(const PathType &fileName)
Self & KeepOriginalImageUIDOff()
Set/Get name of ImageIO to use.
Self &(Self::* MemberFunctionType)(const Image &)
Self & SetUseCompression(bool UseCompression)
Enable compression if available for file type.
Self & SetCompressionLevel(int)
A hint for the amount of compression to be applied during writing.
std::string GetName() const override
PathType GetFileName() const
bool m_KeepOriginalImageUID
bool GetKeepOriginalImageUID() const
Set/Get name of ImageIO to use.
Self & Execute(const Image &, const PathType &inFileName, bool useCompression, int compressionLevel)
std::string m_ImageIOName
std::string GetCompressor()
A compression algorithm hint.
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetCompressor(const std::string &)
A compression algorithm hint.
Self & UseCompressionOn()
Enable compression if available for file type.
int GetCompressionLevel() const
A hint for the amount of compression to be applied during writing.
Self & SetKeepOriginalImageUID(bool KeepOriginalImageUID)
Use the original study/series/frame of reference.
Self & Execute(const Image &)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The Image class for SimpleITK.
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...