Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tcprgamma(5) — UTek 4.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

processing(1)

screencopy(1)

x_grf(1)

st_grf(1)

tcprconf(5mdqs)

tcprdither(5)

grf(5)

tcprserver(8mdqs)



TCPRGAMMA(5)            COMMAND REFERENCE            TCPRGAMMA(5)



NAME
     tcprgamma - Tektronix color printer default gamma correction
     intensity values

SYNOPSIS
     /usr/lib/tcpr/tcprgamma.default

DESCRIPTION
     The file /usr/lib/tcpr/tcprgamma.default is the default
     gamma correction file for the tcpr (Tektronix color printer)
     system.

     A terminal screen uses an intensity range of 0 to 255 for
     each color.  The in-between intensity values are matched to
     the color display hardware so there is a continuous
     transition from dark to full brightness.  This transition
     curve does not vary greatly among displays of similar
     brightness, even those from different manufacturers.  Half
     intensity (128) internally gives a brightness on the screen
     that is considerably lower than full intensity.  It appears
     to be only about one-fourth as bright.

     However, a Tektronix color printer is an on-off color
     device.  Its levels of intensity are varied by using ordered
     dithering over square areas of many pixels.  The intensity
     of the color printer copy decreases more evenly, but more
     slowly than on a terminal display.  For example, half
     intensity on paper is represented by writing half the pixels
     in a dithered area. This is much more than "half bright" on
     a display.  Only about one-fourth of the pixels in an area
     need to be on to achieve the visual affect of a half-bright
     display.

     Gamma correction alters the brightness curve by declining
     rapidly at the top and more slowly at the bottom.  This is
     done by a scaling function, implemented in the processing
     software as a look-up table.  The tcprgamma.default file
     contains three tables of 256 values each.  These are the
     default values of the processing command (processing(1)) if
     no user-supplied file is given. The additive colors RGB
     (red, green, blue) of the display and the subtractive colors
     CMY (cyan, magenta, yellow) of the printer are quite pure,
     so the three tables are usually the same.

     Gamma correction scales down the intensity values before
     dithering. This turns on less pixels in an area, bringing
     the intensity down to where the brightness is correct.  The
     default values supplied in the tcprgamma.default file are
     designed to match a high quality video display to a
     Tektronix color printer.  The color printer is a neutral
     intensity device, so the gamma corrections are made for the
     video display.



Printed 4/6/89                                                  1





TCPRGAMMA(5)            COMMAND REFERENCE            TCPRGAMMA(5)



     The user has the option of suppling their own table of gamma
     correction values in a file for use by the processing
     command.  Use this option when the default table does not
     produce optimum results due to differences in colors,
     dithering matrices, or because a more or less intense copy
     is desired.

     The most scientific approach to creating your own gamma
     function is to get the gamma function of your display from
     the manufacturer or measure it with a spectral photometer.
     You need enough discrete values to approximate discrete
     integer values from 0 to 255 and also to scale the output to
     cover the range of 0 to 255.  All independent (original) and
     dependent (gamma-corrected) values must be rounded to
     integers. There must be one entry in the table for each
     original intensity value over the 0 to 255 range.

     A less scientific but much simpler approach is to draw a
     graph of the existing corrective curve.  To bring up the
     brightness in the center, draw another curve that is still
     smooth, but higher in the center, then derive the new values
     from the graph.  It is important that 0 and 255 always map
     into themselves. Otherwise, there are extremes of brightness
     not representable.

     Varying the curves for the three colors separately requires
     more understanding of the subtractive CMY process.  To
     increase the additive RGB red intensity, for example, the
     CMY magenta and yellow values should both be increased.  Be
     sure to consult a reliable source of information on color
     systems before making changes to gamma tables, especially if
     the colors are being adjusted separately.

     The gamma correction values are placed in the file using a
     set of Generic Rastor Format (GRF) tag entries. Any new
     gamma correction file or the tcprgamma.default file must
     contain the following GRF tag entries:

     colorunits {cmy|rgb}
         This tag is  required.

         Specifies the color coordinate system used to encode the
         gamma intensity values.   The gamma intensity values can
         be either in the CMY or RGB color coordinate system.

     gammacorrection {[d,256]|[d,3,256]}
         This tag is  required.

         Specifies the table of gamma correction intensity
         values.





Printed 4/6/89                                                  2





TCPRGAMMA(5)            COMMAND REFERENCE            TCPRGAMMA(5)



         gammacorrection [d,256] is followed by a 256-entry
         table of gamma intensity values.  This duplicates the
         table for all RGB (red, green, blue) or CYM (cyan,
         magenta, yellow) entries depending on the color
         coordinate system used.

         gammacorrection [d,3,256] is followed by a separate
         table for each coordinate of the color system used.  If
         the RGB coordinate system is used, a table of 256 red
         values is followed by tables of 256 green values and 256
         blue values.

     headerend
         This tag is  required.

         Marks the end of all GRF header information.  It must be
         the last GRF tag entry in the file of gamma correction
         values.

FILES
     /usr/lib/tcpr/tcprgamma.default
                                   Default path to table of gamma
                                   correction intensity values.

SEE ALSO
     processing(1), screencopy(1), x_grf(1), st_grf(1),
     tcprconf(5mdqs), tcprdither(5), grf(5), tcprserver(8mdqs).

REFERENCES
     For more information, consult the Users Manual for your
     system.
























Printed 4/6/89                                                  3





































































%%index%%
na:360,134;
sy:494,437;
de:931,3286;4649,3292;8373,1481;
fi:9854,276;
se:10130,352;
re:10482,228;
%%index%%000000000131

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026