summaryrefslogtreecommitdiff
path: root/doc/dispread.html
blob: e1ce8611deb2a77606831fee3824049380405cb1 (plain)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>dispread</title>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <meta name="author" content="Graeme Gill">
  </head>
  <body>
    <h2><b>spectro/dispread</b>&nbsp;</h2>
    <h3>Summary</h3>
    Display test patches on a monitor, read the colorimetric value
    result with the colorimeter, and create the chart readings file. The
    type of instrument is determined by the communication port selected.
    Emission and display measurement instruments are supported.<br>
    <br>
    If you want to read a display manually rather than automatically,
    see <a href="chartread.html">chartread</a> and the <a
      href="chartread.html#d">-d</a> option.<br>
    <h3>Usage</h3>
    <small style="font-family: monospace;">dispread [-options]<i>
        inoutfile</i><br>
      &nbsp;<a href="#v">-v</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













      &nbsp;&nbsp;&nbsp;&nbsp; Verbose mode<br>
      &nbsp;</small><font size="-1"><a style="font-family: monospace;"
        href="#display">-display displayname</a><span
        style="font-family: monospace;"> [X11 only] Choose X11 display
        name<br>
      </span></font><font size="-1"><span style="font-family:
        monospace;">&nbsp;<a href="#dnm">-d n[,m]</a>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        [X11 only]Choose the display from the following list (default
        1),<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
and
optionally
choose
a
different
display
m













        for VideoLUT access.</span></font><br>
    <font size="-1"><span style="font-family: monospace;">&nbsp;<a
          href="#d">-d n</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Choose
the
display
from
the
following
list













        (default 1)</span></font><small style="font-family: monospace;"><br>
    </small><span style="font-family: monospace;">&nbsp;<a href="#dweb">-dweb[:port]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;















      Display via a web server at port (default 8080)</span><br>
    <small style="font-family: monospace;"> <span style="font-family:
        monospace;">&nbsp;</span><a style="font-family: monospace;"
        href="#c">-c listno</a><span style="font-family: monospace;">
        &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set
        communication port from the following list (default 1)<br>
      </span></small><font size="-1"><span style="font-family:
        monospace;">&nbsp;<a href="#p">-p</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













        Use telephoto mode (ie. for a projector) (if available)</span></font><br>
    &nbsp; <font size="-1"><span style="font-family: monospace;"><a
          href="#y">-y X</a>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Display














        type - instrument specific list to choose from.</span></font><br>
    <small style="font-family: monospace;">&nbsp;<span
        style="text-decoration: underline;">-</span><a href="#k">k
        file.cal</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













      Load calibration file into display while reading<br>
    </small><small style="font-family: monospace;">&nbsp;<span
        style="text-decoration: underline;">-</span><a href="#K">K
        file.cal</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Apply













      calibration file to test values while reading</small><br>
    <small style="font-family: monospace;">&nbsp;<a href="#s">-s</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













      &nbsp;&nbsp;&nbsp;&nbsp; Save spectral information (default don't
      save)<br>
    </small><font style="font-family: monospace;" size="-1">&nbsp;<a
        href="#P">-P ho,vo,ss[,vs]</a>&nbsp;&nbsp;&nbsp;&nbsp; Position
      test window and scale it<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ho,vi:
0.0
=
left/top,
0.5
=
center,













      1.0 = right/bottom etc.<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ss:
0.5
=
half,
1.0
=
normal,













      2.0 = double etc.<br>
    </font><font size="-1"><span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;






        ss,vs: = optional horizontal, vertical scale.</span></font><br>
    <font style="font-family: monospace;" size="-1"> &nbsp;</font><font
      size="-1"><span style="font-family: monospace;"><a href="#F">-F</a>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













        Fill whole screen with black background</span></font><br
      style="font-family: monospace;">
    <small style="font-family: monospace;">&nbsp;<span
        style="text-decoration: underline;"></span><a href="#n">-n</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
