[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Functions | |
template<... > | |
void | gradientBasedTransform (...) |
Calculate a function of the image gradient. More... | |
template<... > | |
void | transformImage (...) |
Apply unary point transformation to each pixel. More... | |
template<... > | |
void | transformImageIf (...) |
Apply unary point transformation to each pixel within the ROI (i.e., where the mask is non-zero). More... | |
Apply functor to calculate a pixelwise transformation of one image
void vigra::transformImage | ( | ...) |
Apply unary point transformation to each pixel.
The transformation given by the functor is applied to every source pixel and the result written into the corresponding destination pixel. The function uses accessors to access the pixel data. Note that the unary functors of the STL can be used in addition to the functors specifically defined in Functors to Transform Images. Creation of new functors is easiest by using Functor Expressions.
Declarations:
pass arguments explicitly:
use argument objects in conjunction with Argument Object Factories :
Usage:
#include <vigra/transformimage.hxx>
Namespace: vigra
Required Interface:
void vigra::transformImageIf | ( | ...) |
Apply unary point transformation to each pixel within the ROI (i.e., where the mask is non-zero).
The transformation given by the functor is applied to every source pixel in the ROI (i.e. when the return value of the mask's accessor is not zero) and the result is written into the corresponding destination pixel. The function uses accessors to access the pixel data. Note that the unary functors of the STL can be used in addition to the functors specifically defined in Functors to Transform Images. Creation of new functors is easiest by using Functor Expressions.
Declarations:
pass arguments explicitly:
use argument objects in conjunction with Argument Object Factories :
Usage:
<b>\#include</b> \<vigra/transformimage.hxx\><br> Namespace: vigra
Required Interface:
void vigra::gradientBasedTransform | ( | ...) |
Calculate a function of the image gradient.
The gradient and the function represented by Functor f
are calculated in one go: for each location, the symmetric difference in x- and y-directions (asymmetric difference at the image borders) are passed to the given functor, and the result is written the destination image. Functors to be used with this function include MagnitudeFunctor and RGBGradientMagnitudeFunctor.
Declarations:
pass arguments explicitly:
use argument objects in conjunction with Argument Object Factories :
Usage:
#include <vigra/transformimage.hxx>
Required Interface:
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|