Computing Hue Contents
Total Page:16
File Type:pdf, Size:1020Kb
Hue From Wikipedia, the free encyclopedia Hue is one of the three main attributes of perceived color, in addition to lightness and chroma (or colorfulness). Hue is also one of the three dimensions in some colorspaces along with saturation, and brightness (also known as lightness or value). Hue is that aspect of a color described Hue in the HSB/HSL encodings of RGB with names such as "red", "yellow", etc. Usually, colors with the same hue are distinguished with adjectives referring to their lightness and/or saturation, such as with "light blue", "pastel blue", "vivid blue". Notable exceptions include brown, which is a dark orange,[1] and pink, a light desaturated red. In painting color theory, a hue refers to a pure color—one without tint or shade (added white or black pigment, respectively). A hue is an element of the color wheel. Contents An image with the hues 1 Computing hue cyclically shifted in HSL 1.1 Computing hue from RGB space. 1.1.1 Computing hue from RGB for HSB, HSV, and HSL color spaces 2 Specialized hues 3 Hue as a qualification in the names of artist's colors 4 Hue vs. dominant wavelength 5 References 6 See also 7 External links The hues in the Computing hue image of this Painted Bunting are In opponent color spaces, such as CIE L*a*b* (CIELAB) and CIE L*u*v* (CIELUV), hue cyclically rotated with time. may be computed together with saturation (or chroma) by converting a color's chromaticity coordinates from rectangular coordinates into polar coordinates. Hue is the angular component of the polar representation, while chroma is the radial component. Specifically, in CIELAB:[2] while, analogously, in CIELUV:[2] In practice, a four-quadrant arctangent may be used if available to invert these formulae. Computing hue from RGB Preucil[3] describes a color hexagon, similar to a trilinear plot described by Evans, Hanson, and Brewer,[4] which may be used to compute hue. To place red at 0°, green at 120°, and blue at 240°, one may solve: He also used a polar plot, which he termed a color circle.[3] Using R, G, and B, rather than the R, G, and B densities Preucil used, one may compute hue angle using the following scheme: determine which of the six possible orderings of R, G, and B prevail, then apply the appropriate formula; see table below. Ordering Hue Region Formula Red-Yellow Yellow-Green Green-Cyan Cyan-Blue Blue-Magenta Magenta-Red Note that in each case the formula contains the fraction , where H is the highest of R, G, and B; L is the lowest, and M is the mid one between the other two. This is referred to as the Preucil Hue Error, and was used in the computation of mask strength in photomechanical color reproduction.[5] Hue angles computed for the Preucil circle agree with the hue angle computed for the Preucil Hexagon at integer multiples of 30 degrees (red, yellow, green, cyan, blue, magenta, and the colors mid-way between contiguous pairs), and differ by approximately 1.2 degrees at odd integer multiples of 15 degrees (based on the circle formula), the maximum divergence between the two. Computing hue from RGB for HSB, HSV, and HSL color spaces The process of converting an RGB color into an HSL color space or HSV color space is usually based on a 6-piece or 12-piece piecewise-linear mapping, treating the HSV cone as a hexacone, or the HSL double cone as a double hexacone.[6] Specialized hues The hues exhibited by caramel colorings and beers are fairly limited in range. The Linner hue index is used to quantify the hue of such products. Hue as a qualification in the names of artist's colors HSV color space as a conical object Manufacturers of pigments use the word hue e.g. 'Cadmium Yellow (hue)' to indicate that the original pigmentation ingredient, often toxic, has been replaced by safer (or cheaper) alternatives whilst retaining the hue of the original. Replacements are often used for chromium, cadmium and alizarin. Hue vs. dominant wavelength Dominant wavelength (or sometimes equivalent wavelength) is a physical analog to the perceptual attribute hue. On a chromaticity diagram, a line is drawn from a white point through the coordinates of the color in question, until it intersects the spectral locus. The wavelength at which the line intersects the spectrum locus is identified as the color's dominant wavelength if the point is on the same side of the white point as the spectral locus, and as the color's complementary wavelength if the point is on the opposite side.[7] References 1. ^ C J Bartleson, "Brown". Color Research and Application, 1 : 4, p 181-191 (1976). 2. ^ a b Colorimetry, second edition: CIE Publication 15.2. Vienna: Bureau Central of the CIE, 1986. 3. ^ a b Frank Preucil, "Color Hue and Ink Transfer … Their Relation to Perfect Reproduction, TAGA Proceedings, p 102-110 (1953). 4. ^ Ralph Merrill Evans, W T Hanson, and W Lyle Brewer, Principles of Color Photography. New York: Wiley, 1953 5. ^ Miles Southworth, Color Separation Techniques, second edition. Livonia, New York: Graphic Arts Publishing, 1979 6. ^ Max K. Agoston (2004). Computer Graphics and Geometric Modelling v. 1: Implementation and Algorithms. Springer, 301–304. ISBN 1852338180. 7. ^ Deane B Judd and Günter Wyszecki, Color in Business, Science, and Industry. New York: Wiley, 1976. See also Lightness (color) Colorfulness Chromaticity Munsell color system Bezold-Brücke shift External links Editing of hue in photography Retrieved from "http://en.wikipedia.org/wiki/Hue" Categories: All articles with unsourced statements | Articles with unsourced statements since August 2007 | Articles to be expanded since February 2007 | All articles to be expanded | Color This page was last modified 23:57, 4 January 2008. All text is available under the terms of the GNU Free Documentation License. (See Copyrights for details.) Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a U.S. registered 501(c)(3) tax- deductible nonprofit charity..