310 likes | 369 Views
CO L OR T HE O RY. Presented by : Md Ashequr Rahman COSC 5335 – Computer Graphics Date : Oct 29, 2002. Organization of this presentation. The nature of color and its numerical descriptions Examine some standards Various color models Methods for reducing the number of colors in an image.
E N D
COLOR THEORY Presented by : Md Ashequr Rahman COSC 5335 – Computer Graphics Date : Oct 29, 2002
Organization of this presentation • The nature of color and its numerical descriptions • Examine some standards • Various color models • Methods for reducing the number of colors in an image
What Is Color?Aspect of vision – Physical response consisting of the physical reaction of the eye.Can we touch the color?Source of Color – lightWhat is light?Light is an electromagnetic phenomenon.Self propagated electromagnetic wave.
How do we see color? Retina – Two preceptor 1. Cones Color sensitive 6 to 714 has its own nerve cell Foeva all cones concentrated her 2. Rodes neither distinguish nor see fine details, 75-1504 surrounding foeva. Job – very sensitive to low levels of light. We can see at dim light.
Some Definitions Hue : When we call an object "red," we are referring to its hue. Saturation : The saturation of color is a measurement of its purity or how much it has been diluted by white.
Brightness:Brightness refers to the amount of light the color reflects, or how much black is in the color Contrast:Contrast is a measure of the rate of change of brightness in an image. Very high contrast, for example, indicates both dark black and bright white content within the picture.
Total Power in the light , L = (D-A)B+AW Percentage of luminance, purity = ((D-A)B/L)100%
How will we describe a color ? • Color MatchingBy comparing with a set of standard color samples and finding the closest match.
What do we mean = and + in color? What is “ pure spectral color”A totally saturated color having its power concentrated at a single wave length – 100% saturated at . mono() = r()R+ g(x)G+b()BC = 0.7R+0.5G-0.2B at = 520 Scaling – r() + g()+ b() =1
Standardization-Difficulties – what primary colors are to be used?CIE definition :for primary color x, y and z - are not corresponds to real color - All real color can be presented as positive combination of x, y and zmono() = x()X+y()Y+ z(- )Z and color matching functionsx’() = x( )/(x( ) + y( ) +z() ) CIE (International commission on ILLUMINATION standard)
Constructing CIE chart • -Two dimensionalA curve s’() = (x’(), y’())pont c (x,y) = (0.313, 0.329) ”white hot” temp 6,504oC little greater than C
Use of CIE chromaticity diagram 1. Any color on a straight line can be generated by shining various amount of color a & b on the screen.2. Complementary color can be found fe with respect to w.3. Dominant wave length can be found.4. Saturation or purity can be calculatedgw /hw for g.
Color Spaces CIE is precise and standard but not natural. Color concept : computer graphics people - RGBother people – hue, sat and lightnessArtist – tints , shade , tones
Maping (r,g,b) = (x,y,z) 2.739 -1.110 .138-1.145 2.029 -.333-.424 0.033 1.105
Additive and subtractive color system (r,g,b) RGB = (1,1,1) – (c,m,y)CMY
1. Some display unable to handle more than 24 bit colors2. True color image takes huge memorySubstitution Best color Closest color Color quantization
2. Population Algorithm Highest frequency K color of N is replaced3.Median Cut Algorithm
Conclusion: 1. Color is three dimensional, so we need method for describing colors through a triple of numbers.2. The CIE standard provides a precise approach to specify colors3. Some color methods converts color to another mehod by using CIE chart4. Color quantization very difficult to program and their efficiency depends on computational efficiency, and quality of the final image they can produce.
Reference: 1. F.S Hill, Jr. Computer Graphics. 2nd ed. 2001, prentice Hall2. Kodak Digital learning Center. http://www.kodak.com/us/digital/dlc/14 sep, 20013. Lawise A – Color theory, 1998 – http://uncc.edu/lagaro/cwg/color/4. George atto – Color theory & 2D image representation, Aug 29, 200, center of academic computing. www.pdn.edu/dept/cac/publications/web/ publicationscacguide/