Debian Codegraph @

doc/iccgamut.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>iccgamut</title>
5 <meta http-equiv="content-type" content="text/html;
6 charset=windows-1252">
7 <meta name="author" content="Graeme Gill">
8 </head>
9 <body>
10 <h2><b>xicc/iccgamut</b></h2>
11 <br>
12 Create a gamut file or X3DOM file &nbsp;of the color gamut of an ICC
13 profile.<br>
14 <span style="font-weight: bold;"> iccgamut</span> allows creation of
15 gamut files from the forward or backwards table of an ICC profile,
16 in Lab or CIECAM02 Jab colorspace, and can also representing the
17 gamut as a X3DOM file.<br>
18 <br>
19 See <a href="3dformat.html">3D Viewing Format</a> for switching to
20 VRML or X3D output format.<br>
21 <h3>Usage<br>
22 </h3>
23 <span style="font-family: monospace;">iccgamut [-options] </span><i
24 style="font-family: monospace;">profile</i><br style="font-family:
25 monospace;">
26 <span style="font-family: monospace;">&nbsp;-v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
27
28
29
30
31
32
33
34
35 Verbose</span><br style="font-family: monospace;">
36 <span style="font-family: monospace;">&nbsp;-d
37 sres&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Surface resolution
38 details 1.0 - 50.0</span><br style="font-family: monospace;">
39 <span style="font-family: monospace;">&nbsp;-w&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
40 emit
41
42
43
44
45 X3DOM .x3d.html file as well as CGATS .gam file</span><br
46 style="font-family: monospace;">
47 <span style="font-family: monospace;">&nbsp;-n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
48 Don't
49
50
51
52
53
54
55
56
57 add X3DOM axes or white/black point</span><br style="font-family:
58 monospace;">
59 <span style="font-family: monospace;">&nbsp;-k&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
60 Add
61
62
63
64
65 X3DOM markers for prim. &amp; sec. "cusp" points<br>
66 &nbsp;-e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
67 Create </span><span style="font-family: monospace;"><span
68 style="font-family: monospace;">X3DOM</span> edge plot<br>
69 &nbsp;-E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
70 Create </span><span style="font-family: monospace;"><span
71 style="font-family: monospace;">X3DOM</span> all possible edge
72 plot<br>
73 &nbsp;-F&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
74 Create </span><span style="font-family: monospace;"><span
75 style="font-family: monospace;">X3DOM</span> face plot<br>
76 </span><span style="font-family: monospace;">&nbsp;-f
77 function&nbsp;&nbsp; f = forward*, b = backwards</span><br
78 style="font-family: monospace;">
79 &nbsp; <span style="font-family: monospace;"></span><span
80 style="font-family: monospace;">-i intent&nbsp;&nbsp;&nbsp;&nbsp;
81 p = perceptual, r = relative colorimetric,</span><br
82 style="font-family: monospace;">
83 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
84 s
85
86
87
88
89
90
91
92
93 = saturation, a = absolute (default), d = profile default</span><span
94 style="font-family: monospace;"></span><br style="font-family:
95 monospace;">
96 <span style="font-family: monospace;"></span><span
97 style="font-family: monospace;">&nbsp;-o
98 order&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n = normal (priority: lut &gt;
99 matrix &gt; monochrome)</span><br style="font-family: monospace;">
100 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
101 r
102
103
104
105
106
107
108
109
110 = reverse (priority: monochrome &gt; matrix &gt; lut)<br>
111 </span><span style="font-family: monospace;">&nbsp;</span><span
112 style="font-family: monospace;">-p oride</span><span
113 style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l =
114 Lab_PCS (default), j = CIECAM02 Appearance Jab</span><span
115 style="font-family: monospace;"></span><span style="font-family:
116 monospace;"></span><br style="font-family: monospace;">
117 <span style="font-family: monospace;">&nbsp;-l
118 tlimit&nbsp;&nbsp;&nbsp;&nbsp; set total ink limit, 0 - 400%
119 (estimate by default)</span><br style="font-family: monospace;">
120 <span style="font-family: monospace;">&nbsp;-L
121 klimit&nbsp;&nbsp;&nbsp;&nbsp; set black ink limit, 0 - 100%
122 (estimate by default)</span><br style="font-family: monospace;">
123 <span style="font-family: monospace;">&nbsp;-c viewcond&nbsp;&nbsp;
124 set viewing conditions for CIECAM02,</span><br style="font-family:
125 monospace;">
126 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
127 either
128
129
130
131
132
133
134
135
136 an enumerated choice, or a series of parameters:value changes</span><br>
137 <tt>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; </tt><tt><tt>pc
138 - Critical print evaluation environment (ISO-3664 P1)</tt><tt><br>
139 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
140
141
142
143
144
145
146 </tt>pp - Practical Reflection Print (ISO-3664 P2)<br>
147 &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; pe - Print
148 evaluation environment (CIE 116-1995)<br>
149 </tt><tt>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; pm - Print
150 evaluation with partial Mid-tone adaptation</tt><br
151 style="font-family: monospace;">
152 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
153 &nbsp; &nbsp; &nbsp; mt - Monitor in typical work environment</span><br
154 style="font-family: monospace;">
155 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
156 &nbsp;
157
158
159
160
161
162
163
164
165 &nbsp; mb - Monitor in bright work environment</span><br
166 style="font-family: monospace;">
167 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp; &nbsp;
168 &nbsp; &nbsp;&nbsp;&nbsp; md - Monitor in darkened work
169 environment</span><br style="font-family: monospace;">
170 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp; &nbsp;
171 &nbsp; &nbsp;&nbsp;&nbsp; jm - Projector in dim environment</span><br
172 style="font-family: monospace;">
173 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp; &nbsp;
174 &nbsp; &nbsp;&nbsp;&nbsp; jd - Projector in dark environment</span><br
175 style="font-family: monospace;">
176 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;
177 &nbsp; &nbsp;&nbsp;&nbsp; pcd - Photo CD - original scene outdoors</span><br
178 style="font-family: monospace;">
179 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp; &nbsp;
180 &nbsp; &nbsp;&nbsp;&nbsp; ob - Original scene - Bright Outdoors</span><br
181 style="font-family: monospace;">
182 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp; &nbsp;
183 &nbsp; &nbsp;&nbsp;&nbsp; cx - Cut Sheet Transparencies on a
184 viewing box</span><span style="font-family: monospace;"></span><span
185 style="font-family: monospace;"></span><br style="font-family:
186 monospace;">
187 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
188 s:surround&nbsp;&nbsp;
189
190
191
192
193
194
195
196
197 n = auto, a = average, m = dim, d = dark,</span><br
198 style="font-family: monospace;">
199 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
200 &nbsp;
201
202
203
204
205
206
207
208
209 &nbsp; &nbsp;&nbsp; c = transparency (default average)</span><br
210 style="font-family: monospace;">
211 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
212 w:X:Y:Z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
213
214
215
216
217
218
219
220
221 Adapted white point as XYZ (default media white)</span><br
222 style="font-family: monospace;">
223 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
224 w:x:y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
225
226
227
228
229
230
231
232
233 Adapted white point as x, y</span><br style="font-family:
234 monospace;">
235 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
236 a:adaptation
237
238
239
240
241
242
243
244
245 Adaptation luminance in cd.m^2 (default 50.0)</span><br
246 style="font-family: monospace;">
247 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
248 b:background
249 Background
250
251
252
253
254
255
256
257
258 % of image luminance (default 20)<br>
259 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; l:imagewhite Image
260 white in cd.m^2 if surround = auto (default 250)</span><br
261 style="font-family: monospace;">
262 <span style="font-family: monospace;"><span style="font-family:
263 monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
264 f:flare&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flare light % of image
265 luminance (default 0)<br>
266 </span>&nbsp;</span><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
267
268
269 g:glare&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Glare light % of ambient
270 (default 5)</span><br style="font-family: monospace;">
271 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
272
273
274
275
276
277
278
279 g:X:Y:Z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Glare color as XYZ (default
280 media white)</span><br style="font-family: monospace;">
281 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
282
283
284
285
286
287
288
289 g:x:y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Glare color as x,
290 y</span><br>
291 <span style="font-family: monospace;"><tt><span style="font-family:
292 monospace;"><tt><span style="font-family: monospace;"><span
293 style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
294
295
296 h:hkscale&nbsp;&nbsp;&nbsp; Helmholtz-Kohlrausch effect
297 scale factor (default 1.0)<br>
298 </span></span><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
299
300
301
302
303
304 m:mtaf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mid-tone
305 partial adaptation factor (default 0.0)</span><br
306 style="font-family: monospace;">
307 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
308
309
310 m:X:Y:Z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mid-tone Adaptation
311 white as XYZ (default D50)</span><br style="font-family:
312 monospace;">
313 <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
314
315
316 m:x:y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mid-tone
317 Adaptation white as x, y</span></tt></span></tt><br>
318 &nbsp;-x pcent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Expand/compress
319 gamut cylindrically by percent<br>
320 &nbsp;-s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
321 Create
322
323
324
325
326
327
328
329
330 special cube surface topology plot<br style="font-family:
331 monospace;">
332 </span><i style="font-family: monospace;">profile</i><span
333 style="font-family: monospace;"> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
334 The name of the </span><a style="font-family: monospace;"
335 href="File_Formats.html#ICC">ICC</a><span style="font-family:
336 monospace;"> profile, as well as the basename of the </span><a
337 style="font-family: monospace;" href="File_Formats.html#.gam">gamut</a><span
338 style="font-family: monospace;"> [.gam] and/or </span><a
339 style="font-family: monospace;" href="File_Formats.html#X3DOM">X3DOM</a><span
340 style="font-family: monospace;"> [.x3d.html] file.</span> <br>
341 <h3>Comments</h3>
342 The parameters are all those that control which table in the ICC
343 profile to use, as well as what color space to convert it to. <br>
344 <br>
345 The<b> -v</b> flag dumps out the ICC profile header information.
346 Using <b>-v</b> <b>-w</b> will also print the gamut volume in
347 cubic L*a*b* units.<br>
348 <br>
349 The <b>-d</b> parameter controls the level of detail displayed in
350 the surface. The parameter roughly corresponds to a deltaE value, so
351 smaller values give greater detail. The default value is around 10,
352 and is a good place to start. Small values may take a lot of time to
353 generate, and will produce big files.<br>
354 <br>
355 The <b>-w</b> flag causes a X3DOM file to be produced, as well as a
356 gamut file.<br>
357 <br>
358 The <b>-n</b> flag suppresses the L*a*b* axes being created in the
359 X3DOM.<br>
360 <br>
361 The <span style="font-weight: bold;">-k</span> flag adds markers
362 for each of the primary and secondary "cusp" points (Red, Yellow,
363 Green, Cyan, Blue &amp; Magenta). No markers will be displayed if
364 the cusps cannot be determined.<br>
365 <br>
366 The <b>-e</b> flag creates an X3DOM file named profile_e.x3d.html
367 file containing a plot of the device cube/hyper-cube edges in
368 colorspace. This can be useful in visualizing how the colorants
369 interact.<br>
370 <br>
371 The <b>-E</b> flag creates an X3DOM file named profile_e.x3d.html
372 file containing a plot of all possible device cube/hyper-cube vertex
373 paths in colorspace. This can be useful in visualizing how the
374 colorants interact.<br>
375 <br>
376 The <b>-F</b> flag creates an X3DOM file named profile_f.x3d.html
377 file containing a plot of all possible device cube/hyper-cube 2
378 dimensional faces in colorspace. The faces will be randomly colored.
379 This can be useful in visualizing how the colorants interact.<br>
380 <br>
381 The <b>-f </b>parameter allows choosing the ICC table to be used
382 in plotting the gamut. The backwards tables generally incorporate
383 gamut compression, and therefore don't reflect the native
384 capabilities of the device.<br>
385 <br>
386 The <b>-i</b> flag selects the intent transform used for a lut
387 based profile. It also selects between relative and absolute
388 colorimetric for non-lut base profiles. Note that anything other
389 than colorimetric may not represent the native capabilities of the
390 device. The default intent will be absolute colorimetic for L*a*b*
391 output, and CIECAM02 appearance for Jab output.<br>
392 <br>
393 An ICC profile is allowed to contain more than the minimum number of
394 elements or table needed to describe a certain transform, and may
395 contain redundant descriptions. &nbsp;By default, lut based table
396 information will be used first if present, followed by matrix/shaper
397 information, and only using monochrome information if it is all that
398 is present. The <b>-o</b> flag, reverses this
399 order.&nbsp;&nbsp;&nbsp; <br>
400 <br>
401 <span style="font-weight: bold;">-p</span>: By default the gamut
402 will be created in L*a*b* colorspace. If&nbsp; <span
403 style="font-weight: bold;">-pj</span> is selected, then CIECAM02
404 appearance space Jab will be used for the output, and the viewing
405 conditions will be taken into account. Jab space is what is normally
406 needed to be compatible with the default intents used in <a
407 href="colprof.html">colprof</a>. <span style="font-weight: bold;"><br>
408 </span>Note that the CIECAM02 output space selection by default uses
409 the colorimetric transform of the profile resulting in the
410 appearance of the native device, but that the perceptual or
411 saturation transforms may be used by selecting them using the <span
412 style="font-weight: bold;">-i</span> parameter, which may give a
413 different result with some profiles. This may be desirable if an
414 image is to be transformed through the perceptual or saturation
415 tables of a profile as part of a link with an Argyll generated
416 output profile, since it will then represent the apparent gamut of
417 the image when subject to these tables. If the absolute colorimetric
418 intent is chosen using <span style="font-weight: bold;">-ia</span>
419 in combinations with <span style="font-weight: bold;">-pj</span>,
420 then&nbsp; Jab with a fixed white reference is used, which emulates
421 an absolute CIECAM02 Jab appearance space. <br>
422 <br>
423 The <b>-l</b> parameter allows setting a total ink limit (TAC) for
424 printing devices. If a device has a total ink limit, and hasn't been
425 characterised with device values above this limit, then plotting the
426 gamut in these areas will almost certainly be misleading. tables. By
427 default, a total ink limit will be estimated from the profile
428 tables. The ink limit will be in final raw device values if the
429 profile includes calibration information.<br>
430 <br>
431 The <b>-L</b> parameter allows setting a black ink limit for
432 printing devices. If a device is to be used with a black ink limit,
433 then it is useful to evaluate the gamut with the limit in place. By
434 default, a black ink limit will be estimated from the profile
435 tables. The ink limit will be in final raw device values if the
436 profile includes calibration information.<br>
437 <br>
438 The <b>-c</b> parameter allows setting the CIECAM02 viewing
439 conditions, either by choosing a typical viewing environment, or
440 controlling particular viewing condition parameters.<br>
441 <br>
442 The <b>-x</b> parameter allows expanding or compressing the
443 resulting gamut in a cylindrical direction by the given percentage
444 :- i.e "-x 120" will expand by 20%. This may be useful for creating
445 a general compression gamut mapping by using such an expanded device
446 gamut as input to <a href="collink.html#g">collink -g or -G</a>.<br>
447 <br>
448 The <span style="font-weight: bold;">-s</span> flag creates a
449 special hyper-cube surface plot that is artificially colored. This
450 can be useful for identifying the topology of the black ink color
451 response.<br>
452 <h3>Example<br>
453 </h3>
454 To create a view in L*a*b* of the absolute gamut of a CMYK file with
455 an ink limit of 260%, one might use:<br>
456 <br>
457 &nbsp;&nbsp;&nbsp; <span style="font-style: italic;">iccgamut -w
458 -ff -ia -l260 profile.icm</span><br>
459 <br>
460 and the resulting files will be <span style="text-decoration:
461 underline;">profile.gam</span> and <span style="text-decoration:
462 underline;">profile.x3d.html</span>.<br>
463 <br>
464 To create a gamut suitable for CIECAM02&nbsp; gamut mapping space in
465 colprof or collink, something like<br>
466 <br>
467 &nbsp;&nbsp;&nbsp; iccgamut -ir -pj -cmt&nbsp; profile.icm<br>
468 <br>
469 where the viewing conditions "mt" should the same as the source
470 conditions in colprof or collink.<br>
471 <br style="font-weight: bold;">
472 <span style="font-weight: bold;"></span><br>
473 <br>
474 <br>
475 <br>
476 <br>
477 <br>
478 <br>
479 </body>
480 </html>