Help for RPCSCCUB

PURPOSE

     rpcsccub reads an IBIS file of rpc data points (in the usual
     five columns (lon,lat,elev,line,samp) and puts the scales
     and offsets for each of the five variables into another
     column of the file (15 records) in the usual IBIS format
     for rpc scales.
     
TAE COMMAND LINE FORMAT

     rpcsccub INP=A DCOLS=(3,4,5,6,7) SCOL=11 RPCTYPE="B"
     
     where

     A           is an IBIS file with rpc data in cols 3,,7
     DCOLS       are the columns of A containing (lon,lat,elev,
                 line,samp)
     SCOL        is the column to receive the scales and offsets
                 in the usual IBIS format.
     RPCTYPE     is "A" or "B" according to desired rpc format.
OPERATION
   The extrema of each variable sets the scale and offset by
   solving linearly in the fashion required by the rpc
   standard.
   

TIMING

     less than a second.
     
RESTRICTIONS

   The file should have at least 100 points and at least five
   elevation values should be represented multiple times.


WRITTEN BY:            A. L. Zobrist, 06 December 2005

COGNIZANT PROGRAMMER:  A. L. Zobrist

REVISIONS: 
  Fri Dec 28 2007 wlb switched to USES_ANSI_C AND LIB_CARTO; misc cleanup
  2022-07-27 B. Crocco afids to opensource (untested)
  

PARAMETERS:


INP

IBIS file of (lon,lat,elv, line,samp) points with extra column for scale

DCOLS

columns for (lon,lat,elv, line,samp)

SCOL

output column for scale/offsets

RPCTYPE

A - for type A RPC format (nitf) B - for type B RPC format (QB) .END

See Examples:


Cognizant Programmer: