1 / 31

CO L OR T HE O RY

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.

Download Presentation

CO L OR T HE O RY

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 – lightWhat is light?Light is an electromagnetic phenomenon.Self propagated electromagnetic wave.

  4. Electromagnetic Spectrum

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

  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 MatchingBy 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()BC = 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 zmono() = x()X+y()Y+ z(- )Z and color matching functionsx’() = x( )/(x( ) + y( ) +z() ) CIE (International commission on ILLUMINATION standard)

  14. 1. Wavelength function 2. Pure spectral color curve

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

  16. 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 calculatedgw /hw for g.

  17. Color GamutsRange of color that can be produced on a device

  18. Color Spaces CIE is precise and standard but not natural. Color concept : computer graphics people - RGBother people – hue, sat and lightnessArtist – tints , shade , tones

  19. Maping (r,g,b) = (x,y,z) 2.739 -1.110 .138-1.145 2.029 -.333-.424 0.033 1.105

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

  21. HLS Color Model

  22. HSB Color Model

  23. 1. Some display unable to handle more than 24 bit colors2. True color image takes huge memorySubstitution Best color Closest color Color quantization

  24. Uniform Quantization

  25. 2. Population Algorithm Highest frequency K color of N is replaced3.Median Cut Algorithm

  26. Octree Quantization

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

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

  29. The End

More Related