Jump to content

Color model

From Wikipedia, the free encyclopedia
(Redirected from Color system)

In color science, 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.), taking account of visual perception, the resulting set of colors is called "color space."

This article describes ways in which human color vision can be modeled, and discusses some of the models in common use.

Tristimulus color space

[edit]
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) light 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.

CIE XYZ color space

[edit]
CIE. Archived June 3, 2005, at the Wayback Machine. 1931 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 function (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 arbitrarily chosen to produce equal areas under the curves. 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.

Sometimes XYZ colors are represented by the luminance, Y, and chromaticity coordinates x and y, defined by:

and

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.

Additive and subtractive color models

[edit]

RYB color model

[edit]

RYB is a subtractive color model used in art and applied design in which red, yellow, and blue pigments are considered primary colors.[1][2] The RYB color model relates specifically to color in the form of paint and pigment application in art and design.[3][4][5] Other common color models include the light model (RGB) and the paint, pigment and ink CMY color model, which is much more accurate in terms of color gamut and intensity compared to the traditional RYB color model, the latter emerging in conjunction with the CMYK color model in the printing industry.[6][7] This model was used for printing by Jacob Christoph Le Blon in 1725 and called it Coloritto or harmony of colouring,[8] stating that the primitive (primary) colors are yellow, red and blue, while the secondary are orange, green and purple or violet.[9][10]

RGB color model

[edit]

Media that transmit light (such as television) use additive color mixing with primary colors of red, green, and blue, each of which stimulates one of the three types of the eye's color receptors with as little stimulation as possible of the other two. This is called "RGB" color space. 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.

RGB is a device-dependent color model: different devices detect or reproduce a given RGB value differently, since the color elements (such as phosphors or dyes) and their response to the individual red, green, and blue levels vary from manufacturer to manufacturer, or even in the same device over time.[11][12] Thus an RGB value does not define the same color across devices without some kind of color management.[13]

CMY and CMYK color models

[edit]

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 ink, black, is added to improve reproduction of some dark colors. This is called the "CMY" or "CMYK" color space.

The cyan ink absorbs red light but transmits green and blue, the magenta ink absorbs green light but transmits red and blue, and the yellow ink absorbs blue light but transmits red and green. The white substrate reflects the transmitted light back to the viewer. Because in practice the CMY inks suitable for printing also reflect a little bit of color, making a deep and neutral black impossible, the K (black ink) component, usually printed last, is needed to compensate for their deficiencies. Use of a separate black ink is also economically driven when a lot of black content is expected, e.g. in text media, to reduce simultaneous use of the three colored inks. The dyes used in traditional color photographic prints and slides are much more perfectly transparent, so a K component is normally not needed or used in those media.

Cylindrical-coordinate color models

[edit]

A number of color models exist in which colors are fit into conic, cylindrical or spherical shapes, with neutrals running from black to white along a central axis, and hues corresponding to angles around the perimeter. Arrangements of this type date back to the 18th century, and continue to be developed in the most modern and scientific models.

Background

[edit]
Philipp Otto Runge’s Farbenkugel (color sphere), 1810, showing the outer surface of the sphere (top two images), and horizontal and vertical cross sections (bottom two images)
Color sphere of Johannes Itten, 1919-20

Different color theorists have each designed unique color solids. Many are in the shape of a sphere, whereas others are warped three-dimensional ellipsoid figures—these variations being designed to express some aspect of the relationship of the colors more clearly. The color spheres conceived by Phillip Otto Runge and Johannes Itten are typical examples and prototypes for many other color solid schematics.[14] The models of Runge and Itten are basically identical, and form the basis for the description below.

Pure, saturated hues of equal brightness are located around the equator at the periphery of the color sphere. As in the color wheel, contrasting (or complementary) hues are located opposite each other. Moving toward the center of the color sphere on the equatorial plane, colors become less and less saturated, until all colors meet at the central axis as a neutral gray. Moving vertically in the color sphere, colors become lighter (toward the top) and darker (toward the bottom). At the upper pole, all hues meet in white; at the bottom pole, all hues meet in black.

The vertical axis of the color sphere, then, is gray all along its length, varying from black at the bottom to white at the top. All pure (saturated) hues are located on the surface of the sphere, varying from light to dark down the color sphere. All impure (unsaturated hues, created by mixing contrasting colors) comprise the sphere's interior, likewise varying in brightness from top to bottom.

HSL and HSV

[edit]
Painters long mixed colors by combining relatively bright pigments with black and white. Mixtures with white are called tints, mixtures with black are called shades, and mixtures with both are called tones. See Tints and shades.[15]
The RGB gamut can be arranged in a cube. The RGB model is not very intuitive to artists used to using traditional models based on tints, shades and tones. The HSL and HSV color models were designed to fix this.
HSL cylinder
HSV cylinder

HSL and HSV are both cylindrical geometries, with hue, their angular dimension, starting at the red primary at 0°, passing through the green primary at 120° and the blue primary at 240°, and then wrapping back to red at 360°. In each geometry, the central vertical axis comprises the neutral, achromatic, or gray colors, ranging from black at lightness 0 or value 0, the bottom, to white at lightness 1 or value 1, the top.

Most televisions, computer displays, and projectors produce colors by combining red, green, and blue light in varying intensities—the RGB additive primary colors. However, the relationship between the constituent amounts of red, green, and blue light and the resulting color is unintuitive, especially for inexperienced users, and for users familiar with subtractive color mixing of paints or traditional artists’ models based on tints and shades.

In an attempt to accommodate more traditional and intuitive color mixing models, computer graphics pioneers at PARC and NYIT developed[further explanation needed] the HSV model in the mid-1970s, formally described by Alvy Ray Smith[16] in the August 1978 issue of Computer Graphics. In the same issue, Joblove and Greenberg[17] described the HSL model—whose dimensions they labeled hue, relative chroma, and intensity—and compared it to HSV. Their model was based more upon how colors are organized and conceptualized in human vision in terms of other color-making attributes, such as hue, lightness, and chroma; as well as upon traditional color mixing methods—e.g., in painting—that involve mixing brightly colored pigments with black or white to achieve lighter, darker, or less colorful colors.

The following year, 1979, at SIGGRAPH, Tektronix introduced graphics terminals using HSL for color designation, and the Computer Graphics Standards Committee recommended it in their annual status report. These models were useful not only because they were more intuitive than raw RGB values, but also because the conversions to and from RGB were extremely fast to compute: they could run in real time on the hardware of the 1970s. Consequently, these models and similar ones have become ubiquitous throughout image editing and graphics software since then.

Munsell color system

[edit]
Munsell’s color sphere, 1900. Later, Munsell discovered that if hue, value, and chroma were to be kept perceptually uniform, achievable surface colors could not be forced into a regular shape.
Three-dimensional representation of the 1943 Munsell renotations. Notice the irregularity of the shape when compared to Munsell's earlier color sphere, at left.

Another influential older cylindrical color model is the early-20th-century Munsell color system. Albert Munsell began with a spherical arrangement in his 1905 book A Color Notation, but he wished to properly separate color-making attributes into separate dimensions, which he called hue, value, and chroma, and after taking careful measurements of perceptual responses, he realized that no symmetrical shape would do, so he reorganized his system into a lumpy blob.[18][19][A]

Munsell's system became extremely popular, the de facto reference for American color standards—used not only for specifying the color of paints and crayons, but also, e.g., electrical wire, beer, and soil color—because it was organized based on perceptual measurements, specified colors via an easily learned and systematic triple of numbers, because the color chips sold in the Munsell Book of Color covered a wide gamut and remained stable over time (rather than fading), and because it was effectively marketed by Munsell's Company. In the 1940s, the Optical Society of America made extensive measurements, and adjusted the arrangement of Munsell colors, issuing a set of "renotations". The trouble with the Munsell system for computer graphics applications is that its colors are not specified via any set of simple equations, but only via its foundational measurements: effectively a lookup table. Converting from RGB ↔ Munsell requires interpolating between that table's entries, and is extremely computationally expensive in comparison with converting from RGB ↔ HSL or RGB ↔ HSV which only requires a few simple arithmetic operations.[20][21][22][23]

Natural Color System

[edit]
A three-dimensional drawing of the Ostwald color system. First described in Wilhelm Ostwald (1916).
Animation showing the NCS 1950 standard color samples in the NCS color circle and hue triangles

The Swedish Natural Color System (NCS), widely used in Europe, takes a similar approach to the Ostwald bicone at right. Because it attempts to fit color into a familiarly shaped solid based on "phenomenological" instead of photometric or psychological characteristics, it suffers from some of the same disadvantages as HSL and HSV: in particular, its lightness dimension differs from perceived lightness, because it forces colorful yellow, red, green, and blue into a plane.[24]

Preucil hue circle

[edit]

In densitometry, a model quite similar to the hue defined above is used for describing colors of CMYK process inks. In 1953, Frank Preucil developed two geometric arrangements of hue, the "Preucil hue circle" and the "Preucil hue hexagon", analogous to our H and H2, respectively, but defined relative to idealized cyan, yellow, and magenta ink colors. The "Preucil hue error" of an ink indicates the difference in the "hue circle" between its color and the hue of the corresponding idealized ink color. The grayness of an ink is m/M, where m and M are the minimum and maximum among the amounts of idealized cyan, magenta, and yellow in a density measurement.[25]

CIELCHuv and CIELCHab

[edit]
The visible gamut under Illuminant D65 plotted within the CIELCHuv (left) and CIELCHab (right) color spaces. Lightness (L) is the vertical axis; Chroma (C) is the cylinder radius; Hue (H) is the angle around the circumference.

The International Commission on Illumination (CIE) developed the XYZ model for describing the colors of light spectra in 1931, but its goal was to match human visual metamerism, rather than to be perceptually uniform, geometrically. In the 1960s and 1970s, attempts were made to transform XYZ colors into a more relevant geometry, influenced by the Munsell system. These efforts culminated in the 1976 CIELUV and CIELAB models. The dimensions of these models—(L*, u*, v*) and (L*, a*, b*), respectively—are cartesian, based on the opponent process theory of color, but both are also often described using polar coordinates—(L*, C*uv, h*uv) and (L*, C*ab, h*ab), respectively—where L* is lightness, C* is chroma, and h* is hue angle. Officially, both CIELAB and CIELUV were created for their color difference metrics ∆E*ab and ∆E*uv, particularly for use defining color tolerances, but both have become widely used as color order systems and color appearance models, including in computer graphics and computer vision. For example, gamut mapping in ICC color management is usually performed in CIELAB space, and Adobe Photoshop includes a CIELAB mode for editing images. CIELAB and CIELUV geometries are much more perceptually relevant than many others such as RGB, HSL, HSV, YUV/YIQ/YCbCr or XYZ, but are not perceptually perfect, and in particular have trouble adapting to unusual lighting conditions.[20][26][27][24][28][29][B]

The HCL color space seems to be synonymous with CIELCH.

CIECAM02

[edit]

The CIE's most recent model, CIECAM02 (CAM stands for "color appearance model"), is more theoretically sophisticated and computationally complex than earlier models. Its aims are to fix several of the problems with models such as CIELAB and CIELUV, and to explain not only responses in carefully controlled experimental environments, but also to model the color appearance of real-world scenes. Its dimensions J (lightness), C (chroma), and h (hue) define a polar-coordinate geometry.[20][24]

Color systems

[edit]

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), 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.

