[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
|   | Polar Color Coordinates |  | 
| Functions | |
| template<class V > | |
| TinyVector< float, 3 > | lab2Polar (V const &lab) | 
| Create polar representation form L*a*b*.  More... | |
| template<class V > | |
| TinyVector< float, 3 > | luv2Polar (V const &luv) | 
| Create polar representation form L*u*v*.  More... | |
| TinyVector< float, 3 > | polar2Lab (double color, double brightness, double saturation) | 
| Init L*a*b* color triple from polar representation.  More... | |
| TinyVector< float, 3 > | polar2Luv (double color, double brightness, double saturation) | 
| Init L*u*v* color triple from polar representation.  More... | |
| TinyVector< float, 3 > | polar2YPrimeCbCr (double color, double brightness, double saturation) | 
| Init Y'CbCr color triple from polar representation.  More... | |
| TinyVector< float, 3 > | polar2YPrimeIQ (double color, double brightness, double saturation) | 
| Init Y'IQ color triple from polar representation.  More... | |
| TinyVector< float, 3 > | polar2YPrimePbPr (double color, double brightness, double saturation) | 
| Init Y'PbPr color triple from polar representation.  More... | |
| TinyVector< float, 3 > | polar2YPrimeUV (double color, double brightness, double saturation) | 
| Init Y'UV color triple from polar representation.  More... | |
| template<class V > | |
| TinyVector< float, 3 > | yPrimeCbCr2Polar (V const &ycbcr) | 
| Create polar representation form Y'CbCr.  More... | |
| template<class V > | |
| TinyVector< float, 3 > | yPrimeIQ2Polar (V const &yiq) | 
| Create polar representation form Y'IQ.  More... | |
| template<class V > | |
| TinyVector< float, 3 > | yPrimePbPr2Polar (V const &ypbpr) | 
| Create polar representation form Y'PbPr.  More... | |
| template<class V > | |
| TinyVector< float, 3 > | yPrimeUV2Polar (V const &yuv) | 
| Create polar representation form Y'UV.  More... | |
Transform colors from/to a polar representation (hue, brightness, saturation). In many situations, this is more intuitive than direct initialization in a particular color space. The polar coordinates are normalized so that a color angle of 0 degrees is always associated with red (green is at about 120 degrees, blue at about 240 degrees - exact values differ between color spaces). A saturation of 1 is the highest saturation that any RGB color gets after transformation into the respective color space, and saturation 0 corresponds to gray. Thus, different color spaces become somewhat comparable.
| TinyVector<float, 3> vigra::polar2Lab | ( | double | color, | 
| double | brightness, | ||
| double | saturation | ||
| ) | 
Init L*a*b* color triple from polar representation.
#include <vigra/colorconversions.hxx>
 Namespace: vigra
Declarations:
L*a*b* polar coordinates of some important colors:
| TinyVector<float, 3> vigra::lab2Polar | ( | V const & | lab | ) | 
Create polar representation form L*a*b*.
Declaration:
#include <vigra/colorconversions.hxx>
 Namespace: vigra
This realizes the inverse of the transformation described in polar2Lab().
| TinyVector<float, 3> vigra::polar2Luv | ( | double | color, | 
| double | brightness, | ||
| double | saturation | ||
| ) | 
Init L*u*v* color triple from polar representation.
#include <vigra/colorconversions.hxx>
 Namespace: vigra
Declarations:
L*u*v* polar coordinates of some important colors:
| TinyVector<float, 3> vigra::luv2Polar | ( | V const & | luv | ) | 
Create polar representation form L*u*v*.
Declaration:
#include <vigra/colorconversions.hxx>
 Namespace: vigra
This realizes the inverse of the transformation described in polar2Luv().
| TinyVector<float, 3> vigra::polar2YPrimePbPr | ( | double | color, | 
| double | brightness, | ||
| double | saturation | ||
| ) | 
Init Y'PbPr color triple from polar representation.
#include <vigra/colorconversions.hxx>
 Namespace: vigra
Declarations:
Y'PbPr polar coordinates of some important colors:
| TinyVector<float, 3> vigra::yPrimePbPr2Polar | ( | V const & | ypbpr | ) | 
Create polar representation form Y'PbPr.
Declaration:
#include <vigra/colorconversions.hxx>
 Namespace: vigra
This realizes the inverse of the transformation described in polar2YPrimePbPr().
| TinyVector<float, 3> vigra::polar2YPrimeCbCr | ( | double | color, | 
| double | brightness, | ||
| double | saturation | ||
| ) | 
Init Y'CbCr color triple from polar representation.
#include <vigra/colorconversions.hxx>
 Namespace: vigra
Declarations:
Y'CbCr polar coordinates of some important colors:
| TinyVector<float, 3> vigra::yPrimeCbCr2Polar | ( | V const & | ycbcr | ) | 
Create polar representation form Y'CbCr.
Declaration:
#include <vigra/colorconversions.hxx>
 Namespace: vigra
This realizes the inverse of the transformation described in polar2YPrimeCbCr().
| TinyVector<float, 3> vigra::polar2YPrimeIQ | ( | double | color, | 
| double | brightness, | ||
| double | saturation | ||
| ) | 
Init Y'IQ color triple from polar representation.
#include <vigra/colorconversions.hxx>
 Namespace: vigra
Declarations:
Y'IQ polar coordinates of some important colors:
| TinyVector<float, 3> vigra::yPrimeIQ2Polar | ( | V const & | yiq | ) | 
Create polar representation form Y'IQ.
Declaration:
#include <vigra/colorconversions.hxx>
 Namespace: vigra
This realizes the inverse of the transformation described in polar2YPrimeIQ().
| TinyVector<float, 3> vigra::polar2YPrimeUV | ( | double | color, | 
| double | brightness, | ||
| double | saturation | ||
| ) | 
Init Y'UV color triple from polar representation.
#include <vigra/colorconversions.hxx>
 Namespace: vigra
Declarations:
Y'UV polar coordinates of some important colors:
| TinyVector<float, 3> vigra::yPrimeUV2Polar | ( | V const & | yuv | ) | 
Create polar representation form Y'UV.
Declaration:
#include <vigra/colorconversions.hxx>
 Namespace: vigra
This realizes the inverse of the transformation described in polar2YPrimeUV().
| 
© Ullrich Köthe     (ullrich.koethe@iwr.uni-heidelberg.de)  | 
html generated using doxygen and Python
 |