Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Color space

From Wikipedia, the free encyclopedia
Standard that defines a specific range of colors
This article is about color spaces. For the YCbCr to RGB conversion matrices, seeYCbCr.
Comparison of some RGB and CMYK chromaticity gamuts on aCIE 1931 xychromaticity diagram
A comparison of the chromaticities enclosed by some color spaces

Acolor space is a specific organization ofcolors. In combination with color profiling supported by various physical devices, it supports reproducible representations of color – whether such representation entails ananalog or adigital representation. A color space may be arbitrary, i.e. with physically realized colors assigned to a set of physicalcolor swatches with corresponding assignedcolor names (including discrete numbers in – for example – thePantone collection), or structured with mathematical rigor (as with theNCS System,Adobe RGB andsRGB). A "color space" is a useful conceptual tool for understanding the color capabilities of a particular device or digital file. When trying to reproduce color on another device, color spaces can show whether shadow/highlight detail and color saturation can be retained, and by how much either will be compromised.

A "color model" is an abstract mathematical model describing the way colors can be represented astuples of numbers (e.g. triples inRGB or quadruples inCMYK); however, a color model with no associated mapping function to anabsolute color space is a more or less arbitrary color system with no connection to any globally understood system of color interpretation. Adding a specific mapping function between a color model and a reference color space establishes within the reference color space a definite "footprint", known as agamut, and for a given color model, this defines a color space. For example, Adobe RGB and sRGB are two different absolute color spaces, both based on the RGB color model. When defining a color space, the usual reference standard is theCIELAB orCIEXYZ color spaces, which were specifically designed to encompass all colors the average human can see.[1]

Since "color space" identifies a particular combination of the color model and the mapping function, the word is often used informally to identify a color model. However, even though identifying a color space automatically identifies the associated color model, this usage is incorrect in a strict sense. For example, although several specific color spaces are based on theRGB color model, there is no such thing as the singularRGB color space.

History

[edit]
Thomas Young andHermann Helmholtz assumed that the eye'sretina consists of three different kinds of light receptors for red, green and blue.

In 1802,Thomas Young postulated the existence of three types ofphotoreceptors (now known ascone cells) in the eye, each of which was sensitive to a particular range of visible light.[2]Hermann von Helmholtz developed theYoung–Helmholtz theory further in 1850: that the three types of cone photoreceptors could be classified as short-preferring (blue), middle-preferring (green), and long-preferring (red), according to their response to thewavelengths of light striking theretina. The relative strengths of the signals detected by the three types of cones are interpreted by thebrain as a visible color. But it is not clear that they thought of colors as being points in color space.

The color-space concept was likely due toHermann Grassmann, who developed it in two stages. First, he developed the idea ofvector space, which allowed the algebraic representation of geometric concepts inn-dimensionalspace.[3] Fearnley-Sander (1979) describes Grassmann's foundation of linear algebra as follows:[4]

The definition of alinear space (vector space)... became widely known around 1920, whenHermann Weyl and others published formal definitions. In fact, such a definition had been given thirty years previously byPeano, who was thoroughly acquainted with Grassmann's mathematical work. Grassmann did not put down a formal definition—the language was not available—but there is no doubt that he had the concept.

With this conceptual background, in 1853, Grassmann published a theory of how colors mix; it and its three color laws are still taught, asGrassmann's law.[5]

As noted first by Grassmann... the light set has the structure of a cone in the infinite-dimensional linear space. As a result, a quotient set (with respect to metamerism) of the light cone inherits the conical structure, which allows color to be represented as a convex cone in the 3- D linear space, which is referred to as the color cone.[6]

Examples

[edit]
A comparison ofCMYK andRGB color models. This image demonstrates the difference between how colors will look on a computer monitor (RGB) compared to how they might reproduce in a particular CMYK print process.

Colors can be created inprinting withcolor spaces based on theCMYK color model, using the subtractiveprimary colors ofpigment (cyan,magenta,yellow, andkey [black]). To create a three-dimensional representation of a given color space, we can assign the amount of magenta color to the representation's Xaxis, the amount of cyan to its Y axis, and the amount of yellow to its Z axis. The resulting 3-D space provides a unique position for every possible color that can be created by combining those three pigments.

Colors can be created oncomputer monitors with color spaces based on theRGB color model, using the additive primary colors (red,green, andblue). A three-dimensional representation would assign each of the three colors to the X, Y, and Z axes. Colors generated on a given monitor will be limited by the reproduction medium, such as the phosphor (in aCRT monitor) or filters and backlight (LCD monitor).

Another way of creating colors on a monitor is with anHSL or HSV color model, based onhue,saturation,brightness (value/lightness). With such a model, the variables are assigned tocylindrical coordinates.

Many color spaces can be represented as three-dimensional values in this manner, but some have more, or fewer dimensions, and some, such asPantone, cannot be represented in this way at all.

Conversion

[edit]
Main article:Color translation

Color space conversion is the translation of the representation of a color from one basis to another. This typically occurs in the context of converting an image that is represented in one color space to another color space, the goal being to make the translated image look as similar as possible to the original.

RGB density

[edit]

