Color management

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In digital imaging systems, color management is the controlled conversion between the color representations of various devices, such as image scanners, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, and corresponding media.

The primary goal of color management is to obtain a good match across color devices; for example, the colors of one frame of a video should appear the same on a computer LCD monitor, on a plasma TV screen, and as a printed poster. Color management helps to achieve the same appearance on all of these devices, provided the devices are capable of delivering the needed color intensities.

Parts of this technology are implemented in the operating system (OS), helper libraries, the application, and devices. A cross-platform view of color management is the use of an ICC-compatible color management system. The International Color Consortium (ICC) is an industry consortium that has defined:

  • An open standard for a Color Matching Module (CMM) at the OS level
  • color profiles for:
    • Devices, including devicelink-profiles that represent a complete color transformation from source device to target device
    • Working spaces, the color spaces in which color data is meant to be manipulated

There are other approaches to color management besides using ICC profiles. This is partly due to history and partly because of other needs than the ICC standard covers. The film and broadcasting industries make use of many of the same concepts, but they more frequently rely on boutique solutions. The film industry, for instance, often uses 3D LUTs (lookup table) to represent a complete color transformation. At the consumer level, color management currently applies more to still images than video, in which color management is still in its infancy.[1]

Hardware[edit]

Characterization[edit]

See also: ICC profile

To describe the behavior of various output devices, they must be compared (measured) in relation to a standard color space. Often a step called linearization is performed first, to undo the effect of gamma correction that was done to get the most out of limited 8-bit color paths. Instruments used for measuring device colors include colorimeters and spectrophotometers. As an intermediate result, the device gamut is described in the form of scattered measurement data. The transformation of the scattered measurement data into a more regular form, usable by the application, is called profiling. Profiling is a complex process involving mathematics, intense computation, judgment, testing, and iteration. After the profiling is finished, an idealized color description of the device is created. This description is called a profile.

Calibration[edit]

Main article: Color calibration

Calibration is like characterization, except that it can include the adjustment of the device, as opposed to just the measurement of the device. Color management is sometimes sidestepped by calibrating devices to a common standard color space such as sRGB; when such calibration is done well enough, no color translations are needed to get all devices to handle colors consistently. This avoidance of the complexity of color management was one of the goals in the development of sRGB.

Color profiles[edit]

A 3D view of two ICC profiles

Embedding[edit]

Image formats themselves (such as TIFF, JPEG, PNG, EPS, PDF, and SVG) may contain embedded color profiles but are not required to do so by the image format. The International Color Consortium standard was created to bring various developers and manufacturers together. The ICC standard permits the exchange of output device characteristics and color spaces in the form of metadata. This allows the embedding of color profiles into images as well as storing them in a database or a profile directory.

Working spaces[edit]

Working spaces, such as sRGB, Adobe RGB or ProPhoto are color spaces that facilitate good results while editing. For instance, pixels with equal values of R,G,B should appear neutral. Using a large (gamut) working space will lead to posterization, while using a small working space will lead to clipping.[2] This trade-off is a consideration for the critical image editor.

Color transformation[edit]

Color transformation, or color space conversion, is the transformation of the representation of a color from one color space to another. This calculation is required whenever data is exchanged inside a color-managed chain and carried out by a Color Matching Module. Transforming profiled color information to different output devices is achieved by referencing the profile data into a standard color space. It makes it easier to convert colors from one device to a selected standard color space and from that to the colors of another device. By ensuring that the reference color space covers the many possible colors that humans can see, this concept allows one to exchange colors between many different color output devices. Color transformations can be represented by two profiles (source profile and target profile) or by a devicelink profile. In this process there are approximations involved which make sure that the image keeps its important color qualities and also gives an opportunity to control on how the colors are being changed.[3]

Profile connection space[edit]

In the terminology of the International Color Consortium, a translation between two color spaces can go through a profile connection space (PCS): Color Space 1 → PCS (CIELAB or CIEXYZ) → Color space 2; conversions into and out of the PCS are each specified by a profile.[4]

Gamut mapping[edit]