[X11
only]
Don't
set
override
redirect













      on test window<br>
    </small><small style="font-family: monospace;">&nbsp;<a href="#J">-J</a>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













      &nbsp;&nbsp;&nbsp;&nbsp; Run calibration first</small><br>
    <font size="-1"><span style="font-family: monospace;">&nbsp;<a
          href="#N">-N</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













        Disable initial calibration of instrument if possible<br>
      </span></font><font size="-1"><span style="font-family:
        monospace;">&nbsp;</span><a style="font-family: monospace;"
        href="#H">-H</a><span style="font-family: monospace;">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &nbsp;&nbsp;&nbsp;&nbsp; Use high resolution spectrum mode (if
        available)</span></font><font size="-1"><span
        style="font-family: monospace;"></span><span style="font-family:
        monospace;"><br>
        &nbsp;<a href="#w">-w</a>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Disable
normalisation
of
white
to
Y
=













        100</span></font><small><span style="font-family: monospace;"></span></small><br>
    &nbsp; <font size="-1"><span style="font-family: monospace;"><a
          href="#X1">-X file.ccmx</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













        Apply Colorimeter Correction Matrix</span></font><br>
    <span style="font-family: monospace;">&nbsp;<a href="#X2">-X
        file.ccss</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Use
Colorimeter
Calibration













      Spectral Samples for calibration</span><font size="-1"><span
        style="font-family: monospace;"><br>
      </span></font><small><span style="font-family: monospace;">&nbsp;</span><a
        style="font-family: monospace;" href="#Q">-Q <i>observ</i></a><span
        style="font-family: monospace;">&nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp;&nbsp;&nbsp; Choose CIE Observer for spectrometer or CCSS
        colorimeter data:</span><br style="font-family: monospace;">
      <span style="font-family: monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1931_2 </span></small><small><span
        style="font-family: monospace;">(def.)</span></small><small><span
        style="font-family: monospace;">, 1964_10, S&amp;B 1955_2, shaw,
        J&amp;V 1978_2, 1964_10c</span></small><br>
    <small><span style="font-family: monospace;">&nbsp;<a
          href="dispread.html#I">-I b|w</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Drift
compensation,
Black:
-Ib,
White:
-Iw,
Both:













        -Ibw<br>
      </span></small><font size="-1"><span style="font-family:
        monospace;">&nbsp;</span><a style=" font-family: monospace;"
        href="#YA">-<font size="-1">Y</font> A</a><span
        style="font-family: monospace;">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;




        Use non-adaptive integration time mode (if available).</span></font><br>
    <font size="-1"><span style="font-family: monospace;">&nbsp;</span><a
        style="font-family: monospace;" href="#C">-C "command"</a><span
        style="font-family: monospace;">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Invoke shell
        "command" each time a color is set<br>
      </span></font><font size="-1"><span style="font-family:
        monospace;">&nbsp;</span><a style="font-family: monospace;"
        href="#M">-M "command"</a><span style="font-family: monospace;">
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Invoke shell
        "command" each time a color is measured</span></font><br>
    <font size="-1"><span style="font-family: monospace;">&nbsp;<a
          href="#W">-W n|h|x</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Override
