A Guided Tour of Color Space

Size: px
Start display at page:

Download "A Guided Tour of Color Space"

Transcription

1 Charles Poynton This article describes the theory of color reproduction in video, and some of the engineering compromises necessary to make practical cameras and practical coding systems. Video processing is generally concerned with color represented in three components derived from the scene, usually red, green, and blue or components computed from these. Once red, green, and blue components of a scene are obtained, color coding systems transform these components into other forms suitable for processing, recording, and transmission. Accurate color reproduction depends on knowledge of exactly how the physical spectra of the original scene are transformed into these components and exactly how the color components are transformed to physical spectra at the display. I use the term luminance and the symbol Y to refer to true, CIE luminance, a linear-light quantity proportional to physical intensity. I use the term luma and the symbol Y to refer to the signal that is used in video to approximate luminance. I you are unfamiliar with these terms or this usage, see page 24 of my book 1. Trichromaticity Color is the perceptual result of light having wavelength from 400 to 700 nm that is incident upon the retina. The human retina has three types of color photoreceptor cone cells, which respond to inci- dent radiation with different spectral response curves. Because there are exactly three types of color photoreceptors, three components are necessary and sufficient to describe a color, providing that appropriate spectral weighting functions are used: Color vision is inherently trichromatic. A fourth type of photoreceptor cell, the rod, is also present in the retina. Rods are effective only at extremely low light intensities. Because there is only one type of rod cell, night vision cannot perceive color. Image reproduction takes place at light levels sufficiently high that the rod receptors play no role. Isaac Newton said, Indeed rays, properly expressed, are not colored. Spectral power distributions (SPDs) exist in the physical world, but color exists only in the eye and the brain. Color specification The Commission Internationale de L Éclairage (CIE) has defined a system to compute a triple of numerical components that can be considered to be the mathematical coordinates of color space. Their function is analogous to coordinates on a map. Cartographers have different map projections for different functions: Some map projections preserve areas, others show latitudes and longitudes as straight lines. No single map projection fills all the needs of map users. Similarly, no single color system fills all of the needs of color users. This is an edited version of a paper first published in New Foundations for Video Technology (Proceedings of the SMPTE Advanced Television and Electronic Imaging Conference, San Francisco, Feb. 1995), Author s address: 56A Lawrence Avenue E, Toronto ON M4N 1S3, Canada. poynton@poynton.com, 1 Charles Poynton, A Technical Introduction to Digital Video (New York: John Wiley & Sons, 1996) Charles Poynton 1 of 14

2 Linear-Light Tristimulus PROJECTIVE TRANSFORM CIE XYZ (x, y) Chromaticity CIE xyy PROJECTIVE TRANSFORM NONLINEAR TRANSFORM Perceptually Uniform CIE L*u*v* CIE L*a*b* SCALED POLAR/ RECTANGULAR POLAR/ RECTANGULAR POLAR/ RECTANGULAR Hue- Oriented TekHVC CIE L*h uv c uv CIE L*h ab c ab 3 3 Linear RGB TRANSFER FUNCTION Nonlinear R G B NONLINEAR TRANSFORM NONLINEAR TRANSFORM } HLS, HSB Image Coding Systems 3 3 Nonlinear Y C B C R Figure 1 Color systems can be classified into four groups that are related by different kinds of transformations. Tristumulus systems and perceptuallyuniform systems are useful for image coding. Any system for color specification must be intimately related to the CIE specifications. The systems useful for color specification are all based on CIE XYZ. Numerical specification of hue and saturation has been standardized by the CIE, but is not useful for color specification. A color specification system needs to be able to represent any color with high precision. Since few colors are handled at a time, a specification system can be computationally complex. An ink color can be specified by the proportions of standard or proprietary inks that can be mixed to make the color. Ink mixture is beyond the scope of this paper. The science of colorimetry forms the basis for describing a color as three numbers. However, classical colorimetry is intended for the specification of color, not for color image coding. Although an understanding of colorimetry is necessary to achieve good color performance in video, strict application of colorimetry is unsuitable. Color image coding A color image is represented as an array of pixels, where each pixel contains numerical components that define a color. Three components are necessary and sufficient for this purpose, although in printing it is convenient to use a fourth (black) component. In theory, the three numerical values for image coding could be provided by a color specification system. But a practical image coding system needs to be computationally efficient; cannot afford unlimited precision; need not be intimately related to the CIE system; and generally needs to cover only a reasonably wide range of colors and not all of the colors. So image coding uses different systems than color specification. The systems useful for image coding are linear RGB, nonlinear RGB, nonlinear CMY, nonlinear CMYK, and derivatives of nonlinear RGB such as Y C B C R. Numerical values of hue and saturation are not useful in color image coding. If you manufacture cars, you have to match the color of paint on the door with the color of paint on the fender. A color specification system will be necessary. However, to convey a picture of the car, you need image coding. You can afford to do quite a bit of computation in the first case because you have only two colored elements, the door and the fender. In the second case, the color coding must be quite efficient because you may have a million colored elements or more. For a highly readable short introduction to color image coding, consult DeMarsh and 2

3 Figure 2 Spectral and tristimulus color reproduction. A color can be described as a spectral power distribution (SPD) of perhaps 31 numbers, each representing power over a 10 nm band. However, if appropriate spectral weighting functions are used, three values are sufficient Wavelength, nm Spectral reproduction (31 components) Tristimulus reproduction (3 components) Giorgianni 2. For a terse, complete technical treatment, read Schreiber 3. Definitions Intensity is a measure over some interval of the electromagnetic spectrum of the flow of power that is radiated from, or incident on, a surface. Intensity is what I call a linear-light measure, expressed in units such as watts per square meter. Brightness is defined by the CIE as the attribute of a visual sensation according to which an area appears to exhibit more or less light. Because brightness perception is very complex, the CIE defined a more tractable quantity, luminance, which is radiant power weighted by a spectral sensitivity function that is characteristic of vision. Hue is the attribute of a color perception denoted by blue, green, yellow, red, and so on. Roughly speaking, if the dominant wavelength of an SPD shifts, the hue of the associated color will shift. Saturation, or purity, is the degree of colorfulness, from neutral gray through pastel to satu- 2 LeRoy E. DeMarsh and Edward J. Giorgianni, Color Science for Imaging Systems, in Physics Today, September 1989, W.F. Schreiber, Fundamentals of Electronic Imaging Systems, Third Edition (New York: Springer-Verlag, 1993). rated colors. Roughly speaking, the more concentrated an SPD is at one wavelength, the more saturated the associated color. You can desaturate a color by adding light that contains power at all wavelengths. Spectral Power Distribution (SPD) and tristimulus Physical power (or radiance) is expressed in a spectral power distribution (SPD), often in 31 components each representing power in a 10 nm band from 400 to 700 nm. The SPD of the CIE standard daylight illuminant CIE D 65 is sketched at the top of Figure 2 above. One way to describe a color is to directly reproduce its spectral power distribution. This is sketched in the middle row of Figure 2, where 31 components are transmitted. It is reasonable to use this method to describe a single color or a few colors, but using 31 components for each pixel is an impractical way to code an image. Based on the trichromatic nature of vision, we can determine suitable spectral weighting functions to describe a color using just three components, indicated at the bottom of Figure 2. The relationship between SPD and perceived color is the concern of the science of colorimetry. In 1931, the CIE adopted standard curves for a hypothetical Standard Observer. These curves specify how an SPD can be transformed into a triple that specifies a color. 3

