18#ifndef itkTIFFImageIO_h
19#define itkTIFFImageIO_h
20#include "ITKIOTIFFExport.h"
28class TIFFReaderInternal;
80 Read(
void * buffer)
override;
101 Write(
const void * buffer)
override;
229 GetColor(uint64_t index, uint16_t * red, uint16_t * green, uint16_t * blue);
260 template <
typename TComponent>
264 template <
typename TComponent>
268 template <
typename TType>
275 unsigned int fromskew);
277 template <
typename TType>
279 PutRGB_(TType * to, TType * from,
unsigned int xsize,
unsigned int ysize,
unsigned int toskew,
unsigned int fromskew);
282 template <
typename TType,
typename TFromType>
289 unsigned int fromskew);
291 template <
typename TType,
typename TFromType>
298 unsigned int fromskew);
300 template <
typename TType,
typename TFromType>
307 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
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)
virtual void SetJPEGQuality(int _JPEGQuality)
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 PutPaletteRGB(TType *to, TFromType *from, unsigned int xsize, unsigned int ysize, unsigned int toskew, unsigned int fromskew)
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....