Debian Codegraph @

doc/xicclu.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta content="text/html; charset=windows-1252" http-equiv="content-type">
5 <title>xicclu</title>
6 <meta name="author" content="Graeme Gill">
7 </head>
8 <body>
9 <h2><b>xicc/xicclu</b>&nbsp; </h2>
10 <h3>Summary&nbsp;<br>
11 </h3>
12 Lookup individual color values forward or inverted though an ICC profile
13 table or CAL file. <b>xicclu</b> is the analogue of the icclib tool <a href="icclu.html">icclu</a>,
14 but expands the capability to reverse lookup the Lut tables, and displaying
15 PCS values in CIECAM02 Jab space. <b>xicclu</b> can also be used to plot
16 the device value composition down the neutral axis for device profiles, or
17 CAL file contents.<br>
18 <br>
19 Few of the options that apply to ICC profiles apply to CAL files, although
20 device value options such as <b>-e</b> or <b>-E</b> will work. To lookup
21 inverted CAL values, use <b>-f b</b>.<br>
22 <h3>Usage Summary</h3>
23 &nbsp;<span style="font-family: monospace;">xicclu [-options] <i>profile_or_cal</i><br>
24 &nbsp;<a href="#v">-v level</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Verbosity
25 level 0 - 2 (default = 1)<br>
26 &nbsp;<a href="#g">-g</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Plot
27 slice or CAL or 'vcgt' instead of looking colors up. (Default white to
28 black)<br>
29 &nbsp;<a href="#Gs">-G s:L:a:b</a>&nbsp;&nbsp;&nbsp;&nbsp; Override plot
30 slice start with Lab or Jab co-ordinate<br>
31 &nbsp;<a href="#Ge">-G e:L:a:b</a>&nbsp;&nbsp;&nbsp;&nbsp; Override plot
32 slice end with Lab or Jab co-ordinate<br>
33 &nbsp;<a href="#V">-V</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
34
35
36
37
38
39
40
41 Load 'vcgt' calibration tag from profile as CAL<br>
42 &nbsp;<a href="#f">-f function</a>&nbsp;&nbsp;&nbsp; f = forward, b =
43 backwards, g = gamut, p = preview<br>
44 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
45 if
46 =
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62 inverted forward, ib = inverted backwards<br>
63 &nbsp;<a href="#i">-i intent</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a =
64 absolute, r = relative colorimetric,<br>
65 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81 p = perceptual, s = saturation, A = disp. abs. measurements</span><br style="font-family: monospace;">
82
83
84
85 <span style="font-family: monospace;">&nbsp;<a href="#o">-o order</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
86
87
88
89
90 n = normal (priority: lut &gt; matrix &gt; monochrome)<br>
91 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
92
93
94
95
96 r = reverse (priority: monochrome &gt; matrix &gt; lut)</span><br style="font-family: monospace;">
97
98 <span style="font-family: monospace;">&nbsp;<a href="#p">-p oride</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114 x = XYZ_PCS, X = XYZ * 100, l = Lab_PCS, L = LCh, y = Yxy, u = Yu'v'<br>
115 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; j = CIECAM02
116 Appearance Jab, J = CIECAM02 Appearance JCh<br>
117 &nbsp;<a href="#s">-s scale</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
118 Scale device range 0.0 - scale rather than 0.0 - 1.0<br>
119 <br>
120 &nbsp; <a href="#e">-e flag</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
121 Video encode device input as:<br>
122 &nbsp;<a href="#E">-E flag</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
123 Video decode device output as:<br>
124 &nbsp;&nbsp;&nbsp;&nbsp;
125 n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; normal 0..1
126 full range RGB levels (default)<br>
127 &nbsp;&nbsp;&nbsp;&nbsp;
128 t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (16-235)/255
129 "TV" RGB levels<br>
130 &nbsp;&nbsp;&nbsp;&nbsp;
131 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rec601 YCbCr
132 SD (16-235,240)/255 "TV" levels<br>
133 &nbsp;&nbsp;&nbsp;&nbsp;
134 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rec709
135 1125/60Hz YCbCr HD (16-235,240)/255 "TV" levels<br>
136 &nbsp;&nbsp;&nbsp;&nbsp;
137 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rec709
138 1250/50Hz YCbCr HD (16-235,240)/255 "TV" levels<br>
139 &nbsp;&nbsp;&nbsp;&nbsp;
140 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rec2020
141 YCbCr UHD (16-235,240)/255 "TV" levels<br>
142 &nbsp;&nbsp;&nbsp;&nbsp;
143 C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rec2020
144 Constant Luminance YCbCr UHD (16-235,240)/255 "TV" lev<br>
145 &nbsp;<a href="#k">-k [zhxrlv]</a>&nbsp;&nbsp;&nbsp; Black generation: z =
146 zero K,<br>
147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
148 &nbsp;&nbsp;
149 h
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 = 0.5 K, x = max K, r = ramp K (def.)<br>
166 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
167 &nbsp;&nbsp;
168 l
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184 = extra PCS input is portion of K locus<br>
185 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
186 &nbsp;&nbsp;
187 v
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203 = extra PCS input is K target value<br>
204 &nbsp;<a href="#kp">-k p stle stpo enpo enle shape</a><br>
205 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
206 &nbsp;&nbsp;
207 stle:
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223 K level at White 0.0 - 1.0<br>
224 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
225 &nbsp;&nbsp;
226 stpo:
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242 start point of transition Wh 0.0 - Bk 1.0<br>
243 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
244 &nbsp;&nbsp;
245 enpo:
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261 End point of transition Wh 0.0 - Bk 1.0<br>
262 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
263 &nbsp;&nbsp;
264 enle:
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280 K level at Black 0.0 - 1.0<br>
281 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
282 &nbsp;&nbsp;
283 shape:
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299 1.0 = straight, 0.0-1.0 concave, 1.0-2.0 convex<br>
300 &nbsp;<a href="#kq">-k q stle0 stpo0 enpo0 enle0 shape0 stle2 stpo2 enpo2
301 enle2 shape2</a><br>
302 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
303 Transfer
304 extra
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320 PCS input to dual curve limits<br>
321 &nbsp;<a href="#K">-K parameters</a>&nbsp; Same as -k, but target is K
322 locus rather than K value itself<br>
323 &nbsp;<a href="#l">-l tlimit</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set total
324 ink limit, 0 - 400% (estimate by default)<br>
325 &nbsp;<a href="#L">-L klimit</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set black
326 ink limit, 0 - 100% (estimate by default)<br>
327 &nbsp;<a moz-do-not-send="true" href="#Yc">-Y c:file.cal</a>&nbsp; Provide
328 or overide calibration total ink curves</span><br>
329
330
331 <span style="font-family: monospace;">&nbsp;<a moz-do-not-send="true" href="#T">-T</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
332
333 Show total ink limit of device values<br>
334 &nbsp;<a href="#a">-a</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
335 show
336 actual
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352 target values if clipped<br>
353 &nbsp;<a href="#b">-b</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
354 use
355 CAM
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371 Jab for clipping<br>
372 &nbsp;<a href="#m">-m</a>
373 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; merge
374 output processing into clut<br>
375 &nbsp;<a href="#c">-c viewcond</a>&nbsp;&nbsp;&nbsp; set viewing
376 conditions for CIECAM02,<br>
377 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
378 &nbsp;&nbsp;
379 either
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395 an enumerated choice, or a parameter:value change<br>
396 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; pc - Critical print evaluation
397 environment (ISO-3664 P1)<br>
398 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pp -
399 Practical Reflection Print (ISO-3664 P2)<br>
400 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; pe - Print evaluation environment
401 (CIE 116-1995)<br>
402 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; pm - Print evaluation with
403 partial Mid-tone adaptation<br>
404 &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; mt - Monitor in typical work
405 environment<br>
406 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
407 &nbsp;
408 &nbsp; mb - Monitor in bright work environment<br>
409 &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; md - Monitor in
410 darkened work environment<br>
411 &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; jm - Projector in dim
412 environment<br>
413 &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; jd - Projector in dark
414 environment<br>
415 &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; pcd - Photo CD - original
416 scene outdoors<br>
417 &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; ob - Original scene -
418 Bright Outdoors<br>
419 &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; cx - Cut Sheet
420 Transparencies on a viewing box<br>
421 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
422 s:surround&nbsp;&nbsp;
423 n = auto, a = average, m = dim, d = dark,<br>
424 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
425 &nbsp;
426 &nbsp;
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442 &nbsp;&nbsp;&nbsp; c = transparency (default average)<br>
443 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
444 w:X:Y:Z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
445 Adapted white point as XYZ (default media white, Abs: D50)<br>
446 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
447 w:x:y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
448 Adapted white point as x, y<br>
449 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
450 a:adaptation
451 Adaptation luminance in cd.m^2 (default 50.0)<br>
452 &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b:background Background % of
453 image luminance (default 20)<br>
454 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
455 f:flare&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
456 Flare
457 light % of image luminance (default 1)<br>
458 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
459 g:glare&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Glare light % of ambient (default 2)<br>
460 &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
461 g:X:Y:Z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Glare color as XYZ (default media
462 white, Abs: D50)<br>
463 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
464 g:x:y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FGare color as x, y<br>
465 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
466 h:hkscale&nbsp;&nbsp;&nbsp; Helmholtz-Kohlrausch effect scale factor
467 (default 1.0)<br>
468 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
469 m:mtaf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mid-tone partial adaptation
470 factor (default 0.0)<br>
471 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
472 m:X:Y:Z&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mid-tone Adaptation white as XYZ
473 (default D50)<br>
474 &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
475 m:x:y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mid-tone Adaptation white
476 as x, y <br>
477 &nbsp; <i><a href="#p1">inoutfile</a></i> &nbsp;&nbsp; &nbsp;&nbsp; The
478 input ICC profile or CAL file.<br>
479 <br>
480 &nbsp;&nbsp;&nbsp; The colors to be translated should be fed into standard
481 in,<br>
482 &nbsp;&nbsp;&nbsp; one input color per line, white space separated.<br>
483 &nbsp;&nbsp;&nbsp; A line starting with a # will be ignored.<br>
484 &nbsp;&nbsp;&nbsp; A line not starting with a number will terminate the
485 program. </span><br>
486 <h3>Flags and Parameters</h3>
487 <a name="v"></a> The <b>-v</b> parameter sets the level of verbosity.
488 Default is level 1, which repeats each input value, the colorspaces of input
489 and output, the type of conversion algorithm used, and if the result was
490 clipped. Level 2 adds prints extra information about the profile before
491 doing the conversions. Level 0 turns off all verbosity, just outputting the
492 results of each conversion. Use the latter to capture batch output ready for
493 further processing.<br>
494 <br>
495 <a name="g"></a>The <b>-g</b> flag causes a plot of the device values along
496 a slice through the Lab or Jab colorspace, or the contents of a CAL file or
497 'vcgt' tag, rather than allowing the interactive looking up of color values.
498 By default this will be the neutral axis from the white point to the black
499 point, but the start and end can be overridden using the <span style="font-weight:
500 bold;">-G</span> parameters. This is useful in determining the existing
501 black generation in a CMYK profile, or exploring the behavior of various
502 black generation options using the <b>-k</b> parameters. The profile must
503 be a device profile, and the PCS must be either Lab or Jab. The default plot
504 is up the neutral axis is from the white to the black point (scale 0 to
505 100%), and shows the percentage of each device colorant. To examine a
506 profiles B2A table black generation, use the flag <b>-fb</b> to select the
507 B2A table, or to invert the A2B table, and be able to explore black
508 generation behavior, use the <b>-fif</b> flag. The appropriate intent can
509 be selected with the <b>-i</b> flag, &nbsp;as can other flags appropriate
510 to the function selected.&nbsp; See <a href="#xg">example</a>.<br>
511 If a CAL file is used, or a 'vcgt' is loaded from an ICC profile using the
512 -V flag, then <b>-g</b> will simply plot the each channels calibration
513 curve. It will also plot the inverse curve for <b>-f b</b>.<br>
514 <br>
515 <a name="Gs"></a>The <span style="font-weight: bold;">-G </span><small><span
516 style="font-family: monospace;"><span style="font-weight: bold;">s:L:a:b</span></span></small>
517 parameter overrides the plot slice start point of white, with some other
518 point specified in Lab or Jab Profile Connection Space. The parameter must
519 be a single string that combines<span style="font-weight: bold;"> s:</span>
520 with the three numbers separated by the '<span style="font-weight: bold;">:'</span>
521 character (no spaces).<br>
522 <br>
523 <a name="Ge"></a>The <span style="font-weight: bold;">-G </span><small><span
524 style="font-family: monospace;"><span style="font-weight: bold;">e:L:a:b</span></span></small>
525 parameter overrides the plot slice end point of black, with some other point
526 specified in Lab or Jab Profile Connection Space. The parameter must be a
527 single string that combines<span style="font-weight: bold;"> s:</span> with
528 the three numbers separated by the '<span style="font-weight: bold;">:'</span>
529 character (no spaces).<br>
530 <br>
531 <a name="V"></a>The <b>-V</b> flag tells xicclu to load the given ICC
532 profile, and the extract the 'vcgt' display calibration curves from the
533 profile. The calibration curves can then be looked up in the normal way, or
534 plotted using <b>-g.</b><br>
535 <br>
536 <a name="f"></a> The <b>-f</b> flag selects which type of table or
537 conversion is to be used. In addition to the usual four tables that can be
538 accessed in a fully populated Lut based profile, two additional options are
539 available in <b>xicclu</b>. One is to invert the forward table, and the
540 other is to invert the backward table. For non Lut based profiles, -fif is
541 equivalent to -fb, and -fib is equivalent to -ff. Note that the -fib
542 combination may not be fully supported.<br>
543 <br>
544 <a name="i"></a> The <b>-i</b> flag selects the intent table used for a lut
545 based profile. It also selects between relative and absolute colorimetric
546 for non-lut base profiles.<br>
547 The -A flag selects Display absolute measurement mode, where the Luminance
548 tag value is used restore absolute measurement XYZ values. The PCS will be
549 force to be XYZ with this selection.<br>
550 <br>
551 <a name="o"></a> A profile is allowed to contain more than the minimum
552 number of elements or table needed to describe a certain transform, and may
553 contain redundant descriptions. &nbsp;By default, Lut based table
554 information will be used first if present, followed by matrix/shaper
555 information, and only using monochrome information if it is all that is
556 present. The <b>-o</b> flag, reverses this order.&nbsp;&nbsp;&nbsp; <br>
557 <br>
558 <a name="p"></a> Normally the native PCS (Profile Connection Space) of a
559 device or abstract profile is used, but the <b>-p</b> flag allows this to
560 be overridden: <span style="font-weight: bold;">-px</span>: XYZ (scaled to
561 1.0), <span style="font-weight: bold;">-pX</span>: XYZ scaled to 100, <span
562 style="font-weight: bold;">-pl</span>: L*a*b*, <span style="font-weight: bold;">-pL</span>:
563 LCh, <span style="font-weight: bold;">-py</span>: Yxy space, <span style="font-weight: bold;"><span
564 style="font-weight: bold;">-pu</span></span>: Yu'v' perceptual CIE 1976
565 UCS diagram Yu'v' space,<span style="font-weight: bold;"> -pj</span>:
566 CIECAM02 appearance space Jab, or <span style="font-weight: bold;">-pJ</span>:
567 CIECAM02 appearance space JCh.<span style="font-weight: bold;"><br>
568 </span>Note that the CIECAM02 output space selection by default uses the
569 colorimetric table of the profile, but that the perceptual or saturation
570 tables may be used by selecting them using the <span style="font-weight: bold;">-i</span>
571 parameter. If the absolute colorimetric intent is chosen using <span style="font-weight:
572 bold;">-ia</span> in combinations with <span style="font-weight:
573 bold;">-pj</span>, then&nbsp; Jab with a fixed white reference is used,
574 which emulates an absolute CIECAM02 Jab appearance space. <br>
575 <br>
576 <a name="s"></a> Usually device values are processed and displayed using a
577 normalized value range between 0.0 and 1.0 Sometimes other systems scale
578 them to some other range (such as 100 or 255) due to an underlying binary
579 representation. The <span style="font-weight:
580 bold;">-s</span> flag lets you input and display such data in its normal
581 range. For instance, if your device values have a range between 0 and 255,
582 use <span style="font-weight: bold;">-s 255.</span><br>
583 <br>
584 <a name="e"></a>The <b>-e</b> <i>flag</i> applies a Video encoding to the
585 input. See <a href="collink.html#E"><b>-E</b></a> for the list of
586 encodings.<br>
587 <br>
588 <b><a name="E"></a></b>The <b>-E</b> <i>flag</i> applies a Video encoding
589 to the output. The possible encoding are:<br>
590 <br>
591 <small><span style="font-family: monospace;"><small><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;
592 n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607 normal RGB 0..1 full range levels (default)<br>
608 &nbsp;&nbsp;&nbsp;&nbsp;
609 t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624 RGB (16-235)/255 "TV" levels<br>
625 &nbsp;&nbsp;&nbsp;&nbsp;
626 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641 Rec601 YCbCr SD (16-235,240)/255 "TV" levels<br>
642 &nbsp;&nbsp;&nbsp;&nbsp;
643 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658 Rec709 1125/60Hz YCbCr HD (16-235,240)/255 "TV" levels<br>
659 &nbsp;&nbsp;&nbsp;&nbsp;
660 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675 Rec709 1250/50Hz YCbCr HD (16-235,240)/255 "TV" levels<br>
676 &nbsp;&nbsp;&nbsp;&nbsp;
677 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692 Rec2020 YCbCr UHD (16-235,240)/255 "TV" levels<br>
693 &nbsp;&nbsp;&nbsp;&nbsp;
694 C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709 Rec2020 Constant Luminance YCbCr UHD (16-235,240)/255 "TV" levels<br>
710 </span></small></span></small><br>
711 <a name="k"></a> When inverting a CMYK profile, (ie. using the -fif flag),
712 an input PCS value can have many possible CMYK solutions. To be able to
713 return a unique solution, a black level (or black inking rule) should be
714 chosen. The choice here reflect similar choices in black generation
715 available in other tools (eg. <a href="colprof.html">colprof</a>, <a href="collink.html">
716 collink</a>), with the addition of two extra options.<br>
717 <br>
718 &nbsp;Possible arguments to the <b>-k</b> option are:<br>
719 <br>
720 <b> -kz</b> selects minimum black (0.0)<br>
721 <b> -kh</b> selects a black value of 0.5<br>
722 <b> -kx</b> selects the maximum possible black (1.0)<br>
723 <b> -kr</b> selects a linear black ramp, starting at minimum black for
724 highlight, and maximum black for shadow (equivalent to -kp 0 0 1 1 1). This
725 is the default.<br>
726 <b> -kl</b> uses an extra (fourth) value entered after the input PCS value,
727 to select a black locus target between 0.0 and 1.0.<br>
728 <b> -kv</b> uses an extra (fourth) value entered after the input PCS value,
729 to select a black value target value between 0.0 and 1.0.<br>
730 <br>
731 <b><a name="kp"></a>-k p stle stpo enpo enle shape</b>&nbsp; allows an
732 arbitrary black value ramp to be defined, consisting of a starting value
733 (stle) for highlights, a breakpoint L value (stpo) where it starts to
734 transition to the shadow level, an end breakpoint L (enpo) where it flattens
735 out again, and the finishing black level (enle) for the shadows. There is
736 also a curve parameter, that modifies the transition from stle to enle to
737 either be concave (ie.&nbsp; the transition starts gradually and and
738 finished more abruptly) using values 0.0-1.0, with 0.0 being most concave,
739 or convex (the transition starts more abruptly but finishes gradually),
740 using values 1.0-2.0, with 2.0 being the most convex.<br>
741 <br>
742 Typical black value generation curve with parameters something like: -kp 0
743 .05 1 .9 .8<br>
744 <br>
745 <tt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0 K &nbsp; |
746 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;enpo<br>
747 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
748 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
749 &nbsp;&nbsp;
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765 &nbsp; &nbsp;_______&nbsp; enle<br>
766 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
767 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
768 &nbsp;
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784 &nbsp; &nbsp;/<br>
785 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
786 |&nbsp;&nbsp;&nbsp;&nbsp;
787 &nbsp;&nbsp;
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803 &nbsp; /<br>
804 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
805 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
806 &nbsp;
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822 &nbsp;/<br>
823 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
824 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
825 &nbsp;
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841 /<br>
842 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stle&nbsp; |
843 ------/<br>
844 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
845 &nbsp;&nbsp;&nbsp;&nbsp; +-------------------<br>
846 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0 K&nbsp;
847 0.0&nbsp;&nbsp;&nbsp; stpo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0<br>
848 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
849 White&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865 Black<br>
866 </tt><br>
867 <b><a name="kq"></a>-k q stle0 stpo0 enpo0 enle0 shape0 stle2 stpo2 enpo2
868 enle2 shape2</b> is a combination of the <b>-kv</b> and <b>-kp</b>
869 functionality, with the black being preserved in CMYK to CMYK linking, with
870 the output black constrained to be between the first and second set of curve
871 parameters.<br>
872 <br>
873 <a name="K"></a> <span style="font-weight: bold;">-K parameters.</span> Any
874 of the <span style="font-weight: bold;">-k</span> options above can use the
875 <span style="font-weight: bold;">-K</span> version, in which rather than an
876 absolute black value target being defined by the inking rule, the black
877 proportion out of the maximum possible for each color is defined. This makes
878 the inking curve scale proportionally over the gamut, rather than clipping
879 in dark chromatic regions where not much black can be added.<br>
880 <tt> </tt><span style="text-decoration: underline;"></span><br>
881 &nbsp;The <b>-g</b> flag can be used together with the <b>-fif</b> flag,
882 to plot out the resulting black channel behaviour for various <b>-k</b> or
883 <span style="font-weight: bold;">-K </span>parameter values.<br>
884 <br>
885 <b><a name="l"></a>-l</b> <i>tlimit</i>&nbsp; &nbsp;&nbsp; Sets the total
886 ink limit (TAC, Total Area Coverage) for the CMYK inverse forward lookup, as
887 a total percentage from 0% to 400%. If none is provided, it will be
888 estimated from the profile relcolor B2A table. The ink limit will be in
889 final raw device values if the profile includes calibration information.<br>
890 <br>
891 <b><a name="L"></a>-L</b> <i>klimit</i>&nbsp; &nbsp; Sets the black ink
892 limit for the CMYK inverse forward lookup, as a total percentage from 0% to
893 100%. If none is provided, it will be estimated from the profile relcolor
894 B2A table. The ink limit will be in final raw device values if the profile
895 includes calibration information in the .ti3 file in its 'targ' tag.<br>
896 <br>
897 <a name="Yc"></a>The <span style="font-weight: bold;">-Y c:</span><span style="font-style: italic;">file.cal</span>&nbsp;
898 parameter adds or overrides Calibration curves that will be used in the
899 computation of the total or black ink limit calculation. This allows the ink
900 limits to be computed in final raw device units.<br>
901
902
903 <br>
904 <a name="T"></a>If the <b>-T</b> flag is used, then for each device value
905 printed, the Total Area Coverage will be displayed.<span style="font-weight: bold;"></span><br>
906 <br>
907 <a name="a"></a> If the <b>-a</b> flag is used for inverse forward lookups,
908 then if the target PCS value cannot be reproduced by the device (ie. it
909 clips), then the achievable, clipped PCS value is displayed.<br>
910 <br>
911 <a name="b"></a> If the <b>-b</b> flag is used for inverse forward lookups,
912 then out of gamut clipping will be performed in the CIECAM02 Jab appearance
913 colorspace, rather than L*a*b* colorspace.<br>
914 <br>
915 <a name="m"></a> The <b>-m</b> flag turns on an internal processing option,
916 in which the per device curve lookup table processing is merged into the
917 main multi-dimensional interpolation lut lookup.<br>
918 <br>
919 <a name="c"></a>Whenever PCS values are to be specified or displayed in
920 Jab/CIECAM02 colorspace, a set of viewing conditions will be used to
921 determine the details of the conversion. The <b>-c</b> parameter allows the
922 specification of the viewing conditions. Viewing conditions can be specified
923 in two basic ways. One is to select from the list of "pre canned",
924 enumerated viewing conditions, choosing one that is closest to the
925 conditions that are appropriate for the media type and situation.
926 Alternatively, the viewing conditions parameters can be specified in detail
927 individually. If both methods are used, them the chosen enumerated condition
928 will be used as a base, and its parameters will then be individually
929 overridden.<br>
930 <br>
931 <a name="p1"></a> The final parameter is the name of the <a href="File_Formats.html#ICC">ICC</a>
932 profile to be used. On the MSWindows platform a .icm extension is generally
933 used, and on Apple or Unix/Linux platforms a .icc extension is often used.<br>
934 <h3>Usage and Discussion</h3>
935 Typical usage for an output profile might be:<br>
936 <br>
937 &nbsp;&nbsp;&nbsp; xicclu -ff -ip profile.icm<br>
938 <br>
939 Normally the program is interactive, allowing the user to type in input
940 color values, each number separated by a space, and the resulting output
941 color being looked up and displayed after pressing return. To batch process
942 a group of color values, prepare a text file containing each input value on
943 a separate line, and use the input indirection facilities of your command
944 line shell to redirect this input file into the standard input of xicclu.
945 The output can be captured to a file by redirecting standard output to a
946 file. In most shells this would be done something like this:<br>
947 <br>
948 &nbsp;&nbsp;&nbsp; xicclu -ff -ip profile.icm &lt; inputvalues.txt &gt;
949 outputvalues.txt<br>
950 <br>
951 <a name="xg"></a>When plotting the neutral axis behavior, plotting the
952 existing B2A table behavior would typically be done something like this:<br>
953 <br>
954 &nbsp;&nbsp;&nbsp; xicclu -g -fb profile.icm<br>
955 <br>
956 Exploring possible black generation and ink limiting behavior might be done
957 like this:<br>
958 <br>
959 &nbsp;&nbsp;&nbsp; xicclu -g -fif -kp 0 .1 .9 1 .5 -l230 -L95 profile.icm<br>
960 <br>
961 <br>
962 <br>
963 <br>
964 <br>
965 <br>
966 <br>
967 </body>
968 </html>