4 B G R Wideband filter set B G R Narrowband filter set Z Y X CIE-based filter set Figure 3 Scanner spectral constraints. This diagram shows the spectral constraints associated with scanners and cameras. The top row shows the spectral sensitivity of three wideband filters having uniform response across the shortwave, mediumwave and longwave regions of the spectrum. The problem with this approach is that two monochromatic sources seen by the eye to have different colors in this case, saturated orange and a saturated red cannot be distinguished by the filter set. The middle row of the illustration shows three narrowband filters. This set solves the problem of the first set, but creates another: many monochromatic sources fall between the filters, and are seen by the scanner as black. To see color as the eye does, the three filter responses must be closely related to the color response of the eye. The bottom row shows the spectral response functions of the CIE Standard Observer. The CIE system is immediately and almost universally applicable to self-luminous sources and displays. However, the colors produced by reflective systems such as photography, printing or paint are a function not only of the colorants but also of the SPD of the ambient illumination. If your application has a strong dependence upon the spectrum of the illuminant, you may have to resort to spectral matching. Scanner spectral constraints The relationship between spectral distributions and the three components of a color value is conventionally explained starting from the famous color matching experiment. I will instead explain the relationship by illustrating the practical concerns of engineering the spectral filters required by a color scanner or camera, as illustrated in Figure 3 above. The top row shows the spectral sensitivity of three wideband filters having uniform response across each of the red, green, and blue regions of the spectrum. In a typical filter, whether for electrical signals or for optical power, it is generally desirable to have a response that is as uniform as possible across the passband, to have transition zones as narrow as possible, and to have maximum possible attenuation in the stopbands. Entire textbooks are devoted to filter design; they concentrate on optimizing filters in that way. The example on the top row of the illustration shows two monochromatic sources which are seen as saturated orange and red. Applying a textbook filter to that example causes these two different wavelength distributions to report the identical RGB triple, [1, 0, 0]. That is a serious problem, because these SPDs are seen as different colors! At first sight it may seem that the problem with the wideband filters is insufficient wavelength discrimination. The middle row of the example addresses the apparent lack of spectral discrimination of the filters of the top row, by using three narrowband filters. This set solves one problem, 4

5 z Figure 4 CIE Color Matching Functions. A camera must have these spectral response curves, or linear combinations of these, in order to capture all colors. However, practical considerations make this difficult. Response 1.0 y 0.5 x Wavelength, nm but creates another: many monochromatic sources fall between the filters, and are seen by the scanner as black. In the example, the orange source reports an RGB triple of [0, 0, 0], identical to the result of scanning black. Although this example is contrived, the problem is not. Ultimately, the test of whether a camera or scanner is successful is whether it reports distinct RGB triples if and only if human vision sees different colors. To see color as the eye does, the three filter sensitivity curves must be closely related to the color response of the eye. A famous experiment, the color matching experiment, was devised during the 1920s to characterize the relationship between SPD and color. The experiment measures mixtures of different spectral distributions that are required for human observers to match colors. Exploiting this indirect method, the CIE in 1931 standardized a set of spectral weighting functions that models the perception of color. These curves, defined numerically, are referred to as the x, y, and z color matching functions (CMFs) for the CIE Standard Observer 4. They are illustrated in the bottom row of Figure 3 opposite, and are graphed at a larger scale in Figure 4 above. CIE XYZ tristimulus The CIE designed their system so that one of the three tristimulus values the Y value has a spectral sensitivity that corresponds to the lightness sensitivity of human vision. The luminance Y of a source is obtained as the integral of its SPD weighted by the y color matching function. When luminance is augmented with two other components X and Z, computed using the x and z color matching functions, the resulting (X, Y, Z) components are known as XYZ tristimulus values (pronounced big-x, big-y, big-z or cap-x, cap-y, cap-z ). These are linear-light values that embed the spectral properties of human color vision. Tristimulus values are computed from continuous SPDs by integrating the SPD using the x, y, and z color matching functions. In discrete form, tristimulus values can be computed by a matrix multiplication, as shown in Figure 5 overleaf. 4 The CIE system is standardized in Publication CIE No 15.2, Colorimetry, Second Edition (Vienna, Austria: Central Bureau of the Commission Internationale de L Éclairage, 1986). 5

6 X Y Z T = nm 450 nm 500 nm 550 nm 600 nm 650 nm 700 nm Figure 5 Calculation of tristimulus values by matrix multiplication. The column vector at the right is a discrete version of CIE Illuminant D 65. The 31-by-3 matrix is a discrete version of the set of CIE x, y and z color matching functions, here represented in 31 wavelengths at 10 nm intervals across the spectrum. The result of performing the matrix multiplication is a set of XYZ tristimulus values. Human color vision follows a principle of superposition, first elaborated by Grassman and now known as Grassman s Law: The tristimulus values that result after summing a set of SPDs is identical to the sum of the tristimulus values of each of the SPDs. Due to this linearity of additive color mixture, any set of three components that is a nontrivial linear combination of X, Y, and Z is also a set of tristimulus values. The CIE system is based on the description of color as a luminance component Y, as described above, and two additional components X and Z. The spectral weighting curves of X and Z have been standardized by the CIE based on statistics from experiments involving human observers. XYZ tristimulus values can describe any color. (RGB tristimulus values will be described later.) The magnitudes of the XYZ components are proportional to physical power, but their spectral composition corresponds to the color matching characteristics of human vision. CIE x, y chromaticity It is convenient, for both conceptual understanding and computation, to have a representation of pure color in the absence of luminance. The CIE standardized a procedure for normalizing XYZ tristimulus values to obtain two chromaticity values x and y (pronounced little-x, little-y ). The relationships are computed by this projective transformation: Eq 1 X x = X + Y+ Z Y y = X + Y+ Z A color plots as a point in an (x, y) chromaticity diagram, illustrated in Figure 6 opposite. When a narrowband SPD comprising power at just one wavelength is swept across the range 400 to 700 nm, it traces a shark-fin shaped spectral locus in (x, y) coordinates. The sensation of purple cannot be produced by a single wavelength: To produce purple requires a mixture of shortwave and longwave light. The line of purples joins extreme blue to extreme red. The chromaticity coordinates of real (physical) SPDs are bounded by the line of purples and the spectral locus: All colors are contained in this region of the chromaticity diagram. It is common to specify a color by its chromaticity and luminance, in the form of an xyy triple. (A third chromaticity value, z, can be computed similarly. However, z is redundant if x and y are known, due to the identity x + y + z = 1.) 6

