21.07.2015 Views

J. J. McCann, "Color spaces for color mapping", J. Electronic ...

J. J. McCann, "Color spaces for color mapping", J. Electronic ...

J. J. McCann, "Color spaces for color mapping", J. Electronic ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

J. J. <strong>McCann</strong>,"<strong>Color</strong> <strong>spaces</strong> <strong>for</strong> <strong>color</strong> mapping",J. <strong>Electronic</strong> Imaging, 8, 354-364, 1999.Copyright SPIE


Journal of <strong>Electronic</strong> Imaging 8(4), 354-364 (October 1999).<strong>Color</strong> <strong>spaces</strong> <strong>for</strong> <strong>color</strong>-gamut mappingJohn J, <strong>McCann</strong><strong>McCann</strong> ImagingBelmont, Massachusetts 02478E-mail: mccanns@tiac.netAbstract. Be<strong>for</strong>e doing extensive c%r gamut experiments, wewanted to test the uni<strong>for</strong>mity of CIE L'" a'" b* , This paper showssurprisingly large discrepancies between CIE L '" a'" b* and isotropicobselVatjon~based c%r <strong>spaces</strong>, such as Munsell: (1) L *a* b*chroma exaggerate yellows and underestimate blues. (2) The averagediscrepancy between L '" a* b* and ideal is 27%. (3) Chips withidentical L '" a* b* hue angles are not the same <strong>color</strong>. L '" a* b* introduceserrors larger than many gamut mapping corrections. We haveisotropic data in the Munsell Book. Computers aI/ow threedimensionallookup tables to convert instantly any measuredL ljI a ljl b* to interpolated Munsell Book values. We call this space ML,Ma, and Mb in honor of Munsell. LUTs have been developed <strong>for</strong>both LabtoMLab and MLabtoLab. With this zero-error, isotropicspace we can return our attention to the original problem of <strong>color</strong>gamutimage processing. Cl 1999 SPIE and IS&T.[5101 7-9909(99)00804-1]IntroductionThere is considerable interest in <strong>color</strong> matching betweenmonitors and printers. The problem is well documented.The <strong>color</strong> gamut of the print is very different from that ofthe monitor. The monitor has a wide variety of different,highly saturated, high-value <strong>color</strong>s near white, Prints, eventhose using high-extinction coefficient dyes, absorb toomuch light to generate these <strong>color</strong>s. Prints, however, have agreater range of <strong>color</strong>s in the low-lightness browns. Thehope is to find automatic calculations of monitor and print<strong>color</strong>s that make them look more like each other. Be<strong>for</strong>eembarking on quantitative evaluations of these ideas, wefelt it necessary to study the <strong>color</strong> <strong>spaces</strong> used in automaticcalculations. The ideal three-dimensional (3D) <strong>color</strong> spaceis isotropic. Namely, it has the same properties in all directions,<strong>for</strong> all parts of the space. We are looking <strong>for</strong> a practicalcomputational space that has the same properties in alldirections, <strong>for</strong> all parts of the space. Any two samples thatare n units apart in a uni<strong>for</strong>m <strong>color</strong> space will appearequally different, whether the separation is in hue, lightness,chroma, or any combination.This paper is a revision of a paper presented 3[ the SPIE conference on <strong>Color</strong>Imaging: Device-Independent <strong>Color</strong>, <strong>Color</strong> Hardcopy, and Graphic Arts IV. SanJose, CA. January 1999. The paper appears (unreferecd) in Proc. SPI£ 3648.Paper 008904 received Mar. 25. 1999: revised manuscript received May 21. 1999:accepted May 29. 1999.1017·99091991510.00 C 1999 SPIE and IS&T.1,1 Observations Versus EquationsThere are two different approaches to uni<strong>for</strong>m <strong>color</strong> <strong>spaces</strong>.The first is direct observation. Munsell, Ostwald, OSA Uni<strong>for</strong>m<strong>Color</strong> Space, NCS, and <strong>Color</strong>Curve are all examplesof extensive research using human observers to select <strong>color</strong>samples that appear uni<strong>for</strong>mly spaced.The second approach is to use <strong>Color</strong>imetric equations.The cornerstone of <strong>Color</strong>imetry is the X, Y,Z 3D space. It isderived from <strong>color</strong> matching experiments and can predict iftwo samples will match based on full-spectrum measurements.Independent of X, Y,Z's ability to predict matches, itis not isotropic' and it cannot predict the sample's <strong>color</strong>appearance.' CIELAB, CIELUV, CIECAM97 are examplesof equations that approximate the observer data.The observotion and the equation approaches are verydifferent. These two approaches may give the same renditionof <strong>color</strong> appearance, or they may not. This paper willplot L 'a*b* 's rendition of observed uni<strong>for</strong>m <strong>color</strong> <strong>spaces</strong>.We will concentrate much of our discussion on Munselldata, but will include other observed <strong>spaces</strong>. Ideally, thedifferences between the observed data and their calculatedapproximations are vanishingly small.The advantage of the Munsell book (Fig. I) is that onecan see the real chips and evaluate <strong>for</strong> oneself how uni<strong>for</strong>mit appears. I have recently confirmed <strong>for</strong> myself that eachpage appears as a single hue and that the <strong>color</strong>s are isotropicallyspaced. The 40 pages appear equally spaced in hue.The advantage of CIELAB is that it has become an almostuniversal standard in imaging. It is built into manymeasuring devices <strong>for</strong> direct measurements and it uses onlythree equations to calculate L*,a',b' from X,Y,Z'L*= 116*( YI y n)'13_ 16,a* = 500*[ (XIX.) 113_ (YI Y.) '13],b* = 200*[ (YIY. ) '13_ (ZIZ.) '13].2 How Uni<strong>for</strong>m is C1ELAB?Many authors use CIELAB as the space of choice <strong>for</strong> makingdecisions on the best <strong>color</strong> compromise, such as themapping of extra-gamut points in printed and displayed images.They select CIELAB because hue, lightness, andchroma are approximately uni<strong>for</strong>mly spaced. Be<strong>for</strong>e doingan extensive set of these so called gamut mapping experiments,we became curious about the actual size of(I)354 1 Journat of <strong>Electronic</strong> tmaging 1 October 19991 Vol. 8(4)


