vigra_ext::InvLUTFunctor< VT1, LUT > Struct Template Reference
functor to apply a LUT to gray and color images.
More...
#include <lut.h>
List of all members.
Detailed Description
template<class VT1, class LUT>
struct vigra_ext::InvLUTFunctor< VT1, LUT >
functor to apply a LUT to gray and color images.
This functor works by using a binary search and does linear interpolation.
floating point values between 0..1 are mapped to min and max of the lookup table.
integers are also mapped to 0..1 before applying the lut.
Member Typedef Documentation
|
|
the functor's first argument type
|
Constructor & Destructor Documentation
|
|
the functor's result type
|
Member Function Documentation
|
template<class VT1, class LUT> |
|
template<class T> |
| vigra::RGBValue<lut_type> vigra_ext::InvLUTFunctor< VT1, LUT >::apply |
( |
vigra::RGBValue< T > |
v, |
|
|
vigra::VigraFalseType |
|
|
) |
const [inline] |
|
|
template<class VT1, class LUT> |
|
template<class T> |
| vigra::RGBValue<lut_type> vigra_ext::InvLUTFunctor< VT1, LUT >::applyVector |
( |
vigra::RGBValue< T > |
v, |
|
|
vigra::VigraTrueType |
|
|
) |
const [inline] |
|
|
template<class VT1, class LUT> |
|
template<class T> |
| vigra::RGBValue<lut_type> vigra_ext::InvLUTFunctor< VT1, LUT >::applyVector |
( |
vigra::RGBValue< T > |
v, |
|
|
vigra::VigraFalseType |
|
|
) |
const [inline] |
|
|
template<class VT1, class LUT> |
|
template<class T> |
| vigra::NumericTraits<T>::RealPromote vigra_ext::InvLUTFunctor< VT1, 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