53 |
|
tmnew->clf[GRN] = rgb2xyzmat[1][1]; |
54 |
|
tmnew->clf[BLU] = rgb2xyzmat[1][2]; |
55 |
|
} else { |
56 |
< |
comprgb2xyzWBmat(cmat, tmnew->monpri=monpri); |
56 |
> |
comprgb2xyzmat(cmat, tmnew->monpri=monpri); |
57 |
|
tmnew->clf[RED] = cmat[1][0]; |
58 |
|
tmnew->clf[GRN] = cmat[1][1]; |
59 |
|
tmnew->clf[BLU] = cmat[1][2]; |
116 |
|
tms->clf[CIEX] = tms->clf[CIEZ] = 0.; |
117 |
|
tms->clf[CIEY] = 1.; |
118 |
|
} else { |
119 |
< |
comprgb2xyzWBmat(tms->cmat, tms->monpri); |
119 |
> |
comprgb2xyzmat(tms->cmat, tms->monpri); |
120 |
|
tms->clf[RED] = tms->cmat[1][0]; |
121 |
|
tms->clf[GRN] = tms->cmat[1][1]; |
122 |
|
tms->clf[BLU] = tms->cmat[1][2]; |
232 |
|
) |
233 |
|
{ |
234 |
|
static const char funcName[] = "tmCvGrays"; |
235 |
– |
double d; |
235 |
|
int i; |
236 |
|
|
237 |
|
if (tms == NULL) |