#include <lut.h>
Public Types | |
| typedef LUT::value_type | lut_type |
| the functor's first argument type | |
Public Member Functions | |
| InvLUTFunctor () | |
| the functor's result type | |
| InvLUTFunctor (LUT &lut) | |
| create a LUT functor. | |
| lut_type | applyLutFloat (lut_type v) const |
| template<class T> | |
| lut_type | applyLutInteger (T i) const |
| template<class T> | |
| vigra::RGBValue< lut_type > | applyVector (vigra::RGBValue< T > v, vigra::VigraFalseType) const |
| template<class T> | |
| vigra::RGBValue< lut_type > | applyVector (vigra::RGBValue< T > v, vigra::VigraTrueType) const |
| template<class T> | |
| lut_type | applyScalar (T v, vigra::VigraFalseType) const |
| template<class T> | |
| lut_type | applyScalar (T v, vigra::VigraTrueType) const |
| template<class T> | |
| lut_type | apply (T v, vigra::VigraTrueType) const |
| template<class T> | |
| vigra::RGBValue< lut_type > | apply (vigra::RGBValue< T > v, vigra::VigraFalseType) const |
| template<class T> | |
| vigra::NumericTraits< T >::RealPromote | operator() (T v) const |
Public Attributes | |
| LUT | m_lut |
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.
Definition at line 252 of file lut.h.
|
|||||
|
the functor's first argument type
|
|
|||||||||
|
the functor's result type
|
|
||||||||||
|
create a LUT functor.
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||
|
Definition at line 308 of file lut.h. References celeste::max(). |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||
|
|
|
|||||
|
|
1.3.9.1