[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
RGB2LabFunctor Class Template Reference | ![]() |
---|
Convert linear (raw) RGB into perceptual uniform CIE L*a*b*. More...
#include "vigra/colorconversions.hxx"
Public Types | |
typedef NumericTraits< T >::RealPromote | component_type |
typedef TinyVector< T, 3 > | argument_type |
typedef XYZ2LabFunctor< component_type >::result_type | result_type |
typedef XYZ2LabFunctor< component_type >::result_type | value_type |
Public Methods | |
RGB2LabFunctor () | |
RGB2LabFunctor (component_type max) | |
result_type | operator() (TinyVector< T, 3 > const &rgb) const |
Detailed Description |
#include "vigra/colorconversions.hxx"
Namespace: vigra
The functor realizes the transformation
See vigra::RGB2XYZFunctor and vigra::XYZ2LabFunctor for a description of the two steps. The resulting color components will have the following bounds:
|
the functor's argument type |
|
the result's component type |
|
the functor's result type |
|
|
|
default constructor. The maximum value for each RGB component defaults to 255. |
|
constructor
|
|
apply the transformation |
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|