1mlib_ImageColorXYZ2RGB_Fp(3mMeLdIiBa)Lib Library Funcmtliiobn_sImageColorXYZ2RGB_Fp(3MLIB)
2
3
4

NAME

6       mlib_ImageColorXYZ2RGB_Fp - XYZ to RGB color conversion
7

SYNOPSIS

9       cc [ flag... ] file... -lmlib [ library... ]
10       #include <mlib.h>
11
12       mlib_status mlib_ImageColorXYZ2RGB_Fp(mlib_image *dst,
13            const mlib_image *src);
14
15

DESCRIPTION

17       The mlib_ImageColorXYZ2RGB_Fp() function performs a color space conver‐
18       sion from CIE XYZ to ITU-R Rec.708 RGB with D64 white point.
19
20
21       The source and destination images must be three-channel images.
22
23
24       It uses the following equation:
25
26         |R|   |cmat[0] cmat[1] cmat[2]|   |X|
27         |G| = |cmat[3] cmat[4] cmat[5]| * |Y|
28         |B|   |cmat[6] cmat[7] cmat[8]|   |Z|
29
30
31
32       where
33
34         cmat[] = { 3.240479, -1.537150, -0.498535,
35                   -0.969256,  1.875992,  0.041566,
36                    0.055648, -0.204043,  1.057311 };
37         src[x][y] = { X, Y, Z };
38         dst[x][y] = { R, G, B };
39
40

PARAMETERS

42       The function takes the following arguments:
43
44       dst    Pointer to destination image.
45
46
47       src    Pointer to source image.
48
49

RETURN VALUES

51       The function returns MLIB_SUCCESS if successful. Otherwise  it  returns
52       MLIB_FAILURE.
53

ATTRIBUTES

55       See attributes(5) for descriptions of the following attributes:
56
57
58
59
60       ┌─────────────────────────────┬─────────────────────────────┐
61       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
62       ├─────────────────────────────┼─────────────────────────────┤
63       │Interface Stability          │Committed                    │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │MT-Level                     │MT-Safe                      │
66       └─────────────────────────────┴─────────────────────────────┘
67

SEE ALSO

69       mlib_ImageColorConvert1(3MLIB),      mlib_ImageColorConvert1_Fp(3MLIB),
70       mlib_ImageColorRGB2XYZ(3MLIB),        mlib_ImageColorRGB2XYZ_Fp(3MLIB),
71       mlib_ImageColorRGB2YCC(3MLIB),        mlib_ImageColorRGB2YCC_Fp(3MLIB),
72       mlib_ImageColorXYZ2RGB(3MLIB), attributes(5)
73
74
75
76SunOS 5.11                        2 Mar 2007  mlib_ImageColorXYZ2RGB_Fp(3MLIB)
Impressum