Gamut
In color reproduction and colorimetry, a gamut, or color gamut, is a convex set containing the colors that can be accurately represented, i.e. reproduced by an output device or measured by an input device. Devices with a larger gamut can represent more colors. Similarly, gamut may also refer to the colors within a defined color space, which is not linked to a specific device. A trichromatic gamut is often visualized as a color triangle. A less common usage defines gamut as the subset of colors contained within an image, scene or video.
Introduction
The term gamut was adopted from the field of music, where the medieval Latin expression "gamma ut" meant the lowest tone of the G scale and, in time, came to imply the entire range of musical notes of which musical melodies are composed. Shakespeare's use of the term in The Taming of the Shrew is sometimes attributed to the author / musician Thomas Morley. In the 1850s, the term was applied to a range of colors or hue, for example by Thomas de Quincey, who wrote "Porphyry, I have heard, runs through as large a gamut of hues as marble."The gamut of a device or process is that portion of the color space that can be represented, or reproduced. Generally, the color gamut is specified in the hue–saturation plane, as a system can usually produce colors over a wide intensity range within its color gamut.
Device gamuts must use real primaries and therefore are always incomplete. No gamut defined by a finite number of primaries can represent the entire human visible gamut. Three primaries are necessary for representing an approximation of the human visible gamut. More primaries can be used to increase the size of the gamut. For example, while painting with red, yellow and blue pigments is sufficient for modeling color vision, adding further pigments can increase the size of the gamut, allowing the reproduction of more saturated colors.
While processing a digital image, the most convenient color model used is the RGB model. Printing the image requires transforming the image from the original RGB color model to the printer's CMYK color model. During this process, the colors from the RGB model which are out of gamut must be somehow converted to approximate values within the CMYK model. Simply trimming only the colors which are out of gamut to the closest colors in the destination space would burn the image. There are several algorithms approximating this transformation, but none of them can be truly perfect, since those colors are simply out of the target device's capabilities. This is why identifying the colors in an image that are out of gamut in the target color space as soon as possible during processing is critical for the quality of the final product. It is also important to remember that there are colors inside the CMYK gamut that are outside the most commonly used RGB color spaces, such as sRGB and Adobe RGB.
Color management
Color management is the process of ensuring consistent and accurate colors across devices with different gamuts. Color management handles the transformations between color gamuts and canonical color spaces to ensure that colors are represented equally on different devices. A device's gamut is defined by a color profile, usually the ICC profile, which relates the gamut to a standardized color space and allows for calibration of the device. Transforming from one gamut to a smaller gamut loses information as out-of-gamut colors are projected on to the smaller gamut and transforming back to the larger gamut does not regain this lost information.Colorimetry
Colorimetry is the measurement of color, generally in a way that mimics human color perception. Input devices such as digital cameras or scanners are made to mimic trichromatic human color perception and are based on three sensors elements with different spectral sensitivities, ideally aligned approximately with the spectral sensitivities of human photopsins. In this sense, they have a similar gamut to the human visual system. However, most of these devices violate the Luther condition and are not intended to be truly colorimetric, with the exception of tristimulus colorimeters. Higher-dimension input devices, such as multispectral imagers, hyperspectral imagers or spectrometers, capture color at a much larger gamut, dimensionally, than the human visible gamut. To be perceived by humans, the images must first be down-dimensionalized and treated with false color.Visible gamut
The extent of color that can be detected by the average human, approximated by the standard observer, is the visible gamut. The chromaticities present in the visible gamut are usually visualized in the CIE 1931 chromaticity diagram, where the spectral locus represents the monochromatic or spectral colors. As current displays have a smaller gamut than the visible gamut, the colors that are out-of-gamut are reproduced as colors inside the display's gamut. Device gamuts are generally depicted in reference to the visible gamut. The standard observer represents a typical human, but colorblindness leads to a reduced visible gamut.Color reproduction
Visualization of gamuts
Limitations of color representation
Surfaces
Optimal colors
Optimal colors are the most chromatic colors that surfaces can have*. The color solid bounded by the set of all optimal colors is called the optimal color solid or Rösch–MacAdam color solid. For now, we are unable to produce objects with such colors, at least not without recurring to more complex physical phenomena.*
The reflectance spectrum of a color is the amount of light of each wavelength that it reflects, in proportion to a given maximum, which has the value of 1. If the reflectance spectrum of a color is 0 or 1 across the entire visible spectrum, and it has no more than two transitions between 0 and 1, or 1 and 0, then it is an optimal color. With the current state of technology, we are unable to produce any material or pigment with these properties.
Thus four types of "optimal color" spectra are possible:
- The transition goes from zero at both ends of the spectrum to one in the middle, as shown in the image at right.
- It goes from one at the ends to zero in the middle.
- It goes from 1 at the start of the visible spectrum to 0 in some point in the middle until its end.
- It goes from 0 at the start of the visible spectrum to 1 at some point in the middle until its end.
In optimal color solids, the colors of the visible spectrum are theoretically black, because their reflectance spectrum is 1 in only one wavelength, and 0 in all of the other infinite visible wavelengths that there are, meaning that they have a lightness of 0 with respect to white, and will also have 0 chroma, but, of course, 100% of spectral purity. In short: In optimal color solids, spectral colors are equivalent to black, but have full spectral purity.
In linear color spaces, such as LMS or CIE 1931 XYZ, the set of rays that start at the origin and pass through all the points that represent the colors of the visible spectrum, and the portion of a plane that passes through the violet half-line and the red half-line, generate the "spectrum cone". The black point of the optimal color solid is tangent to the "spectrum cone", and the white point ) is tangent to the "inverted spectrum cone", with the "inverted spectrum cone" being symmetrical to the "spectrum cone" with respect to the middle gray point ). This means that, in linear color spaces, the optimal color solid is centrally symmetric.
In most color spaces, the surface of the optimal color solid is smooth, except for two points ; and two sharp edges: the "warm" edge, which goes from black, to red, to orange, to yellow, to white; and the "cool" edge, which goes from black, to deep violet, to blue, to cyan, to white. This is due to the following: If the portion of the reflectance spectrum of a color is spectral red, it will be seen as black. If the size of the portion of total or reflectance is increased, now covering from the red end of the spectrum to the yellow wavelengths, it will be seen as red. If the portion is expanded even more, covering the green wavelengths, it will be seen as orange or yellow. If it is expanded even more, it will cover more wavelengths than the yellow semichrome does, approaching white, until it is reached when the full spectrum is reflected. The described process is called "cumulation". Cumulation can be started at either end of the visible spectrum, cumulation starting at the violet end of the spectrum will generate the "cool" sharp edge.
File:Visible gamut within CIELUV color space D65 whitepoint mesh.webm|thumb|Optimal color solid plotted within the CIE L* u* v* color space, with D65 white point. Because it is perceptually uniform, it has an irregular, not spherical shape. Notice that it has two sharp edges, one with warm colors, and the other one with cool colors.|200x200px
Maximum chroma colors, semichromes, or full colors
Each hue has a maximum chroma point, semichrome, or full color; objects cannot have a color of that hue with a higher chroma. They are the most chromatic, vibrant colors that objects can have. They were called semichromes or full colors by the German chemist and philosopher Wilhelm Ostwald in the early 20th century.If B is the complementary wavelength of wavelength A, then the straight line that connects A and B passes through the achromatic axis in a linear color space, such as LMS or CIE 1931 XYZ. If the reflectance spectrum of a color is 1 for all the wavelengths between A and B, and 0 for all the wavelengths of the other half of the color space, then that color is a maximum chroma color, semichrome, or full color. Thus, maximum chroma colors are a type of optimal color.
As explained, full colors are far from being monochromatic. If the spectral purity of a maximum chroma color is increased, its chroma decreases, because it will approach the visible spectrum, ergo, it will approach black.
In perceptually uniform color spaces, the lightness of the full colors varies from around 30% in the violetish blue hues, to around 90% in the yellowish hues. The chroma of each maximum chroma point also varies depending on the hue; in optimal color solids plotted in perceptually uniform color spaces, semichromes like red, green, blue, violet, and magenta have a high chroma, while semichromes like yellow, orange, and cyan have a slightly lower chroma.