Help for ROTATE

PURPOSE:

ROTATE will rotate a picture any amount about a specified point.
It writes out the necessary parameters and then runs LGEOM
to accomplish the rotation.

EXECUTION:

   The following is the execution statement format for ROTATE:

		ROTATE INP OUT PARAMS

	or, to compute the parameters without GEOM-ing:

		ROTATE INP PARAMS

   where INP, OUT, and PARAMS are parameters discussed in their 
   respective sections.
OPERATION:

ROTATE generates parameters for LGEOM to rotate a picture.
These parameters are passed via parameter I/O routines to file ZZPAR.

The rotation is about an axis normal to the picture and intersecting it at
the specified pixel center of rotation.

The size field should take into account any increase in the number 
of lines and samples due to the rotation.
EXAMPLES:

1) rotate IN OUT SIZE=(1,1,100,160) LINE=15. SAMP=35. ANGL=24.2
----This example will rotate the 100x160 sample file by 24.2 degrees about
    the pixel at line 15 and sample 35.

2) rotate IN OUT SIZE=(1,1,100,160) ANGL=24.2
----This example does the same but about the center of the picture.

3) rotate IN OUT ANGL=-1. CENTER=(50.,30.)
----This example will rotate IN -1. degrees about its center and translate the
    rotated picture so that the center of rotation in the output occupies
    line 50, sample 30.
 TIMING: 
  The following CPU times for ROTATE were obtained on a 
VAX 8650 (MIPL2) in June 1993.

 ORIGINAL PROGRAMMER:    A. R. Gillespie, 25 Jul 1972
 CURRENT COGNIZANT PROGRAMMER:  L.W.Kamp
 PORTED TO UNIX: Steve Pohorsky

 REVISION HISTORY
  93-6-8    SP   Made portable for UNIX.

PARAMETERS:


INP

The data file to be rotated.

OUT

The rotated data file.

SIZE

The area to be rotated.

SL

Starting line of input

SS

Starting sample of input

NL

Number of lines in output

NS

Number of samples in output

ANGLE

The amount of rotation in degrees clockwise.

LINE

The line number of the center of rotation in input.

SAMPLE

The sample of the center of rotation in input.

CENTER

The location of the center of rotation in the output.

NOINTERP

Indicates no interpolation.

IDSNAM

Name of Intermediate Data Set

IDSNS

Bytes per line in Intermediate Data Set

See Examples:


Cognizant Programmer: