[The first four optional output parameters (in this example
[x],[y],[xo],[yo]) specify registers that are to receive
the coordinates relative to the image ([x] & [y]), and
relative to the origin ([xo] & [yo]), of the location of the
pixel having the maximium value in the image. If there is
more than one such pixel the coordinates are the center of
gravity of the pixels having the maximum value. The 5th
register ([pk]) gets the value of the maximum. The sixth
register ([nm]) gets the number of maximal pixels. If there
is only a single maximal pixel the coordinates are adjusted
using the same method as 'PK' to give sub-pixel accuracy.
The seventh register ([mr]) gets the maximal radius of a
bounding box containing all maximal pixels. (This radius is
zero if there is only a single maximal pixel.)
.INPUT FILE: PIC001
[Enter the name of the image file.]
.ENTER ORIGIN COORDINATES OR <CR> FOR CENTER: 1,1
[Enter the new origin coordinates.]
[In the above example, the computer will find the
highest peak. Its position will be printed in the
RESULTS file. In addition, the
peak position and value will be put into the temporary
registers if output parameters
[x],[y],[xo],[yo],[pk],[nm],[mr] are specified. The
register variables can be used as input to a subsequent shift
('SH') operation.