Color model

From Wiki.GIS.com

Jump to:navigation, search

A color model is an abstract mathematical model describing the way colors can be represented as tuples of numbers, typically as three or four values or color components. When this model is associated with a precise description of how the components are to be interpreted (viewing conditions, etc.), the resulting set of colors is called color space. This section describes ways in which human color vision can be modeled.

Contents

[edit] Tristimulus color space

3D representation of the human color space.

One can picture this space as a region in three-dimensional Euclidean space if one identifies the x, y, and z axes with the stimuli for the long-wavelength (L), medium-wavelength (M), and short-wavelength (S) receptors. The origin, (S,M,L) = (0,0,0), corresponds to black. White has no definite position in this diagram; rather it is defined according to the color temperature or white balance as desired or as available from ambient lighting. The human color space is a horse-shoe-shaped cone such as shown here (see also CIE chromaticity diagram below), extending from the origin to, in principle, infinity. In practice, the human color receptors will be saturated or even be damaged at extremely-high light intensities, but such behavior is not part of the CIE color space and neither is the changing color perception at low light levels (see: Kruithof curve).

The most saturated colors are located at the outer rim of the region, with brighter colors farther removed from the origin. As far as the responses of the receptors in the eye are concerned, there is no such thing as "brown" or "gray" light. The latter color names refer to orange and white light respectively, with an intensity that is lower than the light from surrounding areas. One can observe this by watching the screen of an overhead projector during a meeting: one sees black lettering on a white background, even though the "black" has in fact not become darker than the white screen on which it is projected before the projector was turned on. The "black" areas have not actually become darker but appear "black" relative to the higher intensity "white" projected onto the screen around it. See also color constancy.

The human tristimulus space has the property that additive mixing of colors corresponds to the adding of vectors in this space. This makes it easy to, for example, describe the possible colors (gamut) that can be constructed from the red, green, and blue primaries in a computer display.

[edit] CIE XYZ color space

Main article: CIE 1931 color space
CIE1931 Standard Colorimetric Observer functions between 380 nm and 780 nm (at 5 nm intervals).

One of the first mathematically defined color spaces is the CIE XYZ color space (also known as CIE 1931 color space), created by the International Commission on Illumination in 1931. These data were measured for human observers and a 2-degree field of view. In 1964, supplemental data for a 10-degree field of view were published.

Note that the tabulated sensitivity curves have a certain amount of arbitrariness in them. The shapes of the individual X, Y and Z sensitivity curves can be measured with a reasonable accuracy. However, the overall luminosity curve (which in fact is a weighted sum of these three curves) is subjective, since it involves asking a test person whether two light sources have the same brightness, even if they are in completely different colors. Along the same lines, the relative magnitudes of the X, Y, and Z curves are arbitrary. One could as well define a valid color space with an X sensitivity curve that has twice the amplitude. This new color space would have a different shape. The sensitivity curves in the CIE 1931 and 1964 xyz color space are scaled to have equal areas under the curves.

The figure on the right shows the related chromaticity diagram with wavelengths in nanometers.

In this diagram, x and y are related to the X, Y, and Z tristimulus values under Human tristimulus color space above according to:

x = X/(X + Y + Z),
y = Y/(X + Y + Z).

Mathematically, x and y are projective coordinates and the colors of the chromaticity diagram occupy a region of the real projective plane. Because the CIE sensitivity curves have equal areas under the curves, light with a flat energy spectrum corresponds to the point (x,y) = (0.333,0.333).

The values for X, Y, and Z are obtained by integrating the product of the spectrum of a light beam and the published color-matching functions. Blue and red wavelengths do not contribute strongly to the luminosity, which is illustrated by the following example:

red green blue red+green green+blue red+blue red+green+blue zero light

For someone with normal color vision, green is brighter than red, which is brighter than blue. Even though the pure blue appears to be very dark and hardly discernible from black when observed from a distance, blue has a strong coloring power when mixed with green or red.

With some forms of "red-green color blindness" the green is very slightly brighter than the blue, and the red is so dark it can barely be made out. Red traffic lights in bright daylight appear broken (no light). The green traffic light appears dirty white and hard to distinguish from night street lights.

The CIE-xyz color space is a prism, as opposed to the cone-shaped tristimulus space above. In the two-dimensional xy representation, all possible additive mixtures of two colors A and B form a straight line. However, the additive mixture of two colors does generally not lie on the mid-point of this line.

[edit] RGB color model

RGBCube b.svg

In the eye, there are three kinds of color receptors, called cone cells. The three kinds of cone cells are sensitive to the short, medium, and long wavelengths of visible light. The RGB color model approximates the way human vision encodes images by using three primary color channels: red, green, and blue. Emitted light sources such as monitors, flat-panel displays, and video projectors use the RGB color model, as do image-capturing devices such as video cameras and computers. The RGB model defines a color by giving the intensity level of red, green and blue light that mix together to create it on the display. With most of today's displays, the intensity of each color can vary from 0 to 255, which gives 16,777,216 different colors. Mixtures of light of these primary colors cover a large part of the human color space and thus produce a large part of human color experiences. This is why color television sets or color computer monitors need only produce mixtures of red, green and blue light. See Additive color.

Other primary colors could in principle be used, but with red, green and blue the largest portion of the human color space can be captured. Unfortunately there is no exact consensus as to what loci in the chromaticity diagram the red, green, and blue colors should have, so the same RGB values can give rise to slightly different colors on different screens.