The RGB color model is implemented in different ways, depending on the capabilities of the system used. The most common incarnation in general use as of 2021[update] is the 24-bit implementation, with 8 bits, or 256 discrete levels of color perchannel.[7] Any color space based on such a 24-bit RGB model is thus limited to a range of 256×256×256 ≈ 16.7 million colors. Some implementations use 16 bits per component for 48 bits total, resulting in the samegamut with a larger number of distinct colors. This is especially important when working with wide-gamut color spaces (where most of the more common colors are located relatively close together), or when a large number of digital filtering algorithms are used consecutively. The same principle applies for any color space based on the same color model, but implemented at differentbit depths.

Lists

[edit]
Main article:List of color spaces and their uses

CIE 1931 XYZ color space was one of the first attempts to produce a color space based on measurements of human color perception (earlier efforts were byJames Clerk Maxwell, König & Dieterici, and Abney atImperial College)[8] and it is the basis for almost all other color spaces. TheCIERGB color space is a linearly-related companion of CIE XYZ. Additional derivatives of CIE XYZ include theCIELUV,CIEUVW, andCIELAB.

Generic

[edit]
Main article:Color model
Additive color mixing: Three overlapping light bulbs in a vacuum, adding together to create white.
Subtractive color mixing: Three splotches of paint on white paper, subtracting together to turn the paper black.

RGB usesadditive color mixing, because it describes what kind oflight needs to beemitted to produce a given color. RGB stores individual values for red, green and blue.RGBA is RGB with an additional channel, alpha, to indicate transparency. Common color spaces based on the RGB model includesRGB,Adobe RGB,ProPhoto RGB,scRGB, andCIE RGB.

CMYK usessubtractive color mixing used in the printing process, because it describes what kind ofinks need to be applied so the lightreflected from thesubstrate and through the inks produces a given color. One starts with a white substrate (canvas, page, etc.), and uses ink to subtract color from white to create an image. CMYK stores ink values for cyan, magenta, yellow and black. There are many CMYK color spaces for different sets of inks, substrates, and press characteristics (which change the dot gain or transfer function for each ink and thus change the appearance).

YIQ was formerly used inNTSC (North America,Japan and elsewhere) television broadcasts for historical reasons. This system stores aluma value roughly analogous to (and sometimes incorrectly identified as)[9][10]luminance, along with twochroma values as approximate representations of the relative amounts of blue and red in the color. It is similar to theYUV scheme used in most video capture systems[11] and inPAL (Australia,Europe, exceptFrance, which usesSECAM) television, except that the YIQ color space is rotated 33° with respect to the YUV color space and the color axes are swapped. TheYDbDr scheme used by SECAM television is rotated in another way.

YPbPr is a scaled version of YUV. It is most commonly seen in its digital form,YCbCr, used widely invideo andimage compression schemes such asMPEG andJPEG.

xvYCC is a new international digital video color space standard published by theIEC (IEC 61966-2-4). It is based on theITUBT.601 andBT.709 standards but extends the gamut beyond the R/G/B primaries specified in those standards.

HSV (hue,saturation,value), also known as HSB (hue, saturation,brightness) is often used by artists because it is often more natural to think about a color in terms of hue and saturation than in terms of additive or subtractive color components. HSV is a transformation of an RGB color space, and its components and colorimetry are relative to the RGB color space from which it was derived.

HSL (hue,saturation,lightness/luminance), also known as HLS or HSI (hue, saturation,intensity) is quite similar toHSV, with "lightness" replacing "brightness". The difference is that thebrightness of a pure color is equal to the brightness of white, while thelightness of a pure color is equal to the lightness of a medium gray.

Commercial

[edit]

Special-purpose

[edit]

Obsolete

[edit]

Early color spaces had two components. They largely ignored blue light because the added complexity of a 3-component process provided only a marginal increase in fidelity when compared to the jump from monochrome to 2-component color.

Absolute color space

[edit]

Incolor science, there are two meanings of the termabsolute color space:

  • A color space in which the perceptual difference between colors is directly related todistances between colors as represented by points in the color space, i.e. auniform color space.[12][13]
  • A color space in which colors are unambiguous, that is, where the interpretations of colors in the space are colorimetrically defined without reference to external factors.[14][15]

In this article, we concentrate on the second definition.

CIEXYZ,sRGB, andICtCp are examples of absolute color spaces, as opposed to a genericRGB color space.

A non-absolute color space can be made absolute by defining its relationship to absolute colorimetric quantities. For instance, if the red, green, and blue colors in a monitor are measured exactly, together with other properties of the monitor, then RGB values on that monitor can be considered as absolute. TheCIE 1976 L*, a*, b* color space is sometimes referred to as absolute, though it also needs awhite point specification to make it so.[16]

A popular way to make a color space like RGB into an absolute color is to define anICC profile, which contains the attributes of the RGB. This is not the only way to express an absolute color, but it is the standard in many industries. RGB colors defined by widely accepted profiles include sRGB andAdobe RGB. The process of adding anICC profile to a graphic or document is sometimes calledtagging orembedding; tagging, therefore, marks the absolute meaning of colors in that graphic or document.

