#include <Color.h>
|
class | HSV |
| Class defining a HSV color. More...
|
|
class | NormalizedRGB |
| Class defining a RGB color with intensity values for each color between 0 and 1. More...
|
|
class | RGB |
| Class defining a RGB color with intensity values for each color between 0 and 255. More...
|
|
|
static void | getConversionMatrix (const Math::Triangle &gamut, Math::Matrix3x3 &conversionMatrix, Math::Matrix3x3 &inversedConversionMatrix) |
| Gets the RGB to XYZ and XYZ to RGB conversion matrix for the specified chromaticity coordinates of an RGB system with D65 as reference white. More...
|
|
static void | rgbToCie1931Xy (const NormalizedRGB &rgb, const Math::Matrix3x3 &conversionMatrix, const double &gamma, Math::Point2D &xy, double &brightness) |
| Converts a RGB value to it's CIE 1931 color space chromaticity coordinates (x, y). More...
|
|
static void | cie1931XyToRgb (const Math::Point2D &xy, const double &brightness, const Math::Matrix3x3 &conversionMatrix, const double &gamma, NormalizedRGB &rgb) |
| Converts CIE 1931 color space chromaticity coordinates (x, y) to RGB as reference white. More...
|
|
§ ~Color()
BaseLib::Color::~Color |
( |
| ) |
|
|
virtual |
Destructor.
Does nothing.
§ Color()
BaseLib::Color::Color |
( |
| ) |
|
|
protected |
Constructor.
It is protected, because the class only contains static methods. It does nothing.
§ cie1931XyToRgb()
§ getConversionMatrix()
Gets the RGB to XYZ and XYZ to RGB conversion matrix for the specified chromaticity coordinates of an RGB system with D65 as reference white.
- See also
- RGB/XYZ Matrices
-
A Review of RGB Color Spaces
- Parameters
-
[in] | gamut | The chromaticity coordinates of an RGB system to get the conversion matrix for. First point is the coordinate for red, the second point for green and the third point for blue. |
[out] | conversionMatrix | The RGB to XYZ conversion matrix. |
[out] | inversedConversionMatrix | The XYZ to RGB conversion matrix. |
§ rgbToCie1931Xy()
The documentation for this class was generated from the following files: