NAME
edge_detect_setup - performs edge detection
SYNOPSIS
#include "CVIPimage.h"
#include "CVIPdef.h"
#include "CVIPfs.h"
#include <limits.h>
Image *edge_detect_setup(Image *imageP, int program)
<imageP> - pointer to an Image structure
<program> - edge detector to apply; one of:
EDGE_KIRSCH
EDGE_ROBINSON
EDGE_PYRAMID
EDGE_LAPLACIAN
EDGE_SOBEL
EDGE_ROBERTS
EDGE_PREWITT
EDGE_FREI
PATH
$CVIPHOME/SPATIALFILTER/edge_detect.c
DESCRIPTION
edge_detect_setup is the frontend function for the edge
detection subroutines. This function performs edge detec-
tion on an input image, primarily through the application of
2-D convolution masks. The function calls the appropriate
edge detection program, also located in edge_detect.c.
TYPES AND CONSTANTS
See libspatialfilter
RETURN VALUES
An edge-detected image
HISTORY
History information recorded: None
SEE ALSO
libspatialfilter, edge_detect_filter
AUTHOR
Copyright (C) 1996 SIUE - by Scott E. Umbaugh, Greg Hance,
and Kun Luo.