7 GREEN 540 Comparison of SMPTE 240M, EBU Tech E and ITU-R Rec. BT.709 Primaries CIE D SMPTE Rec. 709 EBU 580 RED Figure 6 The (x, y) chromaticity diagram. The spectral locus, an inverted U-shaped path, is swept out as a monochromatic source runs from 400 to 700 nm. The locus of all colors is closed by the line of purples, which traces SPDs that combine longwave and shortwave power but have no mediumwave contribution. On this chromaticity diagram, I plot the chromaticity of the D 65 white point, and the chromaticities of the red, green, and blue primaries of contemporary SMPTE, EBU, and ITU-R standards for video primaries. See A Technical Introduction to Digital Video for details y BLUE x To recover X and Z tristimulus values from chromaticities and luminance, use the inverse of Eq 1: Eq 2 x X y Y Z x y = = 1 Y y The projective transformation used to compute x and y is such that any linear combination or two spectra, or two tristimulus values, plots on a straight line in the (x, y) plane. However, the transformation does not preserve distances, so chromaticity values do not combine linearly. There is no unique physical or perceptual definition of white. An SPD that is considered white will have CIE (x, y) coordinates roughly in the central area of the chromaticity diagram, in the region of ( 1 3, 1 3 ). Additive mixture (RGB) The simplest way to reproduce a wide range of colors is to mix light from three lights of different colors, usually red, green, and blue. Figure 7 overleaf illustrates additive reproduction. In physical terms, the spectra from each of the lights add together wavelength by wavelength to form the spectrum of the mixture. As a consequence of the principle of superposition, the color of an additive mixture is a strict function of the colors of the primaries and the fraction of each primary that is mixed. Additive reproduction is employed directly in a video projector, where the spectra from a red beam, a green beam, and a blue beam are physically summed at the surface of the projection screen. Additive reproduction is also employed in a direct-view color CRT, but through slightly indirect means. The screen of a CRT comprises small dots that produce red, green, and blue light. When the screen is viewed from a sufficient distance, the spectra of these dots add at the observer s retina. 7

8 R G B Wavelength, nm Figure 7 Additive mixture. This diagram illustrates the physical process underlying additive color mixture, as is used in color television. Each colorant has an independent, direct path to the image. The spectral power of the image is, at each wavelength, the sum of the spectra of the colorants. The colors (chromaticities) of the mixtures are completely determined by the colors of the primaries, and analysis and prediction of mixtures is reasonably simple. The spectral curves shown here are those of an actual Sony Trinitron monitor. White In additive image reproduction, the white point is the chromaticity of the color reproduced by equal red, green, and blue components. White point is a function of the ratio (or balance) of power among the primaries. It is often convenient for purposes of calculation to define white as a uniform SPD. This white reference is known as the equal-power illuminant, or CIE Illuminant E. A more realistic reference that approximates daylight has been specified numerically by the CIE as Illuminant D 65. You should use this unless you have a good reason to use something else. The print industry commonly uses D 50, and photography commonly uses D 55. These represent compromises between the conditions of indoor (tungsten) and daylight viewing. Human vision adapts to white in the viewing environment. An image viewed in isolation such as a slide projected in a dark room creates its own white reference, and a viewer will be quite tolerant of errors in the white point. However, if the same image is viewed in the presence of an external white reference or a second image, then differences in white point can be objectionable. Planck determined that the SPD radiated from a hot object a black body radiator is a function of the temperature to which the object is heated. A typical source of illumination has a heated object at its core, so it is often useful to characterize an illuminant by specifying the temperature (in units of kelvin, K) of a black body radiator that appears to have the same color. Although an illuminant can be specified informally by its color temperature, a more complete specification is provided by the chromaticity coordinates of the SPD of the source. Figure 8 shows the SPDs of several standard illuminants. Camera white reference There is an implicit assumption in television that the camera operates as if the scene were illuminated by a source having the chromaticity of CIE D 65. In practice, the scene illumination is often deficient in the shortwave (blue) region of the spectrum. Television studio lighting is often accomplished by tungsten lamps, which are very yellow. This situation is accommodated by white balancing, that is, by adjusting the gain of the red, green, and blue components of the scene so that a white object reports the values that would be reported if the scene were illuminated by D 65. 8

9 2.5 A D 50 D D 65 C D Figure 8 CIE illuminants are graphed here. Illuminant A is now obsolete; it is representative of tungsten illumination. Illuminant C was an early standard for daylight; it too is obsolete. The family of D Illuminants represent daylight at several color temperatures. Monitor white reference In an additive mixture the illumination of the reproduced image is generated entirely by the display device. In particular, reproduced white is determined by the characteristics of the display, and is not dependent on the environment in which the display is viewed. In a completely dark viewing environment such as a cinema theater, this is desirable. However, in an environment where the viewer s field of view encompasses objects other than the display, the viewer s notion of white is likely to be influenced or even dominated by what he perceives as white in the ambient. To avoid subjective mismatches, the chromaticity of white reproduced by the display and the chromaticity of white in the ambient should be reasonably close. Modern blue CRT phosphors are more efficient with respect to human vision than red or green. In a quest for brightness at the expense of color accuracy, it is common for a computer display to have excessive blue content, about twice as blue as daylight, with white at about 9300 K. This situation can be corrected by calibrating the monitor to a white reference with a lower color temperature. Characterization of RGB primaries Additive reproduction is based on physical devices that produce all-positive SPDs for each primary. Physically and mathematically, the spectra add. The largest range of colors will be produced with primaries that appear red, green, and blue. Human color vision obeys the principle of superposition, so the color produced by any additive mixture of three primary spectra can be predicted by adding the corresponding fractions of the XYZ components of the primaries: the colors that can be mixed from a particular set of RGB primaries are completely determined by the colors of the primaries by themselves. Subtractive reproduction is much more complicated: the colors of mixtures are determined by the primaries and by the colors of their combinations. An additive RGB system is specified by the chromaticities of its primaries and its white point. The extent (gamut) of the colors that can be mixed from a given set of RGB primaries is given in the (x, y) chromaticity diagram by a triangle whose vertices are the chromaticities of the primaries. In computing, there are no standard primaries and there is no standard white point. If you have an RGB image but have no information about its 9

10 chromaticities, you cannot accurately determine the colors represented by the image data. The NTSC in 1953 specified a set of primaries that were representative of phosphors used in color CRTs of that era. However, phosphors changed over the years, primarily in response to market pressures for brighter receivers, and by the time of the first videotape recorder the primaries in use were quite different than those on the books. So although you may see the NTSC primary chromaticities documented, they are of no practical use today. Contemporary studio monitors have slightly different standards in North America, Europe, and Japan. However, international agreement 5 has been obtained on primaries for high-definition television (HDTV), and these primaries are closely representative of contemporary monitors in studio video, computing, and computer graphics. The standard is formally denoted ITU-R Recommendation BT.709 (formerly CCIR Rec. 709). I ll call it Rec The Rec. 709 primaries and its D 65 white point are these: Table 1 Rec. 709 primaries and white reference R G B white x y z For a discussion of nonlinear RGB in computer graphics, read Lindbloom s SIGGRAPH paper 6. For technical details on monitor calibration, consult Cowan 7. Video standards specify abstract R G B systems that are closely matched to the characteristics of 5 Basic Parameter Values for the HDTV Standard for the Studio and for International Programme Exchange (Geneva, Switzerland: ITU, 1990). 6 Bruce Lindbloom, Accurate Color Reproduction for Computer Graphics Applications, in Computer Graphics, Vol. 23, No. 3 (July 1989), William B. Cowan, An Inexpensive Scheme for Calibration of a Colour Monitor in terms of CIE Standard Coordinates, in Computer Graphics, Vol. 17, No. 3 (July 1983), real monitors. Physical devices that produce additive color involve tolerances and uncertainties, but if you have a monitor that conforms to Rec. 709 within some tolerance, you can consider the monitor to be device-independent. The importance Rec. 709 as an interchange standard in studio video, broadcast television, and high definition television, and the perceptual basis of the standard, assures that its parameters will be used even by devices such as flatpanel displays that do not have the same physics as CRTs. Non-realizable spectra In the x, y, and z functions, the contribution of each weighting function to each tristimulus value is positive at every wavelength. Light cannot convey negative power; if a color matching function had a negative excursion, its filter could not be physically realized. If you examine the x, y, and z functions, you will see that except for the trivial case of an identically zero spectrum it is not possible to have a physical spectrum that produces zero luminance: Every wavelength has some positive contribution to Y. There is no way to generate nonzero X or Z values without also generating nonzero Y. Thus, a pure X tristimulus triple [1, 0, 0] can never be obtained from a physical (all-positive) spectral distribution. However, setting aside for the moment the physical constraint, a pure X tristimulus value would correspond mathematically to a spectrum that has negative power at some wavelengths, in order to generate unity X and zero luminance Y. The SPDs corresponding to the CIE x, y, and z color matching functions correspond to physically realizable spectra, SPDs having these shapes could in theory be used as the primaries in a display device such as a CRT. However, using XYZ tristimulus values to drive a display having x, y, and z primaries would not correctly reproduce color. This is fundamentally because the analysis of the source SPD into X, Y, and Z components proceeds independently during scanning, but in an additive display device, the SPDs of the primaries interact when they 10

