18#ifndef itkTIFFImageIO_h
19#define itkTIFFImageIO_h
20#include "ITKIOTIFFExport.h"
28class TIFFReaderInternal;
86 Read(
void * buffer)
override;
107 Write(
const void * buffer)
override;
241 GetColor(uint64_t index, uint16_t * red, uint16_t * green, uint16_t * blue);
272 template <
typename TComponent>
276 template <
typename TComponent>
280 template <
typename TType>
282 PutRow(TType * to,
void * from,
unsigned int xsize);
284 template <
typename TType>
291 unsigned int fromskew);
293 template <
typename TType>
295 PutRGB_(TType * to, TType * from,
unsigned int xsize,
unsigned int ysize,
unsigned int toskew,
unsigned int fromskew);
298 template <
typename TType,
typename TFromType>
305 unsigned int fromskew);
307 template <
typename TType,
typename TFromType>
314 unsigned int fromskew);
316 template <
typename TType,
typename TFromType>
323 unsigned int fromskew);
virtual void SetCompressionLevel(int _arg)
Set/Get a compression level hint.
virtual int GetCompressionLevel() const
virtual void UseCompressionOn()
virtual void SetCompressor(std::string _c)
Set/Get the compression algorithm to use.
virtual void UseCompressionOff()
Control indentation during Print() invocation.
virtual void Modified() const
Represent Red, Green and Blue components for color images.
Implements transparent reference counting.
bool CanFindTIFFTag(unsigned int t)
void WriteImageInformation() override
SmartPointer< Self > Pointer
void Write(const void *buffer) override
virtual void SetJPEGQuality(int jpegQuality)
void ReadTwoSamplesPerPixelImage(void *out, unsigned int width, unsigned int height)
void InternalSetCompressor(const std::string &_compressor) override
void SetCompression(int compression)
void AllocateTiffPalette(uint16_t bps)
void PutGrayscale(TType *to, TType *from, unsigned int xsize, unsigned int ysize, unsigned int toskew, unsigned int fromskew)
void ReadGenericImage(void *out, unsigned int width, unsigned int height)
void SetCompressionToDeflate()
std::vector< RGBPixelType > PaletteType
void PutPaletteScalar(TType *to, TFromType *from, unsigned int xsize, unsigned int ysize, unsigned int toskew, unsigned int fromskew)
PaletteType m_ColorPalette
void SetCompressionToPackBits()
void SetCompressionToAdobeDeflate()
void PutPaletteRGB(TType *to, TFromType *from, unsigned int xsize, unsigned int ysize, unsigned int toskew, unsigned int fromskew)
void PutRow(TType *to, void *from, unsigned int xsize)
void PutPaletteGrayscale(TType *to, TFromType *from, unsigned int xsize, unsigned int ysize, unsigned int toskew, unsigned int fromskew)
void SetCompressionToNoCompression()
Set type and automatically enable/disable compression.
void PutRGB_(TType *to, TType *from, unsigned int xsize, unsigned int ysize, unsigned int toskew, unsigned int fromskew)
void SetColorPalette(const PaletteType _arg)
void * ReadRawByteFromTag(unsigned int t, unsigned int &value_count)
bool CanWriteFile(const char *) override
void GetColor(uint64_t index, uint16_t *red, uint16_t *green, uint16_t *blue)
void ReadGenericImage(void *_out, unsigned int width, unsigned int height)
TIFFReaderInternal * m_InternalImage
void InternalWrite(const void *buffer)
bool CanReadFile(const char *) override
void ReadCurrentPage(void *buffer, vcl_size_t pixelOffset)
void RGBAImageToBuffer(void *out, const uint32_t *tempImage)
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void ReadVolume(void *buffer)
RGBPixel< unsigned short > RGBPixelType
virtual int GetJPEGQuality() const
unsigned int m_ImageFormat
void SetCompressionToJPEG()
void ReadImageInformation() override
void Read(void *buffer) override
void SetCompressionToLZW()
void PopulateColorPalette()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....