In nearly every translation process, we have to deal with the fact that the color gamut of different devices vary in range which makes an accurate reproduction impossible.[3] They therefore need some rearrangement near the borders of the gamut. Some colors must be shifted to the inside of the gamut, as they otherwise cannot be represented on the output device and would simply be clipped. This so-called gamut mismatch occurs for example, when we translate from the RGB color space with a wider gamut into the CMYK color space with a narrower gamut range. In this example, the dark highly saturated purplish-blue color of a typical computer monitor’s “blue” primary is impossible to print on paper with a typical CMYK printer. The nearest approximation within the printer’s gamut will be much less saturated. Conversely, an inkjet printer’s “cyan” primary, a saturated mid-brightness greenish-blue, is outside the gamut of a typical computer monitor. The color management system can utilize various methods to achieve desired results and give experienced users control of the gamut mapping behavior.

Rendering intent[edit]

When the gamut of source color space exceeds that of the destination, saturated colors are liable to become clipped (inaccurately represented), or more formally burned. The color management module can deal with this problem in several ways. The ICC specification includes four different rendering intents: absolute colorimetric, relative colorimetric, perceptual, and saturation.[4][5][6]

Absolute colorimetric 

Absolute colorimetry and relative colorimetry actually use the same table but differ in the adjustment for the white point media. If the output device has a much larger gamut than the source profile, i.e., all the colors in the source can be represented in the output, using the absolute colorimetry rendering intent would "ideally" (ignoring noise, precision, etc.) give an exact output of the specified CIELAB values. Perceptually, the colors may appear incorrect, but instrument measurements of the resulting output would match the source. Colors outside of the proof print system's possible color are mapped to the boundary of the color gamut. Absolute colorimetry is useful to get an exact specified color (e.g., IBM blue), or to quantify the accuracy of mapping methods.

Relative colorimetric 

The goal in relative colorimetry is to be truthful to the specified color, with only a correction for the media. Relative colorimetry is useful in proofing applications, since you are using it to get an idea of how a print on one device will appear on a different device. Media differences are the only thing you really would like to adjust for. Obviously there has to be some gamut mapping going on also. Usually this is done in a way where hue and lightness are maintained at the cost of reduced saturation. Relative colorimetric is the default rendering intent on most systems.

Perceptual and Saturation 

The perceptual and saturation intents are where the results really depend upon the profile maker. This is even how some of the competitors in this market differentiate themselves. These intents should be created by the profile maker so that pleasing images occur with the perceptual intent while eye-catching business graphics occur with the saturation intent. This is achieved through the use of different perceptual remaps of the data as well as different gamut mapping methods. Perceptual rendering is recommended for color separation.

In practice, photographers almost always use relative or perceptual intent, as for natural images, absolute causes color cast, while saturation produces unnatural colors.[5] Relative intent handles out-of-gamut by clipping (burning) these colors to the edge of the gamut, leaving in-gamut colors unchanged, while perceptual intent smoothly moves out-of-gamut colors into gamut, preserving gradations, but distorts in-gamut colors in the process. If an entire image is in-gamut, relative is perfect, but when there are out of gamut colors, which is more preferable depends on a case-by-case basis.

Saturation intent is most useful in charts and diagrams, where there is a discrete palette of colors that the designer wants saturated to make them intense, but where specific hue is less important.

Before the actual rendering intent is carried out, you can temporarily simulate the rendering by soft proofing.[7] It is a useful tool as it predicts the outcome of the colors and is available as an application in many color nanagement systems.

Implementation[edit]

Color management module[edit]

Color matching module (also -method or -system) is a software algorithm that adjusts the numerical values that get sent to or received from different devices so that the perceived color they produce remains consistent. The key issue here is how to deal with a color that cannot be reproduced on a certain device in order to show it through a different device as if it were visually the same color, just as when the reproducible color range between color transparencies and printed matters are different. There is no common method for this process, and the performance depends on the capability of each color matching method.

Some well known CMMs are ColorSync, Adobe CMM, LittleCMS, and ArgyllCMS.

Operating system level[edit]

Apple's Mac operating systems have provided OS-level color management since 1993, through ColorSync.

Since 1997 color management in Windows is handled at the OS level through an ICC color management system. Beginning with Windows Vista, Microsoft introduced a new color architecture known as Windows Color System.[8] WCS supplements the Image Color Management (ICM) system in Windows 2000 and Windows XP, originally written by Heidelberg.[9][10]

Operating systems that use the X Window System for graphics use ICC profiles, and support for color management on Linux, still less mature than on other platforms, is coordinated through OpenICC at freedesktop.org and makes use of LittleCMS.

