Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Like this presentation? Why not share!

1,210 views

Published on

Fashion, apparel, textile, merchandising, garments

No Downloads

Total views

1,210

On SlideShare

0

From Embeds

0

Number of Embeds

8

Shares

0

Downloads

46

Comments

0

Likes

1

No embeds

No notes for slide

- 1. Color <ul><li>Color is a psychophysical concept depending both upon the spectral distribution of the radiant energy of the illumination source and the visual sensations perceived by the viewer </li></ul><ul><li>Color perception depends mainly upon the physics of light and the physiology of the visual system, which results in the following psychological color sensations: </li></ul><ul><ul><li>hue: the color sensation associated with different parts of the spectrum such as red, yellow, or blue </li></ul></ul><ul><ul><li>saturation: the color sensation corresponding to the degree of hue in a color </li></ul></ul><ul><ul><li>brightness is the primary visual sensation </li></ul></ul>
- 2. Color Science <ul><li>Light is an electromagnetic wave. Its color is characterized by the wavelength content of the light. </li></ul><ul><ul><li>Laser light consists of a single wavelength: e.g., a ruby laser produces a bright, scarlet-red beam. </li></ul></ul><ul><ul><li>Most light sources produce contributions over many wavelengths. </li></ul></ul><ul><ul><li>However, humans cannot detect all light, just contributions that fall in the “visible wavelengths”. </li></ul></ul><ul><ul><li>Short wavelengths produce a blue sensation, long wavelengths produce a red one. </li></ul></ul><ul><li>Visible light is an electromagnetic wave in the range 400 nm to 700 nm (where nm stands for nanometer, 10 9 meters). </li></ul>
- 3. Color Science <ul><li>Fig. 4.2 shows the relative power in each wavelength interval for typical outdoor light on a sunny day. This type of curve is called a Spectral Power Distribution ( SPD ) or a spectrum . </li></ul>
- 4. Human Vision <ul><li>The eye works like a camera, with the lens focusing an image onto the retina (upside-down and left-right reversed). </li></ul><ul><ul><li>The retina consists of an array of rods and three kinds of cones. </li></ul></ul><ul><ul><li>The rods come into play when light levels are low and produce an image in shades of gray </li></ul></ul><ul><ul><li>For higher light levels, the cones each produce a signal. Because of their differing pigments, the three kinds of cones are most sensitive to red ( R ), green ( G ), and blue ( B ) light. </li></ul></ul>
- 5. Human Vision <ul><li>The eye is most sensitive to light in the middle of the visible spectrum. </li></ul><ul><ul><li>The sensitivity of our receptors is also a function of wavelength </li></ul></ul>
- 6. Human Vision <ul><li>These spectral sensitivity functions can be represented by a vector function </li></ul><ul><li>Since an SPD is a sum of single frequency lights, we can add up the cone responses for all wavelengths, waited by the sensitivity functions at those wavelengths leading to three integrals </li></ul>
- 7. Image Formation <ul><li>Surfaces reflect different amounts of light at different wavelengths, and dark surfaces reflect less energy than light surfaces. </li></ul><ul><li>Fig. 4.4 shows the surface spectral reflectance from (1) orange sneakers and (2) faded bluejeans. The reflectance function is denoted S ( ). </li></ul>
- 8. Image Formation
- 9. Image Formation <ul><li>So image formation involves an illuminant with SPD E( ) reflects off a surface with spectral reflectance function S( ) and is filtered by the eyes’ cone functions q( ) as shown in figure 4.5 </li></ul><ul><li>The function C( ) is called the color signal and is formed by the product of the illuminant and the reflectance </li></ul>
- 10. Image Formation
- 11. Image Formation <ul><li>The resulting equations, taking into account reflectance are as follows </li></ul>
- 12. Camera Systems <ul><li>Camera systems are made in a similar fashion; studio-quality camera has three signals produced at each pixel location (corresponding to a retinal position). </li></ul><ul><li>Analog signals are converted to digital, truncated to integers,and stored. If the precision used is 8-bit, then the maximum value for any of R; G;B is 255, and the minimum is 0. </li></ul><ul><li>However, the light entering the eye of the computer user is that which is emitted by the screen|the screen is essentially a self-luminous source. Therefore we need to know the light E ( ) entering the eye. </li></ul>
- 13. Gamma Correction <ul><li>The light emitted is in fact roughly proportional to the voltage raised to a power ; this power is called gamma , with symbol . </li></ul><ul><li>(a) Thus, if the file value in the red channel is R , the screen emits light proportional to R , with SPD equal to that of the red phosphor paint on the screen that is the target of the red channel electron gun. The value of gamma is around 2.2. </li></ul><ul><li>(b) It is customary to append a prime to signals that are gamma-corrected by raising to the power (1 / ) before transmission. Thus we arrive at linear signals : </li></ul>
- 14. Gamma Correction <ul><li>Fig. 4.6(a) shows light output with no gamma-correction applied. We see that darker values are displayed too dark. </li></ul><ul><li>This is also shown in Fig. 4.7(a), which displays a linear ramp from left to right. </li></ul><ul><li>Fig. 4.6(b) shows the effect of pre-correcting signals by applying the power law R 1 / ; it is customary to normalize voltage to the range [0,1]. </li></ul>
- 15. Gamma Correction
- 16. Gamma Correction <ul><li>The combined effect is shown in Fig. 4.7(b). Here, a ramp is shown in 16 steps from gray-level 0 to gray-level 255. </li></ul>
- 17. Color Systems <ul><li>Combinations of three primary colors can match any unknown color for observers with normal color vision </li></ul><ul><li>Often, we choose red, green, and blue as the three primary colors, and we can then represent some color C by a mixture of red, green, and blue: </li></ul><ul><ul><ul><li>C = r C R + g C G + b C B </li></ul></ul></ul><ul><li>RGB is the color model (a conceptual system for specifying colors numerically) used in computer monitors </li></ul><ul><li>This model is additive </li></ul>
- 18. Color-Matching Functions <ul><li>The amounts of R, G, B to match any color have been found by experiment as shown below </li></ul>
- 19. Color-Matching Functions <ul><li>Since the red function has a negative lobe, three fake primary colors were devised that lead to primaries with only positive values </li></ul><ul><li>The three functions are called x( ), y( ) and z( ). </li></ul><ul><li>The middle function y matches the luminous efficiency curve V( ) </li></ul>
- 20. Color-Matching Functions
- 21. Color-Matching Functions <ul><li>For a general SPD E ( ), the essential “colorimetric” information required to characterize a color is the set of tristimulus values X , Y , Z defined in analogy to (Eq. 4.2) as ( Y == luminance ): </li></ul>
- 22. Color-Matching Functions <ul><li>The CIE devised a 2D diagram representing the 3D (X,Y,Z) values as shown below </li></ul>
- 23. White Spectra <ul><li>The CIE defines several “white” spectra: illuminant A, illuminant C, and standard daylights D65 and D100. (Fig. 4.12) </li></ul>
- 24. CIE Diagram <ul><li>Chromaticities on the spectrum locus (the “horseshoe” in Fig. 4.11) represent “pure” colors. These are the most “saturated”. Colors close to the white point are more unsaturated. </li></ul><ul><li>The chromaticity diagram: for a mixture of two lights, the resulting chromaticity lies on the straight line joining the chromaticities of the two lights. </li></ul><ul><li>The “dominant wavelength” is the position on the spectrum locus intersected by a line joining the white point to the given color, and extended through it. </li></ul>
- 25. Color Monitor Specifications <ul><li>Color monitors are specified in part by the white point chromaticity that is desired if the RGB electron guns are all activated at their highest value (1.0, if we normalize to [0,1]). </li></ul><ul><li>We want the monitor to display a speci ed white when when R’ = G’ = B’ =1. </li></ul><ul><li>There are several monitor specifcations in current use (Table 4.1). </li></ul>
- 26. Color Monitor Specifications
- 27. Out of Gamut Colors <ul><li>We can use the monitor specifications to convert a CIE ( x,y,z ) triple into RGB values for the monitor </li></ul>
- 28. Out of Gamut Colors <ul><li>What do we do if any of the RGB numbers is negative ? - that color, visible to humans, is out-of-gamut for our display. </li></ul><ul><li>One method: simply use the closest in-gamut color available, as in Fig. 4.13. </li></ul><ul><li>Another approach: select the closest complementary color. </li></ul>
- 29. Out of Gamut Colors
- 30. RGB Color Model for CRT Displays <ul><li>1. We expect to be able to use 8 bits per color channel for color that is accurate enough. </li></ul><ul><li>2. However, in fact we have to use about 12 bits per channel to avoid an aliasing effect in dark image areas - contour bands that result from gamma correction. </li></ul><ul><li>3. For images produced from computer graphics, we store integers proportional to intensity in the frame buffer. So should have a gamma correction LUT between the frame buffer and the CRT. </li></ul><ul><li>4. If gamma correction is applied to floats before quantizing to integers, before storage in the frame buffer, then in fact we can use only 8 bits per channel and still avoid contouring artifacts. </li></ul>
- 31. Color Systems <ul><li>CMYK is the color model used by printing presses </li></ul><ul><ul><li>This model is subtractive </li></ul></ul><ul><li>Light is absorbed, or subtracted by cyan, magenta, and yellow ink </li></ul><ul><li>In process-color printing, layers of translucent inks are used, each subtracting certain colors of light </li></ul><ul><ul><li>Colors that are not absorbed pass through to the paper below which reflects all color </li></ul></ul><ul><ul><li>For example, magenta ink looks magenta because it allows magenta light to pass through but absorbs all other colors </li></ul></ul>
- 32. Color Systems
- 33. Device Independent Color Systems <ul><li>It is very difficult to accurately specify color since the perceived characteristics cannot be measured directly </li></ul><ul><li>Print shops use swatch books (e.g. Letraset’s Pantone Matching System) of named, numbered colors to accurately specify colors </li></ul><ul><li>Differences in press settings, and ink and paper brands may result in different colors being printed </li></ul><ul><li>For this reason, there is a rising interest in device-independent color systems </li></ul>
- 34. Device Independent Color Systems <ul><li>L*a*b color model is an international standard for color measurement </li></ul><ul><li>It is designed to be device independent, creating consistent colors regardless of the device used to create or output the image </li></ul><ul><ul><li>L is the luminance or lightness component </li></ul></ul><ul><ul><li>a is the is the green to red component </li></ul></ul><ul><ul><li>b is the blue to yellow component </li></ul></ul>
- 35. L*a*b Color System
- 36. Color Gamuts
- 37. Color Models in Video <ul><li>Video Color Transforms </li></ul><ul><ul><li>(a) Largely derive from older analog methods of coding color for TV. Luminance is separated from color information. </li></ul></ul><ul><ul><li>(b) For example, a matrix transform method similar to Eq. (4.9) called YIQ is used to transmit TV signals in North America and Japan. </li></ul></ul><ul><ul><li>(c) This coding also makes its way into VHS video tape coding in these countries since video tape technologies also use YIQ. </li></ul></ul><ul><ul><li>(d) In Europe, video tape uses the PAL or SECAM codings, which are based on TV that uses a matrix transform called YUV. </li></ul></ul><ul><ul><li>(e) Finally, digital video mostly uses a matrix transform called YCbCr that is closely related to YUV </li></ul></ul>
- 38. YUV Color Model <ul><li>YUV color model has one luminance channel (Y) and two chrominance (color) channels - U and V </li></ul><ul><li>The chrominance channels actually represent the difference between colors and a reference white (luminance) </li></ul><ul><li>Luminance represents the grayscale (black and white) information </li></ul><ul><li>For B/W television, the U and V can be ignored </li></ul>
- 39. YIQ Color Model <ul><li>The YIQ color model is used in NTSC TV </li></ul><ul><li>The Y is the same as in YUV </li></ul><ul><li>I and Q are phase shifted from U and V to allow for more efficient transmission </li></ul><ul><li>Note that the chrominance information is less perceptually important than the luminance, and hence less bandwidth is used for it </li></ul>
- 40. YCbCr Color Model <ul><li>Finally, the YCbCr color model is used in the Rec. 601 digital video standard. </li></ul><ul><li>Cb and Cr are the chrominance components </li></ul>

No public clipboards found for this slide

×
### Save the most important slides with Clipping

Clipping is a handy way to collect and organize the most important slides from a presentation. You can keep your great finds in clipboards organized around topics.

Be the first to comment