                                [CONVERT884]

Program Description:

  Allows the user to convert a standard 4-Polarization image file in
  the 8-8-4 format to either of the following:

   a) Raw (headerless) binary complex [32-bit real, 32-bit float] image
   b) Raw Magnitude image [32-bit real]
   c) Raw Magnitude squared image [32-bit real, sigma0]
   d) Raw "RCS" image. [applies a sigma-to-rcs conversion factor).

Program Usage:

     convert884 -i <infile> -o <outfile> -h -p <popt> -d <dopt>

     (ADTS Header ): [-h] Dump image headers to <outfile>.hdr
     (Polarization): [-p] <popt> --> 0: HH [def], 1: HV, 2: VH, 3: VV

     (Output Type) : [-d] <dopt> --> <dopt>:

          0: RAW Complex Image [default]
          1: RAW MAGNITUDE Image
          2: RAW MAGNITUDE**2 [SIGMA-0] Image
          3: RAW RCS Image

Description of Arguments:

     <infile> : File to be converted
     <outfile>: Converted filename
     <popt>   : Type of polarization
     <dopt>   : Type of output

Files Necessary to Compile:

     * Include : adts.h
     * Source  : convert884.c
                 dumphdr.c
                 getimgloc.c
                 read_switch.c
     * Make    : convert884.mk (optional)


Compiling and Linking Code:

   a) gcc -c dumphdr.c [enter]
      gcc -c getimgloc.c [enter]
      gcc -c read_switch.c [enter]
      gcc -o convert884 convert884.c dumphdr.o getimgloc.o read_switch.o -lm [enter]
      
      NOTE: You can use other C compilers. Edit .mk file as necessary.

   b) Using the Makefile [convert884.mk]:

      Perform the following steps:

      % make -f convert884.mk         [Creates executable:  convert884]
      % make -f convert884.mk clean   [Deletes object code       ]
 