11 combine at the display. If power from the source could be steered into three components at the source if power contributing to one component could be subtracted from the other two then the component values at the scanner could be directly used at the display. Unfortunately this steering operation involves subtraction, which in the case of the x, y, and z functions leads to spectral sensitivity functions that are negative at some wavelengths, and therefore not realizable in practice. Alternatively, the display could be arranged so that the X tristimulus component produced a contribution having a spectral power distribution x--y --z (and similarly for Y and Z). Unfortunately this proposal suffers from nonrealizable primaries at the display. So we have a dilemma: to utilize XYZ tristimulus components directly to achieve color reproduction, we must have either a nonrealizable scanner or a nonrealizable display! The solution to this dilemma involves transforming the tristimulus components into a mathematical domain where physical realizability is not a constraint. The transformation depends on the fact that the principle of superposition applies to human color vision. We process the XYZ components through a 3 3 linear (matrix) multiplication, to produce a new set of components appropriate for physical RGB display primaries. Transformations between CIE XYZ and RGB RGB values in a particular set of primaries can be transformed to and from CIE XYZ by a 3 3 matrix transform. These transforms involve tristimulus values, that is, sets of three linearlight components that conform to the CIE color matching functions. SMPTE has published details on how to compute these transformations 8. CIE XYZ is a special case of tristimulus values. In XYZ, any color is represented by a positive set of values. 8 SMPTE RP , Derivation of Basic Television Color Equations. To transform from CIE XYZ into Rec. 709 RGB (with its D 65 white point), use this transform: R X G709 = Y B Z This matrix has some negative coefficients: XYZ colors that are out of gamut for a particular RGB transform to RGB where one or more RGB components is negative or greater than unity. Here s the inverse transform. Because white is normalized to unity, the middle row sums to unity: X R709 Y = G709 Z B709 To recover primary chromaticities from such a matrix, compute little x and y for each RGB column vector. To recover the white point, transform RGB = [1, 1, 1] to XYZ, then compute x and y. Transforms among RGB systems RGB tristimulus values in a system employing one set of primaries can be transformed into another set by a 3 3 matrix multiplication. Generally these matrices are normalized for a white point luminance of unity. For details, see Television Engineering Handbook 9. As an example, here is the transform from SMPTE 240M (or SMPTE RP-145) RGB to Rec. 709: R R G709 = G B B This matrix is very close to the identity matrix. In a case like this, if the transform is computed in the nonlinear (gamma-corrected) R G B domain the resulting errors will be insignificant. 9 Television Engineering Handbook, Featuring HDTV Systems, Revised Edition by K. Blair Benson, revised by Jerry C. Whitaker (New York: McGraw-Hill, 1992). This supersedes the Second Edition

12 Here s another example. To transform EBU 3213 RGB to Rec. 709: R REBU G709 = GEBU B BEBU Transforming among RGB systems may lead to an out of gamut result where one or more RGB components is negative or greater than unity. Scanning colored media The previous section discusses the analysis filters necessary to obtain three tristimulus values from incident light from a colored object. However, if the incident light has itself been formed by an imaging system based on three components, the spectral composition of light from the original scene has already been analyzed. To perform a spectral analysis based on the CIE color matching functions is unnecessary at best, and is likely to introduce degraded color information. A much more direct, practical, and accurate approach is to perform an analysis using filters tuned to the spectrum of the colorants of the reproduced image, and thereby extract the three color records present in the reproduction being scanned. In practical terms, if an image to be scanned has already been recorded on color film, or printed by color photography or offset printing, then better results will be obtained by using three narrowband filters designed to extract the color components that have already been recorded on the media. A densitometer is an instrument that performs this task (but reporting logarithmic density values instead of linear-light tristimulus values). Several spectral sensitivity functions have been standardized for densitometers for use in different applications. Practical camera spectral response The previous section explained how the CIE x, y, and z functions are representative of the spectral response of the three color photoreceptor cells of human vision, and explained how XYZ tristimulus components from such a scanner are transformed for use by a display device having realizable primaries. Although an ideal scanner or a camera would use these spectral functions, many practical difficulties preclude their use in real cameras and scanners. The CIE x, y, and z functions capture all colors. However, the range of colors commonly encountered in the natural or man-made world is a fraction of total color space. Although it is useful for an instrument such as a colorimeter to measure all colors, in an imaging system we are generally concerned with the subset of colors that occur frequently. If a scanner is designed to capture all colors, its complexity is necessarily higher and its performance is necessarily worse than a camera designed to capture a smaller range of colors. Furthermore, in a system that reproduces images, such as television, any economical display device will be limited in the range of colors that it can reproduce. There are usually good engineering reasons to capture a range of colors that is not excessively larger than the range of colors that can be reproduced. For much of the history of color television, cameras were designed to incorporate assumptions about the color reproduction capabilities of color CRTs. However, nowadays, video production equipment is being used to originate images for a wider range of applications than just television broadcast. The desire to make video cameras suitable for originating images for these wider applications has led to cameras with increased color range. Subtractive mixture (CMY) In contrast to additive mixture described earlier, another way to produce a range of color mixtures is to selectively remove portions of the spectrum from a relatively broadband illuminant. This is illustrated in Figure 9 opposite. The illuminant at the left of the sketch produces light over most or all of the visible spectrum, and each successive filter transmits some portion of the band and attenuates other portions. The overall attenuation of each filter is controlled: In the case of color photography, this is accomplished by varying the thickness of each dye 12