serial
port
flow
control:
n
=













        none, h = HW, x = Xon/Xoff</span></font><br>
    <small style="font-family: monospace;">&nbsp;<a href="#D">-D [level]</a>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Print debug
      diagnostics to stderr</small><br>
    <small style="font-family: monospace;">&nbsp;<a href="#p1"><i>inoutfile</i></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;













      Base name for input[<a href="File_Formats.html#.ti1">.ti1</a>]/output[<a
        href="File_Formats.html#.ti3">.ti3</a>] file.<br>
    </small> <br>
    <b>Examples</b><br>
    <br>
    dispread -c1 -i92 mycrt<br>
    <h3>Comments<br>
    </h3>
    This is the tool for exercising a display, in order to measure its
    color characteristics. The device test colors are defined by the
    outfile.ti1 file, while the resulting device+colorimetric and
    optional spectral readings are stored in the outfile.ti3 file.
    Display calibration curves can be applied during the measurements,
    and the curves included in the resulting .ti3 data file using the <span
      style="font-weight: bold;">-k</span>flag. See <a
      href="dispcal.html">dispcal</a> for information on how&nbsp; to
    calibrate the display before profiling it. For best results, you
    should run this against a neutral grey desktop background, and avoid
    having any bright images or windows on the screen at the time you
    run it.<br>
    <br>
    <a name="v"></a> The <b>-v</b> flag reports progress information.<br>
    <br>
    <a name="display"></a><span style="font-weight: bold;">-display</span>:
    When running on a UNIX based system that used the X11 Windowing
    System, <b>dispread</b> will by default use the $DISPLAY
    environment variable to determine which display and screen to read
    from. This can be overridden by supplying an X11 display name to the
    <span style="font-weight: bold;">-display</span> option. Note that
    if Xinerama is active, you can't select the screen using $DISPLAY or
    -display, you have to select it using the <span style="font-weight:
      bold;">-d</span> parameter.<br>
    <br>
    <a name="d"></a> <span style="font-weight: bold;">-d</span>: By
    default the main display will be the location of the test window. If
    the system has more than one display or screen, an alternate
    display/screen can be selected with the <span style="font-weight:
      bold;">-d</span> parameter. If you invoke <span
      style="font-weight: bold;">dispread</span> so as to display the
    usage information (i.e. "dispread -?" or "dispread --"), then the
    discovered displays/screens will be listed. Multiple displays may
    not be listed, if they appear as a single display to the operating
    system (ie. the multi-display support is hidden in the video card
    driver). On UNIX based system that used the X11 Windowing System,
    the <span style="font-weight: bold;">-d</span> parameter will
    override the screen specified by the $DISPLAY or <span
      style="font-weight: bold;">-display</span> parameter.<br>
    <br>
    On X11 the inability to access VideoLUTs could be because you are
    trying to access a remote display, and the remote display doesn't
    support the XF86VidMode extension, or perhaps you are running
    multiple monitors using NVidia TwinView, or MergedFB, and trying to
    access anything other than the primary monitor. TwinView and
    MergedFB don't properly support the XF86VidMode extension for
    multiple displays. You can use <a href="dispwin.html#r">dispwin -r</a>
    to test whether the VideoLUTs are accessible for a particular
    display. See also below, on how to select a different display for
    VideoLUT access. Also note that dispcal will fail if the Visual
    depth doesn't match the VideoLUT depth. Typically the VideoLUTs have
    256 entries per color component, so the Visual generally needs to be
    24 bits, 8 bits per color component.<br>
    <br>
    <a name="dnm"></a>Because of the difficulty cause by TwinView and
    MergedFB in X11 based systems, you can optionally specify a separate
    display number after the display that is going to be used to present
    test patches, for accessing the VideoLUT hardware. This must be
    specified as a single string, e.g. <span style="font-weight: bold;">-d













      1,2</span> . Some experimentation may be needed using <a
      href="dispwin.html">dispwin</a> on such systems, to discover what
    screen has access to the VideoLUT hardware, and which screens the
    test patches appear on. You may be able to calibrate one screen, and
    then share the calibration with another screen. Profiling can be
    done independently to calibration.<br>
    <br>
    <a name="dweb"></a><span style="font-weight: bold;">-dweb</span> or
    <span style="font-weight: bold;">-dweb:port</span> starts a
    standalone web server on your machine, which then allows a local or
    remote web browser to display the the color test patches. By default
    port <span style="font-weight: bold;">8080</span> is used, but this
    can be overridden by appending a <span style="font-weight: bold;">:</span>
    and the port number i.e. <span style="font-weight: bold;">-dweb:8001</span>.
    The URL will be <span style="font-weight: bold;">http://</span>
    then name of the machine or its I.P. address followed by a colon and
    the port number - e.g something like <span style="font-weight:
      bold;">http://192.168.0.1:8080</span>. If you use the verbose
    option (<span style="font-weight: bold;">-v</span>) then a likely
    URL will be printed once the server is started, or you could run <span
      style="font-weight: bold;">ipconfig</span> (MSWin) or <span
      style="font-weight: bold;">/sbin/ifconfig</span> (Linux or OS X)
    and identify an internet address for your machine that way.
    <b> JavaScript</b> needs to be enabled in your web browser for this
    to work.<br>
    <br>
    Note that if you use this method of displaying test patches, that
    there is no access to the display VideoLUTs and that the colors will
    be displayed with 8 bit per component precision, and any
    screen-saver or power-saver will not be disabled. You will also be
    at the mercy of any color management applied by the web browser, and
    may have to carefully review and configure such color management.
    See the <a href="dispcal.html#o">-o</a> flag for an explanation of
    the implications of having no access to the VideoLUTs.<br>
    <br>
    <a name="c"></a> <span style="font-weight: bold;">-c</span>: The
    instrument is assumed to communicate through a USB or serial
    communication port, and the port can be selected with the <b>-c</b>
    option, if the instrument is not connected to the first port. If you
    invoke <span style="font-weight: bold;">dispread</span> so as to
    display the usage information (i.e. "dispread -?" or "dispread --"),
    then the discovered USB and serial ports will be listed. On
    UNIX/Linux, a list of all possible serial ports are shown, but not
    all of them may actually be present on your system.<br>
    <br>
    <a name="p"></a>The <span style="font-weight: bold;">-p</span> flag
    allows measuring in telephoto mode, using instruments that support
    this mode, e.g. the ColorMunki. Telephoto mode is one for taking
    emissive measurements from a distance (ie. telespectometer,
    tele-colorimeter) mode, and typically would be used for measuring
    projector type displays. If a device does not support a specific
    telephoto mode, then the normal emissive mode may be suitable for
    measuring projectors.<br>
    <br>
    <a name="y"></a>The <span style="font-weight: bold;">-y</span> flag
    allows setting the Display Type. The selection typically determines
    two aspects of of the instrument operation: <span
      style="font-weight: bold;">1)</span> It may set the measuring mode
    to suite <a
      href="http://en.wikipedia.org/wiki/Comparison_of_display_technology"><span
        style="font-weight: bold;">refresh</span> or <span
        style="font-weight: bold;">non-refresh</span> displays</a>.
    Typically only LCD (Liquid Crystal) displays have a non-refresh
    nature. <span style="font-weight: bold;">2)</span> It may select an
    instrument calibration matrix suitable for a particular display
    type. The selections available depends on the type and model of
    instrument, and a list of the options for the discovered instruments
    will be shown in the <a href="ArgyllDoc.html#CmdLine">usage</a>
    information. For more details on what particular instruments support
    and how this works, see <a href="instruments.html">Operation of
      particular instruments</a>. <b>3)</b> Any installed CCSS files
    (if applicable), or CCMX files. These files are typically created
    using <a href="file:///D:/src/argyll/doc/ccxxmake.html">ccxxmake</a>,
    and installed using <a
      href="file:///D:/src/argyll/doc/oeminst.html">oeminst</a>. The
    default and Base Calibration types will be indicated in the usage.<br>
    <br>
    <a name="s"></a><span style="font-weight: bold;">-s</span>: By
    default only the colorimetric information (XYZ value) will be saved,
    but for instruments that support spectral readings (such as the
    Gretag Spectrolino), the <b>-s</b> option will save the spectral
    readings to the .ti3 file as well.<br>
    <br>
    <a name="k"></a> <span style="font-weight: bold;">-k: </span>If a
    display video lookup table calibration <a
      href="File_Formats.html#.cal">.cal</a> file is provided, it will
    be loaded into the display <span style="font-weight: bold;">ViedoLUTs</span>
    while the measurements are being taken, thereby being applied to the
    measurement values, and the calibration will also included in the
    resulting .ti3 data file, so that <a href="colprof.html">colprof</a>
    can include it as a <span style="font-weight: bold;">vcgt</span>
    tag in the resulting profile. This is the <span style="font-weight:
      bold;">normal</span> way to profile a calibrated display. The
    calibration file has usually been created using <a
      href="dispcal.html">dispcal</a>. If a calibration file is not
    created, then the display will be read in whatever calibration state
    it is in. If the calibration file indicates that the displays
    VideoLUTs are not accessible, or if they prove not to be accessible,
    then dispread will switch to <span style="font-weight: bold;">-K</span>
    mode (see below). <span style="font-weight: bold;">NOTE</span> that
    the calibration is loaded into the display hardware just before the
    instrument starts measurement, after the test window first appears.<br>
    <br>
    <a name="K"></a> <span style="font-weight: bold;">-K: </span>If a
    display video lookup table calibration <a
      href="File_Formats.html#.cal">.cal</a> file is provided, it will
    be applied to the test values for each measurement, and also
    included in the resulting .ti3 data file, so that <a
      href="colprof.html">colprof</a> can include it as a <span
      style="font-weight: bold;">vcgt</span> tag in the resulting
    profile. This is <span style="font-weight: bold;">NOT</span>
    normally the best way to profile a calibrated display, since the
    frame buffer may have lower precision than the VideoLUTs output
    values.<br>
    <br>
    <a name="P"></a> The <span style="font-weight: bold;">-P</span>
    parameter allows you to position and size the test patch window. By
    default it is places in the center of the screen, and sized
    appropriately for the type of instrument. The <span
      style="font-weight: bold;">ho</span> and <span
      style="font-weight: bold;">vo</span> values govern the horizontal
    and vertical offset respectively. A value of 0.0 positions the
    window to the far left or top of the screen, a value of 0.5
    positions it in the center of the screen (the default), and 1.0
    positions it to the far right or bottom of the screen. If three
    parameters are provided, then the <span style="font-weight: bold;">ss</span>
    parameter is a scale factor for the test window size. A value of 0.5
    for instance, would produce a half sized window. A value of 2.0 will
    produce a double size window. If four parameters are provided, then
    the last two set independent horizontal and vertical scaling
    factors. Note that the ho,vo,ss or ho,vo,hs,vs numbers must be
    specified as a single string (no space between the numbers and the
    comma). For example, to create a double sized test window at the top
    right of the screen, use <span style="font-weight: bold;">-P 1,0,2</span>
    . To create a window twice as wide as high: <span
      style="font-weight: bold;">-P 1,0,2,1</span>.<br>
    <br>
    <a name="F"></a> The <span style="font-weight: bold;">-F</span>
    flag causes the while screen behind the test window to be masked
    with black. This can aid black accuracy when measuring CRT displays
    or projectors.<br>
    <br>
    <a name="n"></a><span style="font-weight: bold;">-n</span>: When
    running on a UNIX based system that used the X11 Windowing System, <b>dispread</b>
    normally selects the override redirect so that the test window will
    appear above any other windows on the display. On some systems this
    can interfere with window manager operation, and the <b>-n</b>
    option turns this behaviour off.<br>
    <br>
    <a name="J"></a> The -<span style="font-weight: bold;">J</span>
    option runs through the black and sensor relative calibration
    routines for the Xrite DTP92 and DTP94 instrument, the black level
    calibration for the Eye-One Display 1, and a CRT frequency
    calibration for the Eye-One Display 2. For the black calibration the
    instrument should be placed on an opaque, black surface, and any
    stray light should be avoided by placing something opaque over the
    instrument. If a Spectrolino is being used, then a white and black
    calibration will always be performed before the instrument can be
    placed on the display, unless the <a href="#N">-N</a> flag is used.
    Generally it is not necessary to do a calibration every time an
    instrument is used, just now and again. There is no point in
    doing&nbsp; a CRT frequency calibration, as this will be done
    automatically at the commencement of patch reading.<br>
    <br>
    <a name="N"></a> <span style="font-weight: bold;">-N</span> Any
    instrument that requires regular calibration will ask for
    calibration on initial start-up. Sometimes this can be awkward if
    the instrument is being mounted in some sort of measuring jig, or
    annoying if several sets of readings are being taken in quick
    succession. The -<span style="font-weight: bold;">N</span>
    suppresses this initial calibration if a valid and not timed out
    previous calibration is recorded in the instrument or on the host
    computer. It is advisable to only use this option on the second and
    subsequent measurements in a single session.<br>
    <br>
    <a name="H"></a> The -<span style="font-weight: bold;">H</span>
    option turns on high resolution spectral mode, if the instrument
    supports it. See <a href="instruments.html">Operation of particular
      instruments</a> for more details. This may give better accuracy
    for display measurements.<br>
    <br>
    <a name="w"></a>The <b>-w</b> flag disables the normalisation of
    the white patch value to 100.0, resulting in values that are in
    cd/m^2. This is mainly for diagnostic purposes.<br>
    <br>
    <a name="X1"></a> The -<span style="font-weight: bold;">X <span
        style="font-style: italic;">file.ccmx</span></span> option reads
    a <a href="File_Formats.html#.ccmx">Colorimeter Correction Matrix</a>
    from the given file, and applies it to the colorimeter instruments
    readings. This can improve a colorimeters accuracy for a particular
    type of display. A list of contributed <span style="font-weight:
      bold;">ccmx</span> files is <a href="ccmxs.html">here</a>.<br>
    <br>
    <a name="X2"></a> The -<span style="font-weight: bold;">X <span
        style="font-style: italic;">file.ccss</span></span> option reads
    a <a href="File_Formats.html#.ccss">Colorimeter Calibration
      Spectral Sample</a> from the given file, and uses it to set the
    colorimeter instruments calibration. This will only work with
    colorimeters that rely on sensor spectral sensitivity calibration
    information (ie. the X-Rite <span style="font-weight: bold;">i1d3</span>,
    or the DataColor <span style="font-weight: bold;">Spyder4</span>).This
