1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>targen</title>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<meta name="author" content="Graeme Gill">
</head>
<body>
<h2><b>target/targen</b></h2>
<h3>Summary</h3>
Generate a profiling test target values <a
href="File_Formats.html#.ti1">.ti1</a> file. <b>targen</b>
is used to generate the device channel test point values for
grayscale, RGB, CMY, CMYK or N-color output or display
devices.
<h3>Usage Summary</h3>
<small><span style="font-family: monospace;">targen [options]
outfile</span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#v">-v [level]</a><span
style="font-family: monospace;">
Verbose mode [optional verbose level, 1..n]</span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#d">-d col_comb</a><span
style="font-family: monospace;"> choose
colorant combination from the following:</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
0: Print grey</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
1: Video grey</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
2: Print RGB</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
3: Video RGB</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
4: CMYK<br>
5: CMY<br style="font-family: monospace;">
</span><span style="font-family: monospace;">
6: CMYK +
Light CM</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
7:
CMYK + Light CMK</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
8:
CMYK
+
Red
+ Blue</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
9: CMYK +
Orange + Green</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
10: CMYK + Light CMK
+ Light Light K</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
11: CMYK +
Orange + Green + Light CM</span><br style="font-family:
monospace;">
<span style="font-family: monospace;">
12:
CMYK + Light CM + Medium CM</span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#D">-D colorant</a><span
style="font-family: monospace;"> Add or
delete colorant from combination:</span><br style="font-family:
monospace;">
<span style="font-family: monospace;">
0: Additive</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
1: Cyan</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
2:
Magenta</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
3:
Yellow</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
4: Black</span><br
style="font-family: monospace;">
<span style="font-family: monospace;">
5:
Orange</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
6: Red</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
7: Green</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
8: Blue</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
9: White</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
10: Light Cyan</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
11: Light Magenta</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
12: Light Yellow</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
13: Light Black</span><br style="font-family:
monospace;">
<span style="font-family: monospace;">
14: Medium Cyan</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
15: Medium Magenta</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
16: Medium Yellow</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
17:
Medium Black</span><br style="font-family: monospace;">
<span style="font-family: monospace;">
18: Light
Light Black<br>
<a href="#G">-G</a>
Generate good optimzed points rather than Fast<br
style="font-family: monospace;">
</span><span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#e">-e patches</a><span
style="font-family: monospace;"> White
color test patches (default 4)</span></small><br
style="font-family: monospace;">
<small><span style="font-family: monospace;"><small><span
style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#B">-B patches</a><span
style="font-family: monospace;">
Black test patches (default 4 Grey/RGB, else 0)<br>
</span></small></span> <span style="font-family:
monospace;"></span><a style="font-family: monospace;" href="#s">-s
steps</a><span style="font-family: monospace;">
Single channel steps (default 0)</span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#g">-g steps</a><span
style="font-family: monospace;">
Gray
axis
RGB
or
CMY
steps
(default
0)</span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#m">-m steps</a><span
style="font-family: monospace;">
Multidimensional device space cube steps (default 0)</span></small><br
style="font-family: monospace;">
<small><span style="font-family: monospace;"><small><span
style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#b">-b steps</a><span
style="font-family: monospace;">
Multidimensional body centered cubic steps (default 0)<br>
</span></small></span> <span style="font-family:
monospace;"></span><a style="font-family: monospace;" href="#f">-f
patches</a><span style="font-family: monospace;">
Add iterative & adaptive full spread patches to total
(default 836)<br>
Default is Optimised Farthest Point Sampling (OFPS)<br
style="font-family: monospace;">
</span><span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#t">-t</a><span
style="font-family: monospace;">
Use
incremental
far
point
for
full spread</span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#r">-r</a><span
style="font-family: monospace;">
Use
device
space
random
for
full spread</span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#R">-R</a><span
style="font-family: monospace;">
Use
perceptual
space
random
for
full spread</span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#q">-q</a><span
style="font-family: monospace;">
Use
device
space-filling
quasi-random
for
full spread<br>
</span></small><small><span style="font-family: monospace;">
</span><a style="font-family: monospace;" href="#Q">-Q</a><span
style="font-family: monospace;">
Use perceptual space-filling quasi-random for full
spread</span></small><br style="font-family: monospace;">
<small><span style="font-family: monospace;"></span><span
style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#i">-i</a><span
style="font-family: monospace;">
Use
device
space
body
centered
cubic grid for full spread</span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#I">-I</a><span
style="font-family: monospace;">
Use
perceptual
space
body
centered
cubic grid for full spread</span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#a">-a angle</a><span
style="font-family: monospace;">
Simplex
grid
angle
0.0
-
0.5
for
B.C.C. grid, default 0.333300</span><br style="font-family:
monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#A">-A adaptation</a><span
style="font-family: monospace;">
Degree of adaptation of OFPS 0.0 - 1.0 (default 0.1, 1.0 if -c
profile provided)</span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#t">-t</a><span
style="font-family: monospace;">
Use
incremental
far
point
for
full
spread
(default iterative)</span><br style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#l">-l ilimit</a><span
style="font-family: monospace;">
Total
ink
limit in %(default = none, or estimated from profile)<br>
</span></small><small><span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#p">-p power</a><span
style="font-family: monospace;">
Optional
power-like
value
applied
to
all
device
values.</span></small><br style="font-family: monospace;">
<small><span style="font-family: monospace;"></span><span
style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#c">-c profile</a><span
style="font-family: monospace;">
Optional device ICC or MPP pre-conditioning profile filename<br>
<a href="#N">-N nemphasis</a> Degree of
neutral axis patch concentration 0-1. (default 0.50)</span></small><br>
<small><span style="font-family: monospace;"><small><span
style="font-family: monospace;"> <a href="#V">-V
demphasis</a> dark region patch
concentration 1.0-4.0 (default 1.0 = none)</span></small><br
style="font-family: monospace;">
</span> <a style="font-family: monospace;" href="#F">-F
L,a,b,rad</a><span style="font-family: monospace;">
Filter out samples outside Lab sphere.</span><br
style="font-family: monospace;">
<span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#w">-w</a><span
style="font-family: monospace;">
Dump diagnostic outfile.wrl file (Lab locations)<br>
</span></small><small><span style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#W">-W</a><span
style="font-family: monospace;">
Dump diagnostic outfile.wrl file (Device locations)</span></small><br
style="font-family: monospace;">
<small><span style="font-family: monospace;"></span><span
style="font-family: monospace;"> </span><a
style="font-family: monospace;" href="#p1">outfile</a><span
style="font-family: monospace;">
Base name for output(.ti1)</span></small> <br>
<h3>Usage Details and Discussion<br>
</h3>
The number of target patches needs to be chosen, depending on the
media size, the type of device, and the quality of profile required.
For an inkjet device, something like 3000 test points or more is
desirable for high quality profiles, while 500-1000 will probably
suffice for a medium quality profile. A few hundred may be
sufficient for a preliminary profile. Well behaved printing devices
(such as a chemical proof, or a high quality printing press) may
produce good profiles with 1000 to 2000 test points. Well behaved
RGB devices such as CRT monitors may need only a few hundred points,
if a shaper/matrix type profile is to be produced, while pseudo RGB
printers, or other RGB devices that a CLUT type profile may be used
with, should probably choose somewhere between 500 and 3000 patches.
For 'N' color profile creation, 3000 or more test points should
probably be used.<br>
<br>
<a name="v"></a> The <b>-v</b> flag turns on extra verbosity when
generating patch values. Extra diagnostics and verbosity may be
available if a parameter is provided with a value greater than 1.<br>
<br>
<a name="d"></a> The <b>-d</b> parameter sets the colorspace the
test values will be generated in. Video gray space is assumed to be
an additive space, where a zero device value will be black, and a
maximum device value will be white. A print gray space is assumed to
be a subtractive space, in which a zero device value will be white,
and a maximum device value will be black. If no colorspace is
specified, subtractive CMYK is assumed as a default.<br>
<br>
<a name="D"></a> The <b>-D</b> parameter modifies the colorspace
set by <span style="font-weight: bold;">-d</span> by allowing
individual colorants to be added or subtracted from the colorspace.<br>
<br>
<a name="G"></a> The <b>-G</b> flag changes the Incremental Far
Point Distribution algorithm from fast to good mode. Fast mode uses
a limited number of iterations to optimize the patch locations,
while good mode strives for a more even patch distribution by using
more iterations.<br>
<br>
The composition of the test patches is controlled by the following
flags and parameters:<br>
<br>
<a name="e"></a> The <b>-e</b> parameter sets the number of white
colored test patches, defaulting to 4 if the -e flag isn't used. The
white patches are usually very important in establishing white point
that the ICC data is made relative to, so it improves robustness to
use more than a single point.<br>
<br>
<a name="B"></a> The <b>-B</b> parameter sets the number of black
colored test patches, defaulting to 4 if the -B flag isn't used and
the colorspace is grey or RGB. The black point can be very important
for characterizing additive color spaces, so measuring more than one
black patch improves robustness over measuring just a single point.<br>
<br>
<a name="s"></a> The <b>-s</b> parameter sets the number of patches
in a set of per colorant wedges. The steps are evenly spaced in
device space by default, and the total number of test patches will
be the number of colorants times the value specified with the -s
flag. If the <span style="font-weight: bold;">-p</span> parameter
is provided, then, then the steps will be distributed according to
the power value. e.g. the option <span style="font-weight: bold;">-s
5</span> will generate steps at 0.0 0.25 0.5 0.75 and 1.0, while
the option <span style="font-weight: bold;">-s 5 -p 2.0</span> will
generate steps at 0.0 0.0625 0.25 0.5625 and 1.0. By default, no per
colorant test wedge values are generated. When creating a test chart
for a device that will be used as a source colorspace, it is often
useful to generated some per colorant wedge values.<br>
<br>
<a name="g"></a> The <b>-g</b> parameter sets the number of patches
in a set of combined (nominally gray) wedges. This will typically be
equal RGB or CMY values, and by default will be equally spaced steps
in device space. If the <span style="font-weight: bold;">-p</span>
parameter is provided, then, then the steps will be distributed
according to the power value. e.g. the option <span
style="font-weight: bold;">-g 5</span> will generate steps at 0.0
0.25 0.5 0.75 and 1.0, while the option <span style="font-weight:
bold;">-g 5 -p 2.0</span> will generate steps at 0.0 0.0625 0.25
0.5625 and 1.0. By default, no gray combination values are
generated. When creating a test chart for a device that will be used
as a source colorspace, it is often useful to generated some per
colorant wedge values.<br>
<br>
<a name="m"></a> The <b>-m</b> parameter sets the edge size of the
multidimensional grid of test values. The total number of patches of
this type will be the -m parameter value to the power of the number
of colorants. The grid steps are evenly spaced in device space by
default, but if the <span style="font-weight: bold;">-p</span>
parameter is provided, then, then the steps will be distributed
according to the power value. e.g. the option <span
style="font-weight: bold;">-m 5</span> will generate steps at 0.0
0.25 0.5 0.75 and 1.0, while the option <span style="font-weight:
bold;">-m 5 -p 2.0</span> will generate steps at 0.0 0.0625 0.25
0.5625 and 1.0. By default, all the device primary color
combinations that fall within the ink limit are generated..<br>
<br>
<a name="m"></a> The <b>-b</b> parameter sets the outer edge size
of the multidimensional body centered grid of test values. The total
number of patches of this type will be the -b parameter value to the
power of the number of colorants plus the (number-1) to the power of
the number of colorants. The grid steps are evenly spaced in device
space by default, but if the <span style="font-weight: bold;">-p</span>
parameter is provided, then, then the steps will be distributed
according to the power value. A body centered grid is a regular grid
(see <b>-m</b>) with another smaller regular grid within it, at the
centers of the outer grid. This grid arrangement is more space
efficient than a regular grid (ie. for a given number of test
points, it fills the space better.)<br>
<br>
The behavior of the <b>-e</b>, <b>-s</b>, <b>-g</b> <b>-m </b>and
<b>-b</b> flags, is not to duplicate test values already created by
a previous type.<br>
<br>
<a name="f"></a> The <b>-f</b> parameter sets the number of full
spread test patches. Full spread patches are distributed according
to the default or chosen algorithm. The default algorithm will
optimize the point locations to minimize the distance from any point
in device space, to the nearest sample point. This is called
Optimized Farthest Point Sampling (OFPS) . This can be overridden by
specifying the <b>-t. -r, -R, -q, -i or -I</b> flags. If the
default OFPS algorithm is used, then adaptive test point
distribution can be fully enabled by supplying a previous or typical
profile with the <span style="font-weight: bold;">-c</span> option.
The total number patches specified will include any patches
generated using the <b>-e</b>, <b>-s</b>, <b>-g</b> <b>-m</b>
and <b>-b</b> flags (i.e. full spread patches will be added to
bring the total number of patches including those generated using
the <b>-e</b>, <b>-s</b>, <b>-g</b> <b>-m </b>and <b>-b</b>
flags up to the specified number). When there are more than four
device channels, the full spread distribution algorithm can't deal
with so many dimensions, and <b>targen</b> falls back on an
incremental far point distribution algorithm by default, that
doesn't generate such evenly spread points. This behaviour can be
forced using the <b>-t</b> flag. A <a href="#Table">table</a> of
useful total patch counts for different paper sizes is shown below.
Note that it's occasionally the case that the OFPS algorithm will
fail to complete, or make very slow progress if the <span
style="font-weight: bold;">-c</span> profile is poor, non-smooth,
or has unusual behaviour. In these cases a different algorithm
should be chosen (ie. <span style="font-weight: bold;">-Q</span> or
<span style="font-weight: bold;">-I</span>), or perhaps a smoother
or lower resolution ("quality") previous profile may overcome the
problem. <br>
<br>
<a name="t"></a> The <b>-t</b> flag overrides the default full
spread test patch algorithm, and makes use of the Incremental Far
Point Distribution algorithm, which incrementally searches for test
points that are as far away as possible from any existing points.
This is used as the default for dimensions higher than 4.<br>
<br>
<a name="r"></a> The <b>-r</b> flag overrides the default full
spread test patch algorithm, and chooses test points with an even
random distribution in device space.<br>
<br>
<a name="R"></a> The <b>-R</b> flag overrides the default full
spread test patch algorithm, and chooses test points with an even
random distribution in perceptual space.<br>
<br>
<a name="q"></a> The <b>-q</b> flag overrides the default full
spread test patch algorithm, and chooses test points with a
quasi-random, space filling distribution in device space.<br>
<br>
<a name="Q"></a> The <b>-Q</b> flag overrides the default full
spread test patch algorithm, and chooses test points with a
quasi-random, space filling distribution in perceptual space.<br>
<br>
<a name="i"></a> The <b>-i</b> flag overrides the default full
spread test patch algorithm, and chooses test points with body
centered cubic distribution in device space.<br>
<br>
<a name="I"></a> The <b>-I</b> flag overrides the default full
spread test patch algorithm, and chooses test points with body
centered cubic distribution in perceptual space.<br>
<br>
<a name="a"></a> The <b>-a <i>angle</i></b> parameter sets the
overall angle that the body centered grid distribution has.<br>
<br>
<a name="A"></a> The <b>-A <i>adaptation</i></b> parameter sets
the degree of adaptation to the known device characteristics, used
by the default full spread OFPS algorithm. A profile should be
provided using the <span style="font-weight: bold;">-c</span>
parameter if <span style="font-weight: bold; font-style: italic;">adaptation</span>
is set above a low level. By default the adaptation is 0.1 (low),
and 1.0 (maximum) if <span style="font-weight: bold;">-c profile</span>
is provided, but these defaults can be overridden using this option.
For instance, if the <span style="font-weight: bold;">-c profile</span>
doesn't represent the device behavior very well, a lower adaption
than 1.0 might be appropriate.<br>
<br>
<a name="l"></a> The <b>-l</b> flag and parameter sets a total ink
limit (Total Area Coverage or TAC), which is adhered to for all the
generated points. It is generally good practice to set a test chart
ink limit at least 10% higher than the ink limit that will be
applied when making the resulting profile. In the case of device
cube points, this can generate extra test values that lie at the ink
limit boundary. For gray wedge values, any that exceed the ink limit
are omitted. Full spread test values are all generated to lie within
the ink limit. Although it doesn't make much sense, this parameter
has an affect on additive device spaces (such as RGB), but should
not normally be used with such devices. The total ink limit value
will be written to the .ti1 file, and carried through automatically
to the .ti3 file, so that it can be used during profile creation. If
a profile is provided using the <span style="font-weight: bold;">-c</span>
flag, then this will be used to estimate an ink limit, if none is
provided with the <span style="font-weight: bold;">-l</span> flag.
Ink limits are, as far as possible, always in final calibrated
device values, and the calibration curves from the profile provided
to the <span style="font-weight: bold;">-c</span> flag will be used
to estimate the equivalent limit in the underlying pre-calibration
device space values that targen creates.<br>
<br>
<a name="p"></a> The <b>-p</b> flag and parameter sets a power-like
value applied to all of the device values after they are generated,
<span style="font-weight: bold;"></span><span style="font-weight:
bold;"></span>the spacer colors. This can be useful in creating
calibration charts for very non-linearly behaved devices. A value
greater than 1.0 will cause a tighter spacing of test values near
device value 0.0, while a value less than 1.0 will cause a tighter
spacing near device value 1.0. <span style="font-weight: bold;">printcal</span>
will recommend a power-like value if the verbose option is used. [ <span
style="font-weight: bold;">Note</span> that for Print RGB space
this is reversed, since internally a Print RGB space is treated as a
CMY space. ]. <span style="font-weight: bold;">Note</span> that the
device model used to create the expected patch values will not take
into account the applied power, nor will the more complex full
spread algorithms correctly take into account the power in
generating values up to the ink limits. (A power-like function is
used, to avoid the excessive compression that a real power function
would apply).<br>
<br>
<a name="c"></a> The <b>-c</b> flag and parameter is used to
specify an <a href="File_Formats.html#ICC">ICC</a> or <a
href="File_Formats.html#MPP">MPP</a> pre-conditioning profile, for
estimating perceptual distances and colorspace curvature, used in
optimizing the full spread test point placement,or in creating
perceptualy spaced distributions. Normally a previous profile for
this or a similar device will be used, or a simpler, preliminary
profile will be created and used. If no such profile is specified, a
default device space model is used. Note that this will only have an
effect if an algorithm that uses perceptual placement (such as <span
style="font-weight: bold;">-R, -Q, -I</span> or the default OFPS
with an <span style="font-weight: bold;">-A</span> value > 0.0)
is being used.<br>
<br>
<a name="N"></a> The <b>-N nemphasis</b> parameter allows changing
the degree to which the patch distribution should emphasise the
neutral axis. Since the neutral axis is regarded as the most
visually critical are of the color space, it can help maximize the
quality of the resulting profile to place more measurement patches
in this region. This emphasis is only effective for perceptual patch
distributions, and for the default OFPS distribution if the <a
href="#A">adaptation</a> parameter is set to a high value. It is
also most effective when a <a href="#c">pre-conditioning</a>
profile is provided, since this is the only way that neutral can be
determined. The default value of 0.5 provides an affect about twice
the emphasis of the CIE94 Delta E formula.<br>
<br>
<a name="V"></a> The <b>-V demphasis</b> parameter allows changing
the degree to which the patch distribution should emphasis dark
region of the device response. Display devices used for video or
film reproduction are typically viewed in dark viewing environments
with no strong white reference, and typically employ a range of
brightness levels in different scenes. This often means that the
devices dark region response is of particular importance, so
increasing the relative number of sample points in the dark region
may improved the balance of accuracy of the resulting profile for
video or film reproduction. This emphasis is only effective for
perceptual patch distributions where a <a href="targen.html#c">pre-conditioning</a>
profile is provided. The default value of 1.0 provides no emphasis
of the dark regions. A value somewhere around <b>1.5 - 2.0</b> is a
good place to start for video profile use. A scaled down version of
the -V parameter will be passed on through the .ti3 file to colprof
where it will set a default value for the corresponding <a
href="colprof.html#V">colprof -V</a> parameter. Note that
increasing the proportion of dark patches will typically lengthen
the time that an instrument takes to read the whole chart.
Emphasizing the dark region characterization will reduce the
accuracy of measuring and modelling the lighter regions, given a
fixed number of test points and profile quality/grid resolution. The
parameter will also be used in an analogous way to the <small><a
href="file:///D:/src/argyll/doc/targen.html#p">-p power</a>
value in changing the distribution of </small><small><a
href="file:///D:/src/argyll/doc/targen.html#s">-s steps</a>, </small><small><a
href="file:///D:/src/argyll/doc/targen.html#g">-g steps</a>, </small><small><a
href="file:///D:/src/argyll/doc/targen.html#m">-m steps</a></small>
and <small><small><a href="file:///D:/src/argyll/doc/targen.html#b">-b
steps</a></small></small> patches.<br>
<br>
<a name="F"></a> The <b>-F</b> flag and parameters is used to
define an L*a*b* sphere to filter the test points through. Only test
points within the sphere (defined by it's center and radius) will be
written to the .ti1 file. This can be good for targeting
supplemental test points at a troublesome area of a device. The
accuracy of the L*a*b* target will be best when the <span
style="font-weight: bold;">-c</span> option is used to specify a
reasonably accurate profile for the device. Note that the actual
number of points generated can be hard to predict, and will depend
on the type of generation used. All means of generating points
except the -f N & -r, -R and -q will generate a smaller number
of test points than expected. If the -f N & -r, -R and -q
methods are used, then the target number of points will be achieved.
For this reason, the -f N -q method is probably the easiest to use.<br>
<br>
<a name="w"></a> The <b>-w</b> flag causes a diagnostic <a
href="File_Formats.html#VRML">VRML</a> .wrl file to be created, in
which the test points are plotted as small spheres in L*a*b*
colorspace. Note that for a CMYK device, the point spacing may seem
strange, since the extra K dimension is compressed into the 3
dimensional L*a*b* space. <a name="W"></a>If the <span
style="font-weight: bold;">-W</span> flag is given, the plot will
be in device space, with only the first 3 dimensions of each point
being plotted.<br>
<br>
<a name="p1"></a> The final parameter on the command line is the
base filename for the <a href="File_Formats.html#.ti1">.ti1</a>
output file. <b>targen</b> will add the .ti1 extension
automatically.<br>
<br>
Some typical total patch number/paper size combinations are shown
below. These "magic" numbers are found by using <a
href="printtarg.html">printtarg</a> to compute the row length and
number of rows, and then adjusting the total number of patches to
fill the last row or paper size, in a trial and error fashion.<br>
<br>
<a name="Table"></a> Size (mm/Standard Name),
No. Patches<br>
<br>
DTP20:<br>
<br>
1 x A4 540<br>
2 x A4 1080<br>
3 x A4 1620<br>
4 x A4 2160<br>
<br>
1 x Letter 570<br>
2 x Letter 1140<br>
3 x Letter 1710<br>
4 x Letter 2280<br>
<br>
DTP 22:<br>
<br>
1 x A4 782<br>
2 x A4 1564<br>
<br>
1 x Letter 736<br>
2 x Letter 1472<br>
<br>
DTP41:<br>
<br>
1 x A4
375<br>
2 x A4
750<br>
3 x A4
1125<br>
4 x A4
1500<br>
<br>
1 x Letter
345<br>
2 x Letter
690<br>
3 x Letter
1035<br>
4 x Letter
1380<br>
<br>
1 x A3
836<br>
2 x A3
1672<br>
<br>
1 x 11x17
780<br>
2 x 11x17
1560<br>
<br>
<br>
DTP51:<br>
<br>
1 x A4
266<br>
2 x A4
532<br>
3 x A4
798<br>
4 x A4
1064<br>
<br>
1 x Letter
252<br>
2 x Letter
504<br>
3 x Letter
756<br>
4 x Letter
1008<br>
<br>
1 x A3
580<br>
2 x A3
1160<br>
<br>
1 x 11x17
570<br>
2 x 11x17
1140<br>
<br>
SpectroScan with square patches:<br>
<br>
1 x A4R 1014<br>
2 x A4R 2028<br>
3 x A4R
3042<br>
4 x A4R
4056<br>
<br>
1 x LetterR 999<br>
2 x LetterR 1998<br>
3 x LetterR 2997<br>
4 x LetterR 3996<br>
<br>
SpectroScan with hexagonal patches:<br>
<br>
1 x A4R 1170<br>
2 x A4R 2340<br>
3 x A4R
3510<br>
4 x A4R
4680<br>
<br>
1 x LetterR 1092<br>
2 x LetterR 2184<br>
3 x LetterR 3276<br>
4 x LetterR 4368<br>
<br>
Eye-One Pro:<br>
<br>
1 x A4 441<br>
2 x A4 882<br>
3 x A4 1323<br>
4 x A4 1764<br>
<br>
1 x Letter 462<br>
2 x Letter 924<br>
3 x Letter 1386<br>
4 x Letter 1848<br>
<br>
ColorMunki:<br>
<br>
1 x A4
90<br>
2 x A4 180<br>
3 x A4
270<br>
4 x A4
360<br>
<br>
1 x Letter 98<br>
2 x Letter 196<br>
3 x Letter 294<br>
4 x Letter 392<br>
<br>
ColorMunki -h:<br>
<br>
1 x A4 210<br>
2 x A4 420<br>
3 x A4
630<br>
4 x A4
840<br>
<br>
1 x Letter 196<br>
2 x Letter 392<br>
3 x Letter 588<br>
4 x Letter 784<br>
<br>
Scanner (printtarg with -iSS -s options):<br>
<br>
1 x A4R 1014<br>
2 x A4R 2028<br>
3 x A4R 3042<br>
4 x A4R 4056<br>
<br>
1 x LetterR 962<br>
2 x LetterR 1924<br>
3 x LetterR 2886<br>
4 x LetterR 3848<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
|