13 Illuminant Yl Mg Cy Wavelength, nm Figure 9 Subtractive mixture as employed in color photography and color offset printing, is illustrated in this diagram. The colorants act in succession to remove spectral power from the illuminant. In physical terms, the spectral power of the mixture is, at each wavelength, the product of the spectrum of the illuminant and the transmission of the colorants: the mixture could be called multiplicative. If the amount of each colorant is represented in the form of density the negative of the base-10 logarithm of transmission then color mixtures can be determined by subtraction. Color mixtures in subtractive systems are complex because the colorants have absorption not only in the intended region of the spectrum but also unwanted absorptions in other regions. The unwanted absorptions cause interaction among the channels, and therefore nonlinearity in the mixtures. The illuminant shown here is CIE D 65 ; the colorant absorption curves are those of the dyes of a commercial color photographic print film. layer that functions as a filter, the shape of each curve remaining constant. In physical terms, the spectrum of the mixture is the wavelength by wavelength product of the spectrum of the illuminant and the spectral transmission curves of each of the colorants. The spectral transmission curves of the colorants multiply, so this method of color reproduction should really be called multiplicative. Photographers and printers have for decades measured transmission in base-10 logarithmic density units, where transmission of unity corresponds to a density of 0, transmission of 0.1 corresponds to a density of 1, transmission of 0.01 corresponds to a density of 2, and so on. When a printer or photographer computes the effect of filters in tandem, he subtracts density values instead of multiplying transmission values, so he calls the system subtractive. To achieve a wide range of colors in a subtractive system requires filters that appear colored cyan, yellow, and magenta (CMY). Figure 9 illustrates the situation of a transmissive display such as in the projection of color photographic film. RGB information can be used as the basis for subtractive image reproduction. If the color to be reproduced has a blue component of zero, then the yellow filter must attenuate the shortwave components of the spectrum as much as possible. As the amount of blue to be reproduced increases, the attenuation of the yellow filter should decrease. This reasoning leads to the one-minus-rgb relationships: Cy = 1 R Mg = 1 G Yl = 1 B Cyan in tandem with magenta produces blue, cyan with yellow produces green, and magenta with yellow produces red. Here is a memory aid: R G B R G B Cy Mg Yl Cy Mg Yl Additive primaries are at the top, subtractive at the bottom. On the left, magenta and yellow filters combine subtractively to produce red. On the right, red and green sources combine additively to produce yellow. Subtractive details Although the one-minus-rgb relationships are a good starting point, they are not useful in practice. One problem is that the relationships assume RGB to represent linear-light tristimulus values and CMY to represent linear-light trans- 13

14 mission values. In computing and in offset printing, neither the RGB nor the CMY quantities are directly proportional to intensity. Another problem is that the one-minus-rgb relationships do not incorporate any about information about tristimulus values of the assumed RGB primaries or the assumed CMY colorants! Obviously the spectra of the colorants has some influence over reproduced color, but the model embeds no information about the spectra! Image synthesis Once light is on its way to the eye, any tristimulus-based system can accurately represent color. However, the interaction of light and objects involves SPDs and spectral absorbtion curves, not tristimulus values. In synthetic computer graphics, the calculations are actually simulating sampled SPDs, even if only three components are used. Details concerning the resultant errors are found in Hall 10. The most serious practical problem with subtractive color mixture is that any overlap among the absorption spectra of the colorants results in unwanted absorption in the mixture. For example, the magenta dye is intended to absorb only medium wavelengths, roughly between 500 and 600 nm. However, for the photographic film dyes shown in Figure 9, the magenta dye also has substantial absorption in the shortwave region of the spectrum. Consequently, the amount of shortwave light that contributes to any mixture is not only a function of the amount of attenuation introduced by the yellow filter, but also the incidental attenuation introduced by the magenta filter. There is no simple way to compensate these interactions, because the multiplication of spectra is not mathematically a linear operation. In practice, the conversion from RGB to CMY is accomplished using either fairly complicated polynomial arithmetic, or by three-dimensional interpolation of lookup tables. In a subtractive mixture, reproduced white is determined by characteristics of the colorants and by the spectrum of the illuminant used at the display. In a reproduction such as a color photograph that is illuminated by the ambient light in the viewer s environment, mismatch between the white reference in the scene and the white reference in the viewing environment is eliminated. In a subtractive reproduction using a device that generates its own illumination, the subjective effect of white mismatch may need to be considered. 10 Roy Hall, Illumination and Color in Computer Generated Imagery (New York: Springer-Verlag, 1989) 14

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD) Color Science CS 4620 Lecture 15 1 2 What light is Measuring light Light is electromagnetic radiation Salient property is the spectral power distribution (SPD) [Lawrence Berkeley Lab / MicroWorlds] exists

More information

COLOR and the human response to light

COLOR and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 How

More information

COLOR. and the human response to light

COLOR. and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 Amazing

More information

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options?

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options? What is Color Gamut? How do we see color and why it matters for your PID options? One of the buzzwords at CES 2017 was broader color gamut. In this whitepaper, our experts unwrap this term to help you

More information

Fig Color spectrum seen by passing white light through a prism.

Fig Color spectrum seen by passing white light through a prism. 1. Explain about color fundamentals. Color of an object is determined by the nature of the light reflected from it. When a beam of sunlight passes through a glass prism, the emerging beam of light is not

More information

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology Physics of Color Light Light or visible light is the portion of electromagnetic radiation that

More information

Colors in Images & Video

Colors in Images & Video LECTURE 8 Colors in Images & Video CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Light and Spectra

More information

Color Image Processing. Gonzales & Woods: Chapter 6

Color Image Processing. Gonzales & Woods: Chapter 6 Color Image Processing Gonzales & Woods: Chapter 6 Objectives What are the most important concepts and terms related to color perception? What are the main color models used to represent and quantify color?

More information

Color Science. CS 4620 Lecture 15

Color Science. CS 4620 Lecture 15 Color Science CS 4620 Lecture 15 2013 Steve Marschner 1 [source unknown] 2013 Steve Marschner 2 What light is Light is electromagnetic radiation exists as oscillations of different frequency (or, wavelength)

More information

To discuss. Color Science Color Models in image. Computer Graphics 2

To discuss. Color Science Color Models in image. Computer Graphics 2 Color To discuss Color Science Color Models in image Computer Graphics 2 Color Science Light & Spectra Light is an electromagnetic wave It s color is characterized by its wavelength Laser consists of single

More information

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain Color & Graphics The complete display system is: Model Frame Buffer Screen Eye Brain Color & Vision We'll talk about: Light Visions Psychophysics, Colorimetry Color Perceptually based models Hardware models

More information

Mahdi Amiri. March Sharif University of Technology

Mahdi Amiri. March Sharif University of Technology Course Presentation Multimedia Systems Color Space Mahdi Amiri March 2014 Sharif University of Technology The wavelength λ of a sinusoidal waveform traveling at constant speed ν is given by Physics of

More information

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song Image and video processing () Colour Images Dr. Yi-Zhe Song yizhe.song@qmul.ac.uk Today s agenda Colour spaces Colour images PGM/PPM images Today s agenda Colour spaces Colour images PGM/PPM images History

More information

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner CS6640 Computational Photography 6. Color science for digital photography 2012 Steve Marschner 1 What visible light is One octave of the electromagnetic spectrum (380-760nm) NASA/Wikimedia Commons 2 What

More information

Figure 1: Energy Distributions for light

Figure 1: Energy Distributions for light Lecture 4: Colour The physical description of colour Colour vision is a very complicated biological and psychological phenomenon. It can be described in many different ways, including by physics, by subjective

More information

Multimedia Systems and Technologies

Multimedia Systems and Technologies Multimedia Systems and Technologies Faculty of Engineering Master s s degree in Computer Engineering Marco Porta Computer Vision & Multimedia Lab Dipartimento di Ingegneria Industriale e dell Informazione

More information

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini Digital Image Processing COSC 6380/4393 Lecture 20 Oct 25 th, 2018 Pranav Mantini What is color? Color is a psychological property of our visual experiences when we look at objects and lights, not a physical

More information

Lecture Color Image Processing. by Shahid Farid

