MIELAS -- NRSA ELAS Tape to Database Transfer
Transfers image data from an ELAS format magnetic tape to an image
database.
Progress of this program can be monitored. See MONITOR section.
This program was specially written to read tapes generated by the
National Remote Sensing Agency (NRSA) located at Balanagar,
Hyderabad, India. It makes the following assumptions about the tape
format:
- The number of pixels per line is 716.
- The number of bands is 12 maximum.
- Image data is stored in band-interleaved-by-line (BIL) format.
Warning: MSH cannot read headers for this tape format!
PARAMETERS
MIELAS is controlled by the following global parameters:
Name Prompt Count Type
FILE Database File Name 1-64 Char
MTIC Mag Tape Input Channel List 1-12 Int
DBOC Database Output Channel List 1-12 Int
MTIW Mag Tape Input Window 4 Int
DBOW Database Output Window 0-4 Int
STARTFIL Start File on Tape 1 Int
FILE
Specifies the filename of the PCIDSK image database to receive
output imagery from MIELAS. The image database must exist prior to
running MIELAS and would be created using CIM. The syntax of the
filename is system dependent.
EASI>FILE="...filename..."
MTIC
Specifies a list of image channels that exist on the input ELAS
format magnetic tape:
EASI>MTIC=i,j,...,p | integers, 1-12
- Up to 12 channels can be handled.
- Ranges of channels can be specified with negative values. For
example, {1,-4,10} is internally expanded to {1,2,3,4,10}.
DBOC
Specifies a list of output image channels that reside in a database
image file:
EASI>DBOC=i,j,...,p | integers, 1-12
- Up to 12 channels can be handled.
- Ranges of channels can be specified with negative values. For
example, {1,-4,10} is internally expanded to {1,2,3,4,10}.
- Output channels may be of any type (8, 16 or 32 bit).
MTIW
Specifies a rectangular subset of an image on magnetic tape to be
used for input to the MIELAS task:
EASI>MTIW=Xoffset,Yoffset,Xsize,Ysize
EASI>MTIW= | defaults to entire image
- The offset + size must not exceed the image size.
DBOW
Specifies a rectangular subset of the image channels in the output
image database file that receives imagery from MIELAS:
EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize
EASI>DBOW= | defaults to entire image
- The offset + size must not exceed the image size.
STARTFIL
Specifies the start file number on tape from which to start reading
header and image data. If STARTFIL is greater than one, the program
rewinds the tape and advances to the specified file. STARTFIL must
be set to the file number required by MSH program to print tape
header report.
EASI>STARTFIL=1 | read first file on tape
EASI>STARTFIL=n | read nth file on tape
DETAILS
MIELAS reads 8-bit image data from Band Interleaved by Line (BIL)
ELAS format tapes, generated at NRSA, India.
Image data is transferred from any set of image channels on tape
(MTIC) to any set of image channels on the database (DBOC).
Any arbitrary rectangular window on tape (MTIW) can be transferred
to any arbitrary window on the file (DBOW). Shrinking and/or zooming
is performed if the input window size does not equal the output
window size. If the database output window is not specified, it
defaults to the entire file.
A TAPE MUST BE MOUNTED ON THE TAPE DRIVE BEFORE MIELAS CAN BE
RUN. CLEANING THE TAPE HEADS IS RECOMMENDED TO MINIMIZE THE
CHANCE OF TAPE READ ERRORS.
MONITOR
Program progress can be monitored by printing the percentage of
completed processing in odometer fashion. A system parameter,
MONITOR, controls this activity:
EASI>MONITOR="ON" | turn monitor ON (default)
EASI>MONITOR="OFF" | turn monitor OFF (recommended if
| running in batch/background mode)
EXAMPLE
Read 8-band full ELAS image from tape to 716 pixel x 751 scan- line
x 8-channel image database file, then transfer to video display:
EASI>FILE="ELAS"
EASI>DBSZ=720,751
EASI>DBNC=8
EASI>RUN CIM | create database file
EASI>DBOC=1,2,3,4,5,6,7,8
EASI>VALU=0,0,0,0,0,0,0,0
EASI>DBOW=
EASI>R CLR | zero the output image
EASI>MTIC=DBOC
EASI>MTIW=0,0,716,751 | input window must be specified
EASI>DBOW=MTIW
EASI>STARTFIL=1
EASI>RUN MIELAS | read tape
EASI>RUN DCP "ID 1,2,3 : LZ" | show images 1,2,3. Zero LUTs
EASI>DBIC=1,2,3 | display first three bands
EASI>VDOC=1,2,3
EASI>DBIW=
EASI>VDOW=
EASI>RUN IVI | display overview
EASI>RUN DCP "LE" | enhance LUTs
About PCI Help Gateway