MBUIMA -- DIPIX Format Tape Image Data Transfer

Transfers one Dipix imagery file (feature or theme) from a Dipix BU format tape to PCIDSK database image channel.

Progress of this program can be monitored. See MONITOR section.

PARAMETERS

MBUIMA is controlled by the following global parameters:

Name     Prompt                                  Count     Type
BUFILE   DIPIX File Name                         1-9       Char
FILE     Database Filename                       1-64      Char
MTIW     Mag Tape Input Window                   0-4       Int
DBOW     Database Output Window                  0-4       Int
DBOC     Database Output Channel List            1         Int

BUFILE

Specifies the name of the file to be read. MBUIMA reads only one Dipix BU image file per run. The filename should be of the form:

 Character:      1 2 3  4 5  6 7 8 9
 Contents:       (A A A)(X X)(C C C C)
Characters 1 through 3 specify an Dipix area name. Characters 4 and 5 specify the type of image file: Feature (FF) Theme (TT), or 16-bit unsigned integer (FS). Characters 6 through 9 specify a Dipix style channel identifier.

 EASI>BUFILE="...string..."

FILE

Specifies the PCIDSK file to which to write the imagery data.

 EASI>FILE="filespec"           | input file name

MTIW

Specifies a rectangular window on tape that will be transferred to the database image.

 EASI>MTIW=Xoffset,Yoffset,Xsize,Ysize
 EASI>MTIW=                     | defaults to image size on tape

DBOW

Specifies a rectangular window on the database image to which to transfer the tape data.

 EASI>DBOW=Xoffset,Yoffset,Xsize,Ysize
 EASI>DBOW=                     | default to size of database
                                | image channels

DBOC

Specifies one output image channel on the database image file.

 EASI>DBOC=i                            | integer
Output channels may be of any type (8, 16 or 32 bit).

DETAILS

MBUIMA transfers one Dipix imagery file (BUFILE) from a Dipix format tape to an image channel (DBOC) on a PCIDSK image database file (FILE).

MBUIMA transfers the rectangular window specified by MTIW from the tape into the output window, specified by DBOW, on database. Any arbitrary file and window may be read from tape providing that the window falls within the limits of the image on tape. If no input window is specified, then the window is defaulted to the full size window as determined from the BU tape file. Shrinking and zooming in both dimensions are automatically performed.

The two types of Dipix image files supported by this task are feature files and theme files. Each byte of a feature file is characterized by a 256-level value ascribed to its associated pixel. Each byte of a theme file defines up to eight themes (one per bit) which may be associated with that pixel.

The Dipix BU file name is stored in the database channel descriptor on completion of the data transfer.

MBUIMA only reads ONE file in per run. So if you want to transfer `N' channels on tape to database, then you must run MBUIMA `N' times, setting up the appropriate parameters.

The description of the Dipix tape format is given in documentation for MBUREP program.

MBUIMA can read Dipix BU image files which have a maximum of 32768 pixels per line for 8-bit unsigned imagery. (If not 8-bit unsigned imagery, MBUIMA will handle a maximum scanline width of 8192 pixels.) (On IBM PCs, up to 16384 pixels per line of 8-bit unsigned imagery or 4096 pixels per line of non 8-bit imagery can be processed.)

 A TAPE MUST BE MOUNTED ON THE TAPE DRIVE BEFORE MBUIMA 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

Transfer Dipix image file NOAFFBND2 from tape to channel 1 on a PCIDSK database file:

 EASI>BUFILE="NOAFFBND2"
 EASI>FILE="NOAFFBND2.PIX"
 EASI>MTIW=
 EASI>DBOW=
 EASI>DBOC=1
 EASI>RUN MBUIMA

About PCI Help Gateway