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;
235 GetColor(uint64_t index, uint16_t * red, uint16_t * green, uint16_t * blue);
266 template <
typename TComponent>
270 template <
typename TComponent>
274 template <
typename TType>
281 unsigned int fromskew);
283 template <
typename TType>
285 PutRGB_(TType * to, TType * from,
unsigned int xsize,
unsigned int ysize,
unsigned int toskew,
unsigned int fromskew);
288 template <
typename TType,
typename TFromType>
295 unsigned int fromskew);
297 template <
typename TType,
typename TFromType>
304 unsigned int fromskew);
306 template <
typename TType,
typename TFromType>
313 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 SetCompressionToAdobeDeflate()
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....