Lecture Color Image Processing. by Shahid Farid Lecture Color Image Processing by Shahid Farid What is color? Why colors? How we see objects? Photometry, Radiometry and Colorimetry Color measurement Chromaticity diagram Shahid Farid, PUCIT 2 Color or

More information

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing For a long time I limited myself to one color as a form of discipline. Pablo Picasso Color Image Processing 1 Preview Motive - Color is a powerful descriptor that often simplifies object identification

More information

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow! Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Colour Lecture (2 lectures)! Richardson, Chapter

More information

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture!

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture! Colour Lecture! ITNP80: Multimedia 1 Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Richardson,

More information

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies Image formation World, image, eye Light Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies intensity wavelength Visible light is light with wavelength from

More information

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38 Images CS 4620 Lecture 38 w/ prior instructor Steve Marschner 1 Announcements A7 extended by 24 hours w/ prior instructor Steve Marschner 2 Color displays Operating principle: humans are trichromatic match

More information

LECTURE 07 COLORS IN IMAGES & VIDEO

LECTURE 07 COLORS IN IMAGES & VIDEO MULTIMEDIA TECHNOLOGIES LECTURE 07 COLORS IN IMAGES & VIDEO IMRAN IHSAN ASSISTANT PROFESSOR LIGHT AND SPECTRA Visible light is an electromagnetic wave in the 400nm 700 nm range. The eye is basically similar

More information

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation.

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation. From light to colour spaces Light and colour Advanced Graphics Rafal Mantiuk Computer Laboratory, University of Cambridge 1 2 Electromagnetic spectrum Visible light Electromagnetic waves of wavelength

More information

Announcements. Electromagnetic Spectrum. The appearance of colors. Homework 4 is due Tue, Dec 6, 11:59 PM Reading:

Announcements. Electromagnetic Spectrum. The appearance of colors. Homework 4 is due Tue, Dec 6, 11:59 PM Reading: Announcements Homework 4 is due Tue, Dec 6, 11:59 PM Reading: Chapter 3: Color CSE 252A Lecture 18 Electromagnetic Spectrum The appearance of colors Color appearance is strongly affected by (at least):

More information

Reading. Foley, Computer graphics, Chapter 13. Optional. Color. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995.

Reading. Foley, Computer graphics, Chapter 13. Optional. Color. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995. Reading Foley, Computer graphics, Chapter 13. Color Optional Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995. Gerald S. Wasserman. Color Vision: An Historical ntroduction.

More information

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color 1 ACHROMATIC LIGHT (Grayscale) Quantity of light physics sense of energy

More information

Frequently Asked Questions about Gamma

Frequently Asked Questions about Gamma Frequently Asked Questions about Gamma Charles A. Poynton www.inforamp.net/ ~ poynton poynton@inforamp.net tel +1 416 486 3271 fax +1 416 486 3657 In video, computer graphics and image processing the gamma

More information

Introduction to Computer Vision CSE 152 Lecture 18

Introduction to Computer Vision CSE 152 Lecture 18 CSE 152 Lecture 18 Announcements Homework 5 is due Sat, Jun 9, 11:59 PM Reading: Chapter 3: Color Electromagnetic Spectrum The appearance of colors Color appearance is strongly affected by (at least):

More information

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling CSCU9N5: Multimedia and HCI 1 Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Cunliffe & Elliott,

More information

Introduction to Color Science (Cont)

Introduction to Color Science (Cont) Lecture 24: Introduction to Color Science (Cont) Computer Graphics and Imaging UC Berkeley Empirical Color Matching Experiment Additive Color Matching Experiment Show test light spectrum on left Mix primaries

More information

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1 Chapter 12 Color Models and Color Applications 12-1 12.1 Overview Color plays a significant role in achieving realistic computer graphic renderings. This chapter describes the quantitative aspects of color,

More information

excite the cones in the same way.

excite the cones in the same way. Humans have 3 kinds of cones Color vision Edward H. Adelson 9.35 Trichromacy To specify a light s spectrum requires an infinite set of numbers. Each cone gives a single number (univariance) when stimulated

More information

Digital Image Processing Color Models &Processing

Digital Image Processing Color Models &Processing Digital Image Processing Color Models &Processing Dr. Hatem Elaydi Electrical Engineering Department Islamic University of Gaza Fall 2015 Nov 16, 2015 Color interpretation Color spectrum vs. electromagnetic

More information

Lecture 8. Color Image Processing

Lecture 8. Color Image Processing Lecture 8. Color Image Processing EL512 Image Processing Dr. Zhu Liu zliu@research.att.com Note: Part of the materials in the slides are from Gonzalez s Digital Image Processing and Onur s lecture slides

More information

Color images C1 C2 C3

Color images C1 C2 C3 Color imaging Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..) Digital

More information

Color , , Computational Photography Fall 2018, Lecture 7

Color , , Computational Photography Fall 2018, Lecture 7 Color http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 7 Course announcements Homework 2 is out. - Due September 28 th. - Requires camera and

More information

Color Reproduction. Chapter 6

Color Reproduction. Chapter 6 Chapter 6 Color Reproduction Take a digital camera and click a picture of a scene. This is the color reproduction of the original scene. The success of a color reproduction lies in how close the reproduced

More information

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer.

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer. Test 1: Example #2 Paul Avery PHY 3400 Feb. 15, 1999 Note: * indicates the correct answer. 1. A red shirt illuminated with yellow light will appear (a) orange (b) green (c) blue (d) yellow * (e) red 2.

More information

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Lecture 8: Color Image Processing 04.11.2017 Dr. Mohammed Abdel-Megeed Salem Media

More information

The Principles of Chromatics

The Principles of Chromatics The Principles of Chromatics 03/20/07 2 Light Electromagnetic radiation, that produces a sight perception when being hit directly in the eye The wavelength of visible light is 400-700 nm 1 03/20/07 3 Visible

More information

Digital Image Processing

Digital Image Processing Digital Image Processing 6. Color Image Processing Computer Engineering, Sejong University Category of Color Processing Algorithm Full-color processing Using Full color sensor, it can obtain the image

More information

Color , , Computational Photography Fall 2017, Lecture 11

