~ubuntu-branches/ubuntu/trusty/argyll/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/refine.html

  • Committer: Package Import Robot
  • Author(s): Artur Rona
  • Date: 2014-02-12 00:35:39 UTC
  • mfrom: (13.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20140212003539-24tautzlitsiz61w
Tags: 1.5.1-5ubuntu1
* Merge from Debian unstable. (LP: #1275572) Remaining changes:
  - debian/control:
    + Build-depend on libtiff-dev rather than libtiff4-dev.
  - debian/control, debian/patches/06_fix_udev_rule.patch:
    + Fix udev rules to actually work; ENV{ACL_MANAGE} has
      stopped working ages ago, and with logind it's now the
      "uaccess" tag. Dropping also consolekit from Recommends.
  - debian/patches/drop-usb-db.patch:
    + Use hwdb builtin, instead of the obsolete usb-db
      in the udev rules.
* debian/patches/05_ftbfs-underlinkage.diff:
  - Dropped change, no needed anymore.
* Refresh the patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
 
<head>
4
 
  <title>refine</title>
5
 
  <meta http-equiv="content-type"
6
 
 content="text/html; charset=ISO-8859-1">
7
 
  <meta name="author" content="Graeme Gill">
8
 
</head>
9
 
<body>
10
 
<h2><b>tweak/refine</b></h2>
11
 
<h3>Summary</h3>
12
 
<span style="font-weight: bold;">Refine</span> creates an abstract
13
 
profile, by comparing CIE measurement values from two
14
 
test charts. The charts will usually be in <a
15
 
 href="File_Formats.html#.ti3">.ti3</a>
16
 
format, but only XYZ, Lab or spectral values will be used. Typically
17
 
the charts would be printed on a target system (the one being emulated,
18
 
say a printing press), and the proofing system (the one that is being
19
 
profiled). The abstract profile that <span style="font-weight: bold;">refine</span>
20
 
produces will be a correction that makes the proofing system behave
21
 
more
22
 
like the target. This can then be used to recreate the proofing systems
23
 
ICC profile, or device link. By feeding a previous abstract correction
24
 
profile in as well, iterative improvement can be made to the proofing
25
 
reproduction.<br>
26
 
<br>
27
 
<a href="verify.html">verify</a> is a useful tool to use on the two
28
 
test charts, to check how well the refinement is proceeding. If a white
29
 
point relative match is being created (refine -R), then use veryify -N.<br>
30
 
<h3>Usage Summary</h3>
31
 
<small><span style="font-family: monospace;">usage: refine [-options]
32
 
cietarget ciecurrent [outdevicc] [inabs] outabs</span><br
33
 
 style="font-family: monospace;">
34
 
<span style="font-family: monospace;">&nbsp;-v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
35
 
Verbose</span><br style="font-family: monospace;">
36
 
<span style="font-family: monospace;">&nbsp;-c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
37
 
Create initial abstract correction profile</span><br
38
 
 style="font-family: monospace;">
39
 
<span style="font-family: monospace;">&nbsp;-g&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
40
 
Don't impose output device gamut limit</span><br
41
 
 style="font-family: monospace;">
42
 
<span style="font-family: monospace;">&nbsp;-r
43
 
res&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set
44
 
abstract profile clut resolution (default 33)</span><br
45
 
 style="font-family: monospace;">
46
 
<span style="font-family: monospace;">&nbsp;-d
47
 
factor&nbsp;&nbsp;&nbsp;&nbsp; Override default
48
 
damping factor (default 0.950000)<br>
49
 
&nbsp;-R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
50
 
Aim for white point relative match rather than absolute<br
51
 
 style="font-family: monospace;">
52
 
</span><span style="font-family: monospace;">&nbsp;-i
53
 
illum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Choose illuminant for spectral data:</span><br
54
 
 style="font-family: monospace;">
55
 
<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
56
 
A, C, D50 (def.), D65, F5, F8, F10 or file.sp</span><br
57
 
 style="font-family: monospace;">
58
 
<span style="font-family: monospace;">&nbsp;-o
59
 
observ&nbsp;&nbsp;&nbsp;&nbsp; Choose CIE Observer
60
 
for spectral data:</span><br style="font-family: monospace;">
61
 
<span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
62
 
1931_2, 1964_10, S&amp;B 1955_2, J&amp;V 1978_2 (def.)</span><br
63
 
 style="font-family: monospace;">
64
 
<span style="font-family: monospace;">&nbsp;-f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
65
 
Use Fluorescent Whitening Agent compensation on spectral data</span><br
66
 
 style="font-family: monospace;">
67
 
<span style="font-family: monospace;">&nbsp;</span><span
68
 
 style="font-style: italic; font-family: monospace;">cietarget&nbsp;</span><span
69
 
 style="font-family: monospace;">&nbsp;&nbsp;&nbsp; Target CIE or
70
 
spectral values, CGATS file (e.g. .ti3)</span><br
71
 
 style="font-family: monospace;">
72
 
<span style="font-family: monospace;">&nbsp;</span><span
73
 
 style="font-style: italic; font-family: monospace;">ciecurrent</span><span
74
 
 style="font-family: monospace;">&nbsp;&nbsp;&nbsp; Actual CIE or
75
 
spectral values, CGATS file (e.g. .ti3)</span><br
76
 
 style="font-family: monospace;">
77
 
<span style="font-family: monospace;">&nbsp;[</span><span
78
 
 style="font-style: italic; font-family: monospace;">outdevicc</span><span
79
 
 style="font-family: monospace;">]&nbsp;&nbsp; Output device ICC
80
 
profile to set gamut limit (not used if -g)</span><br
81
 
 style="font-family: monospace;">
82
 
<span style="font-family: monospace;">&nbsp;[</span><span
83
 
 style="font-style: italic; font-family: monospace;">inabs</span><span
84
 
 style="font-family: monospace;">]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
85
 
Previous abstract correction ICC profile (not used if -c)</span><br
86
 
 style="font-family: monospace;">
87
 
<span style="font-family: monospace;">&nbsp;</span><span
88
 
 style="font-style: italic; font-family: monospace;">outabs</span><span
89
 
 style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
90
 
Created/refined abstract correction ICC profile</span></small><br>
91
 
<h3>Usage Details</h3>
92
 
<b>refine</b> provides a way of improving the profile accuracy of a
93
 
proofing system.<br>
94
 
<br>
95
 
The <b>-v</b> flag prints out extra information during the checking,
96
 
and prints each patch value, rather than just a summary.<br>
97
 
<br>
98
 
The <b>-c</b> option is used when refine is being used for the first
99
 
time, and there is no previous abstract profile to continue refining.
100
 
If <span style="font-weight: bold;">-c</span> is used, then the name
101
 
of the previous abstract correction profile should not be supplied.<br>
102
 
<br>
103
 
If the <b>-g </b>flag indicates that an output device profile is not
104
 
being supplied, and that corrections should be attempted, even if the
105
 
colors are outside the devices gamut. Normally an output device profile
106
 
is supplied, and corrections aren't applied to colors outside the
107
 
devices gamut, since this will not achieve anything useful, and can
108
 
distort the results.<br>
109
 
<br>
110
 
If the <b>-r </b>parameter overrides the resolution of the CLUT grid
111
 
used in the abstract profile. By default the value is 33, but other<br>
112
 
values can be chosen. An odd number is recommended. <br>
113
 
<br>
114
 
If the <b>-d </b>parameter sets how aggressively refine should try
115
 
and
116
 
correct errors. Normally it will try and exactly compensate for the
117
 
color errors revealed in comparing the two measurement files, but if
118
 
the device behaviour is unusual, or not very repeatable, this may
119
 
result in successive applications of refine making things worse, rather
120
 
than better. If this is the case, try using a smaller number, such as
121
 
0.8, or 0.5.<br>
122
 
<br>
123
 
If the <span style="font-weight: bold;">-R</span> flag is used, then
124
 
refine creates an abstract profile for improving the match of the patch
125
 
values when&nbsp; interpreted in a white point relative (ie. Relative
126
 
Colorimetric) intent. If used to create a corrected device link profile
127
 
using <a href="collink.html">collink</a>, remember to create a
128
 
Relative colorimetric intent device link profile.<br>
129
 
<br>
130
 
The <b>-i</b> flag allows specifying a standard or custom illumination
131
 
spectrum, applied to the spectral test point values, to compute CIE
132
 
tristimulus
133
 
values. <b>A</b>, <b>D50</b>, <b>D65</b>, <b>F5</b>, <b>F8</b>, <b>F10</b>
134
 
are a selection of standard illuminant spectrums, with <b>D50</b>
135
 
being the
136
 
default. If a filename is specified instead, it will be assumed to be
137
 
an
138
 
Argyll specific <a href="File_Formats.html#.sp">.sp</a> spectrum file.<br>
139
 
<br>
140
 
The <b>-o</b> flag allows specifying a tristimulus observer, and is
141
 
used
142
 
to compute CIE tristimulus values. The following choices are available:<br>
143
 
<b>&nbsp; 1931_2</b> selects the standard CIE 1931 2 degree observer.<br>
144
 
&nbsp; <b>1964_10</b> selects the standard CIE 1964 10 degree observer.<br>
145
 
&nbsp; <b>1955_2</b> selects the Stiles and Birch 1955 2 degree
146
 
observer<br>
147
 
&nbsp; <b>1978_2 </b>selects the Judd and Voss 1978 2 degree observer<br>
148
 
&nbsp; <b>shaw</b> selects the Shaw and Fairchild 1997 2 degree
149
 
observer<br>
150
 
<br>
151
 
The <b>-f</b> flag enables Fluorescent Whitening Agent compensation,
152
 
which compensates for the effect a different illuminant will have, on
153
 
any Fluorescent Whitening Agent present in the reflective media.
154
 
Spectral patch information is needed for this to function.<br>
155
 
<br>
156
 
If both CIE and spectral values are present in the input files, the CIE
157
 
values will be used by default. Using the <span
158
 
 style="font-weight: bold;">-i</span>, <span style="font-weight: bold;">-o</span>
159
 
or <span style="font-weight: bold;">-f</span> flag will force spectral
160
 
values to be used. The the <span style="font-weight: bold;">-i</span>,
161
 
<span style="font-weight: bold;">-o</span> or <span
162
 
 style="font-weight: bold;">-f</span> flags will apply to both the
163
 
target and measured input files.<br>
164
 
<br>
165
 
<span style="font-style: italic; font-weight: bold;">cietarget</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
166
 
Is the filename of the target CIE or spectral values. This is a <a
167
 
 href="File_Formats.html#CGATS">CGATS</a> file (e.g. a <a
168
 
 href="File_Formats.html#.ti3">.ti3</a> made using <a
169
 
 href="chartread.html">chartread</a>). These are the color values
170
 
wanted for each patch in the test chart, typically the product of the
171
 
target print system.<br>
172
 
<br>
173
 
<span style="font-style: italic; font-weight: bold;">ciecurrent</span>
174
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is the filename of the
175
 
actual, current measured CIE or spectral values. This is a <a
176
 
 href="File_Formats.html#CGATS">CGATS</a> file (e.g. a <a
177
 
 href="File_Formats.html#.ti3">.ti3</a> made using <a
178
 
 href="chartread.html">chartread</a>). The errors between these patches
179
 
and the patches in the <span
180
 
 style="font-style: italic; font-weight: bold;">cietarget</span> file
181
 
will be used to create a correction profile.<br>
182
 
<br>
183
 
&nbsp;[<span style="font-style: italic; font-weight: bold;">outdevicc</span>]&nbsp;&nbsp;&nbsp;&nbsp;
184
 
If the <span style="font-weight: bold;">-g</span> flag is not used,
185
 
then the output device ICC profile should be supplied here, to allow <span
186
 
 style="font-weight: bold;">refine</span> to limit its corrections to
187
 
colors that are within the gamut of the device.<br>
188
 
<br>
189
 
&nbsp;[<span style="font-weight: bold; font-style: italic;">inabs</span>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
190
 
After the first correction has been created, subsequent corrections
191
 
need to improve upon previous ones, so the previous correction profile
192
 
should be provided here. For the first correction, the <span
193
 
 style="font-weight: bold;">-c</span> flag should be used, and this
194
 
argument is omitted.<br>
195
 
<br>
196
 
&nbsp;<span style="font-weight: bold; font-style: italic;">outabs</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
197
 
The name of the created or refined abstract correction ICC profile<br>
198
 
<br>
199
 
<h3> Discussion</h3>
200
 
<span style="font-weight: bold;">Refine</span> is typically used in a
201
 
proofing situation, in which a verification chart is being used to
202
 
check the accuracy of a proofing system. (It might also be used for
203
 
more
204
 
arbitrary color alterations by created two test chart files by hand.)
205
 
By
206
 
using the errors between the target chart and the measured values,
207
 
refine attempts to improve the match between the proofing system and
208
 
its target.<br>
209
 
<br>
210
 
There is facility in <a href="collink.html">collink</a>, <a
211
 
 href="colprof.html">colprof</a> and <a href="revfix.html">revfix</a>
212
 
to incorporate an abstract profile. <br>
213
 
<br>
214
 
For systems using two device profiles or a device
215
 
link to convert between the target space printing files and the
216
 
proofing device space, the following would be a typical scenario:<br>
217
 
<br>
218
 
<div style="margin-left: 40px;">We have a reference set of test chart
219
 
values, read from the target system <span style="font-weight: bold;">reference.ti3</span>.
220
 
The ICC profile for the target system is <span
221
 
 style="font-weight: bold;">target.icm</span>. The ICC profile for the
222
 
proofing system is <span style="font-weight: bold;">proofer.icm</span>.
223
 
If using a device link, the device link used to print proofer test
224
 
charts is currently <span style="font-weight: bold;">target_proofer.icm</span>:<br>
225
 
<br>
226
 
<br>
227
 
First we print the test chart out on the proofing system and read it
228
 
in, resulting in a <span style="font-weight: bold;">chart1.ti3</span>
229
 
file.<br>
230
 
<br>
231
 
Lets check how well the proofing system current matches using verify:<br>
232
 
<br>
233
 
&nbsp;&nbsp;&nbsp; verify&nbsp; reference.ti3 chart1.ti3<br>
234
 
<br>
235
 
We then create our initial abstract correction fix profile <span
236
 
 style="font-weight: bold;">fix1.icm</span> using refine:<br>
237
 
<br>
238
 
&nbsp;&nbsp;&nbsp; refine -v -c&nbsp; reference.ti3 chart1.ti3
239
 
proofer.icm fix1.icm<br>
240
 
<br>
241
 
Applying this to your process for creating the proofer device profile
242
 
or
243
 
target to proofing device link (choose one of the three options below,
244
 
depending whether you are using the proofer profile and just want to
245
 
alter its colorimetric B2A table using <span style="font-weight: bold;">revfix</span>,
246
 
whether you are going to recreate the proofer file from the original
247
 
measurement data using&nbsp; <span style="font-weight: bold;">colprof</span>,
248
 
or whether you are using a device link profile created using <span
249
 
 style="font-weight: bold;">collink</span>):<br>
250
 
<br>
251
 
&nbsp;&nbsp;&nbsp; revfix -v -1 -ke -p fix1.icm proofer.icm
252
 
proofer_fix1.icm<br>
253
 
or<br>
254
 
&nbsp;&nbsp;&nbsp; copy proofer.ti3 proofer_fix1.ti3<br>
255
 
&nbsp;&nbsp;&nbsp; colprof -v -p fix1.icm proofer_fix1<br>
256
 
or<br>
257
 
&nbsp;&nbsp;&nbsp; collink -v -s -ia -oa -p fix1.icm target.icm
258
 
proofer.icm target_proofer_fix1.icm<br>
259
 
<br>
260
 
Note that the above example is a simple one - you should use all the
261
 
same options as you used to create your initial <span
262
 
 style="font-weight: bold;"><span style="font-weight: bold;"></span>proofer.icm&nbsp;
263
 
</span>or <span style="font-weight: bold;">target_proofer.icm</span>,
264
 
with the addition of the "-p fix1.icm" option to specify the abstract
265
 
correction profile be applied.<br>
266
 
<br>
267
 
Use the <span style="font-weight: bold;">proofer_fix1.icm</span> or <span
268
 
 style="font-weight: bold;">target_proofer_fix1.icm</span> to
269
 
print out the test chart again, and read it in, resulting in <span
270
 
 style="font-weight: bold;">chart2.ti3</span> file.<br>
271
 
<br>
272
 
Lets check how well the proofing system matches after this first round
273
 
of refinement using verify:<br>
274
 
<br>
275
 
&nbsp;&nbsp;&nbsp; verify&nbsp; reference.ti3 chart2.ti3<br>
276
 
<br>
277
 
<br>
278
 
<span style="font-weight: bold;"><span style="font-weight: bold;">&gt;&gt;&gt;</span></span><br>
279
 
<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br>
280
 
<span style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;</span></span>We
281
 
can then start another round of improvement:<br>
282
 
<br>
283
 
We refine our previous abstract correction fix profile using refine:<br>
284
 
<br>
285
 
&nbsp;&nbsp;&nbsp; refine -v&nbsp; reference.ti3 chart2.ti3 proofer.icm
286
 
fix1.icm fix2.icm<br>
287
 
<br>
288
 
Applying this new abstract profile to our process for creating the
289
 
proofing device profile or link again:<br>
290
 
<br>
291
 
&nbsp;&nbsp;&nbsp; revfix -v -1 -ke -p fix2.icm proofer.icm
292
 
proofer_fix2.icm<br>
293
 
or<br>
294
 
&nbsp;&nbsp;&nbsp; copy proofer.ti3 proofer_fix2.ti3<br>
295
 
&nbsp;&nbsp;&nbsp; colprof -v -p fix2.icm proofer_fix2<br>
296
 
or<br>
297
 
&nbsp;&nbsp;&nbsp; collink -v -s -ia -oa -p fix2.icm target.icm
298
 
proofer.icm target_proofer_fix2.icm<br>
299
 
<br>
300
 
Use the <span style="font-weight: bold;">proofer_fix2.icm</span> or <span
301
 
 style="font-weight: bold;">target_proofer_fix2.icm</span> to
302
 
print out the test chart again, and read it in, resulting in <span
303
 
 style="font-weight: bold;">chart3.ti3</span> file.<br>
304
 
<br>
305
 
Check again how well the proofing system matches after this first round
306
 
of refinement using verify:<br>
307
 
<br>
308
 
&nbsp;&nbsp;&nbsp; verify&nbsp; reference.ti3 chart3.ti3<br>
309
 
<br>
310
 
Rounds of improvements can be continues by looping back to <span
311
 
 style="font-weight: bold;">&gt;&gt;&gt;</span>, being careful to
312
 
increment the
313
 
names of the <span style="font-weight: bold;">fixN.icm</span>,&nbsp; <span
314
 
 style="font-weight: bold;">proofer_fixN.icm</span> or <span
315
 
 style="font-weight: bold;">target_proofer_fixN.icm</span> and <span
316
 
 style="font-weight: bold;">chartN.ti3</span>files. Stop when
317
 
exhausted,
318
 
or if it looks like things are getting worse, rather than better. If
319
 
the latter happens, it might be good to revert to the results from a
320
 
previous round.<br>
321
 
</div>
322
 
<br>
323
 
<br>
324
 
<br>
325
 
<br>
326
 
<br>
327
 
<br>
328
 
<br>
329
 
</body>
 
3
  <head>
 
4
    <title>refine</title>
 
5
    <meta http-equiv="content-type" content="text/html;
 
6
      charset=ISO-8859-1">
 
7
    <meta name="author" content="Graeme Gill">
 
8
  </head>
 
9
  <body>
 
10
    <h2><b>tweak/refine</b></h2>
 
11
    <h3>Summary</h3>
 
12
    <span style="font-weight: bold;">Refine</span> creates an abstract
 
13
    profile, by comparing CIE measurement values from two test charts.
 
14
    The charts will usually be in <a href="File_Formats.html#.ti3">.ti3</a>
 
15
    format, but only XYZ, Lab or spectral values will be used (ie. all
 
16
    device space values are ignored). Typically the charts would be
 
17
    printed on a target system (the one being emulated, say a printing
 
18
    press), and the proofing system (the one that is being profiled).
 
19
    The abstract profile that <span style="font-weight: bold;">refine</span>
 
20
    produces will be a correction that makes the proofing system behave
 
21
    more like the target. This can then be used to recreate the proofing
 
22
    systems ICC profile, or device link. By feeding a previous abstract
 
23
    correction profile in as well, iterative improvement can be made to
 
24
    the proofing reproduction.<br>
 
25
    <br>
 
26
    <a href="verify.html">verify</a> is a useful tool to use on the two
 
27
    test charts, to check how well the refinement is proceeding. If a
 
28
    white point relative match is being created (refine -R), then use
 
29
    veryify -N.<br>
 
30
    <h3>Usage Summary</h3>
 
31
    <tt><small>usage: refine [-options] cietarget ciecurrent [outdevicc]
 
32
        [inabs] outabs<br>
 
33
        &nbsp;-v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
34
 
 
35
        Verbose<br>
 
36
        &nbsp;-c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
37
Create
 
38
 
 
39
        initial abstract correction profile<br>
 
40
        &nbsp;-g&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
41
Don't
 
42
 
 
43
        impose output device gamut limit<br>
 
44
        &nbsp;-r res&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set
 
45
        abstract profile clut resolution (default 33)<br>
 
46
        &nbsp;-d factor&nbsp;&nbsp;&nbsp;&nbsp; Override default damping
 
47
        factor (default 0.950000)<br>
 
48
        &nbsp;-R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
49
Aim
 
50
 
 
51
        for white point relative match rather than absolute<br>
 
52
        &nbsp;</small></tt><tt><small><small></small><small><small>-f
 
53
            [illum]&nbsp;&nbsp;&nbsp; Use Fluorescent Whitening Agent
 
54
            compensation [opt. simulated inst. illum.:<br>
 
55
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
56
 
 
57
 
 
58
            M0, M1, M2, A, C, D50 (def.), D50M2, D65, F5, F8, F10 or
 
59
            file.sp]<br>
 
60
            &nbsp;-i illum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Choose
 
61
            illuminant for computation of CIE XYZ from spectral data
 
62
            &amp; FWA:<br>
 
63
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
64
 
 
65
 
 
66
            A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp</small></small><br>
 
67
        &nbsp;-o observ&nbsp;&nbsp;&nbsp;&nbsp; Choose CIE Observer for
 
68
        spectral data:<br>
 
69
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
70
1931_2,
 
71
 
 
72
        1964_10, S&amp;B 1955_2, J&amp;V 1978_2 (def.)<br>
 
73
        &nbsp;<span style="font-style: italic;">cietarget&nbsp;</span>&nbsp;&nbsp;&nbsp;
 
74
        Target CIE or spectral values, CGATS file (e.g. .ti3)<br>
 
75
        &nbsp;<span style="font-style: italic;">ciecurrent</span>&nbsp;&nbsp;&nbsp;
 
76
        Actual CIE or spectral values, CGATS file (e.g. .ti3)<br>
 
77
        &nbsp;[<span style="font-style: italic;">outdevicc</span>]&nbsp;&nbsp;
 
78
        Output device ICC profile to set gamut limit (not used if -g)<br>
 
79
        &nbsp;[<span style="font-style: italic;">inabs</span>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
80
Previous
 
81
 
 
82
        abstract correction ICC profile (not used if -c)<br>
 
83
        &nbsp;<span style="font-style: italic;">outabs</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
84
Created/refined
 
85
 
 
86
        abstract correction ICC profile</small></tt><br>
 
87
    <h3>Usage Details</h3>
 
88
    <b>refine</b> provides a way of improving the profile accuracy of a
 
89
    proofing system.<br>
 
90
    <br>
 
91
    The <b>-v</b> flag prints out extra information during the
 
92
    checking, and prints each patch value, rather than just a summary.<br>
 
93
    <br>
 
94
    The <b>-c</b> option is used when refine is being used for the
 
95
    first time, and there is no previous abstract profile to continue
 
96
    refining. If <span style="font-weight: bold;">-c</span> is used,
 
97
    then the name of the previous abstract correction profile should not
 
98
    be supplied.<br>
 
99
    <br>
 
100
    If the <b>-g </b>flag indicates that an output device profile is
 
101
    not being supplied, and that corrections should be attempted, even
 
102
    if the colors are outside the devices gamut. Normally an output
 
103
    device profile is supplied, and corrections aren't applied to colors
 
104
    outside the devices gamut, since this will not achieve anything
 
105
    useful, and can distort the results.<br>
 
106
    <br>
 
107
    If the <b>-r </b>parameter overrides the resolution of the CLUT
 
108
    grid used in the abstract profile. By default the value is 33, but
 
109
    other<br>
 
110
    values can be chosen. An odd number is recommended. <br>
 
111
    <br>
 
112
    If the <b>-d </b>parameter sets how aggressively refine should try
 
113
    and correct errors. Normally it will try and exactly compensate for
 
114
    the color errors revealed in comparing the two measurement files,
 
115
    but if the device behaviour is unusual, or not very repeatable, this
 
116
    may result in successive applications of refine making things worse,
 
117
    rather than better. If this is the case, try using a smaller number,
 
118
    such as 0.8, or 0.5.<br>
 
119
    <br>
 
120
    If the <span style="font-weight: bold;">-R</span> flag is used,
 
121
    then refine creates an abstract profile for improving the match of
 
122
    the patch values when&nbsp; interpreted in a white point relative
 
123
    (ie. Relative Colorimetric) intent. If used to create a corrected
 
124
    device link profile using <a href="collink.html">collink</a>,
 
125
    remember to create a Relative colorimetric intent device link
 
126
    profile.<br>
 
127
    <br>
 
128
    The <b>-f</b> flag enables Fluorescent Whitening Agent (FWA)
 
129
    compensation. This only works if spectral data is available and, the
 
130
    instrument is not UV filtered.&nbsp; FWA compensation adjusts the
 
131
    spectral samples so that they appear to have been measured using an
 
132
    illuminant that has a different level of Ultra Violet to the one the
 
133
    instrument actually used in the measurement. The optional
 
134
    illumination parameter allows specifying a standard or custom
 
135
    illumination spectrum to be used as the similated instrument
 
136
    illuminant, overriding the default <b>D50</b> or CIE computation
 
137
    illuminant used for FWA (see <b>-i</b> below<b>). </b>See <a
 
138
      href="file:///D:/src/argyll/doc/colprof.html#f">colprof -f</a> for
 
139
    a fuller explanation. The same value should be used as was used
 
140
    during the creation of the profile.<br>
 
141
    <br>
 
142
    The <b>-i</b> flag allows specifying a standard or custom
 
143
    illumination spectrum, applied to the spectral test point values to
 
144
    compute CIE tristimulus values. <b>A</b>, <b>D50</b>, <b>D50M2,
 
145
      D65</b>, <b>F5</b>, <b>F8</b>, <b>F10</b> are a selection of
 
146
    standard illuminant spectrums, with <b>D50</b> being the default.
 
147
    If a filename is specified instead, it will be assumed to be an
 
148
    Argyll specific <a
 
149
      href="file:///D:/src/argyll/doc/File_Formats.html#.sp">.sp</a>
 
150
    spectrum file. If FWA compensation is used during measurement, this
 
151
    illuminant will be used by default as the simulated instrument
 
152
    illuminant. The same value should be used as was used during the
 
153
    creation of the profile.<br>
 
154
    <br>
 
155
    The <b>-o</b> flag allows specifying a tristimulus observer, and is
 
156
    used to compute CIE tristimulus values. The following choices are
 
157
    available:<br>
 
158
    <b>&nbsp; 1931_2</b> selects the standard CIE 1931 2 degree
 
159
    observer.<br>
 
160
    &nbsp; <b>1964_10</b> selects the standard CIE 1964 10 degree
 
161
    observer.<br>
 
162
    &nbsp; <b>1955_2</b> selects the Stiles and Birch 1955 2 degree
 
163
    observer<br>
 
164
    &nbsp; <b>1978_2 </b>selects the Judd and Voss 1978 2 degree
 
165
    observer<br>
 
166
    &nbsp; <b>shaw</b> selects the Shaw and Fairchild 1997 2 degree
 
167
    observer<br>
 
168
    <br>
 
169
    If both CIE and spectral values are present in the input files, the
 
170
    CIE values will be used by default. Using the <span
 
171
      style="font-weight: bold;">-i</span>, <span style="font-weight:
 
172
      bold;">-o</span> or <span style="font-weight: bold;">-f</span>
 
173
    flag will force spectral values to be used. The the <span
 
174
      style="font-weight: bold;">-i</span>, <span style="font-weight:
 
175
      bold;">-o</span> or <span style="font-weight: bold;">-f</span>
 
176
    flags will apply to both the target and measured input files.<br>
 
177
    <br>
 
178
    <span style="font-style: italic; font-weight: bold;">cietarget</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
179
Is
 
180
 
 
181
    the filename of the target CIE or spectral values. This is a <a
 
182
      href="File_Formats.html#CGATS">CGATS</a> file (e.g. a <a
 
183
      href="File_Formats.html#.ti3">.ti3</a> made using <a
 
184
      href="chartread.html">chartread</a>). These are the color values
 
185
    wanted for each patch in the test chart, typically the product of
 
186
    the target print system.<br>
 
187
    <br>
 
188
    <span style="font-style: italic; font-weight: bold;">ciecurrent</span>
 
189
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is the filename of the
 
190
    actual, current measured CIE or spectral values. This is a <a
 
191
      href="File_Formats.html#CGATS">CGATS</a> file (e.g. a <a
 
192
      href="File_Formats.html#.ti3">.ti3</a> made using <a
 
193
      href="chartread.html">chartread</a>). The errors between these
 
194
    patches and the patches in the <span style="font-style: italic;
 
195
      font-weight: bold;">cietarget</span> file will be used to create a
 
196
    correction profile.<br>
 
197
    <br>
 
198
    &nbsp;[<span style="font-style: italic; font-weight: bold;">outdevicc</span>]&nbsp;&nbsp;&nbsp;&nbsp;
 
199
If
 
200
 
 
201
    the <span style="font-weight: bold;">-g</span> flag is not used,
 
202
    then the output device ICC profile should be supplied here, to allow
 
203
    <span style="font-weight: bold;">refine</span> to limit its
 
204
    corrections to colors that are within the gamut of the device.<br>
 
205
    <br>
 
206
    &nbsp;[<span style="font-weight: bold; font-style: italic;">inabs</span>]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
207
After
 
208
 
 
209
    the first correction has been created, subsequent corrections need
 
210
    to improve upon previous ones, so the previous correction profile
 
211
    should be provided here. For the first correction, the <span
 
212
      style="font-weight: bold;">-c</span> flag should be used, and this
 
213
    argument is omitted.<br>
 
214
    <br>
 
215
    &nbsp;<span style="font-weight: bold; font-style: italic;">outabs</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
216
The
 
217
 
 
218
    name of the created or refined abstract correction ICC profile<br>
 
219
    <br>
 
220
    <h3> Discussion</h3>
 
221
    <span style="font-weight: bold;">Refine</span> is typically used in
 
222
    a proofing situation, in which a verification chart is being used to
 
223
    check the accuracy of a proofing system. (It might also be used for
 
224
    more arbitrary color alterations by created two test chart files by
 
225
    hand.) By using the errors between the target chart and the measured
 
226
    values, refine attempts to improve the match between the proofing
 
227
    system and its target.<br>
 
228
    <br>
 
229
    There is facility in <a href="collink.html">collink</a>, <a
 
230
      href="colprof.html">colprof</a> and <a href="revfix.html">revfix</a>
 
231
    to incorporate an abstract profile. <br>
 
232
    <br>
 
233
    For systems using two device profiles or a device link to convert
 
234
    between the target space printing files and the proofing device
 
235
    space, the following would be a typical scenario:<br>
 
236
    <br>
 
237
    <div style="margin-left: 40px;">We have a reference set of test
 
238
      chart values, read from the target system <span
 
239
        style="font-weight: bold;">reference.ti3</span>. The ICC profile
 
240
      for the target system is <span style="font-weight: bold;">target.icm</span>.
 
241
      The ICC profile for the proofing system is <span
 
242
        style="font-weight: bold;">proofer.icm</span>. If using a device
 
243
      link, the device link used to print proofer test charts is
 
244
      currently <span style="font-weight: bold;">target_proofer.icm</span>:<br>
 
245
      <br>
 
246
      <br>
 
247
      First we print the test chart out on the proofing system and read
 
248
      it in, resulting in a <span style="font-weight: bold;">chart1.ti3</span>
 
249
      file.<br>
 
250
      <br>
 
251
      Lets check how well the proofing system current matches using
 
252
      verify:<br>
 
253
      <br>
 
254
      &nbsp;&nbsp;&nbsp; verify&nbsp; reference.ti3 chart1.ti3<br>
 
255
      <br>
 
256
      We then create our initial abstract correction fix profile <span
 
257
        style="font-weight: bold;">fix1.icm</span> using refine:<br>
 
258
      <br>
 
259
      &nbsp;&nbsp;&nbsp; refine -v -c&nbsp; reference.ti3 chart1.ti3
 
260
      proofer.icm fix1.icm<br>
 
261
      <br>
 
262
      Applying this to your process for creating the proofer device
 
263
      profile or target to proofing device link (choose one of the three
 
264
      options below, depending whether you are using the proofer profile
 
265
      and just want to alter its colorimetric B2A table using <span
 
266
        style="font-weight: bold;">revfix</span>, whether you are going
 
267
      to recreate the proofer file from the original measurement data
 
268
      using&nbsp; <span style="font-weight: bold;">colprof</span>, or
 
269
      whether you are using a device link profile created using <span
 
270
        style="font-weight: bold;">collink</span>):<br>
 
271
      <br>
 
272
      &nbsp;&nbsp;&nbsp; revfix -v -1 -ke -p fix1.icm proofer.icm
 
273
      proofer_fix1.icm<br>
 
274
      or<br>
 
275
      &nbsp;&nbsp;&nbsp; copy proofer.ti3 proofer_fix1.ti3<br>
 
276
      &nbsp;&nbsp;&nbsp; colprof -v -p fix1.icm proofer_fix1<br>
 
277
      or<br>
 
278
      &nbsp;&nbsp;&nbsp; collink -v -s -ia -oa -p fix1.icm target.icm
 
279
      proofer.icm target_proofer_fix1.icm<br>
 
280
      <br>
 
281
      Note that the above example is a simple one - you should use all
 
282
      the same options as you used to create your initial <span
 
283
        style="font-weight: bold;"><span style="font-weight: bold;"></span>proofer.icm&nbsp;
 
284
 
 
285
      </span>or <span style="font-weight: bold;">target_proofer.icm</span>,
 
286
      with the addition of the "-p fix1.icm" option to specify the
 
287
      abstract correction profile be applied.<br>
 
288
      <br>
 
289
      Use the <span style="font-weight: bold;">proofer_fix1.icm</span>
 
290
      or <span style="font-weight: bold;">target_proofer_fix1.icm</span>
 
291
      to print out the test chart again, and read it in, resulting in <span
 
292
        style="font-weight: bold;">chart2.ti3</span> file.<br>
 
293
      <br>
 
294
      Lets check how well the proofing system matches after this first
 
295
      round of refinement using verify:<br>
 
296
      <br>
 
297
      &nbsp;&nbsp;&nbsp; verify&nbsp; reference.ti3 chart2.ti3<br>
 
298
      <br>
 
299
      <br>
 
300
      <span style="font-weight: bold;"><span style="font-weight: bold;">&gt;&gt;&gt;</span></span><br>
 
301
      <span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br>
 
302
      <span style="font-weight: bold;"><span style="font-weight: bold;">&nbsp;</span></span>We
 
303
can
 
304
 
 
305
      then start another round of improvement:<br>
 
306
      <br>
 
307
      We refine our previous abstract correction fix profile using
 
308
      refine:<br>
 
309
      <br>
 
310
      &nbsp;&nbsp;&nbsp; refine -v&nbsp; reference.ti3 chart2.ti3
 
311
      proofer.icm fix1.icm fix2.icm<br>
 
312
      <br>
 
313
      Applying this new abstract profile to our process for creating the
 
314
      proofing device profile or link again:<br>
 
315
      <br>
 
316
      &nbsp;&nbsp;&nbsp; revfix -v -1 -ke -p fix2.icm proofer.icm
 
317
      proofer_fix2.icm<br>
 
318
      or<br>
 
319
      &nbsp;&nbsp;&nbsp; copy proofer.ti3 proofer_fix2.ti3<br>
 
320
      &nbsp;&nbsp;&nbsp; colprof -v -p fix2.icm proofer_fix2<br>
 
321
      or<br>
 
322
      &nbsp;&nbsp;&nbsp; collink -v -s -ia -oa -p fix2.icm target.icm
 
323
      proofer.icm target_proofer_fix2.icm<br>
 
324
      <br>
 
325
      Use the <span style="font-weight: bold;">proofer_fix2.icm</span>
 
326
      or <span style="font-weight: bold;">target_proofer_fix2.icm</span>
 
327
      to print out the test chart again, and read it in, resulting in <span
 
328
        style="font-weight: bold;">chart3.ti3</span> file.<br>
 
329
      <br>
 
330
      Check again how well the proofing system matches after this first
 
331
      round of refinement using verify:<br>
 
332
      <br>
 
333
      &nbsp;&nbsp;&nbsp; verify&nbsp; reference.ti3 chart3.ti3<br>
 
334
      <br>
 
335
      Rounds of improvements can be continues by looping back to <span
 
336
        style="font-weight: bold;">&gt;&gt;&gt;</span>, being careful to
 
337
      increment the names of the <span style="font-weight: bold;">fixN.icm</span>,&nbsp;
 
338
 
 
339
      <span style="font-weight: bold;">proofer_fixN.icm</span> or <span
 
340
        style="font-weight: bold;">target_proofer_fixN.icm</span> and <span
 
341
        style="font-weight: bold;">chartN.ti3</span>files. Stop when
 
342
      exhausted, or if it looks like things are getting worse, rather
 
343
      than better. If the latter happens, it might be good to revert to
 
344
      the results from a previous round.<br>
 
345
    </div>
 
346
    <br>
 
347
    <br>
 
348
    <br>
 
349
    <br>
 
350
    <br>
 
351
    <br>
 
352
    <br>
 
353
  </body>
330
354
</html>