LUMINENCE |
THE BOX'S MAIN HELP: This is function takes a color C and returns the luminence value. Luminence is calculated by averaging the components of the color. The reutrn value is a float = (R + G + B)/3. C (input): The color to be averaged. This must be a color. OUT (output): This function returns a float. The luminence value of color C. OUT = ( red value + green value + blue value ) / 3; |
© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.