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.
Definition at line 118 of file lut.h.
Member Typedef Documentation
|
|
the functor's first argument type
Definition at line 126 of file lut.h. |
Constructor & Destructor Documentation
|
|
the functor's result type
Definition at line 132 of file lut.h. |
|
|
create a LUT functor.
Definition at line 138 of file lut.h. |
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
Generated on Mon May 20 01:25:57 2013 for Hugintrunk by
1.3.9.1