Classes | |
class | AbsImageAdaptor |
Presents an image as being composed of the abs() of its pixels. More... | |
class | AbsPixelAccessor |
Give access to the abs() function of a value. More... | |
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 | ComplexToImaginaryImageAdaptor |
Presents a complex image as being composed of imag() part of its pixels. More... | |
class | ComplexToImaginaryPixelAccessor |
Give access to the Imaginary part of a std::complex<> value. More... | |
class | ComplexToModulusImageAdaptor |
Presents a complex image as being composed of abs() part of its pixels. More... | |
class | ComplexToModulusPixelAccessor |
Give access to the Modulus of a std::complex<> value. More... | |
class | ComplexToPhaseImageAdaptor |
Presents a complex image as being composed of arg() part of its pixels. More... | |
class | ComplexToPhasePixelAccessor |
Give access to the Phase part of a std::complex<> value. More... | |
class | ComplexToRealImageAdaptor |
Presents a complex image as being composed of real() part of its pixels. More... | |
class | ComplexToRealPixelAccessor |
Give access to the Real part of a std::complex<> value. 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 | DefaultPixelAccessorFunctor |
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultVectorPixelAccessor and DefaultPixelAccessor). More... | |
class | DefaultVectorPixelAccessor |
Give access to partial aspects of a type. More... | |
class | DefaultVectorPixelAccessorFunctor |
This class provides a common API for pixel accessors for Image and VectorImage. (between the DefaultVectorPixelAccessor and DefaultPixelAccessor). 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 | RGBToLuminanceImageAdaptor |
Presents a color image as being composed of the Luminance of its pixels. More... | |
class | RGBToLuminancePixelAccessor |
Give access to Luminance of a color pixel 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 | VectorImageToImagePixelAccessor |
Extract components from a VectorImage. More... | |
class | VectorToRGBImageAdaptor |
Presents a VectorImage and extracts a component from it into an image. More... | |
class | VectorToRGBImageAdaptor |
Presents a VectorImage and extracts a component from it into an image. More... | |
class | VectorToRGBPixelAccessor |
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 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.