vigra_ext::LUTFunctor< VTIn, LUT > Struct Template Reference
functor to apply a LUT to gray and color images.
More...
#include <lut.h>
Inheritance diagram for vigra_ext::LUTFunctor< VTIn, LUT >:
[legend]List of all members.
Detailed Description
template<class VTIn, class LUT>
struct vigra_ext::LUTFunctor< VTIn, LUT >
functor to apply a LUT to gray and color images.
This is a safe, and iterpolatating table lookup.
if the argument has a higher bit count than lut.size(), interpolation will take place.
This is slower, because there is a size check at runtime, which might be placed in a template parameter.
floating point values between 0..1 are mapped to min and max of the lookup table.
Member Typedef Documentation
|
|
the functor's first argument type
|
Constructor & Destructor Documentation
|
|
the functor's result type
|
Member Function Documentation
|
template<class VTIn, class LUT> |
| vigra::RGBValue<lut_type> vigra_ext::LUTFunctor< VTIn, LUT >::apply |
( |
vigra::RGBValue< VT1 > |
v, |
|
|
vigra::VigraFalseType |
|
|
) |
const [inline] |
|
|
template<class VTIn, class LUT> |
| vigra::RGBValue<lut_type> vigra_ext::LUTFunctor< VTIn, LUT >::applyVector |
( |
vigra::RGBValue< VT1 > |
v, |
|
|
vigra::VigraTrueType |
|
|
) |
const [inline] |
|
|
template<class VTIn, class LUT> |
| vigra::RGBValue<lut_type> vigra_ext::LUTFunctor< VTIn, LUT >::applyVector |
( |
vigra::RGBValue< VT1 > |
v, |
|
|
vigra::VigraFalseType |
|
|
) |
const [inline] |
|
|
template<class VTIn, class LUT> |
|
template<class T> |
| vigra::NumericTraits<T>::RealPromote vigra_ext::LUTFunctor< VTIn, LUT >::operator() |
( |
T |
v |
) |
const [inline] |
|
Member Data Documentation
The documentation for this struct was generated from the following file:
- hugin_base/vigra_ext/lut.h