Level 2 Help for MARK

INP


     INP=PIC
 or  INP=(PIC,LOC)

 The primary input image (PIC) will be reproduced as the output image
 with scribed rectangles.  The maximum image width is 2048 samples.

 The optional secondary input (LOC) is used to specify the pixel locations to
 be scribed inside rectangles.  Each record of LOC should contain a list of
 line-sample coordinates (L,S) in REAL data format (single precision floating
 point) as follows:

   L1,S1,L2,S2,L3,S3,...

 A maximum of 900 pixel locations may be input.  

 In certain applications (e.g. TRACKER3) the matching pixel locations from
 pairs of images (tiepoints) may be interleaved in LOC:

    L1,S1,U1,V1,L2,S2,U2,V2,L3,S3,U3,V3,....

 If the keyword 'ODD_ONLY is specified, then pixel coordinates (L1,S1), (L2,S2),
 (L3,S3),... are used.

 If the keyword 'EVENONLY is specified, then pixel coordinates (U1,V1), (U2,V2),
 (U3,V3),... are used.


OUT

 The output image will contain the input with scribed rectangles.


SL

 INTEGER-OPTIONAL
 Starting line.


SS

 INTEGER-OPTIONAL
 Starting sample.


NL

 INTEGER-OPTIONAL
 Number of lines.


NS

 INTEGER-OPTIONAL
 Number of samples.


BOXSIZE

 TYPE=INTEGER

 The interior dimensions of the rectangles.
 The exact dimensions depend on the fractional location of the 
 rectangle center and wither the box is an odd or even number of
 pixels:
         FRACTIONAL PART=F        SIZE=N         CENTERS
                                 ODD  EVEN    LINE    SAMPLE
        0.0 .LE. F .LT. .25      N    N-1      L        S   
        .25 .LE. F .LT. .25      N-1  N        L+1/2    S+1/2
        .75 .LE. F .LT. 1.0      N    N-1      L+1      S+1

 The maximum boxsize is 30 x 30 samples. Default is BOXSIZE=8.


DATA


	DATA=(l1,s2,l2,s2,l3,s3,...)

 The center locations of rectangles to be scribed specified as (line,samp)
 pairs of floating point numbers.   A maximum of 500 locations can be input.


MAXDN


	MAXDN = 3000

 The DN value of the scribed rectangle will be 0 or MAXDN, depending upon
 whether the mean value of the pixels on the perimeter are greater than or
 less than MAXDN/2, respectively.  Default MAXDN=255 for byte data and
 511 for halfword data.

 Note the MAXDN parameter is useful primarily for halfword data since the
 default is only appropriate for old Mariner missions which returned 9 bit data.