CIE-CHART - November, 1989 Robert B. Goldstein and Larry Arend Eye Research Institute of Retina Foundation 20 Staniford St. Bobton, MA 02114 (617) 742-3140 Internet: goldstein%cdv.decnet@mghccc.harvard.edu MAKE-CIE-CHART is a Fortran program that produces a rendering, on an image processor, of the CIE color diagram. The program sends the output directly to an image processor via the subroutine SHIP_IMAGE. In order to run this program, the user must provide his own image processor setup program (called ADSET in make-cie-chart) and his own version of SHIP_IMAGE. Three planes (512x512) (red,green,blue) are produced, each with data in the range 0-255. The data have been gamma corrected and therefore should be displayed with linear lookup tables. A command file, MAKE-CIE-CHART.COM is provided to link and run the program. The command file assigns 2 logicals, TV and PIX, which are just assigned to the current directory. The main program is linked to 2 sets of subroutines, ANNOTATE_SUBS.FOR and COLORPROG3.FOR. Presently, linking the program will cause 2 undefined external references, ADSET and SHIP_IMAGE, which pertain to the image processor. If the user wishes to run this program and doesnt have an image processor, it is only necessary to comment out two lines in the main program that call these subroutines. ------------------------------------------------------------------------ LOAD-CIE-CHART.FOR is a program that reads the datafiles CIE-1A.R, CIE-1A.G, CIE-1A.B into VAX memory. These files are one of the renderings producable by the make-cie-chart program. They are provided in the event the user is only interested in the final result, and does not want to experiment with the program that produces the rendering. The above datafiles constitute three planes of a 512x512 image, with each pixel being one byte in the range 0-255. ---------------------------------------------------------------------- Other files of interest in this directory are: FONT88.DAT - a Font file for use in annotating the image SPECT.DAT - The (x,y) coordinates of the CIE Spectrum locus nnn.CAL - 2 different .CAL files needed by the program containing calibration data for 2 different CRTs. TEK-89.GAMMATABLE A file that allows the program to do gamma corrections via table lookup rather than analyticly.