% @(#)apply_edge.hlq	19.1 (ESO-IPG) 02/25/03 14:02:56 
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%.COPYRIGHT  (c)  1990 European Southern Observatory
%.IDENT      apply_edge.hlq
%.AUTHOR     KB, IPG/ESO
%.KEYWORDS   MIDAS, help files, APPLY/EDGE
%.PURPOSE    On-line help file for the command: APPLY/EDGE
%.VERSION    1.0  12-OCT-1983 : Creation, KB
%.VERSION    1.1  20-JUN-1991 : Update, KB
%----------------------------------------------------------------
\se
SECTION./EDGE
\es\co
APPLY/EDGE					20-JUN-1991  KB
\oc\su
APPLY/EDGE inframe outframe [thresh]
	do edge detection on an image
\us\pu
Purpose: 
          Do edge detection on an image.
\up\sub
Subject: 
          Edge detection, filter
\bus\sy
Syntax:  
          APPLY/EDGE inframe outframe [thresh]
\ys\pa
          inframe  = input frame
\ap\pa
          outframe = output frame
\ap\pa
          thresh = threshold value for edge detection;
\\
              default = (max-min)/2 of input frame
\ap\no
Note:   
          Apply simple thresholding algorithm (see the book by Gonzalez and
          Wintz, Digital Image Processing, Chapter 7) to detect edges in an
          image.
\on\sa
See also:
          FILTER/... commands
\as\exs
Examples:
\ex
          APPLY/EDGE manzana durazno
          Do edge detection on image manzana.bdf and store result in 
          durazno.bdf, use 0.5*(max-min) of pixels in manzana.bdf as threshold.
\xe \sxe
