ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkJPEGImageIO.h>
Public Types | |
typedef SmartPointer< Self > | Pointer |
typedef JPEGImageIO | Self |
typedef ImageIOBase | Superclass |
Public Member Functions | |
virtual bool | CanReadFile (const char *) |
virtual bool | CanWriteFile (const char *) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | Read (void *buffer) |
virtual void | ReadImageInformation () |
virtual void | ReadVolume (void *buffer) |
virtual void | Write (const void *buffer) |
virtual void | WriteImageInformation () |
virtual void | SetQuality (int _arg) |
virtual int | GetQuality () const |
virtual void | SetProgressive (bool _arg) |
virtual bool | GetProgressive () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
JPEGImageIO () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | WriteSlice (std::string &fileName, const void *buffer) |
~JPEGImageIO () | |
Protected Attributes | |
int | m_Quality |
bool | m_Progressive |
JPEGImageIO (const Self &) | |
void | operator= (const Self &) |
ImageIO object for reading and writing JPEG images.
Definition at line 34 of file itkJPEGImageIO.h.
typedef SmartPointer< Self > itk::JPEGImageIO::Pointer |
Reimplemented from itk::ImageIOBase.
Definition at line 40 of file itkJPEGImageIO.h.
typedef JPEGImageIO itk::JPEGImageIO::Self |
Standard class typedefs.
Reimplemented from itk::ImageIOBase.
Definition at line 38 of file itkJPEGImageIO.h.
Reimplemented from itk::ImageIOBase.
Definition at line 39 of file itkJPEGImageIO.h.
itk::JPEGImageIO::JPEGImageIO | ( | ) | [protected] |
itk::JPEGImageIO::~JPEGImageIO | ( | ) | [protected] |
itk::JPEGImageIO::JPEGImageIO | ( | const Self & | ) | [private] |
Default = true
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::itk::LightObject::Pointer itk::JPEGImageIO::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightProcessObject.
virtual const char* itk::JPEGImageIO::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageIOBase.
virtual bool itk::JPEGImageIO::GetProgressive | ( | ) | const [virtual] |
virtual int itk::JPEGImageIO::GetQuality | ( | ) | const [virtual] |
Set/Get the level of quality for the output images.
static Pointer itk::JPEGImageIO::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::LightProcessObject.
void itk::JPEGImageIO::operator= | ( | const Self & | ) | [private] |
Default = true
Reimplemented from itk::ImageIOBase.
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] |
bool itk::JPEGImageIO::m_Progressive [protected] |
Default = true
Definition at line 99 of file itkJPEGImageIO.h.
int itk::JPEGImageIO::m_Quality [protected] |
Determines the quality of compression for written files. default = 95
Definition at line 96 of file itkJPEGImageIO.h.