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

Image Adaptors
[Data Processing Objects]


Compounds

class  AcosImageAdaptor
 Presents an image as being composed of the acos() of its pixels. More...

class  AcosPixelAccessor
 Give access to the acos() function of a value. More...

class  AddImageAdaptor
 Presents an image as being composed of the log() of its pixels. More...

class  AddPixelAccessor
 Simulates the effect of adding a constant value to all pixels. More...

class  AsinImageAdaptor
 Presents an image as being composed of the asin() of its pixels. More...

class  AsinPixelAccessor
 Give access to the asin() function of a value. More...

class  AtanImageAdaptor
 Presents an image as being composed of the atan() of its pixels. More...

class  AtanPixelAccessor
 Give access to the atan() function of a value. More...

class  BluePixelAccessor
 Give access to the Blue component of a RGBPixel type. More...

class  CosImageAdaptor
 Presents an image as being composed of the cos() of its pixels. More...

class  CosPixelAccessor
 Give access to the cos() function of a value. More...

class  DefaultPixelAccessor
 Give access to partial aspects a type. More...

class  ExpImageAdaptor
 Presents an image as being composed of the exp() of its pixels. More...

class  ExpNegativeImageAdaptor
 Presents an image as being composed of the exp() of its pixels. More...

class  ExpNegativePixelAccessor
 Give access to the exp() function of a value. More...

class  ExpPixelAccessor
 Give access to the exp() function of a value. More...

class  GreenPixelAccessor
 Give access to the Green component of a RGBPixel type. More...

class  ImageAdaptor
 Give access to partial aspects of voxels from an Image. More...

class  Log10ImageAdaptor
 Presents an image as being composed of the log10() of its pixels. More...

class  Log10PixelAccessor
 Give access to the log10() function of a value. More...

class  LogImageAdaptor
 Presents an image as being composed of the log() of its pixels. More...

class  LogPixelAccessor
 Give access to the log() function of a value. More...

class  NthElementImageAdaptor
 Presents an image as being composed of the N-th element of its pixels. More...

class  NthElementPixelAccessor
 Give access to the N-th of a Container type. More...

class  PixelAccessor
 Give access to partial aspects of a type. More...

class  RedPixelAccessor
 Give access to the red component of a RGBPixel type. More...

class  RGBToVectorImageAdaptor
 Presents an image of pixel type RGBPixel as being and image of Vectors. More...

class  RGBToVectorPixelAccessor
 Give access to a RGBPixel as if it were a Vector type. More...

class  SinImageAdaptor
 Presents an image as being composed of the sin() of its pixels. More...

class  SinPixelAccessor
 Give access to the sin() function of a value. More...

class  SqrtImageAdaptor
 Presents an image as being composed of the sqrt() of its pixels. More...

class  SqrtPixelAccessor
 Give access to the sqrt() function of a value. More...

class  TanImageAdaptor
 Presents an image as being composed of the tan() of its pixels. More...

class  TanPixelAccessor
 Give access to the tan() function of a value. More...

class  VectorToRGBImageAdaptor
 Presents an image of pixel type Vector as being and image of RGBPixel type. More...

class  VectorToRGBPixelAccessor
 Give access to a Vector pixel type as if it were a RGBPixel type. More...


Detailed Description

Image Adaptors are an implementation of the Adaptor Design Pattern. They are designed to present an image of a particular type as being an image of a different type. Adaptors perform simple operations on pixel values for which is not easy to justify the use of an image filter.

One of the principal tasks of ImageAdaptors is to perform casting.

For example: you have an image whose pixels are of type unsigned char and you need to feed this image in a process that expects pixels of type double. You have the option of using and ImageFilter (see ImageFiltersPage) that convert the input unsigned char image into another of pixel type double. However this filter will allocate memory for this second image and will need to be executed. Image Adaptors allow to simulate that you have made the conversion but will avoid the overhead in memory. There is however a penalty in performance.

The mechanism used by image adaptors is to provide a simple function that will be used by ImageIterator (see Image Iterators) to convert the value of a pixel, in a pixel-by-pixel basis.


Generated at Fri May 21 01:17:44 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000