Presentation is loading. Please wait.

Presentation is loading. Please wait.

COLOR THEORY Presented by : Md Ashequr Rahman COSC 5335 – Computer Graphics Date : Oct 29, 2002.

Similar presentations


Presentation on theme: "COLOR THEORY Presented by : Md Ashequr Rahman COSC 5335 – Computer Graphics Date : Oct 29, 2002."— Presentation transcript:

1 COLOR THEORY Presented by : Md Ashequr Rahman COSC 5335 – Computer Graphics Date : Oct 29, 2002

2 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

3 What Is Color? Aspect of vision – Physical response consisting of the physical reaction of the eye. Can we touch the color? Source of Color – light What is light? Light is an electromagnetic phenomenon. Self propagated electromagnetic wave.

4 Electromagnetic Spectrum

5 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. How do we see color?

6 Spectra for some pure colors

7 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.

8 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.

9 Total Power in the light, L = (D-A)B+AW Percentage of luminance, purity = ((D-A)B/L)100%

10 How will we describe a color ? Color Matching By comparing with a set of standard color samples and finding the closest match.

11 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( )B C = 0.7R+0.5G-0.2B at = 520 Scaling – r( ) + g( )+ b( ) =1

12 Pure spectral color curve for the RGB Primaries

13 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 z mono( ) = x( )X+y( )Y+ z(- )Z and color matching functions x’( ) = x( )/(x( ) + y( ) +z( ) ) CIE (International commission on ILLUMINATION standard)

14 1. Wavelength function 2. Pure spectral color curve

15 Constructing CIE chart -Two dimensional A curve s’( ) = (x’( ), y’( )) pont c (x,y) = (0.313, 0.329) ”white hot” temp 6,504 o C little greater than C

16

17 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 f  e with respect to w. 3. Dominant wave length can be found. 4. Saturation or purity can be calculated gw /hw for g.

18

19 Color Gamuts Range of color that can be produced on a device

20 Color Spaces CIE is precise and standard but not natural. Color concept : computer graphics people - RGB other people – hue, sat and lightness Artist – tints, shade, tones

21 Maping (r,g,b) = (x,y,z) 2.739-1.110.138 -1.1452.029-.333 -.4240.0331.105

22 Additive and subtractive color system (r,g,b) RGB = (1,1,1) – (c,m,y)CMY

23 HLS Color Model

24 HSB Color Model

25 1. Some display unable to handle more than 24 bit colors 2. True color image takes huge memory Substitution Best color Closest color Color quantization

26 Uniform Quantization

27 2. Population Algorithm Highest frequency K color of N is replaced 3.Median Cut Algorithm

28 Octree Quantization

29 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 colors 3. Some color methods converts color to another mehod by using CIE chart 4. Color quantization very difficult to program and their efficiency depends on computational efficiency, and quality of the final image they can produce.

30 Reference: 1. F.S Hill, Jr. Computer Graphics. 2 nd ed. 2001, prentice Hall 2. Kodak Digital learning Center. http://www.kodak.com/us/digital/dlc/14 sep, 2001 3. 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/ http://www.kodak.com/us/digital/dlc/14 http://uncc.edu/lagaro/cwg/color/

31 The End


Download ppt "COLOR THEORY Presented by : Md Ashequr Rahman COSC 5335 – Computer Graphics Date : Oct 29, 2002."

Similar presentations


Ads by Google