home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / GRAPHICS / EGAVGA / CVD30.ZIP / README < prev   
Encoding:
Text File  |  1991-05-10  |  6.7 KB  |  168 lines

  1.           ╔═════════════════════════════════════════════════════════╗
  2.           ║                                                         ║
  3.           ║              Color Vision Demonstrations                ║
  4.           ║                                                         ║
  5.           ║                       Hans Irtel                        ║
  6.           ║                 University Regensburg                   ║
  7.           ║                          1991                           ║
  8.           ║                                                         ║
  9.           ╚═════════════════════════════════════════════════════════╝
  10.  
  11. ╔════════════════════════════════════════════════════════════════════════════╗
  12. ║                         Installation Level 1                               ║
  13. ╚════════════════════════════════════════════════════════════════════════════╝
  14.  
  15. Running CVD requires:
  16.  
  17.                 o An IBM PC or compatible
  18.         o MS-DOS 3.2 or later
  19.         o Mouse with driver installed
  20.         o VGA color graphics adapter
  21.         o VGA analog color monitor
  22.  
  23. No special setup is necessary for this level of installation.
  24.  
  25.  
  26. Command line to run the program:
  27.  
  28.      CVD [options]
  29.  
  30. These options are available:
  31.  
  32.      -b                   Show a monitor test image for adjusting the 
  33.                           brightness and contrast settings.
  34.  
  35.      -d                   Use German Text
  36.  
  37.      -e                   Use English Text (default)
  38.  
  39.      -q                   Suppress the color selection field.
  40.        
  41.      -g <gammatable>      This option enables CVD to use a special gamma table
  42.                           file. The format of these files is described in
  43.                           the PXL Reference Manual (H. Irtel (1991): PXL:  A
  44.                           Library for Programming Psychological Experiments. 
  45.                           Unpublished manuscript.). The default is to use an
  46.                           approximate gamma table with L=E^(2.5).
  47.  
  48.  
  49. ╔════════════════════════════════════════════════════════════════════════════╗
  50. ║                          Setting up the Monitor                            ║
  51. ╚════════════════════════════════════════════════════════════════════════════╝
  52.  
  53. The color demonstrations of CVD require rather careful monitor settings and
  54. surround conditions.
  55.  
  56.  
  57. I. Surround Conditions
  58.  
  59. Optimal surround conditions for color demonstrations require photopic
  60. adaptation conditions and no light from other sources directly falling on
  61. the screen. Thus illuminate the room but position the light source behind
  62. the monitor.
  63.  
  64.  
  65. II. Monitor Adjustments
  66.  
  67. Each monitor allows controlling its luminance response by a brightness and a
  68. contrast setting. Adjusting these is a two step procedure:
  69.  
  70. 1. Areas with zero intensity have to be completely black. There must be no
  71.    visible background signal. Set the brightness control to zero and increase
  72.    it until there is some visible background intensity. Now reduce it again
  73.    until the background stimulus is gone. This puts the monitor's zero point
  74.    as high as possible without creating desaturation by a background signal.
  75.  
  76. 2. White areas of maximum intensity must be as bright as possible without
  77.    having color fringes or loosing clarity. Increase the contrast control as
  78.    far as possible without getting images with color fringes.
  79.  
  80. To help in monitor adjustment the program CVD may be started with the option
  81. -b in the command line. In this case a dark and a bright rectangle are
  82. shown. Use the dark rectangle for step 1 and the bright rectangle for step
  83. 2. Both rectangles contain three vertical stripes. The inner stripe is
  84. slightly brighter than the outer ones. The differences should be visible
  85. both in the dark and in the bright area. So adjust the monitor such that
  86.  
  87.         a) the dark area is hardly noticable different from the background
  88.        and the inner stripe is slightly brighter than the outer stripes,
  89.        and 
  90.  
  91.         b) the bright field is as bright as possible but the inner and outer
  92.            stripes still are discriminable.
  93.  
  94. Use the brightness control for a) and the contrast control for b).
  95.  
  96.  
  97. III. Geometry
  98.  
  99. To get the correct geometry the monitor's horizontal and vertical size has
  100. to be adjusted such that the single fields of the chromaticity diagram are
  101. right squares.
  102.  
  103.  
  104. ╔════════════════════════════════════════════════════════════════════════════╗
  105. ║                           Installation Level 2                             ║
  106. ╚════════════════════════════════════════════════════════════════════════════╝
  107.  
  108. The program CVD is based on PXL, the author's library for programming
  109. psychological experiments. This library provides a second level of
  110. installation and system tuning for any program that is written with it.  The
  111. previously described first level is sufficient for using CVD in classroom
  112. demonstrations. Using CVD as a research tool may require a more precise
  113. calibration.
  114.  
  115. This is available via a special startup file and a set of parameters which
  116. control PXL's inner working. The startup file is called STARTUP.PXL and may
  117. reside in the current directory or in a directory which is indicated by an
  118. environment variable. This variable's name is PXLTABLES.  It has to contain
  119. the full path name of the directory where the startup file may be found.
  120. Environment variables are set on the DOS command line by the SET command. An
  121. example is 
  122.  
  123.         SET PXLTABLES=C:\CVD
  124.  
  125. which sets the file path to the directory CVD on drive C. 
  126.  
  127. Here is an example of a startup file which sets physical screen size, the
  128. red, green, and blue screen phosphor chromaticities and the maximum
  129. luminance values for the three color channels:
  130.  
  131. startup
  132.     screenwidth = 2260
  133.     screenheight = 1820
  134.     redprimaryx = 0.640
  135.     redprimaryy = 0.330
  136.     redprimaryL = 28.9
  137.     greenprimaryx = 0.290
  138.     greenprimaryy = 0.600
  139.     greenprimaryL = 103.4
  140.     blueprimaryx = 0.150
  141.     blueprimaryy = 0.060
  142.     blueprimaryL = 11.61
  143. end
  144.  
  145. Note that there are certain syntactical restrictions within the startup file.
  146. It has to begin with the keyword "startup" and end with "end". Parameters
  147. are named, the meaning of the names in the example is apparent. screen width
  148. and height are specified in 1 thenth of a millimeter. The luminance values
  149. of the primaries specify the maximum luminance in candela per square meter
  150. for the respective channel. Phosphor chromaticities are given in CIE 1931
  151. xy-chromaticity coordinates. 
  152.  
  153. The most precise level of calibration available is a gamma table with actual
  154. measurements of the luminance response functions.  Please contact the author
  155. if you need more information on calibration. 
  156.  
  157.  
  158.  
  159. Author: Hans Irtel
  160.     Universität Regensburg
  161.     Institut für Psychologie
  162.     Universitätsstr. 31
  163.     8400 Regensburg
  164.  
  165. E-Mail: irtel@vax1.rz.uni-regensburg.dbp.de
  166.  
  167.  
  168.