Collaboration diagram for Image Adaptors:
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.
Classes | |
class | itk::AbsImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_abs() of its pixels. More... | |
class | itk::Accessor::AbsPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_abs() function of a value. More... | |
class | itk::AcosImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_acos() of its pixels. More... | |
class | itk::Accessor::AcosPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_acos() function of a value. More... | |
class | itk::AddImageAdaptor< TImage > |
Presents an image as being composed of the vcl_log() of its pixels. More... | |
class | itk::Accessor::AddPixelAccessor< TPixel > |
Simulates the effect of adding a constant value to all pixels. More... | |
class | itk::AsinImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_asin() of its pixels. More... | |
class | itk::Accessor::AsinPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_asin() function of a value. More... | |
class | itk::AtanImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_atan() of its pixels. More... | |
class | itk::Accessor::AtanPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_atan() function of a value. More... | |
class | itk::BluePixelAccessor< T > |
Give access to the Blue component of a RGBPixel type. More... | |
class | itk::ComplexToImaginaryImageAdaptor< TImage, TOutputPixelType > |
Presents a complex image as being composed of imag() part of its pixels. More... | |
class | itk::Accessor::ComplexToImaginaryPixelAccessor< TInternalType, TExternalType > |
Give access to the Imaginary part of a std::complex<> value. More... | |
class | itk::ComplexToModulusImageAdaptor< TImage, TOutputPixelType > |
Presents a complex image as being composed of vcl_abs() part of its pixels. More... | |
class | itk::Accessor::ComplexToModulusPixelAccessor< TInternalType, TExternalType > |
Give access to the Modulus of a std::complex<> value. More... | |
class | itk::ComplexToPhaseImageAdaptor< TImage, TOutputPixelType > |
Presents a complex image as being composed of arg() part of its pixels. More... | |
class | itk::Accessor::ComplexToPhasePixelAccessor< TInternalType, TExternalType > |
Give access to the Phase part of a std::complex<> value. More... | |
class | itk::ComplexToRealImageAdaptor< TImage, TOutputPixelType > |
Presents a complex image as being composed of real() part of its pixels. More... | |
class | itk::Accessor::ComplexToRealPixelAccessor< TInternalType, TExternalType > |
Give access to the Real part of a std::complex<> value. More... | |
class | itk::CosImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_cos() of its pixels. More... | |
class | itk::Accessor::CosPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_cos() function of a value. More... | |
class | itk::DefaultPixelAccessor< TType > |
Give access to partial aspects a type. More... | |
class | itk::DefaultPixelAccessorFunctor< TImageType > |
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultVectorPixelAccessor and DefaultPixelAccessor). More... | |
class | itk::DefaultVectorPixelAccessor< TType > |
Give access to partial aspects of a type. More... | |
class | itk::DefaultVectorPixelAccessorFunctor< TImageType > |
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultVectorPixelAccessor and DefaultPixelAccessor). More... | |
class | itk::ExpImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_exp() of its pixels. More... | |
class | itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_exp() of its pixels. More... | |
class | itk::Accessor::ExpNegativePixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_exp() function of a value. More... | |
class | itk::Accessor::ExpPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_exp() function of a value. More... | |
class | itk::GreenPixelAccessor< T > |
Give access to the Green component of a RGBPixel type. More... | |
class | itk::ImageAdaptor< TImage, TAccessor > |
Give access to partial aspects of voxels from an Image. More... | |
class | itk::Log10ImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_log10() of its pixels. More... | |
class | itk::Accessor::Log10PixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_log10() function of a value. More... | |
class | itk::LogImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_log() of its pixels. More... | |
class | itk::Accessor::LogPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_log() function of a value. More... | |
class | itk::NthElementImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the N-th element of its pixels. More... | |
class | itk::NthElementPixelAccessor< T, TContainer > |
Give access to the N-th of a Container type. More... | |
class | itk::PixelAccessor< TInternalType, TExternalType > |
Give access to partial aspects of a type. More... | |
class | itk::RedPixelAccessor< T > |
Give access to the red component of a RGBPixel type. More... | |
class | itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType > |
Presents a color image as being composed of the Luminance of its pixels. More... | |
class | itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType > |
Give access to Luminance of a color pixel type. More... | |
class | itk::RGBToVectorImageAdaptor< TImage > |
Presents an image of pixel type RGBPixel as being and image of Vectors. More... | |
class | itk::Accessor::RGBToVectorPixelAccessor< T > |
Give access to a RGBPixel as if it were a Vector type. More... | |
class | itk::SinImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_sin() of its pixels. More... | |
class | itk::Accessor::SinPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_sin() function of a value. More... | |
class | itk::SqrtImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_sqrt() of its pixels. More... | |
class | itk::Accessor::SqrtPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_sqrt() function of a value. More... | |
class | itk::TanImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the vcl_tan() of its pixels. More... | |
class | itk::Accessor::TanPixelAccessor< TInternalType, TExternalType > |
Give access to the vcl_tan() function of a value. More... | |
class | itk::VectorImageToImageAdaptor< TPixelType, Dimension > |
Presents a VectorImage and extracts a component from it into an image. More... | |
class | itk::Accessor::VectorImageToImagePixelAccessor< TType > |
Extract components from a VectorImage. More... | |
class | itk::VectorToRGBImageAdaptor< TImage > |
Presents an image of pixel type Vector as being and image of RGBPixel type. More... | |
class | itk::Accessor::VectorToRGBPixelAccessor< T > |
Give access to a Vector pixel type as if it were a RGBPixel type. More... |