Level 2 Help for NEWMOS

INP

  input file names (can be byte,halfword). The order
  in which the input data sets are specified determines
  the order of preference of the data at any pixel, i.,e.,
  the data in INP(1) has precedence over all other data


OUT

  output file name (can be byte, halfword)


SIZE

  the standard VICAR size field (only NL and NS are used
  and refer to the output picture size.) In the adaptive
  mode NL and NS refer to the maximum size of the output
  picture


SL

  Starting line of the size field--ignored


SS

  Starting sample of the size field--ignored


NL

  Number of lines in the size field or maximum size of the
  output picture.


NS

  Number of samples in the size field or maximum size of the
  output picture.


PIXL

  PIXL=(line1,samp1,line2,samp2,....,lineN,sampN)  

  where (lineI,sampI) are the location in integer line and sample
  in the Ith input picture of a point common to all the pictures.

  (See LCP, SCP, which give the corresponding location in the output
  picture.)


LCP

  lcp=line     LCP is a keyword followed by an integer specifying
  the line position in the output picture of the common point referred
  to by the PIXL param


SCP

  scp=samp     SCP is a keyword followed by an integer specifying the 
  sample position in the output picture of the common point referred
  to by the PIXL param


THRESH

  thre=n1      the integer N1 is the lower threshold DN value used
  in finding the edge of the input picture. (the default is 1) 
  a valid picture edge is not found until NSEQ=N4 consequtive
  pixels of DN greater than THRE=N1 have been found. 


LTHRESH

  lthr=n2      control the left/right threshold DN values individually.
  The program searches the picture inward from each edge to find
  a specified number of consecutive pixels above a certain threshold
  DN. The nominal threshold is specified by the keyword THRESH. If
  either of the keywords LTHRESH/RTHRESH is specified, it overrides
  the nominal value only for the left/right edge of the picture. 


RTHRESH

  rthr=n3      control the left/right threshold DN values individually.
  The program searches the picture inward from each edge to find
  a specified number of consecutive pixels above a certain threshold
  DN. The nominal threshold is specified by the keyword THRESH. If
  either of the keywords LTHRESH/RTHRESH is specified, it overrides
  the nominal value only for the left/right edge of the picture. 


ETHRESH

  ethr=n3       sets both the left and right thresholds. ETHRESH can be
  used when the edge detection thresholds are to be different from 
  the picture threshold THRESH=N1.


NSEQ

  nseq=n4       the integer N4 is the number of consecutive picture 
  elements which must be greater than or equal to the lower threshold
  DN for a valid picture edge to be found. 


LSEQ

  lseq=n5       the parameters LSEQ/RSEQ allow the user to control the
  left/right threshold triggers individually. The program searches each
  input picture inward from the left/right edge until it finds LSEQ/RSEQ
  consecutive pixels which are greater than the threshold DN LTHR/RTHR. 
  The nominal search values are specified by the parameter NSEQ. If either
  of the keywords LSEQ/RSEQ is specified, then it overrides the nomial
  (NSEQ) search value only for the left/right edge of the picture.


RSEQ

  rseq=n6       the parameters LSEQ/RSEQ allow the user to control the
  left/right threshold triggers individuallt. The program searches each
  input picture inward from the left/right edge until it finds LSEQ/RSEQ
  consecutive pixels which are greater than the threshold DN LTHR/RTHR. 
  The nominal search values are specified by the parameter NSEQ. If either
  of the keywords LSEQ/RSEQ is specified, then it overrides the nomial
  (NSEQ) search value only for the left/right edge of the picture.


ADAPT

  ADAPT is a keyword which specifies that the input pictures have
  been map projected by MAP2 and that NEWMOS should attempt to just fit
  all the input pictures into the output picture.   The ADAPT keyword is
  similar to  the MAP2 keyword and implies the MAP2 keyword.  The difference
  between the ADAPT and MAP2 keywords is that when ADAPT is specified, NEWMOS 
  will determine the LCP and SCP parameters and change the size of the output
  picture to whatever size is necessary to fit all input pictures.  This 
  size will not be greater than the size specified in the VICAR size field.
  The default is to specify LCP, and SCP and create an output picture 
  of the size specified in the VICAR size field. If the output picture 
  should be bigger than NL * NS to contain all the input pictures the number 
  of lines and samples will be truncated.

  For Mercator, normal cylindrical, and simple cylindrical projections,
  the number of samples for the output image is determined by one of two
  ways.  By default, the program searches for the largest gap between the
  input images in the longitude direction.  It then uses the ends of the gap
  as the left and right edges of the output image.  Thus the output image
  contains all longitudes except for those in the largest gap.  This is done to
  minimize the size of the output image.  If there is no gap, the number of
  samples is set to correspond to 360 degrees of longitude.  However, if the
  NOMIN keyword is specified, no attempt to minimize the number of samples is
  made, and it is possible to have more than 360 degrees of longitude in the
  output image. 