Conversion errors

[edit]
Main article:Color translation

A color in one absolute color space can be converted into another absolute color space, and back again, in general; however, some color spaces may havegamut limitations, and converting colors that lie outside that gamut will not produce correct results. There are also likely to be rounding errors, especially if the popular range of only 256 distinct values per component (8-bit color) is used.

One part of the definition of an absolute color space is the viewing conditions. The same color, viewed under different natural or artificiallighting conditions, will look different. Those involved professionally with color matching may use viewing rooms, lit by standardized lighting.

Occasionally, there are precise rules for converting between non-absolute color spaces. For example,HSL and HSV spaces are defined as mappings of RGB. Both are non-absolute, but the conversion between them should maintain the same color. However, in general, converting between two non-absolute color spaces (for example, RGB toCMYK) or between absolute and non-absolute color spaces (for example, RGB to L*a*b*) is almost a meaningless concept.

Arbitrary spaces

[edit]

A different method of defining absolute color spaces is familiar to many consumers as the swatch card, used to select paint, fabrics, and the like. This is a way of agreeing a color between two parties. A more standardized method of defining absolute colors is thePantone Matching System, a proprietary system that includes swatch cards and recipes that commercial printers can use to make inks that are a particular color.

See also

[edit]

References

[edit]
  1. ^Gravesen, Jens (November 2015)."The Metric of Color Space"(PDF).Graphical Models.82:77–86.doi:10.1016/j.gmod.2015.06.005.S2CID 33425148. Retrieved28 November 2023.
  2. ^Young, T. (1802)."Bakerian Lecture: On the Theory of Light and Colours".Phil. Trans. R. Soc. Lond.92:12–48.doi:10.1098/rstl.1802.0004.
  3. ^Hermann Grassmann and the Creation of Linear Algebra
  4. ^Fearnley-Sander, Desmond (December 1979)."Hermann Grassmann and the Creation of Linear Algebra".The American Mathematical Monthly.86 (10):809–817.doi:10.1080/00029890.1979.11994921.ISSN 0002-9890.
  5. ^Grassmann H (1853)."Zur Theorie der Farbenmischung".Annalen der Physik und Chemie.89 (5):69–84.Bibcode:1853AnP...165...69G.doi:10.1002/andp.18531650505.
  6. ^Logvinenko A. D. (2015)."The geometric structure of color".Journal of Vision.15 (1): 16.doi:10.1167/15.1.16.PMID 25589300.
  7. ^Kyrnin, Mark (2021-08-26)."Why You Need to Know What Color Bit Depth Your Display Supports".Lifewire. Retrieved2022-07-04.
  8. ^William David Wright,50 years of the 1931 CIE Standard Observer. Die Farbe,29:4/6 (1981).
  9. ^Charles Poynton, "YUV and 'luminance' considered harmful: a plea for precise terminology in video",online, author-edited version of Appendix A of Charles Poynton,Digital Video and HDTV: Algorithms and Interfaces, Morgan–Kaufmann, 2003.online
  10. ^Charles Poynton,Constant Luminance, 2004
  11. ^Dean Anderson."Color Spaces in Frame Grabbers: RGB vs. YUV". Archived fromthe original on 2008-07-26. Retrieved2008-04-08.
  12. ^Hans G. Völz (2001).Industrial Color Testing: Fundamentals and Techniques. Wiley-VCH.ISBN 3-527-30436-3.
  13. ^Gunter Buxbaum; Gerhard Pfaff (2005).Industrial Inorganic Pigments. Wiley-VCH.ISBN 3-527-30363-4.
  14. ^Jonathan B. Knudsen (1999).Java 2D Graphics. O'Reilly. p. 172.ISBN 1-56592-484-3.absolute color space.
  15. ^Bernice Ellen Rogowitz; Thrasyvoulos N Pappas; Scott J Daly (2007).Human Vision and Electronic Imaging XII. SPIE.ISBN 978-0-8194-6605-1.
  16. ^Yud-Ren Chen; George E. Meyer; Shu-I. Tu (2005).Optical Sensors and Sensing Systems for Natural Resources and Food Safety and Quality. SPIE.ISBN 0-8194-6020-6.

External links

[edit]
Wikimedia Commons has media related toColor spaces.
CAM
CIE
RGB
Y′UV
Other
Color systems
and standards
For the vision capacities of organisms or machines, see Color vision.
Color topics
Color science
Color physics
Color perception
Color psychology
Color reproduction
Color
philosophy
Color scheme
Color theory
Color terms
Basic English terms
Cultural differences
Color dimensions
Color
organizations
Names
Lists
Shades of:
Related
Equipment
Terminology
Genres
Techniques
Composition
History
Regional
Digital photography
Color photography
Photographic
processing
Lists
Related
Lossless
type
Entropy
Dictionary
Other
Hybrid
Lossy
type
Transform
Predictive
Audio
Concepts
Codec
parts
Image
Concepts
Methods
Video
Concepts
Codec
parts
Theory
Community
People
Retrieved from "https://en.wikipedia.org/w/index.php?title=Color_space&oldid=1330608467"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp