Debian Codegraph @

doc/CrushedDisplyBlacks.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>Crushed Display Blacks</title>
5 <meta http-equiv="content-type"
6 content="text/html; charset=ISO-8859-1">
7 <meta content="Graeme Gill" name="author">
8 </head>
9 <body>
10 <h2 style="text-decoration: underline; font-weight: bold;">Crushed
11 Display Blacks<br>
12 </h2>
13 Often people create a display profile, and then notice that when they
14 try and display some images using the profile, that the darkest blacks
15 in the image all get crushed into the black of the display. Why does
16 this happen ?<br>
17 <br>
18 There are many reasons this may happen, but here is a common one:<br>
19 <br>
20 The image has blacks that are darker than the black of the display, and
21 the color management intent being used clips out of gamut colors. So
22 all the blacks that are darker than the display black get mapped to the
23 display black. To avoid this, some sort of <span
24 style="font-weight: bold;">Gamut Mapping</span> that maps that black
25 of the source image to the black of the display, while preserving the
26 distinction between all the rest of the colors needs to be used.<br>
27 <br>
28 Some popular synthetic colorspaces have a perfect (and unrealistic)
29 zero black, for instance <span style="font-weight: bold;">sRGB</span>
30 and <span style="font-weight: bold;">AdobeRGB</span>. Real world
31 display profiles have non-zero blacks, so transforming between these
32 two using a colorimetric intent will clip the blacks, and loose the
33 shadow details.<br>
34 <br>
35 <h4 style="text-decoration: underline;">What performs gamut mapping ?</h4>
36 Typically there are only two mechanisms available to perform gamut
37 mapping. The main one is a pre-cooked (static) gamut mapping built into
38 cLUT type ICC profiles. The second is an on-the-fly (dynamic) gamut
39 mapping performed by the CMM (Color Management Module). A limited form
40 of the latter is Adobe BPC (Black point compensation), which is also
41 available sometimes with applications or systems that use lcms. (Little
42 cms).<br>
43 <br>
44 <h4 style="text-decoration: underline;">How do I fix it ?</h4>
45 There are two ways of avoiding the black crush. One is to turn on BPC
46 if it is available in the system you are using. Sometimes it may only
47 be available for certain intents.<br>
48 <br>
49 The second way of fixing it is to create your display profile with
50 appropriate gamut mapping, and make sure that it gets used.<br>
51 <br>
52 Shaper/Matrix type ICC profiles do not support gamut mapping, since
53 there is only one transformation in them and it does not have the
54 necessary flexibility to incorporate gamut mapping. Shaper/Matrix
55 profiles are always colorimetric intent. So it is necessary to create a
56 cLUT based Display profile if gamut mapping is to be incorporated into
57 the profile. (Note that not all systems accept cLUT based Display
58 profiles). Creating cLUT profiles that incorporate appropriate gamut
59 mapping depends on the profile creation tools, and not all tools give
60 adequate control over gamut mapping to reliably fix this problem.<br>
61 <br>
62 <h4 style="text-decoration: underline;">OK, so how do I fix it using
63 Argyll ?</h4>
64 You can usually fix this problem using Argyll by simply creating a cLUT
65 based profile (the default), and telling colprof what the source
66 colorspace is going to be.<br>
67 <br>
68 i.e. say your source images are in sRGB space, then:<br>
69 <br>
70 &nbsp;&nbsp;&nbsp; colprof&nbsp;-v -S&nbsp;sRGB.icm&nbsp;-D "My
71 Display" MyDisplayProfile
72 <br>
73 <br>
74 [It's usually safer to use the sRGB profile provided by Argyll than use
75 an sRGB profile of unknown origin. Find it in the ref directory.]<br>
76 <br>
77 This will create 3 separate B2A cLUT tables, one for colorimetric
78 intent, one for Perceptual intent, and one for Saturation intent. Both
79 Perceptual and Saturation tables will have appropriate gamut mapping
80 for a source colorspace of sRGB. So it is just a matter of making sure
81 that either Perceptual or Saturation intent is used when making use of
82 the display profile.<br>
83 <br>
84 </body>
85 </html>