<strong>Color</strong>-gamut mappingMunsell-------------------------------------~~jr~~----------------,--_.--------- --~~:~=:)iQuarter of solidremoved to showinterior selectionFig.l Nickerson's diagram of the Munsell <strong>color</strong> space. There are 40 planes of constant hue that sharethe vertical neutral gray axis at the center. In each plane lightness, value, and chroma are equallyspaced.CIELAB's nonunifonnities. There is abundant literaturethat straddles the line between it "does a respectable job" 3and it needs improvement, usually with more cleverfunctions.'·s The following comparisons of Munsell observationsand CIELAB calculations are an attempt to resolvethis issue.Let us define a new space called MLab 6 M is in honorof Munsell. The idea is to mimic the <strong>for</strong>mat and <strong>for</strong>mulasof CIELAB <strong>for</strong>mat so we can easily compare the two.MLab just replaces the equations in L 'a'b' with isotropicdata. CIELAB lightness varies from 100 to O. Munsell notationvaries from 91 to II. By mUltiplying Munsell value by10, we get 90 to 10, more closely approximating L' . InMunsell space lightness units II are equal to chromaunitsl2. By multiplying Munsell chroma by 5 we makeMLab's chroma 10 equals MLab's lightness 10.A simple test is to look at the area of biggest concern ingamut mismatch, namely saturated yellows. A yellow Munsell5.0 Y SII4 has an expected Munsell Chroma (MC)value of 70, (14X5=70) . However, when we measure thechip we get C*=103. L*a'b' has introduced an error of.1E=33. CIELAB overestimates 5.0 YSIJ4's chroma (MC)by (33/70=47%). This is a serious problem. In yellow,L 'a'b' introduces an error of 47% compared with observerdata.Another example is Munsell lOB 6/8. Observers placethe chroma at 40 (5XS=40). CIELAB places chroma at31.9. L 'a'b' has introduced an error of .1E= S. CIELABunderestimates Munsell chroma by 20%. Both· these discrepanciesbetween observation and calculation are muchtoo large. If the entire CIELAB space has similar problems,it should not be used in gamut mapping applications becausethe space will introduce very large errors in uni<strong>for</strong>mity.2.1 Real Chips in the Munsell BookThe following is a systematic study of all <strong>color</strong>s. It comparesCIELAB values with the MLab values derived fromMunsell notation. The data <strong>for</strong> CIELAB values come directlyfrom Newhall. Nickerson, and Judd's 1943 paper.'This familiar table 8 gives Y, x, y fot 2i42 chips. This setcontains both 1317 real chip data found in the Munsellbook and the remainder are defined by extrapolation to thespectrum locus· In this analysis we used only the real chipssupplied by Munsell. We used Newhall, Nickerson. andJudd (NNJ's) illuminant C as the standard iIIuminant (seeFig. 2).If we return <strong>for</strong> a moment to Fig. I, we can review thedesign of Munsell 's uni<strong>for</strong>m space.There are eight horizontal lightness planes perpendicularto the gray axis.There are concentric circles of chroma, with gray atthe center.There are 40 hues that define vertical planes that areparallel to the gray axis down the center.Each plane is made of <strong>color</strong>s with constant hue.All hue planes are uni<strong>for</strong>nlly spaced (360/40= 9°apart).Figure 3 plots the same data as Fig. 2 in the alb plane.Here all lightnesses are compressed into a single plane.CIELAB is irregularly spaced. Some hues, such as yellow,Journal of <strong>Electronic</strong> Imaging / Gc/obet 1999/ Vol. 8(4) / 355


<strong>McCann</strong>'""10_L*a*b* Uni<strong>for</strong>m <strong>Color</strong> Space_.-.. __ .--"----- --- ••"-----_.- - 60iso!, ~;'""" •"soML Ma Mb <strong>Color</strong> Space" ---- '"" - -- "•20-- •"" ",,," 20 so,60" '" " " " '" '" "20Cllro .." '"soCllr._" "Fig. 2 Comparison of L· a· b* uni<strong>for</strong>m <strong>color</strong> space with the proposed MLab. In both graphs chromaare plotted on the horizontal axis and lightness is plotted on the vertical axis. All hue planes arecompressed into the LlC plane. L *a*b* is not uni<strong>for</strong>mly spaced in chroma.10" ," '"expand the chroma, others such as blues, compress thechroma. The distinct radial lines created by Munsell havebeen blurred. The MLab plot on the right shows a regularlyspaced array.2.2 Planes of Constant HueObservers picked the chips on a single page of the Munsellas a set of samples with the same hue. Each of these pagesis uni<strong>for</strong>mly spaced around the hue circle. The values of a *and b* are derived from X, Y, and Z. Nevertheless, constanthue does not correlate with constant dominantwavelength 1 I The discrepancy between hue angle, derivedfrom a' ,b*, and observed <strong>color</strong> can be seen clearly in Fig.4. Here we look at all the chips found on the 2.5 R, 5 R, and7.5 R pages. We plot the hue angle in C[ELAB space on thevertical axis and give the name of the chip on the horizontalb'Mb120.00L*a*b*Unlfonn<strong>Color</strong> Space120.0100.0MLMaMb<strong>Color</strong> Space-80.0 -60.0o 0•-60.00.."• ••-60.080 .0qp.a.-.. ..• 40.0 ••••. .. .. . .... t· ... .. .• .*20.g..... •• •• • • ••• I ••• •• • • •··:i,All'''i'''u\·:···• • - --Q.D-.-""t-' _. J ..I •• 1 .11- --.-600:"4e0·.2~.p ''tip' ~ . rr· 4J'o- 6Q0. 80.0


Calor-gamut mapping.~ . CIO . •.•.••..••.••• -•••••••••••••••••••••.••.•.•.•.•. ••• -•••. -••.•..• -•..••.•• -•.•.. -. .. .... ..,.'J6.00.. . I'.\ •. ~" . '\. ,,·t"l . .l 1. OCUR. ~Fig. 4 The plot of hue angle on the vertical axis vs all the chips onthree pages of the Munsell book. Ideally all the L" a· b· pointsshould fall on the solid lines. A hue angle of 22° could be a light2.SA or a dark 5.0 or 7.5 A chip. CIELAB does not present the samehue in a plane parallel to the gray scale. Rather constant hue is aslanted, rippled suriace.axis. Munsell notation (MLab) places all 2.5 R hues on thesolid line at 9' . all 5 R chips on the 18' line. and all 7.5Rchips on the 27' line. CIELAB portrays a constant hueangle as drifting across three pages of the Munsell book.The drift in Fig. 3 is caused by the fact that CIELAB doesnot position chips with constant hue in a single verticalplane. It creates a slanted plane with lightness that undulateswith chroma.We have defined the expected hue angle in MLab spaceby setting 10 RP to 0' . Then. all 2.5R chips are at 9' . all5.0 R chips are at 18' .... and all 7.5 RP chips are at 351 ' .We can measure the hue error by subtracting MLab hueangle from CIELAB hue angle. Figure 5 shows this errorplotted on the vertical axis versus all the real chips in theMunsell book. Ideally. all the errors would fall close to theo line. The data, however, show that there is considerablevariability <strong>for</strong> each page in the book. as well as drift aroundthe hue circle .In order to summarize the results so far, we can reviewhow CIELAB portrays the Munsell book .• There are horizontal lightness planes perpendicular tothe gray axis. This is in excellent agreement withMunsell.There are irregular shapes instead of concentric circlesof increasing chroma.The 40 hues are not vertical planes parallel to the grayaxis.Constant hues <strong>for</strong>m corrugated, slanted planes.Hue planes are nonuni<strong>for</strong>rnly spaced.Except <strong>for</strong> lightness. CIELAB distorts the fundamental designprinciples of the Munsell book. Since virtually all theerrors are in the alb planes. we can evaluate the magnitudeof the errors by measuring the distance between CIELABposition and the MLab position in the alb plane.Figure 6 defines the L * a*h* error tern! flEr. Theproceedings. 'O with an earlier version of this paper. includesa list of flE, and flE" C <strong>for</strong> all the real chips in theMunsell book. The rows report data <strong>for</strong> a particular hue andlightness. The colunms report values <strong>for</strong> different chromas.A verages are presented at the end of the table. The Munsellchip 2.5R9/2 has a flE, of 5.0. flE,IC is 50%. 2.5RS/2, 4.6 have flE,s of 4.4, 6.4. 8.8 and flE,ICs are 44%, 32%.29%. averaging 35%. The average <strong>for</strong> all the chips on 2.5Rpage is 23%. The average of the eight R pages is 25%. TheY, G. B, P page averages are 36%. 19%. 14%. and 29%.27 .0018.009.000.00- 9.00~ ~ ~ ~"! "1 > >'" ... '" "!>'""Q."1'"'" '" 0 ~Q. Q. Q. Q.0; "1N-- 18.00Fig. 5 The error in hue angle introduced by CIELAB. The vertical axis is the difference [CIELAB hueangle - MLab hue angle]. The horizontal axis comprises all the real chips in the Munsell book. InL· a'" b '" space Munsell red samples vary from 00 to + 18° discrepancy from the ideal angle. Greensfall between +9° and - 14°. Blues and purples fall between 0° and +20°.Journal of Eleclronic Imaging / Oclober 1999 / Vol. 8(4) / 357


<strong>McCann</strong>+bDistribution of Directions of Hue Errors~ ~ :: ~ ; ::: :: ~ ; :;:: ~ ': ~ ~ ! '; ; ; ; ! Ii E S S ! c i 5 i Ui ~ 5 5 : aAngle o1J:.r with raspect 10 Angle Co oFig. 8 Histogram of the angle of i::J. E, with respect to the angle of C.If the problem in L:II a'" b* could be fixed by an overall decrease insaturation, then all the errors would fall at 180°, If the problem inL * a* b* could be fixed by overall increase in saturation, then aU theerrors would fall at 0°. These data demonstrate that there is noapparent simple relationship between observed hue shift data(MLab) and calculations (L "' a* b"' ). The error in hue angle is distributedin virtually aU directions from the point (Ma,Mb).Fig. 6 The (Ma,Mb) coordinates show the location in MLab space.The (a* ,b* ) coordinates show the location in CIELAB space. Theline C is the distance from the origin to (Ma,Mb). The line a Er is themagnitude of the error introduced by CIELAB. It is the distance between(Ma,Mb) and (a*, b* ). We evaluated each chip in the Munsellbook as a percentage error by the ratio of tJ.Er to C. Further, weresolved uE, into its components 6C and tJ.H to evaluate the relativesizes of chroma and hue errors.The average of all 91 chips is 42%, 81 chips is 38%, 71 chipsis 32%, 61 chips is 29%, 51 chips is 25%, 41 chips is 22%, 31chips is 21 %, 21 chips is 20%. The average of all 12 chips is30%,14 chips is 26%, 16 chips is 24%, 18 chips is 24%, 110chips is 26%, 112 chips is 31%, 114 chips is 31%, and 116chips is 33%. Studying these data suggests that the patternof these discrepancies is quite complex.Figure 7 shows the histogram of /!, E,I C <strong>for</strong> all chips inthe Munsell book. On average CIELAB distorts Munselldata by 27% of chroma. Figure 8 plots the direction of hueerrors.Figure 9 shows the breakdown of the Munsell book distancesinto component vectors, /!,H and /!, C (see Fig. 6).The /!,H graph on the left shows that hue discrepancies aresignificant. The middle /!, C graph shows that chroma discrepanciesare somewhat larger. The resultant !:::. Er error isshown in the right graph." Here we see that both /!,H and/!,C are each significant contributors to /!'E,. [n the diagramon the left we see 0 /!,H at the point of normalization(90°). [n the reds the errors range from - 5 to +20. [n this...."Hlstogram"Er I C_._ • ., •• " .. 111111 III III tI" III .. 1111" ... l1li ....... 111- .. .. ~::!'!~:::::G:e;;:;:;;~;~;~~~;:~;;?~;e::::;::Fig. 7 The histogram of .6. E,I C <strong>for</strong> all 1731 real chips in the Munsellbook. The maximum error is 82%; the minimum is 0.01 %. The meani::J.E,IC is 27%, the standard deviation is 13%, and the median is24%., , ~<strong>color</strong> region the /!, C increases from - 5 to + 5. Combined,the /!' E, varies from 0 to 30 L*a*b' units. In the yellowregion the /!,H errors range from +20 to -25. Here /!, Cvaries from + 5 to +30 to + 5. Combined the /!'E, variesfrom 0 to 30 L' a * b * units. [n the green region the /!, Herrors range from 0 to - 10. In this <strong>color</strong> region the /!, C isthe smallest and varies from - 5 to O. Combined, the /!'E,varies from -5 to +5 L*a*h* units. In the blue region the/!,H errors range from 0 to -10. Here the /!,C varies fromo to -10. Combined, the /!'E , varies from 0 to IS. [n thepurple region the /!,H errors range from 0 to 5. Here /!, Cvaries from 0 to -10. Combined, the /!'E , varies from 0 toIS. The green to blue section of <strong>color</strong> space is best representedby L 'a*b' . The reds suffer from hue angle distortion;the yellows suffer from chroma exaggeration; and theblue-purples suffer hue angle distortion in the opposite direction.Putting the whole story together, we see a very complexpattern of local variations between L *a*b' and observerappearance. Figure 7 shows a histogram mean at 27%/!' E,IC. Figure 8 shows that these errors are in all directions.Figure 9 showed that /!,H is a slightly smaller contributorthan /!'C. Nevertheless /!,H is significant. On averagethe /!'E, IC val ues are greater <strong>for</strong> higher lightnessesthan <strong>for</strong> lower ones. Figure 9 shows that the smallest errorsfall in the green-blue region.3 L * a* b * Portrayal of Other Uni<strong>for</strong>m <strong>Color</strong>SpacesSo far we have seen that Munsell book observer data andL * a * b' calculations do not agree. The L * a' b * portrayalof Munsell <strong>color</strong>s agrees in lightness, but is markedly differentin both chroma and hue. If these distortions are commonto all uni<strong>for</strong>m <strong>color</strong> <strong>spaces</strong>, then we can conclude thatthe equation set fails to model <strong>color</strong> appearance. [f theabove observed overestimation of chroma in yellow and itsunderestimation in blue are found in many <strong>color</strong> <strong>spaces</strong>,then it is a L *a*b* problem. If, however, these propertiesare unique to Munsell space, then we cannot find fau lt withL *a*h*.We can compare Munsell with other <strong>color</strong> <strong>spaces</strong> suchas Ostwald, NCS, and OSA Uni<strong>for</strong>m <strong>Color</strong> Space and <strong>Color</strong>Curve.First, we need to identify sources of <strong>color</strong>imetricdata <strong>for</strong> each space. OSA data are documented in Mac-358/ Journal of <strong>Electronic</strong> Imaging / October 1999 / Vol. 8(4)


<strong>Color</strong>-gamut mapping;;15.00< 25.00.;


•<strong>McCann</strong>•'"<strong>Color</strong>curVe Space, ..,. +,. t.. ' tt o ~ t.. . . i · . .>--+----.,f-' _~; -'+-I ->--


Calor-gamut mapping~~.0I:(0'I:~:I:I:~+


<strong>McCann</strong>printer. Digits used to make printing plates were sent to thefilm recorder. The <strong>color</strong> trans<strong>for</strong>m board stored map coefficientsderived from the press and film calibrations. Theinput digits were sent to the lookup table. All combinationsof the most significant five digits were prestored in theboard. Using prestored in<strong>for</strong>mation from all nearest neighborswe interpolated the best output in the least significantbits. The hardware board calculated the LUT output valuemuch faster than the film recorder could read image datafrom the magnetic disk. A more complete description canbe found in a U.S. Patent entitled Method and Apparatus<strong>for</strong> Transfonning <strong>Color</strong> Image Data on the Basis of anIsotropic and Uni<strong>for</strong>m <strong>Color</strong>imetric Space. 24Kotera and his colleagues 25 - 29 have used 3D LUTs in awide variety of applications, including high speed videoapplications. The 3D LUTs techniques are used to makeaccurate <strong>color</strong> reproductions of paintings 30 Here the LUTsare used to remove the characteristic sensitivity functionsfound in films 31 These reproductions have a slope 1.0 relationshipwith the painting throughout the entire <strong>color</strong>space. Many commercial products use 3D LUTs as themost efficient way to calculate accurate in<strong>for</strong>mation in realtimeapplications. For more in<strong>for</strong>mation on 3D LUTs, seeRef. 32.If we think of the uni<strong>for</strong>m <strong>color</strong> space problem as acandidate <strong>for</strong> 3D LUTs we have:AdvantagesAll 1317 Munsell chips have zero error(they are table lookups) .All intermediate values are computed from all theirnearest neighbors.RequirementsRequires a computer program and LUT.Size of program = 80 KBytes.Size of LUT=806 KBytes.Run time = I s <strong>for</strong> all 1317 chips in the Munsell book.DisadvantagesDifficult to do with a slide rule.There are no disadvantages <strong>for</strong> anyone using a computer.The lookup table function has been possible <strong>for</strong> manyyears, first by using the Newhall, Nickerson, and Judd,table as originally designed. The real-time conversion fromMunsell notation to L*a*b* and the inverse interpolationcan be done with a Munsell conversion program sold byMunsell of Grey tag Macbeth. It can be found on the web athttp://munsell.comIDownload.htmMunsell notation is far from ideal in <strong>for</strong>mat. L * a * b *, sfannat was chosen so that the one can calculate distancesand angles. The ideal case is to use Munsell in<strong>for</strong>mation tocalculate a MLab space and use it as we would CrEL*a*b* To be effective we need 3D LUTs to convertL *a*b* to MLab and MLab to L *a*b*5 LabtoMLab And MLabtoLab Working 3D LUTThe best source of data <strong>for</strong> a 3D LUT is the data fromNewhall, Nickerson, and Judd (NNJ)7 Here they list Munsellnotation <strong>color</strong>s that are uni<strong>for</strong>mly spaced in appearance.The foundation is a very large study of real papersselected by extensive observer experiments. They interpolate<strong>color</strong>s out to the spectrum locus. There is another advantageto the Munsell data. In situations in which therange of <strong>color</strong>s exceeds the set of reflectance papers, wecan use the rest of the NNJ table to reach the total range ofall possible <strong>color</strong>s. This simply means that the 3D LUT has2742 input chips, instead of 1317.They provide an atlas of all possible <strong>color</strong>s that are uni<strong>for</strong>mlyspaced. First we need to make a 3D table of equivalents.We used the NNJ Y, x, y data to calculate L *a*b* inilluntinant C <strong>for</strong> each chip. The MLab designation was calculatedfrom Munsell notation as follows:Hue angle <strong>for</strong> 10 RP was set to 0°.A table of the 40 hue pages was spaced 9°.2.5R=9°, 5.0R=18°, ... 7.5RP=351°.H = hue angle from the above table.ML= 10* value notation.MC = 5 * chroma notation.Ma = MC* cos H.Mb=MC* sinH.With Gary Dispoto and Michael McGuire of HP Labs wecreated a pair of 3D LUT LabtoMLab and MLabtoLab andtwo programs to use them. The input and output channelsof the LUTs are scaled to 8 bits. The tables are 65 x 65x 65 x 3 planes, 824 Kbytes which means the six most significantbits are looked up and the two least significant bitsare interpolated. The programs do the trans<strong>for</strong>m in eitherdirection, depending on the table used. One program makessingle calculations, with input and output in normal units.The other program is <strong>for</strong> trans<strong>for</strong>ming TIFF images anduses the standard representation of L * a * b * The programsare console applications <strong>for</strong> Win NT or WlN95/98.All programs ran on an HP Kayak PC with a 300 MHz.'processor. ThI:.LabtoMLab table is 806 KBytes. The programaccepts either a triplet of L *a*b* values, or an arrayof them, and calculates the MLab values <strong>for</strong> all inputs. Theprogram's size is under 80 KBytes and it takes less than Isecond to convert a 512X512 array of L*a*b* to MLab.The second set of LUTs makes the inverse estimation. Itreads in MLab data and puts out L *a*b* The MLabtoLabcalculation has roughly the same sizes and speeds. Thismeans that anyone concerned with working in a truly uni<strong>for</strong>m<strong>color</strong> space can do so by taking advantage of 3D LUTtechnology. [t takes only a second to get there.Gabriel Marcu presented a recent paper using the sameapproach 33 He used a 3D LUT to convert L*a*b* toMLab. He optintized portions of an out-of-gamut image inMLab space. He got improved pictures by interpolating inMLab space.We are very <strong>for</strong>tunate these days to have such a widevariety of reliable <strong>color</strong>imetric equipment. Many of thesedevices provide direct L*a*b* measurements of high ac-362/ Journal of <strong>Electronic</strong> Imaging / October 1999/ Vol. 8(4)


<strong>Color</strong>·gamut mappingcuracy and reliability. The problem is not the devices, butthe L * a * b * space. as seen above. In the future we canspeculate that these devices will include MLab LUTs. Untilthen, pairs of efficient 3D LUT computer programs caneasily trans<strong>for</strong>m our data into and out of the uni<strong>for</strong>m Munsell<strong>color</strong> space.6 When Do We Care?Any time that we need to compare two <strong>color</strong>s and we wantto express that in<strong>for</strong>mation as a distance we imply an isotropic<strong>color</strong> space. If the <strong>color</strong>s vary only in lightness, thenL * is perfectly appropriate. If the <strong>color</strong>s vary in hue angleand chroma, then L * a * b * will introduce on average a 27%error at each end of the <strong>color</strong> difference. A numerical <strong>color</strong>space must con<strong>for</strong>m to <strong>color</strong> appearance experiments in<strong>color</strong> appearance.7 DiscussionL * a * b * calculations designed to create a uni<strong>for</strong>m <strong>color</strong>space do not correspond to observer data found in Munsell,Ostwald, NCS, OSA , and <strong>Color</strong>Curve <strong>spaces</strong>. The extentand direction of the discrepancies between observer andequation are complex and vary considerably in local regionsof the space. Although these observer based <strong>spaces</strong>are all different because of their design, they all show similardiscrepancies with L*a*b*'s portrayal of uni<strong>for</strong>mity.The convenience of using L * a * b * made us all use it beyondits experimental definition. No one I know has eversaid that L • a * b * is proven to be sufficiently accurate <strong>for</strong>the delicate rearrangement of complex scenes required in<strong>color</strong>-gamut mapping. Nevertheless, it is almost universallyused in the evaluation of images and in instrumentation.Whenever we report a separation between two <strong>color</strong>s as adistance (!J.E), we imply an isotropic space. Whenever weuse L * a * b *, each point has an average isotropic discrepancyof 27%.All the problems of complexity disappear with the use of3D LUTs. The user of the LabtoMLab tables does not noticethe increased computational load between the LUT anda fonnula. They both report their answers in an instant.However, the LUT takes into account all the local variationsfound in the observer data. The LUT has zero error<strong>for</strong> all chips in the Munsell book.We reviewed the selection of Munsell space as the data<strong>for</strong> a 3D LUT. The Munsell space shares the same goals asOstwald, NCS, OS A, and <strong>Color</strong>Curve <strong>spaces</strong>. They all attemptto provide a set of <strong>color</strong>s that are uni<strong>for</strong>mly spaced inhue, chroma, and lightness. The experiments that definedthese <strong>spaces</strong> were different and there<strong>for</strong>e the data are somewhatdifferent. Nevertheless, Munsell, NCS , and Ostwaldshow similar properties when compared in L * a * b * space.In OSA space, j and g have a specific relationship definedby the equations 34 and are described by CIE 1964 Tristimu­Ius values. <strong>Color</strong>Curve used a * and b *. These hue planeplacements are different from those of Munsell, NSC, andOstwald.1 3The decomposition of the distance between (a * ,b*) and(Ma,Mb) into!J.H and I1C shows that hue distortions introducedby L ' a'b* are substantial, but somewhat smallerthan those introduced by chroma. Lightness discrepanciesare very small.Munsell space remains the preferred space <strong>for</strong> a uni<strong>for</strong>m<strong>color</strong> 3D LUT. It is unique in that it provides data out to thespectrum locus. It is the compilation of 3 million observationsthat is most highly relevant to the problem. Therecould possibly be some errors in the hue plane placement,but it is not obvious how to improve the data collectingprocess.8 ConclusionsThis paper describes the substantial discrepancies betweenobserved uni<strong>for</strong>m <strong>color</strong> <strong>spaces</strong> and calculated L' a * b *.The discrepancies are complex and apparently unique ineach subsection of <strong>color</strong> space.We recommend the use of 3D LabtoMLab LUT to convert<strong>color</strong>imetric measurement (X,Y,Z or L *a*b') to isotropicMLab. Distances in <strong>color</strong> space can be accuratelyand conveniently calculated in MLab. When required inverseMLabtoLab LUTs can accurately return values toCIE notation.Calculations that involve finding minimal error in hue,chroma, and lightness, such as <strong>color</strong>-gamut mapping, willbenefit from analysis in an isotropic space with zero errors.AcknowledgmentsThe author wishes to thank Gary Dispoto and MikeMcGuire <strong>for</strong> their work on the very fast 3D LUT running inWindows. He also wants to thank Gunilla Derefeldt <strong>for</strong>providing <strong>color</strong>imetric data on NCS and Peter Engledrumand Max Satzman <strong>for</strong> leads to NBS work in the 1960s, andto John Meyer, Gabriel Marcu, and Mary <strong>McCann</strong> <strong>for</strong> theirthoughtful discussions and comments.ReferencesI. G. Wyszecki and W. S. Stiles. <strong>Color</strong> Science: Concepts and Metlwds,QII(llItitative Data and Fonnulae. 2nd ed .. pp. 306-330. 506- 513,Wiley, New York (1982).2. E. H. Land and 1. 1. <strong>McCann</strong>. "Lighlness and rctinex theory," J. 0p"Soc. Am. 61. t (1971).3. M. D. Fairchild. <strong>Color</strong> Appearance Models, p. 221. Addison Wesley.Reading, MA (1998).4. M. D. Fairchild. "Refinement of the RLAB <strong>color</strong> space" <strong>Color</strong> Res.Appl. 21 (5), 338-346 (1996).5. F. Ebner and M. D. Fairchild, "Gamut mapping: Evaluation ofchroma clipping techniques <strong>for</strong> three destination gamuts," Proc. 6thIS&TISID <strong>Color</strong> Imaging Conf, p. 57, Scottsdale, Arizona (1998).6. J. J. <strong>McCann</strong> and M. Slokes. "<strong>Color</strong> <strong>spaces</strong> and image quality."Proc. IS&T PieS, pp. 14O-t44 (1998).7. S. M. Newhall, D. Nickerson. and D. B. Judd. "Final report of theO.S.A. subcomminee on spacing of the Munsell <strong>color</strong>s." J. Opt, Soc.Am. 33. 385 (1943).8. G. Wyszecki and W. S. Sliles, <strong>Color</strong> Science: Concepts and Methods.Quamitative Data and FormuLae, 2nd ed., pp. 840-852. Wiley , NewYork (1982).9. D. L. MacAdam, "Maximum visual efficiency of <strong>color</strong>ed materials,"J. Opr. Soc. Am. 25, 36t (1935).10. J. J. <strong>McCann</strong>, "<strong>Color</strong> gamut measurements and mapping: The role of<strong>color</strong> <strong>spaces</strong>." in <strong>Color</strong> Imaging: Devict! independem <strong>Color</strong>. <strong>Color</strong>Hardcop)" and Graphic Ans IV. G. Beretta and R. Eschbach. Eds ..Prot. SPIE 3648, 68 - 82 (1999).11. G. Wyszecki and W. S. Stiles, <strong>Color</strong> Science: COllcepts and Methods,Quantitative Data and Formulae, 2nd ed., pp. 420- 424, Wiley. NewYork (1982).12. 1. 1. <strong>McCann</strong>, "Uni<strong>for</strong>m <strong>color</strong> <strong>spaces</strong>: 3D LUTS vs algorithms,"Proc. IS&T PIes (in press).13. D. L. MacAdam, "Uni<strong>for</strong>m <strong>color</strong> scales," J. Opt. Soc. Am. 64. 1691 -1702 (1974).14. <strong>Color</strong> HamlOny Manual. 4th ed., Container Corporation of America.Chicago (1958).15. G. Derefeldt and C. Sahlin, "Colour order systems <strong>for</strong> computergraphics I. Transfonnation of NCS data into ClELAB colour space:'Repon C53013·H2, FOA Rapport (1984).16. <strong>Color</strong>Curve. Minneapolis (1988).Journal of ElectroniC Imaging / October 1999 / Vol. 8(4) / 363


<strong>McCann</strong>17. P. Hung and R. S. Berns, "Oetennination of constant hue loci <strong>for</strong> aCRT gamut and their predictions using <strong>color</strong> appearance space,"Colo, Res. Appl. 20(5),285-295 (1995).18. ClEo Technical Report ClE No. 11 6 (1995).19. P. Glatz and E. Luebbe, "Colour gamut trans<strong>for</strong>mation using visuallyassessed colour difference <strong>for</strong>m ula," Proc AIC, Vol. 1. p. 586, Kyoto(1997).20. F. Ebner and M. D. Fairchild, "Finding constant hue surfaces in <strong>color</strong>space," Pmc. SPIE 3300, 107- 117 (1998).21. Braun and Fairchild. " <strong>Color</strong> gamut mapping in a hue-linearizedCfEtAS <strong>color</strong> space:' in Proc. 6Th IS&T/SID <strong>Color</strong> Imaging Cont,p. 163, SconsdaJe, Arizona (1998).22. M. D. Fairchild. " Refinemem of the RLAB <strong>color</strong> space," <strong>Color</strong> Res.Appl. 21(5),338-346 (1996).23. w. C. Rheinboldt and 1. P. Menard .. 'Mechanized conversion of coloimetricdata ro Munsell renolaions," 1. Opr. Soc. Am. 50, 802-807(1960).24. M. Abdulwahab, 1. L. Burkhardt, and 1. 1. <strong>McCann</strong>, "Method andapparatus <strong>for</strong> trans<strong>for</strong>ming <strong>color</strong> image data on the basis of an isotropICanrm <strong>color</strong>imetric space:' U.S. Parent, Application No. 4,839,721(filed Jun. 13, 1989).25. K. Kanamori, H. Kawakami, and H. Kotera, ,. A novel <strong>color</strong> trans<strong>for</strong>mationalgorithm and its applications." Proc. SPIE 1244. 272-281(1990).26. K. Kanamori and H. Kotera. . '<strong>Color</strong> correction teChnique <strong>for</strong> hardcopies by 4-neighbors interpolation method," 1. Imaging Sci. Technol.36(1), 73-80 ( 1992).27. K. Kanamori. H. Kotera, O. Yamada. H. Mommura, R. likawa, and T.Fumoto: " Fast <strong>color</strong> processor with programmable interpolation bysmall memory (PRISM)," 1. Electron. Imaging 2(3). 2 13-224(1993).28. H. Kotera, K. KaDamon, T. Fumoto. O. Yamada, H. Motomura, andM. Inoue: " A single chip <strong>color</strong> processor fo r device independent<strong>color</strong> reproduction." in Proc. First CIC. pp. 133-137 (1993).29. T. Fumoto, K. Kanamori. O. Yamada. H. Motomura. and H. Kotera:"SLANTIPRlSM Convertible structured <strong>color</strong> processor MN55 15."Pmc. ],d CIC, pp. 101-105 (1995).30. 1. J. <strong>McCann</strong>, "High resolution <strong>color</strong> photographic reproductions,"Proc. SPIE 3025, 7 (1 997).31. 1. 1. <strong>McCann</strong>. "<strong>Color</strong> imaging systems and <strong>color</strong> theory: Past presentand future," P,oc. SPIE 3299,38- 46 (1 998).32. H. Kang, "30 lookup table with interpolation," in <strong>Color</strong> Technologyof <strong>Electronic</strong> Imaging Devices, Vol. 28, SPIE Press, Bellingham, WA(1997).33. G. Marcu, "Gamut mapping in munsell constant hue sections." inProc. 6th IS&TISID <strong>Color</strong> Imaging Conf, p. 159. Scottsdale, Arizona(I 998).34. G. Wyszecki and W. S. Stiles, <strong>Color</strong> Science.' Concepts and Methods,Quantitative Data and Formulae, 2nd ed., pp. 506-513. Wiley. NewYork (1982).John J. <strong>McCann</strong> has studied <strong>color</strong> andcalculated sensations since college. As afreshman at Harvard he started to workpart-time <strong>for</strong> Edwin Land and Nigel Daw atPolaroid. He did an undergraduate thesisunder John Dowling on human adaptationmechanisms. He is co-author of Retinextheory and has written more than 50 paperson <strong>color</strong> in complex images, <strong>color</strong>from rods and long-wave cone interactions,spatial-frequency response of the eye, visibilityof gradients, and lightness. He has written a dozen patents onimaging. At Polaroid he managed the Vision Research Laboratory,Large Format Photography, and the Polaroid Replica Collection, adigital reproduction service <strong>for</strong> fine art, until he retired in 1996. Henow consults and continues his research on <strong>color</strong>, lightness, andcalculated <strong>color</strong> sensations. John was elected fellow of 18& Tin 1984and is past president of 15& T.364 / Journal of <strong>Electronic</strong> Imaging / Oclober 1999/ Vol. 8(4)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!