1YIQRGB(3NCARG) NCAR GRAPHICS YIQRGB(3NCARG)
2
3
4
6 YIQRGB - Converts a color specification given in the YIQ color space to
7 the equivalent color specification in the Red, Green, Blue (RGB) color
8 space.
9
11 CALL YIQRGB (Y, I, Q, R, G, B)
12
14 #include <ncarg/ncargC.h>
15
16 void c_yiqrgb (float y, float i, float q, float *r,
17 float *g, float *b)
18
20 Y (REAL, input, range [0.,1.]) specifies the color component
21 of a television signal that is shown on black-and-white
22 televisions; Y minimizes the effect of two colors appearing
23 different to the human eye but mapping to similar
24 monochrome intensities.
25
26 I (REAL, input, range [-.6,.6])
27
28 Q (REAL, input, range [-.52,.52])
29
30 R (REAL, output, range [0.,1.]) represents the red intensity
31 component of the output color in RGB color space.
32
33 G (REAL, output, range [0.,1.]) represents the green
34 intensity component of the output color in RGB color space.
35
36 B (REAL, output, range [0.,1.]) represents the blue
37 intensity component of the output color in RGB color space.
38
40 The C-binding argument descriptions are the same as the FORTRAN
41 argument descriptions.
42
44 Use the ncargex command to see the following relevant examples: tcolcv,
45 fcce02.
46
48 To use YIQRGB or c_yiqrgb, load the NCAR Graphics libraries ncarg,
49 ncarg_gks, and ncarg_c, preferably in that order.
50
52 Online: colconv, hlsrgb, hsvrgb, rgbhls, rgbhsv, rgbyiq, ncarg_cbind.
53
54 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
55
57 Copyright (C) 1987-2009
58 University Corporation for Atmospheric Research
59 The use of this Software is governed by a License Agreement.
60
61
62
63UNIX March 1993 YIQRGB(3NCARG)