Color , , Computational Photography Fall 2017, Lecture 11 Color http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 11 Course announcements Homework 2 grades have been posted on Canvas. - Mean: 81.6% (HW1:

More information

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour CS 565 Computer Vision Nazar Khan PUCIT Lecture 4: Colour Topics to be covered Motivation for Studying Colour Physical Background Biological Background Technical Colour Spaces Motivation Colour science

More information

Lecture 3: Grey and Color Image Processing

Lecture 3: Grey and Color Image Processing I22: Digital Image processing Lecture 3: Grey and Color Image Processing Prof. YingLi Tian Sept. 13, 217 Department of Electrical Engineering The City College of New York The City University of New York

More information

Unit 8: Color Image Processing

Unit 8: Color Image Processing Unit 8: Color Image Processing Colour Fundamentals In 666 Sir Isaac Newton discovered that when a beam of sunlight passes through a glass prism, the emerging beam is split into a spectrum of colours The

More information

Computer Graphics Si Lu Fall /27/2016

Computer Graphics Si Lu Fall /27/2016 Computer Graphics Si Lu Fall 2017 09/27/2016 Announcement Class mailing list https://groups.google.com/d/forum/cs447-fall-2016 2 Demo Time The Making of Hallelujah with Lytro Immerge https://vimeo.com/213266879

More information

Interactive Computer Graphics

Interactive Computer Graphics Interactive Computer Graphics Lecture 4: Colour Graphics Lecture 4: Slide 1 Ways of looking at colour 1. Physics 2. Human visual receptors 3. Subjective assessment Graphics Lecture 4: Slide 2 The physics

More information

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models Introduction to computer vision In general, computer vision covers very wide area of issues concerning understanding of images by computers. It may be considered as a part of artificial intelligence and

More information

Chapter 3 Part 2 Color image processing

Chapter 3 Part 2 Color image processing Chapter 3 Part 2 Color image processing Motivation Color fundamentals Color models Pseudocolor image processing Full-color image processing: Component-wise Vector-based Recent and current work Spring 2002

More information

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones Light and Color Eye perceives EM radiation of different wavelengths as different colors. Sensitive only to the range 4nm - 7 nm This is a narrow piece of the entire electromagnetic spectrum. Comparing

More information

Today. Color. Color and light. Color and light. Electromagnetic spectrum 2/7/2011. CS376 Lecture 6: Color 1. What is color?

Today. Color. Color and light. Color and light. Electromagnetic spectrum 2/7/2011. CS376 Lecture 6: Color 1. What is color? Color Monday, Feb 7 Prof. UT-Austin Today Measuring color Spectral power distributions Color mixing Color matching experiments Color spaces Uniform color spaces Perception of color Human photoreceptors

More information

Visual Imaging and the Electronic Age Color Science

Visual Imaging and the Electronic Age Color Science Visual Imaging and the Electronic Age Color Science Grassman s Experiments & Trichromacy Lecture #5 September 5, 2017 Prof. Donald P. Greenberg Light as Rays Light as Waves Light as Photons What is Color

More information

Digital Image Processing. Lecture # 8 Color Processing

Digital Image Processing. Lecture # 8 Color Processing Digital Image Processing Lecture # 8 Color Processing 1 COLOR IMAGE PROCESSING COLOR IMAGE PROCESSING Color Importance Color is an excellent descriptor Suitable for object Identification and Extraction

More information

MULTIMEDIA SYSTEMS

MULTIMEDIA SYSTEMS 1 Department of Computer Engineering, g, Faculty of Engineering King Mongkut s Institute of Technology Ladkrabang 01076531 MULTIMEDIA SYSTEMS Pakorn Watanachaturaporn, Ph.D. pakorn@live.kmitl.ac.th, pwatanac@gmail.com

More information

COLOR. Elements of color. Visible spectrum. The Human Visual System. The Fovea. There are three types of cones, S, M and L. r( λ)

COLOR. Elements of color. Visible spectrum. The Human Visual System. The Fovea. There are three types of cones, S, M and L. r( λ) COLOR Elements of color Angel, 4th ed. 1, 2.5, 7.13 excerpt from Joakim Lindblad Color = The eye s and the brain s impression of electromagnetic radiation in the visual spectra How is color perceived?

More information

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors.

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors. Computer Assisted Image Analysis TF 3p and MN1 5p Color Image Processing Lecture 14 GW 6 (suggested problem 6.25) How does the human eye perceive color? How can color be described using mathematics? Different

More information

Color Perception. Color, What is It Good For? G Perception October 5, 2009 Maloney. perceptual organization. perceptual organization

Color Perception. Color, What is It Good For? G Perception October 5, 2009 Maloney. perceptual organization. perceptual organization G892223 Perception October 5, 2009 Maloney Color Perception Color What s it good for? Acknowledgments (slides) David Brainard David Heeger perceptual organization perceptual organization 1 signaling ripeness

More information

Adapted from the Slides by Dr. Mike Bailey at Oregon State University

Adapted from the Slides by Dr. Mike Bailey at Oregon State University Colors in Visualization Adapted from the Slides by Dr. Mike Bailey at Oregon State University The often scant benefits derived from coloring data indicate that even putting a good color in a good place

More information

Slide 1. Slide 2. Slide 3. Light and Colour. Sir Isaac Newton The Founder of Colour Science

Slide 1. Slide 2. Slide 3. Light and Colour. Sir Isaac Newton The Founder of Colour Science Slide 1 the Rays to speak properly are not coloured. In them there is nothing else than a certain Power and Disposition to stir up a Sensation of this or that Colour Sir Isaac Newton (1730) Slide 2 Light

More information

Colors in images. Color spaces, perception, mixing, printing, manipulating...

Colors in images. Color spaces, perception, mixing, printing, manipulating... Colors in images Color spaces, perception, mixing, printing, manipulating... Tomáš Svoboda Czech Technical University, Faculty of Electrical Engineering Center for Machine Perception, Prague, Czech Republic

More information

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University Achim J. Lilienthal Mobile Robotics and Olfaction Lab, Room T1227, Mo, 11-12 o'clock AASS, Örebro University (please drop me an email in advance) achim.lilienthal@oru.se 1 2. General Introduction Schedule

More information

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University 2011-10-26 Bettina Selig Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Electromagnetic Radiation Illumination - Reflection - Detection The Human Eye Digital

More information

6 Color Image Processing

6 Color Image Processing 6 Color Image Processing Angela Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan 2009 Fall Outline Color fundamentals Color models Pseudocolor image

More information

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Visual Perception. Overview. The Eye. Information Processing by Human Observer Visual Perception Spring 06 Instructor: K. J. Ray Liu ECE Department, Univ. of Maryland, College Park Overview Last Class Introduction to DIP/DVP applications and examples Image as a function Concepts

More information

Computers and Imaging

Computers and Imaging Computers and Imaging Telecommunications 1 P. Mathys Two Different Methods Vector or object-oriented graphics. Images are generated by mathematical descriptions of line (vector) segments. Bitmap or raster

More information

Color vision and representation

Color vision and representation Color vision and representation S M L 0.0 0.44 0.52 Mark Rzchowski Physics Department 1 Eye perceives different wavelengths as different colors. Sensitive only to 400nm - 700 nm range Narrow piece of the

More information

Wireless Communication

Wireless Communication Wireless Communication Systems @CS.NCTU Lecture 4: Color Instructor: Kate Ching-Ju Lin ( 林靖茹 ) Chap. 4 of Fundamentals of Multimedia Some reference from http://media.ee.ntu.edu.tw/courses/dvt/15f/ 1 Outline

More information

Color Computer Vision Spring 2018, Lecture 15

Color Computer Vision Spring 2018, Lecture 15 Color http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 2018, Lecture 15 Course announcements Homework 4 has been posted. - Due Friday March 23 rd (one-week homework!) - Any questions about the

More information

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008.

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008. Overview Images What is an image? How are images displayed? Color models How do we perceive colors? How can we describe and represent colors? קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים

More information

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור Images What is an image? How are images displayed? Color models Overview How

More information

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color Image Processing EEE 6209 Digital Image Processing. Outline Outline Color Image Processing Motivation and Color Fundamentals Standard Color Models (RGB/CMYK/HSI) Demosaicing and Color Filtering Pseudo-color and Full-color Image Processing Color Transformation Tone

More information

Color image processing

Color image processing Color image processing Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..)

More information

Additive Color Synthesis

Additive Color Synthesis Color Systems Defining Colors for Digital Image Processing Various models exist that attempt to describe color numerically. An ideal model should be able to record all theoretically visible colors in the

More information

