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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>spec2cie</title>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<meta name="author" content="Graeme Gill">
</head>
<body>
<h2><b>spectro/</b><span style="text-decoration: underline;"></span>spec2cie</h2>
<h3>Summary</h3>
Convert spectral <a href="File_Formats.html#.ti3">.ti3</a> or <a
href="File_Formats.html#.sp">.sp</a> readings into CIE XYZ and D50
L*a*b* readings. Apply FWA, plot spectrums. Convert to/from XRGA
standard.<br>
This is assumed to be for a reflective media by default - i.e. that
the input .ti3 or .sp file values are spectral reflectances, unless
the input is marked as <span style="font-weight: bold;">DEVICE_CLASS</span>
<span style="font-weight: bold;">EMISINPUT</span> (See the <a
href="ti3_format.html">description of the .ti3 format</a>. This
would have to be done manually, as no ArgyllCMS tools generate such
data.)<br>
<h3>Usage</h3>
<tt><small>spec2cie [options] <span style="font-style: italic;">input.[ti3|sp]
output.[ti3|sp]<br>
</span></small></tt><tt><small>-v
Verbose mode<br>
<a href="A">-A NN|AX|AG|XA|XG|GA|GX</a> XRGA
conversion (default NN)<br>
</small></tt> <tt><small><small> <a href="#I">-I <i>illum</i></a>
Override actual instrument illuminant in .ti3 or .sp file:<br>
A, C, D50, D50M2, D65, F5, F8, F10 or file.sp<br>
(only used in conjunction
with <span style="font-weight: bold;">-f</span>)<br>
</small></small></tt><tt><small><small> <a href="#f">-f [<i>illum</i>]</a>
Use Fluorescent Whitening Agent compensation [simulated inst.
illum.:<br>
M0, M1, M2, A, C, D50 (def.),
D50M2, D65, F5, F8, F10 or file.sp]<br>
</small></small></tt><tt><small><small><small> <a href="#i">-i
<i>illum</i></a>
Choose illuminant for computation of CIE XYZ from spectral
data & FWA:<br>
A, C, D50 (def.), D50M2, D65, F5, F8, F10 or file.sp<br>
</small></small><a href="#o">-o <i>observ</i></a>
Choose CIE Observer for spectral data:<br>
1931_2 </small></tt><tt><small>
(def.)</small></tt><tt><small>, 1964_10, </small></tt><tt><small><tt><small>2012_2,
2012_10, </small></tt>S&B 1955_2, shaw, J&V 1978_2
or file.cmf<br>
<a href="#p">-n</a>
Don't
output
spectral values<br>
</small></tt><tt><small> <a href="#p">-p</a>
Plot each values spectrum</small></tt><tt><br>
</tt><tt> </tt><tt><small> <span style="font-style: italic;">input.[ti3|sp]</span>
Measurement file<br>
<span style="font-style: italic;">output.[ti3</span>|sp]
Converted
measurement file</small></tt><br>
<h3>Comments</h3>
This program takes the (usually reflective) spectral data in a .ti3
or .sp file, converts them to XYZ and D50 L*a*b* and fills the
XYZ_[XYZ] and LAB_[LAB] columns in the output .ti3 or .sp file. If
the columns XYZ_[XYZ] and/or LAB_[LAB] are missing in the input
file, they are added to the output file.<br>
<br>
If FWA correction is applied, then the spectra saved will be FWA
corrected, as well as the XYZ and D50 L*a*b* values.<br>
<br>
All other columns are copied from the input to the output .ti3 or
.sp file.<br>
<br>
Setting an actual instrument/simulated instrument/CIE illuminant
only has an effect for reflective/transmissive spectra. Emissive
spectra don't have an illuminant, and will simply be converted to
XYZ using the given observer. <br>
<br>
<a name="A"></a>The <b>-A</b> parameter allows specifying a
conversion between the <a href="XRGA.html">XRGA</a> measurement
standards:<br>
<br>
The <b>NN</b> argument
disabled any conversion.<br>
The <b>AX</b> argument
converts from XRGA to XRDI<br>
The <b>AG</b> argument
converts from XRGA to GMDI<br>
The <b>XA</b> argument
converts from XRDI to XRGA<br>
The <b>XG</b> argument
converts from XRDI to GMDI<br>
The <b>GA</b> argument
converts from GMDI to XRGA<br>
The <b>GX</b> argument
converts from GMDI to XRDI<br>
<br>
A warning will be issued if the "from" setting doesn't match that
contained in the .ti3 file.<br>
<br>
(XRGA = Modern X-Rite, XRDI = Historical X-Rite, GMD = Historical
GretagMacbeth).<br>
<br>
<a name="I"></a>The <b>-I</b> parameter allows specifying a an
illumination spectrum for the actual instrument illuminant,
overriding that computed from the type of instrument (recorded in
the .ti3 file). This is rarely used. This parameter can only be used
in combination with the <span style="font-weight: bold;">-f</span>
flag. If a filename is specified instead, it will be assumed to be
an Argyll specific <a href="File_Formats.html#.sp">.sp</a> custom
spectrum file. Illuminant details are:<br>
<br>
A CIE
tungsten filament lamp 2848K<br>
D50 CIE daylight 5000K<br>
D65 CIE daylight 6500K<br>
F5 CIE Fluorescent
6350K, CRI 72<br>
F8 CIE Fluorescent
5000K, CRI 95<br>
F10 CIE Fluorescent
5000K, CRI 81<br>
<br>
<br>
<a name="f"></a> The <b>-f</b> flag enables Fluorescent Whitening
Agent (FWA) compensation. This only works if spectral data is
available and, the instrument is not UV filtered. FWA
compensation adjusts the spectral samples so that they appear to
have been measured using an illuminant that has a different level of
Ultra Violet to the one the instrument actually used in the
measurement. The optional illumination parameter allows specifying a
standard or custom illumination spectrum to be used as the similated
instrument illuminant, overriding the default <b>D50</b> or CIE
computation illuminant used for FWA (see <b>-i</b> below<b>). </b>See
<a href="colprof.html#f">colprof -f</a> for a fuller explanation. <br>
<br>
<a name="i"></a>The <b>-i</b> parameter allows specifying a
standard or custom illumination spectrum, applied to spectral .ti3
pr .sp data to compute PCS (Profile Connection Space) tristimulus
values. <b>A</b>, <b>D50</b>, <b>D65</b>, <b>F5</b>, <b>F8</b>,
<b>F10</b> are a selection of standard illuminant spectrums, with <b>D50</b>
being the default. If a filename is specified instead, it will be
assumed to be an Argyll specific <a href="File_Formats.html#.sp">.sp</a>
custom spectrum file. This only works if spectral data is available.
Illuminant details are:<br>
<br>
A CIE
tungsten filament lamp 2848K<br>
D50 CIE daylight 5000K<br>
D65 CIE daylight 6500K<br>
F5 CIE Fluorescent
6350K, CRI 72<br>
F8 CIE Fluorescent
5000K, CRI 95<br>
F10 CIE Fluorescent
5000K, CRI 81<br>
<br>
Custom illuminants are most often used when a viewing booth or
other known viewing conditions is going to be used to view results.
Other illuminant reference files could be created using a suitable
measuring instrument such as a spectrolino, or an eyeone using <a
href="spotread.html">spotread</a>, although such instruments do
not themselves provide the necessary response down to Ultra Violet
that is needed for accurate operation of Fluorescent Whitening Agent
compensation. The best way of measuring a custom illuminant is to
use <a href="illumread.html">illumread</a>, since it uses a special
method to estimate the illuminant UV in a way that complements FWA
compensation. (See the discussion above for the <b>-f</b> flag).<br>
<br>
Note that if an illuminant other than D50 is chosen, the resulting
ICC profile will not be standard, and may not work perfectly with
other profiles that that use the standard ICC D50 illuminant,
particularly if the absolute rendering intent is used. Profiles
should generally be linked with other profiles that have the same
illuminant and observer.<br>
<br>
<a name="o"></a> The <b>-o</b> flag allows specifying a tristimulus
observer, and is used to compute PCS (Profile Connection Space)
tristimulus values. The following choices are available:<br>
<b> 1931_2</b> selects the standard CIE 1931 2 degree observer
(the default).<br>
<b>1964_10</b> selects the standard CIE 1964 10 degree
observer.<br>
<b> 2012_2</b> selects the proposed CIE 2012 2 degree observer<br>
<b>2012_10</b> selects the proposed CIE 2012 10 degree
observer<br>
<b>1955_2</b> selects the Stiles and Birch 1955 2 degree
observer<br>
<b>1978_2 </b>selects the Judd and Voss 1978 2 degree
observer<br>
<b>shaw</b> selects the Shaw and Fairchild 1997 2 degree
observer<br>
<i><b>file.cmf</b></i> selects an observer specified by the
given <a href="File_Formats.html#.cmf">.cmf</a> file.<br>
<br>
Note that if an observer other than 1931 2 degree is chosen, the
resulting ICC profile will not be standard, and cannot be freely
interchanged with other profiles that that us the standard 1931 2
degree observer. Profiles should only be linked with other profiles
that have the same illuminant and observer.<br>
<br>
<br>
<a name="n"></a>The <span style="font-weight: bold;">-n</span> flag
disables the output of the spectral values. If just the XYZ and D50
L*a*b* values are needed, this makes for a smaller, easier to read
file.<br>
<br>
<a name="p"></a>The <span style="font-weight: bold;">-p</span> flag
causes each spectrum to be plotted. If FWA compensation is used,
then the before/after compensation spectruma will be shown.<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
|