![]() |
Oyranos
0.9.7
Oyranos is a full featured Color Management System
|
Functions | |
void | lcm2SamplerLab2LCh (const double i[], double o[], void *none OY_UNUSED) |
CIE*Lab -> CIE*LCh in PCS*Lab range. More... | |
void | lcm2SamplerLCh2Lab (const double i[], double o[], void *none OY_UNUSED) |
CIE*LCh -> CIE*Lab in PCS*Lab range. More... | |
void | lcm2SamplerJCh2Lab (const double i[], double o[], void *v) |
CIE*LCh -> CIE*Lab in PCS*Lab range. More... | |
void | lcm2SamplerLab2JCh (const double i[], double o[], void *v) |
CIE*Lab -> CIE*JCh. More... | |
void | lcm2SamplerRGB2JpegYCbCr (const double i[], double o[], void *none OY_UNUSED) |
RGB -> YCbCr in Jpeg range. More... | |
void | lcm2SamplerJpegYCbCr2RGB (const double i[], double o[], void *none OY_UNUSED) |
YCbCr in Jpeg range -> RGB. More... | |
void | lcm2SamplerIdendity (const double i[], double o[], void *none OY_UNUSED) |
Lab -> Lab. More... | |
void | lcm2SamplerGrayer (const double i[], double o[], void *none OY_UNUSED) |
Lab -> Gray -> Lab. More... | |
void | lcm2SamplerBlacknWhite (const double i[], double o[], void *none OY_UNUSED) |
Lab -> Black&White -> Lab. More... | |
void | lcm2SamplerSepia (const double i[], double o[], void *none) |
Lab -> LCh -> Yellow -> LCh -> Lab. More... | |
void | lcm2SamplerReddish (const double i[], double o[], void *none OY_UNUSED) |
Lab -> reddish tint -> Lab. More... | |
void | lcm2SamplerWhitePointLab (const double i[], double o[], void *data) |
Lab -> White Point Adaption -> Lab. More... | |
void | lcm2iccLab2CIEXYZ (const double *icc_Lab, cmsCIEXYZ *XYZ) |
ICC*Lab -> CIE*XYZ. More... | |
void | lcm2CIEXYZ2iccLab (const cmsCIEXYZ *XYZ, double *icc_Lab) |
CIE*XYZ -> ICC*Lab. More... | |
void | lcm2iccXYZ2iccLab (const double *XYZ, double *icc_Lab) |
ICC*XYZ -> ICC*Lab. More... | |
void | lcm2SamplerWhitePointBradford (const double i[], double o[], void *data) |
Lab -> Bradford White Point Adaption -> Lab. More... | |
void | lcm2SamplerProof (const double i[], double o[], void *data) |
Lab -> proofing profile -> Lab. More... | |
void | lcm2SamplerProofD (const double i[], double o[], void *data) |
Lab -> proofing profile -> Lab. More... | |
void lcm2CIEXYZ2iccLab | ( | const cmsCIEXYZ * | XYZ, |
double * | icc_Lab | ||
) |
CIE*XYZ -> ICC*Lab.
Function lcm2CIEXYZ2iccLab
Converts from lcms XYZ type to PCS Lab encoding.
[in] | i | input XYZ struct |
[out] | o | output Lab triple in PCS range |
[out] | none | unused |
Referenced by lcm2iccXYZ2iccLab().
void lcm2iccLab2CIEXYZ | ( | const double * | icc_Lab, |
cmsCIEXYZ * | XYZ | ||
) |
ICC*Lab -> CIE*XYZ.
Function lcm2iccLab2CIEXYZ
Converts from PCS Lab encoding to lcms XYZ type.
[in] | i | input Lab triple in PCS range |
[out] | o | output XYZ struct |
[out] | none | unused |
Referenced by lcm2SamplerWhitePointBradford().
void lcm2iccXYZ2iccLab | ( | const double * | XYZ, |
double * | icc_Lab | ||
) |
ICC*XYZ -> ICC*Lab.
Function lcm2iccXYZ2iccLab
Converts from PCS XYZ to PCS Lab encoding.
[in] | i | input XYZ triple |
[out] | o | output Lab triple in PCS range |
[out] | none | unused |
References lcm2CIEXYZ2iccLab().
void lcm2SamplerBlacknWhite | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
Lab -> Black&White -> Lab.
Function lcm2SamplerBlacknWhite
PCS Lab range of 0-1 for all channels is assumed.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | none | unused |
void lcm2SamplerGrayer | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
Lab -> Gray -> Lab.
Function lcm2SamplerGrayer
PCS Lab range of 0-1 for all channels is assumed.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | none | unused |
void lcm2SamplerIdendity | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
Lab -> Lab.
Function lcm2SamplerIdendity
PCS Lab range of 0-1 for all channels is assumed.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | none | unused |
void lcm2SamplerJCh2Lab | ( | const double | i[], |
double | o[], | ||
void * | v | ||
) |
CIE*LCh -> CIE*Lab in PCS*Lab range.
Function lcm2SamplerJCh2Lab
The CIE*C channel is scaled to contain all CIE*Lab colors. The ICC PCS*Lab space with range of 0->1 for all channels is utilised to be useful as a sampler argument to lcm2CreateProfileLutByFunc().
[in] | i | input LCh triple |
[out] | o | output Lab triple |
[in] | v | (cmsViewingConditions*); optional, default sRGB |
void lcm2SamplerJpegYCbCr2RGB | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
YCbCr in Jpeg range -> RGB.
Function lcm2SamplerRGB2JpegYCbCr
ITU R BT 601 / REC.601 coefficients in Jpeg range of 0-1 is assumed.
[in] | i | input REC.601 YCbCr in JPEG range triple |
[out] | o | output RGB triple |
[out] | none | unused |
void lcm2SamplerLab2JCh | ( | const double | i[], |
double | o[], | ||
void * | v | ||
) |
CIE*Lab -> CIE*JCh.
Function lcm2SamplerLab2JCh
The CIECAM02 appearance space.
[in] | i | input Lab triple |
[out] | o | output JCh triple |
[in] | v | (cmsViewingConditions*); optional, default sRGB |
void lcm2SamplerLab2LCh | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
CIE*Lab -> CIE*LCh in PCS*Lab range.
Function lcm2SamplerLab2LCh
The CIE*C channel is scaled to contain all CIE*Lab colors. The ICC PCS*Lab space with range of 0->1 for all channels is utilised to be useful as a sampler argument to lcm2CreateProfileLutByFunc().
[in] | i | input Lab triple |
[out] | o | output LCh triple |
[out] | none | unused |
void lcm2SamplerLCh2Lab | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
CIE*LCh -> CIE*Lab in PCS*Lab range.
Function lcm2SamplerLCh2Lab
The CIE*C channel is scaled to contain all CIE*Lab colors. The ICC PCS*Lab space with range of 0->1 for all channels is utilised to be useful as a sampler argument to lcm2CreateProfileLutByFunc().
[in] | i | input LCh triple |
[out] | o | output Lab triple |
[out] | none | unused |
void lcm2SamplerProof | ( | const double | i[], |
double | o[], | ||
void * | data | ||
) |
Lab -> proofing profile -> Lab.
Function lcm2SamplerProof
Convert a proofing profile into a abstract one. Abstract profiles can easily be merged into a multi profile transform. PCS Lab range of 0-1 for all channels is assumed.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | data | pointer to array of two void* with
|
void lcm2SamplerProofD | ( | const double | i[], |
double | o[], | ||
void * | data | ||
) |
Lab -> proofing profile -> Lab.
Function lcm2SamplerProofD
Convert a proofing profile into a abstract one. Abstract profiles can easily be merged into a multi profile transform. PCS Lab range of 0-1 for all channels is assumed.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | data | pointer to array of two void* with
|
void lcm2SamplerReddish | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
Lab -> reddish tint -> Lab.
Function lcm2SamplerReddish
PCS Lab range of 0-1 for all channels is assumed. Same like Sepia, but gives all colors a reddish tint.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | none | unused |
void lcm2SamplerRGB2JpegYCbCr | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
RGB -> YCbCr in Jpeg range.
Function lcm2SamplerRGB2JpegYCbCr
ITU R BT 601 / REC.601 coefficients with Jpeg range of 0-1 is generated.
[in] | i | input RGB triple |
[out] | o | output REC.601 YCbCr in JPEG range triple |
[out] | none | unused |
Jpeg assumes no gamma correction. Thus this sampler converts from RGB.
void lcm2SamplerSepia | ( | const double | i[], |
double | o[], | ||
void * | none | ||
) |
Lab -> LCh -> Yellow -> LCh -> Lab.
Function lcm2SamplerSepia
PCS Lab range of 0-1 for all channels is assumed. Creates a single reddish hue.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | none | unused |
void lcm2SamplerWhitePointBradford | ( | const double | i[], |
double | o[], | ||
void * | data | ||
) |
Lab -> Bradford White Point Adaption -> Lab.
Function lcm2SamplerWhitePointBradford
PCS Lab range of 0-1 for all channels is assumed. Same like reddish, but adapts all colors to a given white point difference. It uses Bradford CAT.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | data | pointer to array of two doubles with source ICC*XYZ white point, followed by destination ICC*XYZ whitepoint |
References lcm2iccLab2CIEXYZ().
void lcm2SamplerWhitePointLab | ( | const double | i[], |
double | o[], | ||
void * | data | ||
) |
Lab -> White Point Adaption -> Lab.
Function lcm2SamplerWhitePointLab
PCS Lab range of 0-1 for all channels is assumed. Same like reddish, but adapts all colors to a given white point difference. It uses simple linear adaption inside CIE*Lab.
[in] | i | input PCS.Lab triple |
[out] | o | output PCS.Lab triple |
[out] | data | pointer to array of two doubles with desired ICC*ab differences |