Recording Devices, Image Creation Reproduction Devices
Total Page:16
File Type:pdf, Size:1020Kb
11/19/2010 Early Color Management: Closed systems Color Management: ICC Profiles, Color Management Modules and Devices Drum scanner uses three photomultiplier tubes aadnd typica lly scans a film negative . A fixed transformation for the in‐house system Dr. Michael Vrhel maps the recorded RGB values to CMYK separations. Print operator adjusts final ink amounts. RGB CMYK Note: At‐home, camera film to prints and NTSC television. TC 707 Basis of modern techniques for color specification, measurement, control and communication. 11/17/2010 1 2 Reproduction Devices Recording Devices, Image Creation 3 4 1 11/19/2010 Modern Color Modern Color Communication: Communication: Open systems. Open systems. Profile Connection Space (PCS) e.g. CIELAB, CIEXYZ or sRGB 5 6 Modern Color Communication: Open Standards, Standards, Standards.. Systems. Printing Industry: ICC profile as an ISO standard Postscript color management was the first adopted solution providing a connection ISO 15076‐1:2005 Image technology colour management Space 1990 in PostScript Level 2. Architecture, profile format and data structure ‐‐ Part 1: Based on ICC.1:2004‐10 Apple ColorSync was a competing solution introduced in 1993. Camera characterization standards ISO 22028‐1 specifies the image state architecture and encoding requirements. International Color Consortium (ICC) developed a standard that has now been widely ISO 22028‐3 specifies the RIMM, ERIMM (and soon the FP‐RIMM) RGB color encodings. adopted at least by the print industry. Organization founded in 1993 by Adobe, Agfa, IEC/ISO 61966‐2‐2 specifies the scRGB, scYCC, scRGB‐nl and scYCC‐nl color encodings. Kodak, Microsoft, Silicon Graphics, Sun Microsystems and Taligent. ISO 17321‐1 Colour characterization of digital still cameras. IEC 61966‐9 Simplified measurement and transform determination for digital cameras. HP introduced sRGB as a “cheap” easy solution. A common default today. Film Industry Microsoft Windows Color System (WCS). What happened? No real standards! There is the Image Interchange Framework which specifies a file format and the use Film industry and digital camera industry still working on solutions. of SMPTE RDD 15‐2007 which is a “Color Transformation Language”. Lots of customized mappings that keeps color scientists well employed. 7 8 2 11/19/2010 ICC Specification ICC Specification Printing Industry: ICC profile as an ISO standard ISO 15076‐1:2005 Image technology colour management 128 byte • Tag-based Architecture, profile format and data structure ‐‐ Part 1: Based on ICC.1:2004‐10 profile header • Public required tags Specification is available at www.color.org • Public optional tags Tag count Signature, offset, size • Private tags Most profiles created today are of the Version 2 (V2) variety. Signature, offset, size • MLUT based mappings Signature, offset, size Today the ICC is heavily promoting Version 4 (V4) profiles. Adoption has been slow. • Matrix based mappings CMMs have Begun to support it though. V4 profiles are allowed in PDF documents. V4 Signature, offset, size Tagged element data primarily introduces new structures that can be used as well as the concept of a • Profile Connection Space (PCS) Perceptual Rendering Media Gamut (()PRMG). This is in essence a target gamut to which can be CIEXYZ or CIELAB everyone could map too. Possible to ensure colorant purity across devices. ICC profile is a uni- or bi-directional mapping between a device color space (e.g CMYK, Most MLUT ICC profiles use New addendums have been introduced to allow flexible pipelines of operations as RGB) and a perceptual color space CIELAB as PCS. Matrix profiles well as floating point precision. I have never run across one of these. (e.g.) CIEXYZ or CIELAB. use CIEXYZ. PCS White point is D50. 9 10 Matrix Based MLUT mapping: Device Color to PCS Red TRC Green TRC Matrix 3x3 CIEXYZ Blue TRC Model developed for displays. Note that this model is often inverted by CMM. Danger if TRC is not readily invertible. 11 12 3 11/19/2010 Profiles are output referred chromaticAdaptationTag rendering tALf T tALf T iL, pcs pcsi iL, src srci The MLUT or the matrix mapping always supply D50 CIEXYZ or D50 CIELAB. 2 min EFtMt F i,, Lpcs adapt i L src Which is to say that an input of RGB = [1,1,1] would give a Madapt CIEXYZ value of [0.9642 1.0000 0.8249] Often recommended to use diagonal mapping in “cone space” . Bradford Transformation There is a white point tag contained in the profile which indicates the true white point of the medium. Since you have to map this to D50 (which 0.8951 0.2664 –0.1614 X affects all the colors), the ICC recommends a 3x3 matrix to adjust your XYZ 0.7502 1.7135 0.0367 Y Nt BFD i, L2 measurements to D50. 0. 0389– 0. 0685 102961.0296 Z X D50 00 X Lpcs 00 src tMt Lsrc D50 src Y M 00D50 Y 1 Lpcs src MN 00 N adapt BFD BFD Z Lsrc 00D50 Zsrc L 00pcs 13 Lsrc 14 0.09 0.08 0.07 Profile Classes: Input 0.06 0.05 Typically used for scanners, cameras. 0.04 relative response Bradford 0.03 Required Tags: LUT Based AToB0Tag 0020.02 PCS can be CIEXYZ or CIELAB 0.8951 0.2664 –0.1614 0.01 CAT02 0.7502 1.7135 0.0367 0 350 400 450 500 550 600 650 700 750 0.7328 0.4296 –0.1624 Matrix Based redMatrixColumnTag 0.0389 –0.0685 1.0296 wavelength nm 0.7036 1.6975 0.0061 PCS is CIEXYZ greenMatrixColumnTag 0.003 0.0136 0.9834 blueMatrixColumnTag Model for display source redTRCTag (Note TRC = Tone Reproduction Curve) greenTRCTag Cone space Bradford Cone space CAT02 0.1 0.09 blueTRCTag 0.08 0.08 T 0.07 cNLf Recorded data 0.06 0.06 0.05 T 0.04 0.04 tALf D50 Adjusted to D50 (output referred) 0.03 relative response 0.02 response relative 0.02 2 0 0.01 0 min EGtc GF -0.02 F 350 400 450 500 550 600 650 700 750 -0.01 wavelength nm 350 400 450 500 550 600 650 700 750 wavelength nm 15 16 4 11/19/2010 Output Profiles Rendering Intents Used for printers, complex displays Required Tags: Relative Colorimetric – White point of the medium is mapped to the AToB0Tag , AToB1Tag, AToB2Tag white point of the reference illuminant. Maintain BToA0Tag, BToA1Tag, BToA2Tag hue and lightness in gamut mapping. gamutTag colorantTableTag (for the xCLR colour spaces) Absolute Colorimetric – No media white point mapping. Uses chromatic adaptation tag. Perceptual – Implementation specific. Gamut compressed or expanded, AToB0Tag: Forward mapping from device values to PCS. Perceptual rendering. intended to give visually pleasing result for images. BToA0Tag: Inverse mapping from PCS to device values. Perceptual rendering. Saturation – Implementation specific. Preserve saturation at expense of AToB1Tag: Forward mapping from device values to PCS. Colorimetric rendering. hue and lightness. Intended for graphics. BToA1Tag: Inverse mapping from PCS to device values. Colorimetric rendering. AToB2Tag: Forward mapping from device values to PCS. Saturation rendering. BToA2Tag: Inverse mapping from PCS to device values. Saturation rendering. 17 18 Forward Table Creation Creating ICC Profiles: Printer Case Step 1: Linearization Forward tables A2B0, A2B1, A2B2 map from device values (A) to PCS values (B). Creation of this table is straight forward since the table grid points are in device space (i.e. RGB or CMYK). This amounts to printing out a grid of sample values and measuring with a colorimeter or a spectrophotometer. Total Delta E Ink Percentage Since linear interpolation is usually used in the MLUT, it is desirable to linearize 19 20 5 11/19/2010 Forward Table Step 2. Print linearized chart Measure with spectrophotometer MLUT transformation (e.g. 9x9x9 entries) B RGB CIELAB G R T FG()cALf 21 22 Inverse Table 1 T cALf FG Device Gamut The inverse table is indexed in the PCS and maps from PCS values to device values (e.g. RGB). Issues: There may be values which are outside the range of c (outside gamut). Quantization errors in the PCS may be an issue. Inverse table may need to be larger. 23 24 6 11/19/2010 An algorithm for constructing the inverse table Gamut of device 1. Step through all device values and use forward table to compute CIELAB value. T Point outside of FG()cALf must be extrapol 2. Check if CIELAB is within a delta value of a grid point in the inverse table. a. If it is within delta then assign the grid point storing the delta value Grid point that b. If an existing point is already assigned, compare deltas, keeping the closest. is in-gamut and c. MkMark in a gamut tbltable, those poitints tha t have been assidigned. can bibe interpolated l d from measured data Measured data point from target (printed by device and measured) 25 26 Rendering Intent and gamut mapping Radii are not constant hue in CIELAB! L* Gamut CIECAM02 often used for this today. a* 100 Perceptual Intent is x Colorimetric mapping where specialized WCS uses a CIECAM02 PCS x methods can be introduced. Saturation mapping b* 50 Hung and Berns lines of constant perceived hue plotted in CIELAB. a* b* Saturation Intent: Map toward L* = 50 neutral axis. Colorimetric Intent: Map toward neutral axis. Constant hue and lightness. 27 28 7 11/19/2010 Color Management Module (CMM): Bringing it all together Color Management Destination ICC Profile Source ICC Profile Module (CMM) DiDevice Linked transform DiDevice Source from source to Destination device color Photoshop working Color Color space is sRGB. CMM typically creates a new object, e.g. 1‐D LUTs, MLUT, 1‐D LUTs. An application (e.g Photoshop, Acrobat etc.) can have its own CMM which applies ICC profile transformations.