NUM -- Database Image Numeric Window

Prints a numeric window of image data on the report device.

See Also: BIT, HIS

PARAMETERS

NUM is controlled by the following global parameters:

Name     Prompt                                  Count     Type
FILE     Database File Name                      1-64      Char
DBIC     Database Input Channel List             1-1024    Int
DBIW     Database Input Window                   4         Int
REPORT   Report Mode: TERM/OFF/filename          0-64      Char

FILE

Specifies the name of the PCIDSK file which is to be examined.

 EASI>FILE="filespec"

DBIC

Specifies the input database channels to be examined.

 EASI>DBIC=m,n,...,p

DBIW

Specifies the rectangular window to be viewed.

 EASI>DBIW=Xoffset,Yoffset,Xsize,Ysize

REPORT

Specifies the file to which to append the generated report.

 EASI>REPORT="filename"
 EASI>REPORT=           | defaults to terminal output
Note: The following names have special meaning:

 EASI>REPORT="TERM"     | generates reports on your terminal
 EASI>REPORT="DISK"     | generates reports on file "IMPRPT.LST"
 EASI>REPORT="OFF"      | usually cancels report generation, but
                        | NUM forces REPORT to terminal output

DETAILS

NUM prints a numeric window (DBIW) of up to 1024 input channels (DBIC) to a selected report device (REPORT). A numeric window shows the actual numeric grey level values at each pixel. Grey level values depend on the type of data that the channel contains. The input window parameter (DBIW) consists of 4 values: horizontal and vertical offsets from the upper left corner of the image, and horizontal and vertical window size.

A report device (REPORT) must be selected. If REPORT is "OFF", it defaults to terminal output. When the report is directed to the terminal, it is printed on the user's terminal, one page at a time. If the report consists of more than one page, the user is prompted to either view the next page (<cr>), scroll the remaining pages ([G]o) or exit to the command level (e[X]it).

The number of pixels printed per line depends on the screen or paper width and the type of image data printed. For 8-bit data, this is 17 values per line. Window sizes are adjusted to fit screen or paper. This adjustment may vary between channels, if data types differ.

EXAMPLE

Print a 16 by 8 numeric window (offset 10 by 10) of channel 1 (TM band 1 - blue/green) of the demo database file, irvine.pix.

 EASI>FILE="irvine.pix"          | specify file name
 EASI>DBIC=1                     | specify channel to be printed
 EASI>DBIW=10,10,16,8            | specify window dimensions
 EASI>REPORT=                    | print report on terminal
 EASI>RUN NUM                    | run program
 NUM Database Image Numeric Window  V5.3 EASI/PACE  11:17 03-AUG-94

 irvine.pix                       [S 11PIC   512P   512L] 14-AUG-90
 1 [ 8U]: MCD    0.45 - 0.52 micrometres: Blue-Green      26-JAN-94

 Offset: (   10,   10)  Size: (   16,    8)

      1   1   1   1   1   1   1   1   1   2   2   2   2   2   2   2
      1   2   3   4   5   6   7   8   9   0   1   2   3   4   5   6
   +---------------------------------------------------------------
 11| 57  56  58  55  53  56  61  59  57  56  58  60  58  59  59  60
 12| 56  54  56  55  57  55  59  59  56  58  58  56  55  58  59  59
 13| 54  55  54  56  60  57  57  58  55  61  57  56  56  56  57  58
 14| 54  55  54  56  56  58  58  56  56  57  58  59  57  56  55  59
 15| 57  58  60  58  55  56  56  58  55  54  57  58  57  56  59  61
 16| 57  58  63  63  57  58  58  57  56  57  55  56  56  56  62  60
 17| 55  57  59  62  58  57  57  56  57  59  58  57  58  58  62  61
 18| 61  58  54  59  61  57  54  56  56  56  60  61  58  58  63  64

About PCI Help Gateway