RGBYIQ(3NCARG) | NCAR GRAPHICS | RGBYIQ(3NCARG) |
RGBYIQ - Converts a color specification given in the RGB Red, Green, Blue, (RGB) color space to a color specification in the YIQ color space.
CALL RGBYIQ (R, G, B, Y, I, Q)
#include <ncarg/ncargC.h>
void c_rgbyiq (float r, float g, float b, float *y,
float *i, float *q)
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
Use the ncargex command to see the following relevant example: tcolcv, fcce02.
To use RGBYIQ or c_rgbyiq, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Online: colconv, hlsrgb, hsvrgb, rgbhls, rgbhsv, yiqrgb, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
March 1993 | UNIX |