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

itk::JPEGImageIO Class Reference
[Input and Output Filters]

ImageIO object for reading and writing JPEG images. More...

#include <itkJPEGImageIO.h>

Inheritance diagram for itk::JPEGImageIO:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef JPEGImageIO Self
typedef ImageIOBase Superclass
typedef SmartPointer< SelfPointer

Public Member Functions

virtual const char * GetNameOfClass () const
virtual bool CanReadFile (const char *)
virtual void ReadImageInformation ()
virtual void Read (void *buffer)
virtual void ReadVolume (void *buffer)
virtual bool CanWriteFile (const char *)
virtual void WriteImageInformation ()
virtual void Write (const void *buffer)
virtual void SetQuality (int _arg)
virtual int GetQuality ()
virtual void SetProgressive (bool _arg)
virtual bool GetProgressive ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 JPEGImageIO ()
 ~JPEGImageIO ()
void PrintSelf (std::ostream &os, Indent indent) const
void WriteSlice (std::string &fileName, const void *buffer)

Protected Attributes

int m_Quality
bool m_Progressive

Detailed Description

ImageIO object for reading and writing JPEG images.

Definition at line 36 of file itkJPEGImageIO.h.


Member Typedef Documentation

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

Reimplemented from itk::ImageIOBase.

Definition at line 42 of file itkJPEGImageIO.h.

typedef JPEGImageIO itk::JPEGImageIO::Self
 

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 40 of file itkJPEGImageIO.h.

typedef ImageIOBase itk::JPEGImageIO::Superclass
 

Reimplemented from itk::ImageIOBase.

Definition at line 41 of file itkJPEGImageIO.h.


Constructor & Destructor Documentation

itk::JPEGImageIO::JPEGImageIO  )  [protected]
 

itk::JPEGImageIO::~JPEGImageIO  )  [protected]
 


Member Function Documentation

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

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

Implements itk::ImageIOBase.

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

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

Implements itk::ImageIOBase.

virtual const char* itk::JPEGImageIO::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

virtual bool itk::JPEGImageIO::GetProgressive  )  [virtual]
 

virtual int itk::JPEGImageIO::GetQuality  )  [virtual]
 

Set/Get the level of quality for the output images.

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

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

void itk::JPEGImageIO::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::JPEGImageIO::Read void *  buffer  )  [virtual]
 

Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

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

Set the spacing and diemention information for the set filename.

Implements itk::ImageIOBase.

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

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

virtual void itk::JPEGImageIO::SetProgressive bool  _arg  )  [virtual]
 

virtual void itk::JPEGImageIO::SetQuality int  _arg  )  [virtual]
 

Set/Get the level of quality for the output images.

virtual void itk::JPEGImageIO::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::JPEGImageIO::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::JPEGImageIO::WriteSlice std::string &  fileName,
const void *  buffer
[protected]
 


Member Data Documentation

bool itk::JPEGImageIO::m_Progressive [protected]
 

Default = true

Definition at line 101 of file itkJPEGImageIO.h.

int itk::JPEGImageIO::m_Quality [protected]
 

Determines the quality of compression for written files. default = 95

Definition at line 98 of file itkJPEGImageIO.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:32:02 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000