File level[edit]

Certain image filetypes (TIFF and Photoshop) include the notion of color channels for specifying the color mode of the file. The most commonly used channels are RGB (for display and printing) and CMYK (for commercial printing). An additional alpha channel may specify a transparency mask value. Some image software (such as Photoshop) perform automatic color separation to maintain color information in CMYK mode using a specified ICC profile such as US Web Coated (SWOP) v2.

Application level[edit]

As of 2005, most web browsers ignored color profiles.[11] Notable exceptions were Safari, starting with version 2.0, and Firefox starting with version 3. Although disabled by default in Firefox 3.0, ICC v2 and ICC v4 color management could be enable by using an add-on[12] or setting a configuration option.[13]

As of 2012[when?], notable browser support for color management is:

  • Firefox: from version 3.5 enabled by default for ICC v2 tagged images,[14] version 8.0 has ICC v4 profiles support,[15] but it needs to be activated manually.[16]
  • Internet Explorer: version 9 is the first Microsoft browser to partly support ICC profiles, but it does not render images correctly according to the Windows ICC settings (it only converts non-sRGB images to the sRGB profile) and therefore provides no real color management at all[citation needed]
  • Google Chrome: uses the system provided ICC v2 and v4 support on OS X, and from version 22 supports ICC v2 profiles by default on other platforms.[17]
  • Safari: has support starting with version 2.0[citation needed]
  • Opera: has support since 12.10[18] for ICC v4.[19]

See also[edit]

References[edit]

  1. ^ Fairchild, Mark. "A Color Scientist Looks at Video". Retrieved 2008-05-09. 
  2. ^ Rodney, Andrew. "The role of working spaces in Adobe applications". Technical Paper. Adobe. Retrieved 2008-05-09. 
  3. ^ a b http://www.cambridgeincolour.com/tutorials/color-space-conversion.htm
  4. ^ a b Rodney, Andrew (2005). Color Management for Photographers. Focal Press. pp. 32–33. ISBN 0-240-80649-2. 
  5. ^ a b Color Management: Color Space Conversion, Cambridge in Color
  6. ^ http://www.color.org/specification/ICC1v43_2010-12.pdf ICC Specification ICC.1:2010
  7. ^ http://www.cambridgeincolour.com/tutorials/soft-proofing.htm
  8. ^ Upton, Steve (February 2008). Vista's New Color Management System: WCS.
  9. ^ Microsoft (1997-04-23). "Microsoft Licenses LinoColorCMM Technology To Improve Color Management in Windows". Retrieved 2008-05-08. 
  10. ^ The reader may verify this by examining the Properties of any ICM profile. The Profile Information tab should contain the entry "LinoColorCMM © by Heidelberger Druckmaschinen AG".
  11. ^ Smith, Colin; Kabili, Jan (2005). How to Wow: Photoshop CS2 for the Web. Berkeley, CA: Peachpit Press. p. 13. ISBN 0-321-39394-5. Retrieved 2008-05-08. "Many designers choose not to include ICC Profiles with Web files because most Web browsers can't read them and they increase the size of a file." 
  12. ^ Color Management add-on by Sean Hayes.
  13. ^ The value gfx.color_management.enabled can be set to "true" in the "about:config" file of Firefox since version 3. Firefox 3: Color profile support (oh the pretty, pretty colors), Deb Richardson, Mozilla Corporation.
  14. ^ [1]
  15. ^ [2]
  16. ^ http://cameratico.com/guides/firefox-color-management/
  17. ^ Issue 143: Handle color profiles in tagged images
  18. ^ http://www.opera.com/docs/changelogs/unified/1210/ Opera Changelog 12.10 stable
  19. ^ What's new in Opera 12.10 beta

Further reading[edit]

  • Fraser, Bruce; Bunting, Fred; Murphy, Chris (2004). Real World Color Management. Berkeley, CA, USA: Peachpit Press. ISBN 0-201-77340-6. 
  • Swartz, Charles S. (2004). Understanding Digital Cinema: A Professional Handbook. Focal Press. ISBN 978-0-240-80617-4. 
  • Morovic, Jan (2008). Color Gamut Mapping. Wiley. ISBN 978-0-470-03032-5. 

External links[edit]