Classes | |
class | itk::Accessor::AbsPixelAccessor< TInternalType, TExternalType > |
Give access to the abs() function of a value. More... | |
class | itk::AbsImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the abs() of its pixels. More... | |
class | itk::Accessor::AcosPixelAccessor< TInternalType, TExternalType > |
Give access to the acos() function of a value. More... | |
class | itk::AcosImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the acos() of its pixels. More... | |
class | itk::AddImageAdaptor< TImage > |
Presents an image as being composed of the log() of its pixels. More... | |
class | itk::Accessor::AddPixelAccessor< TPixel > |
Simulates the effect of adding a constant value to all pixels. More... | |
class | itk::Accessor::AsinPixelAccessor< TInternalType, TExternalType > |
Give access to the asin() function of a value. More... | |
class | itk::AsinImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the asin() of its pixels. More... | |
class | itk::Accessor::AtanPixelAccessor< TInternalType, TExternalType > |
Give access to the atan() function of a value. More... | |
class | itk::AtanImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the atan() of its pixels. More... | |
class | itk::BluePixelAccessor< T > |
Give access to the Blue component of a RGBPixel type. More... | |
class | itk::Accessor::CosPixelAccessor< TInternalType, TExternalType > |
Give access to the cos() function of a value. More... | |
class | itk::CosImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the cos() of its pixels. More... | |
class | itk::DefaultPixelAccessor< TType > |
Give access to partial aspects a type. More... | |
class | itk::Accessor::ExpPixelAccessor< TInternalType, TExternalType > |
Give access to the exp() function of a value. More... | |
class | itk::ExpImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the exp() of its pixels. More... | |
class | itk::Accessor::ExpNegativePixelAccessor< TInternalType, TExternalType > |
Give access to the exp() function of a value. More... | |
class | itk::ExpNegativeImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the exp() of its pixels. 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::Accessor::Log10PixelAccessor< TInternalType, TExternalType > |
Give access to the log10() function of a value. More... | |
class | itk::Log10ImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the log10() of its pixels. More... | |
class | itk::Accessor::LogPixelAccessor< TInternalType, TExternalType > |
Give access to the log() function of a value. More... | |
class | itk::LogImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the log() of its pixels. 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::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::Accessor::SinPixelAccessor< TInternalType, TExternalType > |
Give access to the sin() function of a value. More... | |
class | itk::SinImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the sin() of its pixels. More... | |
class | itk::Accessor::SqrtPixelAccessor< TInternalType, TExternalType > |
Give access to the sqrt() function of a value. More... | |
class | itk::SqrtImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the sqrt() of its pixels. More... | |
class | itk::Accessor::TanPixelAccessor< TInternalType, TExternalType > |
Give access to the tan() function of a value. More... | |
class | itk::TanImageAdaptor< TImage, TOutputPixelType > |
Presents an image as being composed of the tan() of its pixels. 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... |
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.