![]() |
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. More... | |
void | lcm2SamplerLCh2Lab (const double i[], double o[], void *none OY_UNUSED) |
CIE*LCh -> CIE*Lab in PCS*Lab range. 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 | 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 | lcm2SamplerWhitePoint (const double i[], double o[], void *data) |
Lab -> White Point Adaption -> Lab. More... | |
void | lcm2SamplerProof (const double i[], double o[], void *data) |
Lab -> proofing profile -> Lab. More... | |
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 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 lcm2SamplerLab2LCh | ( | const double | i[], |
double | o[], | ||
void *none | OY_UNUSED | ||
) |
CIE*Lab -> CIE*LCh in PCS*Lab.
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 |
Referenced by lcm2SamplerSepia().
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 |
Referenced by lcm2SamplerSepia().
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 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 |
References lcm2SamplerLab2LCh(), and lcm2SamplerLCh2Lab().
void lcm2SamplerWhitePoint | ( | const double | i[], |
double | o[], | ||
void * | data | ||
) |
Lab -> White Point Adaption -> Lab.
Function lcm2SamplerWhitePoint PCS Lab range of 0-1 for all channels is assumed. Same like reddish, but adapts all colors to a given white point difference.
[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 |