% @(#)find_minm.hlq	19.1 (ESO-IPG) 02/25/03 14:03:21 
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      find_minm.hlq
%.AUTHOR     KB, IPG/ESO
%.KEYWORDS   MIDAS, help files, FIND/MINMAX
%.PURPOSE    On-line help file for the command: FIND/MINMAX
%.VERSION    1.0  31-AUG-1984 : Creation, KB
%.VERSION    1.1  30-SEP-1991 : Update, KB
%----------------------------------------------------------------
\se
SECTION./MINM
\es\co
FIND/MINMAX					12-FEB-1997  KB
\oc\su
FIND/MINMAX frame
	find min, max of frame and corresponding pixel numbers
\us\pu
Purpose:  
          Find minimum, maximum value of image frame and the corresponding
          pixel coordinates.
\up\sub
Subject:
          Minimum, maximum.
\bus\sy
Syntax:  
          FIND/MINMAX frame
\ys\pa
          frame = name of image frame to work on
\ap\sa
See also:
          STATISTICS/IMAGE, CUTS/IMAGE, FIND/PIXEL
\as\no
Note: 
          The image is scanned from first to last pixel. The coordinates of
          the first pixel found with minimum and maximum are displayed.
\\
          The minimum and maximum are also stored into real keyword
          OUTPUTR(1,2) and into real descriptor LHCUTS(3,4) of the frame.
\\
          The pixel coordinates are stored into integer keyword OUTPUTI(1-6) 
          as: xmin, ymin, xmax, ymax, zmin, zmax 
\\
          (ymin, ymax, zmin, zmax = 1 if not applicable)
\\
          The corresponding world coordinates are put into OUTPUTR(3-8).
\\
          The command STATISTICS/IMAGE provides (among other) the same 
          information, but FIND/MINMAX is usually faster.
\on\exs
Examples:
\ex
          FIND/MINMAX marano
            Display min, max and corresponding pixel coordinates of image 
            `marano.bdf' and fill descr. LHCUTS and keywords OUTPUTI, OUTPUTR
            accordingly.
\xe 
          FIND/MINMAX asno >Null
            Get min, max and corresponding pixel coordinates of image 
            `asno.bdf' and fill descr. LHCUTS and store into keyword OUTPUTI,
            OUTPUTR. No output is provided on the terminal.
\xe \sxe