The White Paper: Considerations for Choosing White Point Chromaticity for Digital Cinema

The White Paper: Considerations for Choosing White Point Chromaticity for Digital Cinema The White Paper: Considerations for Choosing White Point Chromaticity for Digital Cinema Matt Cowan Loren Nielsen, Entertainment Technology Consultants Abstract Selection of the white point for digital

More information

Color. Fredo Durand Many slides by Victor Ostromoukhov. Color Vision 1

Color. Fredo Durand Many slides by Victor Ostromoukhov. Color Vision 1 Color Fredo Durand Many slides by Victor Ostromoukhov Color Vision 1 Today: color Disclaimer: Color is both quite simple and quite complex There are two options to teach color: pretend it all makes sense

More information

Introduction to Multimedia Computing

Introduction to Multimedia Computing COMP 319 Lecture 02 Introduction to Multimedia Computing Fiona Yan Liu Department of Computing The Hong Kong Polytechnic University Learning Outputs of Lecture 01 Introduction to multimedia technology

More information

COLOR. Elements of color. Visible spectrum. The Fovea. Lecture 3 October 30, Ingela Nyström 1. There are three types of cones, S, M and L

COLOR. Elements of color. Visible spectrum. The Fovea. Lecture 3 October 30, Ingela Nyström 1. There are three types of cones, S, M and L COLOR Elements of color Angel 1.4, 2.4, 7.12 J. Lindblad 2001-11-01 Color = The eye s and the brain s impression of electromagnetic radiation in the visual spectra. How is color perceived? Visible spectrum

More information

Color Image Processing

Color Image Processing Color Image Processing Jesus J. Caban Outline Discuss Assignment #1 Project Proposal Color Perception & Analysis 1 Discuss Assignment #1 Project Proposal Due next Monday, Oct 4th Project proposal Submit

More information

Color and perception Christian Miller CS Fall 2011

Color and perception Christian Miller CS Fall 2011 Color and perception Christian Miller CS 354 - Fall 2011 A slight detour We ve spent the whole class talking about how to put images on the screen What happens when we look at those images? Are there any

More information

H34: Putting Numbers to Colour: srgb

H34: Putting Numbers to Colour: srgb page 1 of 5 H34: Putting Numbers to Colour: srgb James H Nobbs Colour4Free.org Introduction The challenge of publishing multicoloured images is to capture a scene and then to display or to print the image

More information

EECS490: Digital Image Processing. Lecture #12

EECS490: Digital Image Processing. Lecture #12 Lecture #12 Image Correlation (example) Color basics (Chapter 6) The Chromaticity Diagram Color Images RGB Color Cube Color spaces Pseudocolor Multispectral Imaging White Light A prism splits white light

More information

Colorimetry vs. Densitometry in the Selection of Ink-jet Colorants

Colorimetry vs. Densitometry in the Selection of Ink-jet Colorants Colorimetry vs. Densitometry in the Selection of Ink-jet Colorants E. Baumann, M. Fryberg, R. Hofmann, and M. Meissner ILFORD Imaging Switzerland GmbH Marly, Switzerland Abstract The gamut performance

More information

Using Color in Scientific Visualization

Using Color in Scientific Visualization Using Color in Scientific Visualization Mike Bailey The often scant benefits derived from coloring data indicate that even putting a good color in a good place is a complex matter. Indeed, so difficult

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Color Image Processing Christophoros Nikou cnikou@cs.uoi.gr University of Ioannina - Department of Computer Science and Engineering 2 Color Image Processing It is only after years

More information

Spectro-Densitometers: Versatile Color Measurement Instruments for Printers

Spectro-Densitometers: Versatile Color Measurement Instruments for Printers By Hapet Berberian observations of typical proofing and press room Through operations, there would be general consensus that the use of color measurement instruments to measure and control the color reproduction

More information

University of British Columbia CPSC 314 Computer Graphics Jan-Apr Tamara Munzner. Color.

University of British Columbia CPSC 314 Computer Graphics Jan-Apr Tamara Munzner. Color. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner Color http://www.ugrad.cs.ubc.ca/~cs314/vjan2016 Vision/Color 2 RGB Color triple (r, g, b) represents colors with amount

More information

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color and Color Model Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color Interpretation of color is a psychophysiology problem We could not fully understand the mechanism Physical characteristics

More information

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing

Digital Image Processing. Lecture # 6 Corner Detection & Color Processing Digital Image Processing Lecture # 6 Corner Detection & Color Processing 1 Corners Corners (interest points) Unlike edges, corners (patches of pixels surrounding the corner) do not necessarily correspond

More information

Color and Perception. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Color and Perception. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University Color and Perception CS535 Fall 2014 Daniel G. Aliaga Department of Computer Science Purdue University Elements of Color Perception 2 Elements of Color Physics: Illumination Electromagnetic spectra; approx.

More information

Introduction & Colour

Introduction & Colour Introduction & Colour Eric C. McCreath School of Computer Science The Australian National University ACT 0200 Australia ericm@cs.anu.edu.au Overview 2 Computer Graphics Uses (Chapter 1) Basic Hardware

More information

LECTURE III: COLOR IN IMAGE & VIDEO DR. OUIEM BCHIR

LECTURE III: COLOR IN IMAGE & VIDEO DR. OUIEM BCHIR 1 LECTURE III: COLOR IN IMAGE & VIDEO DR. OUIEM BCHIR 2 COLOR SCIENCE Light and Spectra Light is a narrow range of electromagnetic energy. Electromagnetic waves have the properties of frequency and wavelength.

More information

SilverFast. Colour Management Tutorial. LaserSoft Imaging

SilverFast. Colour Management Tutorial. LaserSoft Imaging SilverFast Colour Management Tutorial LaserSoft Imaging SilverFast Copyright Copyright 1994-2006 SilverFast, LaserSoft Imaging AG, Germany No part of this publication may be reproduced, stored in a retrieval

More information

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg Color evokes a mood; it creates contrast and enhances the beauty in an image. It can make a dull

More information

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University Lecture: Color Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab Stanford University Lecture 1 - Overview of Color Physics of color Human encoding of color Color spaces White balancing Stanford University

More information

Radiometric and Photometric Measurements with TAOS PhotoSensors

Radiometric and Photometric Measurements with TAOS PhotoSensors INTELLIGENT OPTO SENSOR DESIGNER S NUMBER 21 NOTEBOOK Radiometric and Photometric Measurements with TAOS PhotoSensors contributed by Todd Bishop March 12, 2007 ABSTRACT Light Sensing applications use two

More information

MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR

MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR MODULE 4 LECTURE NOTES 1 CONCEPTS OF COLOR 1. Introduction The field of digital image processing relies on mathematical and probabilistic formulations accompanied by human intuition and analysis based

More information

Reading for Color. Vision/Color. RGB Color. Vision/Color. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013.

Reading for Color. Vision/Color. RGB Color. Vision/Color. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner Vision/Color Reading for Color RB Chap Color FCG Sections 3.2-3.3 FCG Chap 20 Color FCG Chap 21.2.2 Visual Perception

More information

Announcements. Color. Last time. Today: Color. Color and light. Review questions

Announcements. Color. Last time. Today: Color. Color and light. Review questions Announcements Color Thursday, Sept 4 Class website reminder http://www.cs.utexas.edu/~grauman/cours es/fall2008/main.htm Pset 1 out today Last time Image formation: Projection equations Homogeneous coordinates

More information