co l or t he o ry

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

Upload: patrick-riley

Post on 03-Jan-2016

22 views

Category:

Documents


1 download

DESCRIPTION

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. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CO L OR  T HE O RY

COLOR THEORY

Presented by : Md Ashequr RahmanCOSC 5335 – Computer Graphics

Date : Oct 29, 2002

Page 2: CO L OR  T HE O RY

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

Page 3: CO L OR  T HE O RY

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.

Page 4: CO L OR  T HE O RY

Electromagnetic Spectrum

Page 5: CO L OR  T HE O RY

Retina – Two preceptor1. 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?

Page 6: CO L OR  T HE O RY

Spectra for some pure colors

Page 7: CO L OR  T HE O RY

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.

Page 8: CO L OR  T HE O RY

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.

Page 9: CO L OR  T HE O RY

Total Power in the light , L = (D-A)B+AW

Percentage of luminance, purity = ((D-A)B/L)100%

Page 10: CO L OR  T HE O RY

How will we describe a color ?

Color MatchingBy comparing with a set of standard color samples and finding the closest match.

Page 11: CO L OR  T HE O RY

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

Page 12: CO L OR  T HE O RY

Pure spectral color curve for the RGB Primaries

Page 13: CO L OR  T HE O RY

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)

Page 14: CO L OR  T HE O RY

1. Wavelength function 2. Pure spectral color curve

Page 15: CO L OR  T HE O RY

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

Page 16: CO L OR  T HE O RY
Page 17: CO L OR  T HE O RY

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.

Page 18: CO L OR  T HE O RY
Page 19: CO L OR  T HE O RY

Color GamutsRange of color that can be produced on a device

Page 20: CO L OR  T HE O RY

Color Spaces

CIE is precise and standard but not natural.

Color concept :

computer graphics people - RGBother people – hue, sat and lightnessArtist – tints , shade , tones

Page 21: CO L OR  T HE O RY

Maping (r,g,b) = (x,y,z)

2.739 -1.110 .138-1.145 2.029 -.333-.424 0.033 1.105

Page 22: CO L OR  T HE O RY

Additive and subtractive color system

(r,g,b) RGB = (1,1,1) – (c,m,y)CMY

Page 23: CO L OR  T HE O RY

HLS Color Model

Page 24: CO L OR  T HE O RY

HSB Color Model

Page 25: CO L OR  T HE O RY

1. Some display unable to handle more than 24 bit colors2. True color image takes huge memory

SubstitutionBest colorClosest color

Color quantization

Page 26: CO L OR  T HE O RY

Uniform Quantization

Page 27: CO L OR  T HE O RY

2. Population Algorithm

Highest frequency K color of N is replaced

3.Median Cut Algorithm

Page 28: CO L OR  T HE O RY

Octree Quantization

Page 29: CO L OR  T HE O RY

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.

Page 30: CO L OR  T HE O RY

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/

Page 31: CO L OR  T HE O RY

The End