NOMIN

  If the NOMIN keyword is specified, no attempt to minimize the number of
  samples is made, and it is possible to have more than 360 degrees of
  longitude in the output image.  This applies to both adaptive algorithm
  (see HELP ADAPT) and to the Normal Cylindrical case.  For other map
  projections, the range of longitudes can exceed 0-360 degrees by 
  adjusting the SAMPLE value of the MAP labels, but for Normal Cyl., this
  does not suffice:  NOMIN must also be specified.


NIBB

  nibb=n7            The integer N7 specifies the number of pixels in from
  the edge of the picture to be set to a DCLEVEL. This parameter is designed
  to remove the interpolation at picture edges caused when LGEOM interpolates
  across a step function. (The default=0)


LNIB

  lnib=n8            The integers N8/N9 specify the number of pixels to be 
  set to zero or to DCLEVEL at the left/right edge of the picture.  These para-
  meters override the parameter NIBB. (The default is N8=N9=N7) 


RNIB

  rnib=n9            The integers N8/N9 specify the number of pixels to be 
  set to zero or to DCLEVEL at the left/right edge of the picture.  These para-
  meters override the parameter NIBB. (The default is N8=N9=N7) 


DCLEV

  dcle=n10           The integer N10 specifies the background DN level N10 
  of all the pixels in the output picture which are not overlaid by input
  picture data. (The default=0)


INCR

  incr=n11           The integer N11 specifies the frequency of sampling
  pixels in each line of each input picture to test for an edge. (The default
  is to sample every tenth pixel.) This option was put in to speed up the
  program.


FORMAT

  FORMAT is a keyword which specifies the data type of the output
  files (HALF or BYTE). Default is that the output file has the same
  format as the input files.


AVER

  AVER is a keyword specifying that the output mosaic should use the average
  of the DN's of pixels which have DN's greater then THRESH.
  Weighting is performed according to the weight keyword.
  DNout=sum(DNin*WEIGHTin)/sum(WEIGHTin).


SMOOTH

  Invokes the smooth option. In this mode the first half of the images
 are mosaicked using the second half of the images as weighting masks.
 See program MASKMOS to create the masks for you.
 DN_out= sum( DN_in * DN_mask *Weight_in) / sum( DN_mask * Weight_in)


WEIGHT

  Specifies the weighting of input images in the mosaic.
  Only used in the AVER and SMOOTH options.
  Specify only one weight per input image. 
  In the SMOOTH option weights need only be
  provided for the first 1/2 of the images.
  Defaults to 1.0 for each input.
  For usage see the AVER and SMOOTH keywords.
  Example:  weight=(1.0,2.0,1.2)


MAP2

  MAP2 is a keyword specifying that all the inputs have VICAR labels which
 contain all the information necessary to define the cartography of the input
 pictures. If this keyword is specified the user should not have done any
 other geometric transformation on the pictures after the MAP2 projection
 (including size field operations). The output label will be updated. 
 (See also the ADAPT parameter.)  If MAP2 is specified but ADAPT is not 
 specified, then LCP and SCP should be specified but PIXL should not be
 specified.   (For normal and simple cylindrical projections, LCP and SCP
 correspond to LAT=0 and LONG=0.)
 The default is to specify all the offsets for all the input pictures.


RADIUS

  radi=r1              RADIUS is a keyword and R1 is a floating point number
  specifying the radius (in km.) of the planet being mosaicked. This is
  necessary only when the MAP2 keyword is specified and the frames are
  Mercator projected. 


REQ

  req=r2              REQ and RPOL are keywords similar to RADIUS but refer to 
  the Equatorial and Polar Radius. 


RPOL

  rpol=r2              REQ and RPOL arre keywords similar to RADIUS but refer
  to the Equatorial and Polar Radius. 


TARGET

 Specifies the target body and thereby the radii used by the program.
 Valid: MOON,MCRY,IO,J1,EURO,J2,GANY,J3,CALL,J4,JUPI.

  MOON: specifies that REQ and RPOL are 1738.09 km 
  MCRY: specifies that REQ and RPOL are 2439.0 km (the radius of Mercury)
  IO or J1: specify that REQ and RPOL are set to 1829. km (the radius of Io)
  EURO or J2: specify that REQ and RPOLE are set to 1500. km (the radius
    of Europa)
  GANY or J3: specify that REQ and RPOL are set to 2635. km (the radius
    of Ganymede)
  CALL or J4: specify that REQ and RPOL are set to 2500. km (the radius
    of Callisto)
  JUPI: specified that REQ = 71,400 km, and RPOL = 66,773 (the values for
    Jupiter)