Other uses of "color model"

[edit]

Models of mechanism of color vision

[edit]

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 YoungHelmholtz'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.[30] A widely accepted model is called the zone model. A symmetrical zone model compatible with the trichromatic theory, the opponent theory, and Smith's color transform model is called the decoding model [31]

Vertebrate evolution of color vision

[edit]

Vertebrate animals were primitively tetrachromatic. They possessed four types of cones—long, mid, short wavelength cones, and ultraviolet sensitive cones. Today, fish, amphibians, reptiles and birds are all tetrachromatic. Placental mammals lost both the mid and short wavelength cones. Thus, most mammals do not have complex color vision—they are dichromatic but they are sensitive to ultraviolet light, though they cannot see its colors. 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.

See also

[edit]

Notes

[edit]
  1. ^ See also Fairchild (2005), and Munsell Color System and its references.
  2. ^ See also CIELAB, CIELUV, Color difference, Color management, and their references.

References

[edit]
  1. ^ Gage, John (1995). Colour and Culture : Practice and Meaning from Antiquity to Abstraction. London: Thames & Hudson. ISBN 978-0500278185.
  2. ^ Chevreul, Michel Eugène (1861). The Laws of Contrast of Colour. London: Routledge, Warne, and Routledge. p. 25. – English translation by John Spanton
  3. ^ Gage, John (2000). Color and Meaning: Art, Science, and Symbolism. London: Thames & Hudson. ISBN 978-0520226111.
  4. ^ Le Blon, Jakob Christophe (1725). Coloritto; or the Harmony of Colouring in Painting: Reduced to Mechanical Practice under Easy Precepts, and Infallible Rules; Together with some Colour'd Figures. Retrieved July 4, 2020.
  5. ^ Mortimer, Cromwell (February 1731). "An Account of Mr. J. C. Le Blon's Principles of Printing, in Imitation of Painting, and of Weaving Tapestry, in the Same Manner as Brocades". Philosophical Transactions of the Royal Society of London. 37 (419): 101–107. doi:10.1098/rstl.1731.0019. S2CID 186212141. Retrieved July 4, 2020.
  6. ^ MacEvoy, Bruce (2005). "Color vision: Do "primary" colors exist?". Handprint.com. Retrieved September 1, 2017.
  7. ^ MS Sharon Ross, Elise Kinkead (2004). Decorative Painting & Faux Finishes. Creative Homeowner. ISBN 1-58011-179-3.
  8. ^ O. M. Lilien, Jacob Christoph Le Blon, 1667–1741: Inventor of Three- and Four-colour Printing. Stuttgart 1985
  9. ^ v=onepage&q=%22le%20blon%22%20color%20printing&f=false The Science of Color
  10. ^ David Briggs 2013, The Dimensions of Color 7.2 The RYB hu e circle or "artists' color wheel".
  11. ^ Charles A. Poynton (2003). Digital Video and HDTV: Algorithms and Interfaces. Morgan Kaufmann. ISBN 1-55860-792-7.
  12. ^ Nicholas Boughen (2003). Lightwave 3d 7.5 Lighting. Wordware Publishing, Inc. ISBN 1-55622-354-4.
  13. ^ Crean, Buckley. "Device Independent Color—Who Wants It?" (PDF). SPIE. 2171: 267. Archived from the original (PDF) on February 4, 2023. Retrieved November 13, 2023.
  14. ^ Johannes Itten, "The Art of Color", 1961. Trans. Ernst Van Haagen. New York: Reinhold Publishing Corporation, 1966. ISBN 0-442-24038-4.
  15. ^ Levkowitz and Herman (1993)
  16. ^ Smith (1978)
  17. ^ Joblove and Greenberg (1978)
  18. ^ Runge, Phillipp Otto (1810). Die Farben-Kugel, oder Construction des Verhaeltnisses aller Farben zueinander [The Color Sphere, or Construction of the Relationship of All Colors to Each Other] (in German). Hamburg, Germany: Perthes.
  19. ^ Albert Henry Munsell (1905). A Color Notation. Boston, MA: Munsell Color Company.
  20. ^ a b c Fairchild (2005)
  21. ^ Landa, Edward; Fairchild, Mark (September–October 2005). "Charting Color from the Eye of the Beholder". American Scientist. 93 (5): 436. doi:10.1511/2005.55.975.
  22. ^ Dorothy Nickerson (1976). "History of the Munsell Color System". Color Research and Application. 1: 121–130. doi:10.1111/j.1520-6378.1976.tb00028.x. S2CID 118953303.
  23. ^ Sidney Newhall; Dorothy Nickerson; Deane Judd (1943). "Final Report of the OSA Subcommittee on the Spacing of the Munsell Colors". Journal of the Optical Society of America. 33 (7): 385. doi:10.1364/JOSA.33.000385.
  24. ^ a b c MacEvoy (2010)
  25. ^ Frank Preucil (1953). "Color Hue and Ink Transfer—Their Relation to Perfect Reproduction". Proceedings of the 5th Annual Technical Meeting of TAGA. pp. 102–110.
  26. ^ Kuehni (2003)
  27. ^ Robert Hunt (2004). The Reproduction of Colour. 6th ed. MN: Voyageur Press. ISBN 0-86343-368-5.
  28. ^ "The Lab Color Mode in Photoshop". Adobe Systems. January 2007. Archived from the original on December 7, 2008.
  29. ^ Shevell, Steven K. (July 11, 2003). The Science of Color. Elsevier. ISBN 978-0-08-052322-4.
  30. ^ Kandel ER, Schwartz JH and Jessell TM, 2000. Principles of Neural Science, 4th ed., McGraw-Hill, New York. pp. 577–80.
  31. ^ Lu C, 2021, Explaining colour vision with the decoding model, Research Features, Vol.135, pp.142-145.

