NOTE: The programs IMAGERD and IMAGEWR are the more common methods of creating files for interchange of image data.
Progress of this program can be monitored. See MONITOR section.
Name Prompt Count Type FILI Database Input File Name 1-64 Char FILO Database Output File Name 1-64 Char DBIC Database Input Channel List 1-16 Int DBIW Database Input Window 0-4 Int TEX1 Database Descriptive Text 1 0-48 Char ORIGIN Location of Origin (X,Y) 0-2 Real FLSO Image Scan Line Order 0-1 Int
EASI>FILI="filespec1"
EASI>FILO="filespec2"IPPI automatically creates this .PIP file and transfers data to it.
EASI>DBIC=i,j,...,p
EASI>DBIW=Xoffset,Yoffset,Xsize,Ysize EASI>DBIW= | use entire imageIPPI does not support transfers of greater than 8192 pixels per scan line.
EASI>TEX1="Descriptive text for PCI-BSQ file"
EASI>ORIGIN=UTMXorigin,UTMYoriginThis parameter is useful if transferring to third-party software.
EASI>FLSO=0 | from [N..1] (reverse BSQ order) EASI>FLSO=1 | from [1..N] (forward/PCI order)
Any arbitrary rectangular window on the input file (DBIW) can be transferred to the output file.
The input file must be a PCIDSK file. The output file will be created by this task with a default extension .PIP.
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
| running in batch/background mode)
Header Header
line 1 (channel 1) line N (channel 1)
line 2 " line N-1 "
: :
line N " line 1 "
line 1 (channel 2) line N (channel 2)
line 2 " line N-1 "
: :
line N " line 1 "
line 1 (channel 3) line N (channel 3)
: :
line N (channel M) line 1 (channel M)
PCI Format (FLSO=1) BSQ Reverse (FLSO=0)
The PCI-BSQ format consists of a 512 byte header followed by M
channels of data. Each channel of data consists of N scan lines. Two
variations exist: PCI format, where lines are ordered from 1 to N
(i.e., first scan line first), and Reverse BSQ format, where lines
are ordered from N to 1 (first scan line last). The type of format
is indicated by the FLSO control field in the header record (1=PCI
format, 0=BSQ Reverse).This file is made up of 512 byte records.
FIELD TYPE EXAMPLE DESCRIPTION +----- ---- --------- --------------------------- 1 I*4 512 Number of Lines in MAP 2 I*4 640 Number of Pixels per Line 3 I*4 2 Number of Image channels 4 R*4 1.0 Pixel X-size in metres 5 R*4 1.0 Pixel Y-size in metres 6 C*4 "23 " ASCII creation day 7 C*4 "OCT " ASCII creation month 8 C*4 "87 " ASCII creation year 9 I*4 2 Number of 512 byte records/scan line 10 C*48 "Example..." Text string to Label file 11 R*4 0.0 UTM X origin 12 R*4 0.0 UTM Y origin 13 I*4 8 Bits per pixel (=8) 14 C*412 Reserved for future use 15 I*4 1 FLSO Control
J + (512 - mod(J,512))
For example: if J = 1280, then each line on disk would be 1536 bytes
(3 records) in length where the first 1280 bytes hold image data and
the last 256 bytes are unused.
EASI>FILI="LANDSAT" EASI>FILO="GIS" EASI>DBIC=2 | specify channel to transfer EASI>DBIW=10,10,100,100 | specify window to transfer EASI>FLSO=0 | specify reverse BSQ ordering EASI>RUN IPPI