can
improve
a













    colorimeters accuracy for a particular type of display.<br>
    <br>
    <a name="Q"></a> The <b>-Q</b> flag allows specifying a tristimulus
    observer, and is used to compute PCS (Profile Connection Space)
    tristimulus values from spectral readings or using a colorimeter
    that has CCSS capability. The following choices are available:<br>
    <b>&nbsp; 1931_2</b> selects the standard CIE 1931 2 degree
    observer. The default.<br>
    &nbsp; <b>1964_10</b> selects the standard CIE 1964 10 degree
    observer.<br>
    &nbsp; <b>1955_2</b> selects the Stiles and Birch 1955 2 degree
    observer<br>
    &nbsp; <b>1978_2 </b>selects the Judd and Voss 1978 2 degree
    observer<br>
    &nbsp; <b>shaw</b> selects the Shaw and Fairchild 1997 2 degree
    observer<br>
    &nbsp; <b>1964_10c</b> selects a version of the CIE 1964 10 degree
    observer that has been adjusted using a 3x3 matrix to better agree
    with the 1931 2 degree observer.<br>
    <br>
    <span style="font-weight: bold;">NOTE</span> that if you select
    anything other than the default 1931 2 degree observer, that the Y
    values will not be cd/m^2, due to the Y curve not being the CIE 1924
    photopic V(&#955;) luminosity function.<br>
    <br>
    <a name="I"></a> The -<span style="font-weight: bold;">I <span
        style="font-style: italic;">b|w</span></span> options invoke
    instrument black level, and display white level compensation
    (respectively). Instrument black level drift compensation attempts
    to combat instrument black calibration drift by using a display
    black test patch as a reference. If an instrument is not
    acclimatised sufficiently to the measurement conditions, changes in
    temperature can affect the black readings. Display white level drift
    compensation attempts to combat changes in display brightness as it
    warms up by measuring a white patch every so often, and using it to
    normalise all the other readings. If just instrument black drift
    compensation is needed, use <span style="font-weight: bold;">-Ib</span>.
    If just display white level compensation is needed, use <span
      style="font-weight: bold;">-Iw</span>. If both are needed, use <span
      style="font-weight: bold;">-Ibw</span> or <span
      style="font-weight: bold;">-Iwb</span>.<span style="font-weight:
      bold;"> <br>
      <br>
    </span><a name="YA"></a> The -<span style="font-weight: bold;">Y A</span>
    option uses a non-adaptive integration time emission measurement
    mode, if the instrument supports it, such as the Eye-One Pro or
    ColorMunki. By default an adaptive integration time measurement mode
    will be used for emission measurements, but some instruments support
    a fixed integration time mode that can be used with display devices.
    This may give increased consistency and faster measurement times,
    but may also give less accurate low level readings.<br>
    <span style="font-weight: bold;"> <br>
    </span><a name="C"></a> The -<span style="font-weight: bold;">C</span>
    <span style="font-weight: bold;">"command" </span>option allows a
    method of relaying each test value to some other display than that
    on the system running dispread (for instance, a photo frame, PDA
    screen etc.), by causing the given command to be invoked to the
    shell, with six arguments. The first three arguments are the RGB
    test color as integers in the range 0 to 255, the second three
    parameters are the RGB test color as floating point numbers in the
    range 0.0 to 1.0. The script or tool should relay the given color to
    the screen in some manner (e.g. by generating a raster file of the
    given color and sending it to the display being profiled), before
    returning. Note that a test window will also be created on the
    system running dispread.<br>
    <br>
    <a name="M"></a> The -<span style="font-weight: bold;">M</span> <span
      style="font-weight: bold;">"command" </span>option allows a
    method of gathering each test value from some external source, such
    as an instrument that is not directly supported by Argyll. The given
    command is involked to the shell, with six arguments. The first
    three arguments are the RGB test color as integers in the range 0 to
    255, the second three parameters are the RGB test color as floating
    point numbers in the range 0.0 to 1.0. The script or tool should
    create a file called <span style="font-weight: bold;">"command.meas</span>"
    that contains the XYZ values for the given RGB (or measured from the
    test window) in cd/m^2 as three numbers separated by spaces, before
    returning. If the command returns a non-zero return value, dispread
    will abort. Note that a test window will also be created on the
    system running dispread.<br>
    <br>
    <a name="W"></a>The <b>-W</b> <span style="font-weight: bold;">n|h|x</span>
    parameter overrides the default serial communications flow control
    setting. The value <span style="font-weight: bold;">n</span> turns
    all flow control off, <span style="font-weight: bold;">h</span>
    sets hardware handshaking, and <span style="font-weight: bold;">x</span>
    sets Xon/Xoff handshaking. This commend may be useful in workaround
    serial communications issues with some systems and cables. <br>
    <br>
    <a name="D"></a>The <b>-D</b> flag causes communications and other
    instrument diagnostics to be printed to stdout. A level can be set
    between 1 .. 9, that may give progressively more verbose
    information, depending on the instrument. This can be useful in
    tracking down why an instrument can't connect.<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>
    input file, and the <a href="File_Formats.html#.ti3">.ti3</a>
    output file. <b>dispread</b> will add the .ti1 and .ti3 extensions
    automatically.<br>
    <br>
    <span style="font-weight: bold;">NOTE</span> that on an X11 system,
    if the environment variable <span style="font-weight: bold;">ARGYLL_IGNORE_XRANDR1_2</span>
    is set (ie. set it to "yes"), then the presence of the XRandR 1.2
    extension will be ignored, and other extensions such as Xinerama and
    XF86VidMode extension will be used. This may be a way to work around
    buggy XRandR 1.2 implementations.<br>
    <br>
    <hr style="width: 100%; height: 2px;"><br>
    If a large number of patches is being read, the screensaver on many
    systems can interfere with the operation of dispread. It is
    therefore advisable in these cases to manually turn off the
    screensaver before commencing the measurements.<br>
    <br>
    If communications break down with a USB connected instrument, you
    may have to unplug it, and plug it in again to recover.<br>
    <br>
    Some systems (Apple OSX in particular) have a special set of user
    interface controls ("Universal Access") that allows altering the
    display in ways designed to assist visually impaired users, by
    increasing contrast etc. This will interfere badly with any attempts
    to calibrate or profile such a system, and must be turned off in
    order to do so. Note that certain magic keyboard sequences can turn
    this on by accident.<br>
    <br>
    <br>
    <br>
  </body>
</html>