Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::TIFFImageIO Class Reference

#include <itkTIFFImageIO.h>

Inheritance diagram for itk::TIFFImageIO:

Inheritance graph
[legend]
Collaboration diagram for itk::TIFFImageIO:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TIFFImageIO Self
typedef ImageIOBase Superclass
typedef SmartPointer< SelfPointer
enum  {
  NOFORMAT, RGB_, GRAYSCALE, PALETTE_RGB,
  PALETTE_GRAYSCALE, OTHER
}
enum  {
  NoCompression, PackBits, JPEG, Deflate,
  LZW
}

Public Member Functions

virtual const char * GetClassName () const
virtual bool CanReadFile (const char *)
virtual void ReadImageInformation ()
virtual const std::type_info & GetPixelType () const
virtual void Read (void *buffer)
virtual void ReadVolume (void *buffer)
virtual unsigned int GetComponentSize () const
virtual bool CanWriteFile (const char *)
virtual void WriteImageInformation ()
virtual void Write (const void *buffer)
void SetCompressionToNoCompression ()
void SetCompressionToPackBits ()
void SetCompressionToJPEG ()
void SetCompressionToDeflate ()
void SetCompressionToLZW ()
virtual void SetCompression (int _arg)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 TIFFImageIO ()
 ~TIFFImageIO ()
void PrintSelf (std::ostream &os, Indent indent) const
void WriteSlice (std::string &fileName, const void *buffer)
void InitializeColors ()
void ReadGenericImage (void *out, unsigned int, unsigned int height)
int EvaluateImageAt (void *out, void *in)
unsigned int GetFormat ()
void GetColor (int index, unsigned short *red, unsigned short *green, unsigned short *blue)

Member Typedef Documentation

typedef SmartPointer<Self> itk::TIFFImageIO::Pointer
 

Reimplemented from itk::ImageIOBase.

Definition at line 46 of file itkTIFFImageIO.h.

typedef TIFFImageIO itk::TIFFImageIO::Self
 

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 44 of file itkTIFFImageIO.h.

typedef ImageIOBase itk::TIFFImageIO::Superclass
 

Reimplemented from itk::ImageIOBase.

Definition at line 45 of file itkTIFFImageIO.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NOFORMAT 
RGB_ 
GRAYSCALE 
PALETTE_RGB 
PALETTE_GRAYSCALE 
OTHER 
Definition at line 91 of file itkTIFFImageIO.h.

anonymous enum
 

Enumeration values:
NoCompression 
PackBits 
JPEG 
Deflate 
LZW 
Definition at line 94 of file itkTIFFImageIO.h.


Constructor & Destructor Documentation

itk::TIFFImageIO::TIFFImageIO  )  [protected]
 

itk::TIFFImageIO::~TIFFImageIO  )  [protected]
 


Member Function Documentation

virtual bool itk::TIFFImageIO::CanReadFile const char *   )  [virtual]
 

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::ImageIOBase.

virtual bool itk::TIFFImageIO::CanWriteFile const char *   )  [virtual]
 

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::ImageIOBase.

int itk::TIFFImageIO::EvaluateImageAt void *  out,
void *  in
[protected]
 

virtual const char* itk::TIFFImageIO::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

void itk::TIFFImageIO::GetColor int  index,
unsigned short *  red,
unsigned short *  green,
unsigned short *  blue
[protected]
 

virtual unsigned int itk::TIFFImageIO::GetComponentSize  )  const [virtual]
 

Compute the size (in bytes) of the components of a pixel. For example, and RGB pixel of unsigned char would have a component size of 1 byte.

Reimplemented from itk::ImageIOBase.

unsigned int itk::TIFFImageIO::GetFormat  )  [protected]
 

virtual const std::type_info& itk::TIFFImageIO::GetPixelType  )  const [virtual]
 

Get the type of the pixel.

Reimplemented from itk::ImageIOBase.

void itk::TIFFImageIO::InitializeColors  )  [protected]
 

Pointer itk::TIFFImageIO::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

void itk::TIFFImageIO::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageIOBase.

virtual void itk::TIFFImageIO::Read void *  buffer  )  [virtual]
 

Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

void itk::TIFFImageIO::ReadGenericImage void *  out,
unsigned  int,
unsigned int  height
[protected]
 

virtual void itk::TIFFImageIO::ReadImageInformation  )  [virtual]
 

Set the spacing and diemention information for the set filename.

Implements itk::ImageIOBase.

virtual void itk::TIFFImageIO::ReadVolume void *  buffer  )  [virtual]
 

Reads 3D data from multiple files assuming one slice per file.

virtual void itk::TIFFImageIO::SetCompression int  _arg  )  [virtual]
 

void itk::TIFFImageIO::SetCompressionToDeflate  )  [inline]
 

Definition at line 109 of file itkTIFFImageIO.h.

void itk::TIFFImageIO::SetCompressionToJPEG  )  [inline]
 

Definition at line 108 of file itkTIFFImageIO.h.

void itk::TIFFImageIO::SetCompressionToLZW  )  [inline]
 

Definition at line 110 of file itkTIFFImageIO.h.

void itk::TIFFImageIO::SetCompressionToNoCompression  )  [inline]
 

Definition at line 106 of file itkTIFFImageIO.h.

void itk::TIFFImageIO::SetCompressionToPackBits  )  [inline]
 

Definition at line 107 of file itkTIFFImageIO.h.

virtual void itk::TIFFImageIO::Write const void *  buffer  )  [virtual]
 

Writes the data to disk from the memory buffer provided. Make sure that the IORegion has been set properly.

Implements itk::ImageIOBase.

virtual void itk::TIFFImageIO::WriteImageInformation  )  [virtual]
 

Writes the spacing and dimentions of the image. Assumes SetFileName has been called with a valid file name.

Implements itk::ImageIOBase.

void itk::TIFFImageIO::WriteSlice std::string &  fileName,
const void *  buffer
[protected]
 


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:15:14 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000