90 likes | 300 Views
Graphics. Problem Solving with Computers. What is a Color Model?. A method for representing colors Each color is normally represented by a triple Color models include: RGB CMY[K] HLS. complimentary colors two colors that make white light primary colors basic set of 3 colors for a model
E N D
Graphics Problem Solving with Computers
What is a Color Model? • A method for representing colors • Each color is normally represented by a triple • Color models include: • RGB • CMY[K] • HLS
complimentary colorstwo colors that make white light primary colorsbasic set of 3 colors for a model color gamutrange of colors derived from model’s primary colors dominant frequency (or wavelength)hue brightnessintensity of a color saturationpurity of a color chromaticitypurity and dominant frequency combined Some terms ...
In the eye … Rods sense the intensity light at low intensities Cones sense the intensity of light at moderate to high levels Cones exist for red, green and blue light How do we see color?
RGB • Red – Green - Blue
CMY[K] • Cyan, Magenta, Yellow [, Black] • Subtractive color model • Used in printing
HLS L = 1 • Hue • Lightness • Saturation Green 120 L = 0.5 Red 0 Blue 240 H L = 0 S
Bit-mapped Images • Pixel • Smallest directly addressable part of an image • Generally rectangular • Arranged in rows and columns • Resolution • Relative density of pixels
Bit-mapped Images Both of these images have the same number of pixels