Bibliography

[edit]
  • Fairchild, Mark D. (2005). Color Appearance Models (2nd ed.). Addison-Wesley. Archived from the original on October 19, 2013. Retrieved September 11, 2018. This book doesn't discuss HSL or HSV specifically, but is one of the most readable and precise resources about current color science.
  • Joblove, George H.; Greenberg, Donald (August 1978). "Color spaces for computer graphics". Computer Graphics. 12 (3): 20–25. CiteSeerX 10.1.1.413.9004. doi:10.1145/965139.807362. Joblove and Greenberg's paper was the first describing the HSL model, which it compares to HSV.
  • Kuehni, Rolf G. (2003). Color Space and Its Divisions: Color Order from Antiquity to the present. New York: Wiley. ISBN 978-0-471-32670-0. This book only briefly mentions HSL and HSV, but is a comprehensive description of color order systems through history.
  • Levkowitz, Haim; Herman, Gabor T. (1993). "GLHS: A Generalized Lightness, Hue and Saturation Color Model". CVGIP: Graphical Models and Image Processing. 55 (4): 271–285. doi:10.1006/cgip.1993.1019. This paper explains how both HSL and HSV, as well as other similar models, can be thought of as specific variants of a more general "GLHS" model. Levkowitz and Herman provide pseudocode for converting from RGB to GLHS and back.
  • MacEvoy, Bruce (January 2010). "Color Vision". handprint.com.. Especially the sections about "Modern Color Models" and "Modern Color Theory". MacEvoy's extensive site about color science and paint mixing is one of the best resources on the web. On this page, he explains the color-making attributes, and the general goals and history of color order systems—including HSL and HSV—and their practical relevance to painters.
  • Smith, Alvy Ray (August 1978). "Color gamut transform pairs". Computer Graphics. 12 (3): 12–19. doi:10.1145/965139.807361. This is the original paper describing the "hexcone" model, HSV. Smith was a researcher at NYIT’s Computer Graphics Lab. He describes HSV's use in an early digital painting program.
[edit]