ITK  4.9.0
Insight Segmentation and Registration Toolkit
Classes
+ Collaboration diagram for Image Adaptors:

Classes

class  itk::AbsImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::AbsPixelAccessor< TInternalType, TExternalType >
 
class  itk::AcosImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::AcosPixelAccessor< TInternalType, TExternalType >
 
class  itk::AddImageAdaptor< TImage >
 
class  itk::Accessor::AddPixelAccessor< TPixel >
 
class  itk::AsinImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::AsinPixelAccessor< TInternalType, TExternalType >
 
class  itk::AtanImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::AtanPixelAccessor< TInternalType, TExternalType >
 
class  itk::BluePixelAccessor< T >
 
class  itk::ComplexConjugateImageAdaptor< TImage >
 
class  itk::Accessor::ComplexConjugatePixelAccessor< TComplexType >
 
class  itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::ComplexToImaginaryPixelAccessor< TInternalType, TExternalType >
 
class  itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::ComplexToModulusPixelAccessor< TInternalType, TExternalType >
 
class  itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::ComplexToPhasePixelAccessor< TInternalType, TExternalType >
 
class  itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType >
 
class  itk::CosImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::CosPixelAccessor< TInternalType, TExternalType >
 
class  itk::DefaultPixelAccessor< TType >
 
class  itk::DefaultPixelAccessorFunctor< TImageType >
 
class  itk::DefaultVectorPixelAccessor< TType >
 
class  itk::DefaultVectorPixelAccessorFunctor< TImageType >
 
class  itk::ExpImageAdaptor< TImage, TOutputPixelType >
 
class  itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::ExpNegativePixelAccessor< TInternalType, TExternalType >
 
class  itk::Accessor::ExpPixelAccessor< TInternalType, TExternalType >
 
class  itk::GreenPixelAccessor< T >
 
class  itk::ImageAdaptor< TImage, TAccessor >
 
class  itk::Log10ImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::Log10PixelAccessor< TInternalType, TExternalType >
 
class  itk::LogImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::LogPixelAccessor< TInternalType, TExternalType >
 
class  itk::NthElementImageAdaptor< TImage, TOutputPixelType >
 
class  itk::NthElementPixelAccessor< T, TContainer >
 
class  itk::PixelAccessor< TInternalType, TExternalType >
 
class  itk::RedPixelAccessor< T >
 
class  itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >
 
class  itk::RGBToVectorImageAdaptor< TImage >
 
class  itk::Accessor::RGBToVectorPixelAccessor< T >
 
class  itk::SinImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::SinPixelAccessor< TInternalType, TExternalType >
 
class  itk::SqrtImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::SqrtPixelAccessor< TInternalType, TExternalType >
 
class  itk::TanImageAdaptor< TImage, TOutputPixelType >
 
class  itk::Accessor::TanPixelAccessor< TInternalType, TExternalType >
 
class  itk::VectorImageToImageAdaptor< TPixelType, Dimension >
 
class  itk::Accessor::VectorImageToImagePixelAccessor< TType >
 
class  itk::VectorToRGBImageAdaptor< TImage >
 
class  itk::Accessor::VectorToRGBPixelAccessor< T >
 

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 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.