[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Algorithms to Combine Images |
Functions | |
template<... > | |
void | combineThreeImages (...) |
Combine three source images into destination image. More... | |
template<... > | |
void | combineTwoImages (...) |
Combine two source images into destination image. More... | |
template<... > | |
void | combineTwoImagesIf (...) |
Combine ROI of two source images into destination image. More... | |
Apply functor to calculate a pixelwise transformation depending on multiple images. Note that the binary functors of the STL may be used with these functions.
void vigra::combineTwoImages | ( | ... | ) |
Combine two source images into destination image.
After the introduction of arithmetic and algebraic array expressions, this function is rarely needed. Moreover, combineTwoMultiArrays() provides the same functionality for arbitrary dimensional arrays.
The transformation given by the functor is applied to the source pixels and the result written into the corresponding destination pixel. This is typically used for operations like add and subtract. Note that the binary functors of the STL can be used in addition to the functors specifically defined in Functors to Combine Images. Creation of new functors is easiest by using Functor Expressions.
Declarations:
pass 2D array views:
Usage:
#include <vigra/combineimages.hxx>
Namespace: vigra
void vigra::combineTwoImagesIf | ( | ... | ) |
Combine ROI of two source images into destination image.
The transformation given by the functor is applied to all source pixels in the ROI (i.e. whenever the corresponding value of the mask array is non-zero) and the result written into the corresponding destination pixel. This is typically used for operations like add and subtract. Note that the binary functors of the STL can be used in addition to the functors specifically defined in Functors to Combine Images. Creation of new functors is easiest by using Functor Expressions.
Declarations:
pass 2D array views:
Usage:
#include <vigra/combineimages.hxx>
Namespace: vigra
void vigra::combineThreeImages | ( | ... | ) |
Combine three source images into destination image.
After the introduction of arithmetic and algebraic array expressions, this function is rarely needed. Moreover, combineThreeMultiArrays() provides the same functionality for arbitrary dimensional arrays.
The transformation given by the functor is applied to the source pixels and the result written into the corresponding destination pixel. Creation of new functors is easiest by using Functor Expressions.
Declarations:
pass 2D array views:
Usage:
#include <vigra/combineimages.hxx>
Namespace: vigra
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|