![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
Fast hardcoded color conversions. More...
|
Data Structures | |
| struct | oyVEC3 |
| Vector of 3 doubles. More... | |
| struct | oyMAT3 |
| 3x3 Matrix More... | |
| struct | oyCIEXYZ |
| vector of 3 doubles More... | |
| struct | oyCIExyY |
| CIE*xy. More... | |
| struct | oyCIExyYTriple |
| CIE*xy triple. More... | |
Functions | |
| void | oyLab2XYZ (const double *CIELab, double *XYZ) |
| CIE Lab to ICC XYZ. More... | |
| void | oyXYZ2Lab (const double *XYZ, double *lab) |
| ICC XYZ to CIE * Lab. More... | |
| void | oyIcc2CIELab (const double i[], double o[], void *data OY_UNUSED) |
| ICC Lab to CIE * Lab encoding. More... | |
| void | oyCIE2IccLab (const double i[], double o[], void *data OY_UNUSED) |
| CIE * Lab to ICC Lab encoding. More... | |
| void | oyIcc2CIELabFloat (const float i[], float o[], void *data OY_UNUSED) |
| ICC Lab to CIE * Lab encoding. More... | |
| void | oyCIE2IccLabFloat (const float i[], float o[], void *data OY_UNUSED) |
| CIE * Lab to ICC Lab encoding. More... | |
| void | oyCIEabsXYZ2ICCrelXYZ (const double *CIEXYZ, double *ICCXYZ, const double *XYZmin, const double *XYZmax, const double *XYZwhite) |
| CIE absolute colorimetric to ICC relative colorimetric. More... | |
| void | oyICCXYZrel2CIEabsXYZ (const double *ICCXYZ, double *CIEXYZ, const double *XYZmin, const double *XYZmax, const double *XYZwhite) |
| ICC relative colorimetric to CIE absolute colorimetric. More... | |
| double | oyEstimateTemperature (double CIEa, double CIEb, double *dist) |
| guess black body radiation locus from CIE*ab More... | |
| int | oyAdaptationMatrix (oyMAT3 *r, const oyMAT3 *ConeMatrix, const oyCIEXYZ *FromIll, const oyCIEXYZ *ToIll) |
| int | oyMAT3inverse (const oyMAT3 *a, oyMAT3 *b) |
| Inverse of a matrix b = a^(-1) More... | |
| void | oyVEC3init (oyVEC3 *r, double x, double y, double z) |
| Initiate a vector. More... | |
| void | oyMAT3per (oyMAT3 *r, const oyMAT3 *a, const oyMAT3 *b) |
| Multiply two matrices. More... | |
| void | oyMAT3eval (oyVEC3 *r, const oyMAT3 *a, const oyVEC3 *v) |
| Evaluate a vector across a matrix. More... | |
| int | oyMAT3toCIExyYTriple (const oyMAT3 *a, oyCIExyYTriple *triple) |
Fast hardcoded color conversions.
| int oyAdaptationMatrix | ( | oyMAT3 * | r, |
| const oyMAT3 * | ConeMatrix, | ||
| const oyCIEXYZ * | FromIll, | ||
| const oyCIEXYZ * | ToIll | ||
| ) |
Returns the final chrmatic adaptation from illuminant FromIll to Illuminant ToIll. The cone matrix can be specified in ConeMatrix. If NULL, Bradford is assumed
| void oyCIE2IccLab | ( | const double | i[], |
| double | o[], | ||
| void *data | OY_UNUSED | ||
| ) |
CIE * Lab to ICC Lab encoding.
position independent function for in place conversions
| void oyCIE2IccLabFloat | ( | const float | i[], |
| float | o[], | ||
| void *data | OY_UNUSED | ||
| ) |
CIE * Lab to ICC Lab encoding.
position independent function for in place conversions
| void oyCIEabsXYZ2ICCrelXYZ | ( | const double * | CIEXYZ, |
| double * | ICCXYZ, | ||
| const double * | XYZmin, | ||
| const double * | XYZmax, | ||
| const double * | XYZwhite | ||
| ) |
CIE absolute colorimetric to ICC relative colorimetric.
Function oyCIEabsXYZ2ICCrelXYZ
| [in] | CIEXYZ | CIE absolute colorimetric input |
| [out] | ICCXYZ | ICC relative colorimetric output |
| [in] | XYZmin | CIE absolute black point |
| [in] | XYZmax | CIE absolute media white |
| [in] | XYZwhite | illuminant white |
| double oyEstimateTemperature | ( | double | CIEa, |
| double | CIEb, | ||
| double * | dist | ||
| ) |
guess black body radiation locus from CIE*ab
| void oyIcc2CIELab | ( | const double | i[], |
| double | o[], | ||
| void *data | OY_UNUSED | ||
| ) |
ICC Lab to CIE * Lab encoding.
position independent function for in place conversions
| void oyIcc2CIELabFloat | ( | const float | i[], |
| float | o[], | ||
| void *data | OY_UNUSED | ||
| ) |
ICC Lab to CIE * Lab encoding.
position independent function for in place conversions
| void oyICCXYZrel2CIEabsXYZ | ( | const double * | ICCXYZ, |
| double * | CIEXYZ, | ||
| const double * | XYZmin, | ||
| const double * | XYZmax, | ||
| const double * | XYZwhite | ||
| ) |
ICC relative colorimetric to CIE absolute colorimetric.
Function oyICCXYZrel2CIEabsXYZ
| [in] | ICCXYZ | ICC relative colorimetric input |
| [out] | CIEXYZ | CIE absolute colorimetric output |
| [in] | XYZmin | CIE absolute black point |
| [in] | XYZmax | CIE absolute media white |
| [in] | XYZwhite | illuminant white |
| void oyLab2XYZ | ( | const double * | CIELab, |
| double * | XYZ | ||
| ) |
CIE Lab to ICC XYZ.
Evaluate a vector across a matrix.
References oyVEC3::n.
Multiply two matrices.
References oyVEC3init().
| int oyMAT3toCIExyYTriple | ( | const oyMAT3 * | a, |
| oyCIExyYTriple * | triple | ||
| ) |
convert a matrix to CIE * xy triple
References oyVEC3::n, oyMAT3::v, oyCIExyYTriple::v, and oyCIExyY::xy.
| void oyVEC3init | ( | oyVEC3 * | r, |
| double | x, | ||
| double | y, | ||
| double | z | ||
| ) |
Initiate a vector.
Referenced by oyMAT3per().
| void oyXYZ2Lab | ( | const double * | XYZ, |
| double * | lab | ||
| ) |
ICC XYZ to CIE * Lab.
1.8.13