entry ;
Begin
COMMENT
.SEC(TK4023.SAI - Gray scale display package)
.index(TK4023.SAI - Gray scale display package)
file: TK4023.sai
TK4023: Subroutine for displaying halftone pictures
on a Tektronix 4023 terminal. Written by:
Richard Gordon
Image Processing Unit
National Cancer Institute
National Institutes of Health
Building 36, Room 4D28
Bethesda, Maryland 20014 USA
Revised April 13, 1976 - Lemkin, Shapiro - cleaned up and LCS check.
The following parameters must be passed:
title_ an ASCII String
subtitle_ an ASCII String
(x0,y0)_ the coordinates of the lower left hand corner of the
picture in the user's coordinate system.
pict_ an Integer mode Array dimensioned
pict[0:nrows-1,0:ncolumns-1]
nrows_ number of rows
ncolumns_ number of columns
dnsmin _ minimum density of Array pict
dnsmax _ maximum density of Array pict
note: if dnsmin geq dnsmax then the minimum and
maximum densities are calculated from pict
scaling_ 0 for linear scaling, otherwise the ratio
between the brightnesses of the maximum and minimum
densities
film _ "neg" for a negative
"pos" for a positive
npict_ the number to be assigned to the picture
WARNING: the first and last sets of blank rows are trimmed.
Other blank rows will not be seen if TTY parameter NO BLANK is set.
;