| 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>targen</title> |
| 6 |
<meta name="author" content="Graeme Gill"> |
| 7 |
</head> |
| 8 |
<body> |
| 9 |
<h2><b>target/targen</b></h2> |
| 10 |
<h3>Summary</h3> |
| 11 |
Generate a profiling test target values <a href="File_Formats.html#.ti1">.ti1</a> |
| 12 |
file. <b>targen</b> is used to generate the device channel test point |
| 13 |
values for grayscale, RGB, CMY, CMYK or N-color output or display devices. <br> |
| 14 |
<br> |
| 15 |
[ Note though that colprof will only create RGB, CMY or CMYK profiles. ]<br> |
| 16 |
<h3>Usage Summary</h3> |
| 17 |
<p><span style="font-family: monospace;">targen [options] <i>outfile</i><br> |
| 18 |
<a href="#v">-v [level]</a> Verbose mode [optional |
| 19 |
verbose level, 1..n]<br> |
| 20 |
<a href="#d">-d col_comb</a> choose colorant combination |
| 21 |
from the following:<br> |
| 22 |
0: |
| 23 |
Print |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
grey<br> |
| 33 |
1: |
| 34 |
Video |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
grey<br> |
| 44 |
2: |
| 45 |
Print |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
RGB<br> |
| 55 |
3: |
| 56 |
Video |
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
RGB<br> |
| 66 |
4: |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
CMYK<br> |
| 76 |
5: |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
CMY<br> |
| 86 |
6: |
| 87 |
CMYK |
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
+ Light CM<br> |
| 97 |
7: |
| 98 |
CMYK |
| 99 |
|
| 100 |
|
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
+ Light CMK<br> |
| 108 |
8: |
| 109 |
CMYK |
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
|
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
+ Red + Blue<br> |
| 119 |
9: |
| 120 |
CMYK |
| 121 |
|
| 122 |
|
| 123 |
|
| 124 |
|
| 125 |
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
+ Orange + Green<br> |
| 130 |
10: |
| 131 |
CMYK |
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
|
| 140 |
+ Red + Green + Blue<br> |
| 141 |
11: |
| 142 |
CMYK |
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
|
| 150 |
|
| 151 |
+ Orange + Green + Violet<br> |
| 152 |
12: |
| 153 |
CMYK |
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
|
| 162 |
+ Orange + Green + Blue<br> |
| 163 |
13: |
| 164 |
CMYK |
| 165 |
|
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
|
| 172 |
|
| 173 |
+ Light CMK + Light Light K<br> |
| 174 |
14: |
| 175 |
CMYK |
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
+ Orange + Green + Light CM<br> |
| 185 |
15: |
| 186 |
CMYK |
| 187 |
|
| 188 |
|
| 189 |
|
| 190 |
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
+ Light CM + Medium CM<br> |
| 196 |
<a href="#D">-D colorant</a> Add or delete colorant from |
| 197 |
combination:<br> |
| 198 |
0: |
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
Additive<br> |
| 208 |
1: |
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
Cyan<br> |
| 218 |
2: |
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
|
| 223 |
|
| 224 |
|
| 225 |
|
| 226 |
|
| 227 |
Magenta<br> |
| 228 |
3: |
| 229 |
|
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
Yellow<br> |
| 238 |
4: |
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
|
| 247 |
Black<br> |
| 248 |
5: |
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
|
| 256 |
|
| 257 |
Orange<br> |
| 258 |
6: |
| 259 |
|
| 260 |
|
| 261 |
|
| 262 |
|
| 263 |
|
| 264 |
|
| 265 |
|
| 266 |
|
| 267 |
Red<br> |
| 268 |
7: |
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
|
| 276 |
|
| 277 |
Green<br> |
| 278 |
8: |
| 279 |
|
| 280 |
|
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
|
| 286 |
|
| 287 |
Blue<br> |
| 288 |
9: |
| 289 |
|
| 290 |
|
| 291 |
|
| 292 |
|
| 293 |
|
| 294 |
|
| 295 |
|
| 296 |
|
| 297 |
Violet<br> |
| 298 |
10: |
| 299 |
|
| 300 |
|
| 301 |
|
| 302 |
|
| 303 |
|
| 304 |
|
| 305 |
|
| 306 |
|
| 307 |
White<br> |
| 308 |
11: |
| 309 |
Light |
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
|
| 314 |
|
| 315 |
|
| 316 |
|
| 317 |
|
| 318 |
Cyan<br> |
| 319 |
12: |
| 320 |
Light |
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
|
| 325 |
|
| 326 |
|
| 327 |
|
| 328 |
|
| 329 |
Magenta<br> |
| 330 |
13: |
| 331 |
Light |
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
|
| 338 |
|
| 339 |
|
| 340 |
Yellow<br> |
| 341 |
14: |
| 342 |
Light |
| 343 |
|
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
|
| 351 |
Black<br> |
| 352 |
15: |
| 353 |
Medium |
| 354 |
|
| 355 |
|
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
|
| 362 |
Cyan<br> |
| 363 |
16: |
| 364 |
Medium |
| 365 |
|
| 366 |
|
| 367 |
|
| 368 |
|
| 369 |
|
| 370 |
|
| 371 |
|
| 372 |
|
| 373 |
Magenta<br> |
| 374 |
17: |
| 375 |
Medium |
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
|
| 380 |
|
| 381 |
|
| 382 |
|
| 383 |
|
| 384 |
Yellow<br> |
| 385 |
18: |
| 386 |
Medium |
| 387 |
|
| 388 |
|
| 389 |
|
| 390 |
|
| 391 |
|
| 392 |
|
| 393 |
|
| 394 |
|
| 395 |
Black<br> |
| 396 |
19: |
| 397 |
Light |
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
|
| 402 |
|
| 403 |
|
| 404 |
|
| 405 |
|
| 406 |
Light Black<br> |
| 407 |
<a href="#G">-G</a> |
| 408 |
Generate |
| 409 |
good optimzed points rather than Fast<br> |
| 410 |
<a href="#e">-e patches</a> White color test patches |
| 411 |
(default 4)<br> |
| 412 |
<a href="#B">-B patches</a> Black test patches |
| 413 |
(default 4 Grey/RGB, else 0)<br> |
| 414 |
<a href="#s">-s steps</a> Single channel |
| 415 |
steps (default 0)<br> |
| 416 |
<a href="#g">-g steps</a> Gray axis RGB or |
| 417 |
CMY steps (default 0)<br> |
| 418 |
<a href="#n">-n steps</a> Neutral axis |
| 419 |
steps (based on profile, default 0)<br> |
| 420 |
<a href="#m">-m steps</a> Multidimensional |
| 421 |
device space cube steps (default 0)<br> |
| 422 |
<a href="#M">-M steps</a> Multidimensional |
| 423 |
device space cube surface steps (default 0)<br> |
| 424 |
<a href="#b">-b steps</a> Multidimensional |
| 425 |
body centered cubic steps (default 0)<br> |
| 426 |
<a href="#f">-f patches</a> Add iterative & |
| 427 |
adaptive full spread patches to total (default 836)<br> |
| 428 |
Default |
| 429 |
is |
| 430 |
|
| 431 |
|
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
|
| 437 |
|
| 438 |
Optimised Farthest Point Sampling (OFPS)<br> |
| 439 |
<a href="#t">-t</a> Use |
| 440 |
incremental |
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
|
| 445 |
|
| 446 |
|
| 447 |
|
| 448 |
|
| 449 |
far point for full spread<br> |
| 450 |
<a href="#r">-r</a> |
| 451 |
Use |
| 452 |
device space random for full spread<br> |
| 453 |
<a href="#R">-R</a> |
| 454 |
Use |
| 455 |
perceptual space random for full spread<br> |
| 456 |
<a href="#q">-q</a> |
| 457 |
Use |
| 458 |
device space-filling quasi-random for full spread<br> |
| 459 |
<a href="#Q">-Q</a> |
| 460 |
Use |
| 461 |
perceptual space-filling quasi-random for full spread<br> |
| 462 |
<a href="#i">-i</a> |
| 463 |
Use |
| 464 |
device space body centered cubic grid for full spread<br> |
| 465 |
<a href="#I">-I</a> |
| 466 |
Use |
| 467 |
perceptual space body centered cubic grid for full spread<br> |
| 468 |
<a href="#a">-a angle</a> Simplex grid |
| 469 |
angle 0.0 - 0.5 for B.C.C. grid, default 0.333300<br> |
| 470 |
<a href="#A">-A adaptation</a> Degree of adaptation of OFPS 0.0 - 1.0 |
| 471 |
(default 0.1, 1.0 if -c profile provided)<br> |
| 472 |
<a href="#t">-t</a> |
| 473 |
Use |
| 474 |
incremental far point for full spread (default iterative)<br> |
| 475 |
<a href="#l">-l ilimit</a> Total ink limit in |
| 476 |
%(default = none, or estimated from profile)<br> |
| 477 |
<a href="#T" moz-do-not-send="true">-T ilimit</a> |
| 478 |
Text and space total ink limit in % (default = same as -l)<br> |
| 479 |
<a href="#p">-p power</a> Optional |
| 480 |
power-like value applied to all device values.<br> |
| 481 |
<a href="#c">-c profile</a> Optional device ICC or MPP |
| 482 |
pre-conditioning profile filename<br> |
| 483 |
<a moz-do-not-send="true" href="#C">-C cal</a> |
| 484 |
|
| 485 |
Optional .cal filename that overrides any .cal in ICC 'targ' .ti3<br> |
| 486 |
|
| 487 |
|
| 488 |
(Use "none" to disable .cal use in estimating ink limit)<br> |
| 489 |
<a href="#N">-N emphasis</a> Degree of neutral axis patch |
| 490 |
concentration 0-1. (default 0.50)<br> |
| 491 |
<a href="#V">-V emphasis</a> dark region patch concentration |
| 492 |
1.0-4.0 (default 1.0 = none)<br> |
| 493 |
<a href="#F">-F L,a,b,rad</a> Filter out samples outside Lab |
| 494 |
sphere.<br> |
| 495 |
<a href="#O">-O</a> |
| 496 |
Don't |
| 497 |
re-order display RGB patches for minimum delay<br> |
| 498 |
<a href="#U">-U</a> |
| 499 |
Don't |
| 500 |
filter out duplicate patches</span><br> |
| 501 |
|
| 502 |
|
| 503 |
<span style="font-family: monospace;"><a href="#w">-w</a> |
| 504 |
Dump |
| 505 |
diagnostic outfile.x3d.html file (Lab locations)<br> |
| 506 |
<a href="#W">-W</a> |
| 507 |
Dump |
| 508 |
diagnostic outfile.x3d.html file (Device locations)<br> |
| 509 |
<i><a href="#p1">outfile</a></i> |
| 510 |
Base name for output(.ti1) </span> |
| 511 |
</p> |
| 512 |
<h3>Usage Details and Discussion<br> |
| 513 |
</h3> |
| 514 |
The number of target patches needs to be chosen, depending on the media |
| 515 |
size, the type of device, and the quality of profile required. For an inkjet |
| 516 |
device, something like 3000 test points or more is desirable for high |
| 517 |
quality profiles, while 500-1000 will probably suffice for a medium quality |
| 518 |
profile. A few hundred may be sufficient for a preliminary profile. Well |
| 519 |
behaved printing devices (such as a chemical proof, or a high quality |
| 520 |
printing press) may produce good profiles with 1000 to 2000 test points. |
| 521 |
Well behaved RGB devices such as CRT monitors may need only a few hundred |
| 522 |
points, if a shaper/matrix type profile is to be produced, while pseudo RGB |
| 523 |
printers, or other RGB devices that a CLUT type profile may be used with, |
| 524 |
should probably choose somewhere between 500 and 3000 patches. For 'N' color |
| 525 |
profile creation, 3000 or more test points should probably be used.<br> |
| 526 |
<br> |
| 527 |
<a name="v"></a> The <b>-v</b> flag turns on extra verbosity when |
| 528 |
generating patch values. Extra diagnostics and verbosity may be available if |
| 529 |
a parameter is provided with a value greater than 1.<br> |
| 530 |
<br> |
| 531 |
<a name="d"></a> The <b>-d</b> parameter sets the colorspace the test |
| 532 |
values will be generated in. Video gray space is assumed to be an additive |
| 533 |
space, where a zero device value will be black, and a maximum device value |
| 534 |
will be white. A print gray space is assumed to be a subtractive space, in |
| 535 |
which a zero device value will be white, and a maximum device value will be |
| 536 |
black. If no colorspace is specified, subtractive CMYK is assumed as a |
| 537 |
default.<br> |
| 538 |
<br> |
| 539 |
<a name="D"></a> The <b>-D</b> parameter modifies the colorspace set by <span |
| 540 |
style="font-weight: bold;">-d</span> by allowing individual colorants to |
| 541 |
be added or subtracted from the colorspace.<br> |
| 542 |
<br> |
| 543 |
<a name="G"></a> The <b>-G</b> flag changes the Optimized Far Point |
| 544 |
Distribution (OFPS) algorithm from fast to good mode. Fast mode uses a |
| 545 |
limited number of iterations to optimize the patch locations, while good |
| 546 |
mode strives for a more even patch distribution by using more iterations.<br> |
| 547 |
<br> |
| 548 |
The composition of the test patches is controlled by the following flags and |
| 549 |
parameters:<br> |
| 550 |
<br> |
| 551 |
<a name="e"></a> The <b>-e</b> parameter sets the number of white colored |
| 552 |
test patches, defaulting to 4 if the -e flag isn't used. The white patches |
| 553 |
are usually very important in establishing white point that the ICC data is |
| 554 |
made relative to, so it improves robustness to use more than a single point.<br> |
| 555 |
<br> |
| 556 |
<a name="B"></a> The <b>-B</b> parameter sets the number of black colored |
| 557 |
test patches, defaulting to 4 if the -B flag isn't used and the colorspace |
| 558 |
is grey or RGB. The black point can be very important for characterizing |
| 559 |
additive color spaces, so measuring more than one black patch improves |
| 560 |
robustness over measuring just a single point.<br> |
| 561 |
<br> |
| 562 |
<a name="s"></a> The <b>-</b><b>s</b> parameter sets the number of patches |
| 563 |
in a set of per colorant wedges. The steps are evenly spaced in device space |
| 564 |
by default, and the total number of test patches will be the number of |
| 565 |
colorants times the value specified with the -s flag. If the <span style="font-weight: bold;">-p</span> |
| 566 |
parameter is provided, then, then the steps will be distributed according to |
| 567 |
the power value. e.g. the option <span style="font-weight: bold;">-s 5</span> |
| 568 |
will generate steps at 0.0 0.25 0.5 0.75 and 1.0, while the option <span style="font-weight: |
| 569 |
bold;">-s 5 -p 2.0</span> will generate steps at 0.0 0.0625 0.25 0.5625 |
| 570 |
and 1.0. By default, no per colorant test wedge values are generated. When |
| 571 |
creating a test chart for a device that will be used as a source colorspace, |
| 572 |
it is often useful to generated some per colorant wedge values.<br> |
| 573 |
<br> |
| 574 |
<a name="g"></a> The <b>-g</b> parameter sets the number of patches in a |
| 575 |
set of combined (nominally gray) wedges. This will typically be equal RGB or |
| 576 |
CMY values, and by default will be equally spaced steps in device space. If |
| 577 |
the <span style="font-weight: bold;">-p</span> parameter is provided, then, |
| 578 |
then the steps will be distributed according to the power value. e.g. the |
| 579 |
option <span style="font-weight: bold;">-g 5</span> will generate steps at |
| 580 |
0.0 0.25 0.5 0.75 and 1.0, while the option <span style="font-weight: |
| 581 |
bold;">-g 5 -p 2.0</span> will generate steps at 0.0 0.0625 0.25 0.5625 |
| 582 |
and 1.0. By default, no gray combination values are generated. When creating |
| 583 |
a test chart for a device that will be used as a source colorspace, it is |
| 584 |
often useful to generated some per colorant wedge values.<br> |
| 585 |
<br> |
| 586 |
<a name="n"></a>The <b>-n</b> parameter sets the number of patches in a set |
| 587 |
of neutral axis wedge steps. This uses the <a href="#c">pre-conditioning |
| 588 |
profile</a>, to lookup the assumed neutral axis device values. By default, |
| 589 |
no neutral axis values are generated. If you have a previous profile for a |
| 590 |
device as a reference, adding some neutral axis values can improve the |
| 591 |
neutral axis rendering of the subsequent profiles. A good number to start |
| 592 |
with the the cube root of the total number of patches. Too higher density of |
| 593 |
<b>-n</b> patches will tend to cause full spread patches to keep their |
| 594 |
distance.<br> |
| 595 |
<br> |
| 596 |
<a name="m"></a> The <b>-m</b> parameter sets the edge size of the |
| 597 |
multidimensional grid of test values. The total number of patches of this |
| 598 |
type will be the -m parameter value to the power of the number of colorants. |
| 599 |
The grid steps are evenly spaced in device space by default, but if the <span |
| 600 |
style="font-weight: bold;">-p</span> parameter is provided, then, then the |
| 601 |
steps will be distributed according to the power value. e.g. the option <span |
| 602 |
style="font-weight: bold;">-m 5</span> will generate steps at 0.0 0.25 0.5 |
| 603 |
0.75 and 1.0, while the option <span style="font-weight: |
| 604 |
bold;">-m 5 -p 2.0</span> will generate steps at 0.0 0.0625 0.25 0.5625 |
| 605 |
and 1.0. By default, all the device primary color combinations that fall |
| 606 |
within the ink limit are generated.<br> |
| 607 |
<br> |
| 608 |
<a name="M"></a>Similarly to the <a href="#m">-m</a> parameter, the <b>-M</b> |
| 609 |
parameter sets the edge size of the multidimensional grid of test values, |
| 610 |
but where only the surface points of the cube is generated. These may be |
| 611 |
useful for exploring just the expected gamut surface of a space.<br> |
| 612 |
<br> |
| 613 |
<a name="b"></a> The <b>-b</b> parameter sets the outer edge size of the |
| 614 |
multidimensional body centered grid of test values. The total number of |
| 615 |
patches of this type will be the -b parameter value to the power of the |
| 616 |
number of colorants plus the (number-1) to the power of the number of |
| 617 |
colorants. The grid steps are evenly spaced in device space by default, but |
| 618 |
if the <span style="font-weight: bold;">-p</span> parameter is provided, |
| 619 |
then, then the steps will be distributed according to the power value. A |
| 620 |
body centered grid is a regular grid (see <b>-m</b>) with another smaller |
| 621 |
regular grid within it, at the centers of the outer grid. This grid |
| 622 |
arrangement is more space efficient than a regular grid (ie. for a given |
| 623 |
number of test points, it fills the space better.)<br> |
| 624 |
<br> |
| 625 |
The behavior of the <b>-e</b>, <b>-s</b>, <b>-g</b> <b>-m </b>and <b>-b</b> |
| 626 |
flags, is not to duplicate test values already created by a previous type.<br> |
| 627 |
<br> |
| 628 |
<a name="f"></a> The <b>-f</b> parameter sets the number of full spread |
| 629 |
test patches. Full spread patches are distributed according to the default |
| 630 |
or chosen algorithm. The default algorithm will optimize the point locations |
| 631 |
to minimize the distance from any point in device space, to the nearest |
| 632 |
sample point. This is called Optimized Farthest Point Sampling (OFPS) . This |
| 633 |
can be overridden by specifying the <b>-t. -r, -R, -q, -i or -I</b> flags. |
| 634 |
If the default OFPS algorithm is used, then adaptive test point distribution |
| 635 |
can be fully enabled by supplying a previous or typical profile with the <span |
| 636 |
style="font-weight: bold;">-c</span> option. The total number patches |
| 637 |
specified will include any patches generated using the <b>-e</b>, <b>-s</b>, |
| 638 |
<b>-g</b> <b>-m</b> and <b>-b</b> flags (i.e. full spread patches will be |
| 639 |
added to bring the total number of patches including those generated using |
| 640 |
the <b>-e</b>, <b>-s</b>, <b>-g</b> <b>-m </b>and <b>-b</b> flags up |
| 641 |
to the specified number). When there are more than four device channels, the |
| 642 |
full spread distribution algorithm can't deal with so many dimensions, and <b>targen</b> |
| 643 |
falls back on an incremental far point distribution algorithm by default, |
| 644 |
that doesn't generate such evenly spread points. This behaviour can be |
| 645 |
forced using the <b>-t</b> flag. A <a href="#Table">table</a> of useful |
| 646 |
total patch counts for different paper sizes is shown below. Note that it's |
| 647 |
occasionally the case that the OFPS algorithm will fail to complete, or make |
| 648 |
very slow progress if the <span style="font-weight: bold;">-c</span> |
| 649 |
profile is poor, non-smooth, or has unusual behaviour. In these cases a |
| 650 |
different algorithm should be chosen (ie. <span style="font-weight: bold;">-Q</span> |
| 651 |
or <span style="font-weight: bold;">-I</span>), or perhaps a smoother or |
| 652 |
lower resolution ("quality") previous profile may overcome the problem. <br> |
| 653 |
<br> |
| 654 |
<a name="t"></a> The <b>-t</b> flag overrides the default full spread test |
| 655 |
patch algorithm, and makes use of the Incremental Far Point Distribution |
| 656 |
algorithm, which incrementally searches for test points that are as far away |
| 657 |
as possible from any existing points. This is used as the default for |
| 658 |
dimensions higher than 4.<br> |
| 659 |
<br> |
| 660 |
<a name="r"></a> The <b>-r</b> flag overrides the default full spread test |
| 661 |
patch algorithm, and chooses test points with an even random distribution in |
| 662 |
device space.<br> |
| 663 |
<br> |
| 664 |
<a name="R"></a> The <b>-R</b> flag overrides the default full spread test |
| 665 |
patch algorithm, and chooses test points with an even random distribution in |
| 666 |
perceptual space.<br> |
| 667 |
<br> |
| 668 |
<a name="q"></a> The <b>-q</b> flag overrides the default full spread test |
| 669 |
patch algorithm, and chooses test points with a quasi-random, space filling |
| 670 |
distribution in device space.<br> |
| 671 |
<br> |
| 672 |
<a name="Q"></a> The <b>-Q</b> flag overrides the default full spread test |
| 673 |
patch algorithm, and chooses test points with a quasi-random, space filling |
| 674 |
distribution in perceptual space.<br> |
| 675 |
<br> |
| 676 |
<a name="i"></a> The <b>-i</b> flag overrides the default full spread test |
| 677 |
patch algorithm, and chooses test points with body centered cubic |
| 678 |
distribution in device space.<br> |
| 679 |
<br> |
| 680 |
<a name="I"></a> The <b>-I</b> flag overrides the default full spread test |
| 681 |
patch algorithm, and chooses test points with body centered cubic |
| 682 |
distribution in perceptual space.<br> |
| 683 |
<br> |
| 684 |
<a name="a"></a> The <b>-a <i>angle</i></b> parameter sets the overall |
| 685 |
angle that the body centered grid distribution has.<br> |
| 686 |
<br> |
| 687 |
<a name="A"></a> The <b>-A <i>adaptation</i></b> parameter sets the degree |
| 688 |
of adaptation to the known device characteristics, used by the default full |
| 689 |
spread OFPS algorithm. A profile should be provided using the <span style="font-weight: bold;">-c</span> |
| 690 |
parameter if <span style="font-weight: bold; font-style: italic;">adaptation</span> |
| 691 |
is set above a low level. By default the adaptation is 0.1 (low), and 1.0 |
| 692 |
(maximum) if <span style="font-weight: bold;">-c profile</span> is |
| 693 |
provided, but these defaults can be overridden using this option. For |
| 694 |
instance, if the <span style="font-weight: bold;">-c profile</span> doesn't |
| 695 |
represent the device behavior very well, a lower adaption than 1.0 might be |
| 696 |
appropriate.<br> |
| 697 |
For CMYK colorspace, a default of 0.5 (medium) is set, to permit some |
| 698 |
lightness compensation to be applied to shift the average lightness level |
| 699 |
closer to that of the CMY gamut, even if no profile is supplied.<br> |
| 700 |
<br> |
| 701 |
<a name="l"></a> The <b>-l</b> flag and parameter sets a total ink limit |
| 702 |
(Total Area Coverage or TAC), which is adhered to for all the generated |
| 703 |
points. It is generally good practice to set a test chart ink limit at least |
| 704 |
10% higher than the ink limit that will be applied when making the resulting |
| 705 |
profile. In the case of device cube points, this can generate extra test |
| 706 |
values that lie at the ink limit boundary. For gray wedge values, any that |
| 707 |
exceed the ink limit are omitted. Full spread test values are all generated |
| 708 |
to lie within the ink limit. Although it doesn't make much sense, this |
| 709 |
parameter has an affect on additive device spaces (such as RGB), but should |
| 710 |
not normally be used with such devices. The total ink limit value will be |
| 711 |
written to the .ti1 file, and carried through automatically to the .ti3 |
| 712 |
file, so that it can be used during profile creation. If a profile is |
| 713 |
provided using the <span style="font-weight: bold;">-c</span> flag, then |
| 714 |
this will be used to estimate an ink limit, if none is provided with the <span |
| 715 |
style="font-weight: bold;">-l</span> flag.<br> |
| 716 |
Ink limits are, as far as possible, always in final raw device values, and |
| 717 |
the calibration curves within the .ti3 data included in the 'targ' tag from |
| 718 |
the profile provided to the <span style="font-weight: bold;">-c</span> |
| 719 |
option will be used to estimate the equivalent limit in the underlying |
| 720 |
pre-calibration device space values that targen creates.<br> |
| 721 |
<br> |
| 722 |
<a name="T"></a>The <b>-T</b> parameter is similar to the <b>-I</b> |
| 723 |
parameter, but applies a different total ink limit to the non-patch elements |
| 724 |
of the test chart created by printtarg. The default is the same as the test |
| 725 |
patch limit.<br> |
| 726 |
<br> |
| 727 |
<a name="p"></a> The <b>-p</b> flag and parameter sets a power-like value |
| 728 |
applied to all of the device values after they are generated, <span style="font-weight: bold;"></span><span |
| 729 |
style="font-weight: |
| 730 |
bold;"></span>the spacer colors. This can be useful in creating |
| 731 |
calibration charts for very non-linearly behaved devices. A value greater |
| 732 |
than 1.0 will cause a tighter spacing of test values near device value 0.0, |
| 733 |
while a value less than 1.0 will cause a tighter spacing near device value |
| 734 |
1.0. <span style="font-weight: bold;">printcal</span> will recommend a |
| 735 |
power-like value if the verbose option is used. [ <span style="font-weight: bold;">Note</span> |
| 736 |
that for Print RGB space this is reversed, since internally a Print RGB |
| 737 |
space is treated as a CMY space. ]. <span style="font-weight: bold;">Note</span> |
| 738 |
that the device model used to create the expected patch values will not take |
| 739 |
into account the applied power, nor will the more complex full spread |
| 740 |
algorithms correctly take into account the power in generating values up to |
| 741 |
the ink limits. (A power-like function is used, to avoid the excessive |
| 742 |
compression that a real power function would apply).<br> |
| 743 |
<br> |
| 744 |
<a name="c"></a> The <b>-c</b> flag and parameter is used to specify an <a |
| 745 |
href="File_Formats.html#ICC">ICC</a> or <a href="File_Formats.html#MPP">MPP</a> |
| 746 |
pre-conditioning profile, for estimating perceptual distances and colorspace |
| 747 |
curvature, used in optimizing the full spread test point placement, or in |
| 748 |
creating perceptually spaced distributions. Normally a previous profile for |
| 749 |
this or a similar device will be used, or a simpler, preliminary profile |
| 750 |
will be created and used. If no such profile is specified, a default device |
| 751 |
space model is used. Note that this will only have an effect if an algorithm |
| 752 |
that uses perceptual placement (such as <span style="font-weight: bold;">-R, |
| 753 |
-Q, -I</span> or the default OFPS with an <span style="font-weight: bold;">-A</span> |
| 754 |
value > 0.0) is being used. The perceptual values are written to the .ti1 |
| 755 |
file to enable patch location recognition. If the profile contains .ti3 data |
| 756 |
included in the 'targ' tag, and this .ti3 contains calibration curves, then |
| 757 |
these will be used to estimate the equivalent limit in the ICC profile |
| 758 |
underlying pre-calibration device space values that targen creates. Use the |
| 759 |
name "<b>none</b>" to turn off the default pre-conditioning used when no |
| 760 |
profile is provided.<br> |
| 761 |
<br> |
| 762 |
<a name="C"></a> The <b>-C</b> flag and parameter is used to specify <a href="File_Formats.html#.cal" |
| 763 |
moz-do-not-send="true">.cal</a> calibration curves, that will override any |
| 764 |
calibration curves found in the ICC profile 'targ' .ti3 data, and will be |
| 765 |
used for estimating the equivalent limit in the ICC profile underlying |
| 766 |
pre-calibration device space values that targen creates. Use "<b>none</b>" |
| 767 |
to to disable .cal use in estimating the underlying ink limit from the ICC |
| 768 |
profile.<br> |
| 769 |
<br> |
| 770 |
<a name="N"></a> The <b>-N emphasis</b> parameter allows changing the |
| 771 |
degree to which the patch distribution should emphasise the neutral axis. |
| 772 |
Since the neutral axis is regarded as the most visually critical are of the |
| 773 |
color space, it can help maximize the quality of the resulting profile to |
| 774 |
place more measurement patches in this region. This emphasis <b>is only |
| 775 |
effective</b> for perceptual patch distributions, and for the default OFPS |
| 776 |
distribution if the <a href="#A">adaptation</a> parameter is set to a high |
| 777 |
value. It is also most effective when a <a href="#c">pre-conditioning</a> |
| 778 |
profile is provided, since this is the only way that neutral can be |
| 779 |
determined. The default value of 0.5 provides an affect about twice the |
| 780 |
emphasis of the CIE94 Delta E formula.<br> |
| 781 |
<br> |
| 782 |
<a name="V"></a> The <b>-V emphasis</b> parameter allows changing the |
| 783 |
degree to which the patch distribution should emphasis dark region of the |
| 784 |
device response. Display devices used for video or film reproduction are |
| 785 |
typically viewed in dark viewing environments with no strong white |
| 786 |
reference, and typically employ a range of brightness levels in different |
| 787 |
scenes. This often means that the devices dark region response is of |
| 788 |
particular importance, so increasing the relative number of sample points in |
| 789 |
the dark region may improved the balance of accuracy of the resulting |
| 790 |
profile for video or film reproduction. This emphasis <b>is only effective</b> |
| 791 |
for perceptual patch distributions where a <a href="targen.html#c">pre-conditioning</a> |
| 792 |
profile is provided or the <a href="#A" moz-do-not-send="true">adaptation</a> |
| 793 |
parameter is set to a high value. The default value of 1.0 provides no |
| 794 |
emphasis of the dark regions. A value somewhere around <b>1.5 - 2.0</b> is |
| 795 |
a good place to start for video profile use. A scaled down version of the -V |
| 796 |
parameter will be passed on through the .ti3 file to colprof where it will |
| 797 |
set a default value for the corresponding <a href="colprof.html#V">colprof |
| 798 |
-V</a> parameter. Note that increasing the proportion of dark |
| 799 |
patches will typically lengthen the time that an instrument takes to read |
| 800 |
the whole chart. Emphasizing the dark region characterization will reduce |
| 801 |
the accuracy of measuring and modelling the lighter regions, given a fixed |
| 802 |
number of test points and profile quality/grid resolution. The parameter |
| 803 |
will also be used in an analogous way to the <small><a href="targen.html#p">-p |
| 804 |
power</a> value in changing the distribution of </small><small><a href="targen.html#s">-s |
| 805 |
steps</a>, </small><small><a href="targen.html#g">-g steps</a>, </small><small><a |
| 806 |
href="targen.html#m">-m steps</a></small> and <small><small><a href="targen.html#b">-b |
| 807 |
steps</a></small></small> patches.<br> |
| 808 |
<br> |
| 809 |
<a name="F"></a> The <b>-F</b> flag and parameters is used to define an |
| 810 |
L*a*b* sphere to filter the test points through. Only test points within the |
| 811 |
sphere (defined by it's center and radius) will be written to the .ti1 file. |
| 812 |
This can be good for targeting supplemental test points at a troublesome |
| 813 |
area of a device. The accuracy of the L*a*b* target will be best when the <span |
| 814 |
style="font-weight: bold;">-c</span> option is used to specify a |
| 815 |
reasonably accurate profile for the device. Note that the actual number of |
| 816 |
points generated can be hard to predict, and will depend on the type of |
| 817 |
generation used. All means of generating points except the -f N & -r, -R |
| 818 |
and -q will generate a smaller number of test points than expected. If the |
| 819 |
-f N & -r, -R and -q methods are used, then the target number of points |
| 820 |
will be achieved. For this reason, the -f N -q method is probably the |
| 821 |
easiest to use.<br> |
| 822 |
<br> |
| 823 |
<a name="O"></a> The <b>-O</b> flag disables the normal patch re-ordering |
| 824 |
used for display RGB sets. Displays are assumed to have a "settling time", |
| 825 |
and the delay needed for this settling time can be minimzed by sort the |
| 826 |
patches so that they are in an order which minimizes the change in levels |
| 827 |
between patches. <b>-O</b> disables this re-ordering, leaving the patches |
| 828 |
in whatever order they were generated.<br> |
| 829 |
<br> |
| 830 |
<a name="U"></a> The <b>-U</b> flag disables the normal filtering out of |
| 831 |
duplicate patches.<br> |
| 832 |
<br> |
| 833 |
|
| 834 |
|
| 835 |
<a name="w"></a> The <b>-w</b> flag causes a diagnostic <a href="File_Formats.html#X3DOM">X3DOM</a> |
| 836 |
.x3d.html file to be created, in which the test points are plotted as small |
| 837 |
spheres in L*a*b* colorspace. Note that for a CMYK device, the point spacing |
| 838 |
may seem strange, since the extra K dimension is compressed into the 3 |
| 839 |
dimensional L*a*b* space. <a name="W"></a>If the <span style="font-weight: bold;">-W</span> |
| 840 |
flag is given, the plot will be in device space, with only the first 3 |
| 841 |
dimensions of each point being plotted.<br> |
| 842 |
<br> |
| 843 |
<a name="p1"></a> The final parameter on the command line is the base |
| 844 |
filename for the <a href="File_Formats.html#.ti1">.ti1</a> output file. <b>targen</b> |
| 845 |
will add the .ti1 extension automatically.<br> |
| 846 |
<br> |
| 847 |
Some typical total patch number/paper size combinations are shown below. |
| 848 |
These "magic" numbers are found by using <a href="printtarg.html">printtarg</a> |
| 849 |
to compute the row length and number of rows, and then adjusting the total |
| 850 |
number of patches to fill the last row or paper size, in a trial and error |
| 851 |
fashion.<br> |
| 852 |
<br> |
| 853 |
Note that some people create charts with larger numbers of patches for the |
| 854 |
ColorMunki by altering an Eye-One Pro chart, and making scanning jigs to |
| 855 |
guide the instrument more accurately. This may reduce patch reading accuracy |
| 856 |
unless suitable care is taken.<br> |
| 857 |
<br> |
| 858 |
<a name="Table"></a> Size (mm/Standard Name), No. |
| 859 |
Patches<br> |
| 860 |
<br> |
| 861 |
DTP20:<br> |
| 862 |
<br> |
| 863 |
1 x A4 540<br> |
| 864 |
2 x A4 1080<br> |
| 865 |
3 x A4 1620<br> |
| 866 |
4 x A4 2160<br> |
| 867 |
<br> |
| 868 |
1 x Letter 570<br> |
| 869 |
2 x Letter 1140<br> |
| 870 |
3 x Letter 1710<br> |
| 871 |
4 x Letter 2280<br> |
| 872 |
<br> |
| 873 |
DTP 22:<br> |
| 874 |
<br> |
| 875 |
1 x A4 782<br> |
| 876 |
2 x A4 1564<br> |
| 877 |
<br> |
| 878 |
1 x Letter 736<br> |
| 879 |
2 x Letter 1472<br> |
| 880 |
<br> |
| 881 |
DTP41:<br> |
| 882 |
<br> |
| 883 |
1 x A4 |
| 884 |
375<br> |
| 885 |
2 x A4 |
| 886 |
750<br> |
| 887 |
3 x A4 |
| 888 |
1125<br> |
| 889 |
4 x A4 |
| 890 |
1500<br> |
| 891 |
<br> |
| 892 |
1 x Letter |
| 893 |
345<br> |
| 894 |
2 x Letter |
| 895 |
690<br> |
| 896 |
3 x Letter |
| 897 |
1035<br> |
| 898 |
4 x Letter |
| 899 |
1380<br> |
| 900 |
<br> |
| 901 |
1 x A3 |
| 902 |
836<br> |
| 903 |
2 x A3 |
| 904 |
1672<br> |
| 905 |
<br> |
| 906 |
1 x 11x17 |
| 907 |
780<br> |
| 908 |
2 x 11x17 |
| 909 |
1560<br> |
| 910 |
<br> |
| 911 |
<br> |
| 912 |
DTP51:<br> |
| 913 |
<br> |
| 914 |
1 x A4 |
| 915 |
266<br> |
| 916 |
2 x A4 |
| 917 |
532<br> |
| 918 |
3 x A4 |
| 919 |
798<br> |
| 920 |
4 x A4 |
| 921 |
1064<br> |
| 922 |
<br> |
| 923 |
1 x Letter |
| 924 |
252<br> |
| 925 |
2 x Letter |
| 926 |
504<br> |
| 927 |
3 x Letter |
| 928 |
756<br> |
| 929 |
4 x Letter |
| 930 |
1008<br> |
| 931 |
<br> |
| 932 |
1 x A3 |
| 933 |
580<br> |
| 934 |
2 x A3 |
| 935 |
1160<br> |
| 936 |
<br> |
| 937 |
1 x 11x17 570<br> |
| 938 |
2 x 11x17 1140<br> |
| 939 |
<br> |
| 940 |
SpectroScan with square patches:<br> |
| 941 |
<br> |
| 942 |
1 x A4R 1014<br> |
| 943 |
2 x A4R 2028<br> |
| 944 |
3 x A4R 3042<br> |
| 945 |
4 x A4R 4056<br> |
| 946 |
<br> |
| 947 |
1 x LetterR 999<br> |
| 948 |
2 x LetterR 1998<br> |
| 949 |
3 x LetterR 2997<br> |
| 950 |
4 x LetterR 3996<br> |
| 951 |
<br> |
| 952 |
SpectroScan with hexagonal patches:<br> |
| 953 |
<br> |
| 954 |
1 x A4R 1170<br> |
| 955 |
2 x A4R 2340<br> |
| 956 |
3 x A4R 3510<br> |
| 957 |
4 x A4R 4680<br> |
| 958 |
<br> |
| 959 |
1 x LetterR 1092<br> |
| 960 |
2 x LetterR 2184<br> |
| 961 |
3 x LetterR 3276<br> |
| 962 |
4 x LetterR 4368<br> |
| 963 |
<br> |
| 964 |
Eye-One Pro:<br> |
| 965 |
<br> |
| 966 |
1 x A4 441<br> |
| 967 |
2 x A4 882<br> |
| 968 |
3 x A4 1323<br> |
| 969 |
4 x A4 1764<br> |
| 970 |
<br> |
| 971 |
1 x Letter 462<br> |
| 972 |
2 x Letter 924<br> |
| 973 |
3 x Letter 1386<br> |
| 974 |
4 x Letter 1848<br> |
| 975 |
<br> |
| 976 |
ColorMunki:<br> |
| 977 |
<br> |
| 978 |
1 x A4 |
| 979 |
90<br> |
| 980 |
2 x A4 180<br> |
| 981 |
3 x A4 |
| 982 |
270<br> |
| 983 |
4 x A4 |
| 984 |
360<br> |
| 985 |
<br> |
| 986 |
1 x Letter 98<br> |
| 987 |
2 x Letter 196<br> |
| 988 |
3 x Letter 294<br> |
| 989 |
4 x Letter 392<br> |
| 990 |
<br> |
| 991 |
ColorMunki -h:<br> |
| 992 |
<br> |
| 993 |
1 x A4 210<br> |
| 994 |
2 x A4 420<br> |
| 995 |
3 x A4 630<br> |
| 996 |
4 x A4 840<br> |
| 997 |
<br> |
| 998 |
1 x Letter 196<br> |
| 999 |
2 x Letter 392<br> |
| 1000 |
3 x Letter 588<br> |
| 1001 |
4 x Letter 784<br> |
| 1002 |
<br> |
| 1003 |
Scanner (printtarg with -iSS -s options):<br> |
| 1004 |
<br> |
| 1005 |
1 x A4R 1014<br> |
| 1006 |
2 x A4R 2028<br> |
| 1007 |
3 x A4R 3042<br> |
| 1008 |
4 x A4R 4056<br> |
| 1009 |
<br> |
| 1010 |
1 x LetterR 962<br> |
| 1011 |
2 x LetterR 1924<br> |
| 1012 |
3 x LetterR 2886<br> |
| 1013 |
4 x LetterR 3848<br> |
| 1014 |
<br> |
| 1015 |
<br> |
| 1016 |
<br> |
| 1017 |
<br> |
| 1018 |
<br> |
| 1019 |
<br> |
| 1020 |
<br> |
| 1021 |
<br> |
| 1022 |
<br> |
| 1023 |
</body> |
| 1024 |
</html> |