[edit] HSV and HSL representations

HSV cone.jpg
Color cones.png

After realizing that the geometry of the RGB model is poorly aligned with the color-making attributes recognized by human vision, computer graphics researchers developed two alternative representations of the RGB color model, HSV (hue, saturation, value) and HSL (hue, saturation, lightness). These models were formally defined and described in Alvy Ray Smith’s 1978 paper “Color Gamut Transform Pairs”.

HSV and HSL are based off of the RGB color model, but instead of being arranged in a cube, they use the cylindrical-coordinate system. The colors are arranged in a wheel around a central axis while the neutrals are arranged along this axis from top to bottom, starting with white and gradually darkening to black. Because of the way this model is set up, it is considered more user-friendly. HSV models itself on paint mixture, with its saturation and value dimensions resembling mixtures of a brightly colored paint with either white or black. The angle around the cylinder is correlated directly to hue, the distance the chosen point is from the axis determines the saturation, and the location along the axis determines the value/brightness. [1]

HSL tries to resemble more perceptual color models such as NCS or Munsell. It places the fully saturated colors in a circle of lightness ½, so that lightness 1 always implies white, and lightness 0 always implies black.

HSV and HSL are both widely used in computer graphics, particularly as color pickers in image editing software. The HSV model is one that is used commonly along with numerical data within ArcGIS.,[2] Since there are more color variations, it is easier to create color gradients. The mathematical transformation from RGB to HSV or HSL could be computed in real time, even on computers of the 1970s, and there is an easy-to-understand mapping between colors in either of these spaces and their manifestation on a physical RGB device.

[edit] Notes

[edit] CMYK color model

It is possible to achieve a large range of colors seen by humans by combining cyan, magenta, and yellow transparent dyes/inks on a white substrate. These are the subtractive primary colors. Often a fourth black is added to improve reproduction of some dark colors. This is called "CMY" or "CMYK" color space.

The cyan ink will reflect all but the red light, the yellow ink will reflect all but the blue light and the magenta ink will reflect all but the green light. This is because cyan light is an equal mixture of green and blue, yellow is an equal mixture of red and green, and magenta light is an equal mixture of red and blue.

[edit] Color systems

There are various types of color systems that classify color and analyse their effects. The American Munsell color system devised by Albert H. Munsell is a famous classification that organises various colors into a color solid based on hue, saturation and value. Other important color systems include the Swedish Natural Color System (NCS) from the Scandinavian Color Institute, the Optical Society of America's Uniform Color Space (OSA-UCS), and the Hungarian Coloroid system developed by Antal Nemcsics from the Budapest University of Technology and Economics. Of those, the NCS is based on the opponent-process color model, while the Munsell, the OSA-UCS and the Coloroid attempt to model color uniformity. The American Pantone and the German RAL commercial color-matching systems differ from the previous ones in that their color spaces are not based on an underlying color model.

[edit] Other uses of "color model"

[edit] Models of mechanism of color vision

We also use "color model" to indicate a model or mechanism of color vision for explaining how color signals are processed from visual cones to ganglion cells. For simplicity, we call these models color mechanism models. The classical color mechanism models are Young-Helmholtz's trichromatic model and Hering's opponent-process model. Though these two theories were initially thought to be at odds, it later came to be understood that the mechanisms responsible for color opponency receive signals from the three types of cones and process them at a more complex level.[1]

[edit] Color Blindness

source: http://www.ncbi.nlm.nih.gov/pubmedhealth/PMH0001997/

Color blindness is a condition that causes some people to have difficulties discerning between different colors. This problem occurs when pigments in the nerve cells of the eye called cones malfunction. When this malfunction occurs in one pigment, it becomes difficult to tell the difference between red and green shades of colors, if another pigment is missing or not working properly the person could have problems viewing blue and yellow shades as well as red and green. This defect in the eye is passed down genetically and there is no known cure. Knowing this, the color models can be used in mapping, cartography, etc. to accommodate people with such difficulties, allowing them to easily understand the product.

[edit] Vertebrate evolution of color vision

Vertebrate animals were primitively tetrachromatic. They possessed short, mid, long wavelength cones, and ultraviolet sensitive cones. Today, fish, reptiles and birds are all tetrachromatic. Placental mammals lost both the short and mid wavelength cones. Thus, most mammals do not have complex color vision but they are sensitive to ultraviolet light. Human trichromatic color vision is a recent evolutionary novelty that first evolved in the common ancestor of the Old World Primates. Our trichromatic color vision evolved by duplication of the long wavelength sensitive opsin, found on the X chromosome. One of these copies evolved to be sensitive to green light and constitutes our mid wavelength opsin. At the same time, our short wavelength opsin evolved from the ultraviolet opsin of our vertebrate and mammalian ancestors.

Human red-green color blindness occurs because the two copies of the red and green opsin genes remain in close proximity on the X chromosome. Because of frequent recombination during meiosis, these gene pairs can get easily rearranged, creating versions of the genes that do not have distinct spectral sensitivities.

[edit] References

  1. Kandel ER, Schwartz JH and Jessell TM, 2000. Principles of Neural Science, 4th ed., McGraw-Hill, New York. pp. 577–80.

[edit] See also

[edit] External links

Navigation
Need Help
Toolbox
Share This Page