MAN page from RedHat Other XITE-3.3-3.i386.rpm
CANNY
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
canny - detect edges in image using Canny operator
SYNTAX
canny [<option>...] <input-image> <output-image>
DESCRIPTION
cannycomputes the canny edge strength, angleand/or laplacian of an input image.The program uses two separable filters to implement theGaussian operator and therefore is of the orderof 2*n, where
nis the filter length.
OPTIONS
- -s sigma
- The value of sigmato be used for computing the filters,where sigmais a real value (default 2.0).
- -w diam
- This is an alternative way of specifying sigma in termsof the diameter of pixels in the center region of thegaussian mask. The value of sigmais computed from diamby the formula: sigma = diam/2*sqrt(2).
- -k K
- This specifies the scale constant Kto be used incomputing the filters. The default value should do formost applications, but special values may beoccasionally required. Increasing Kincreases filterlength and accuracy, but it also increases the chanceof overflow. The default value is 450.
- -m, -magnitude
- Compute edge magnitude.
- -a, -angle
- Compute edge angle.
- -l, -laplace
- Compute laplace.
- -t, -thin
- Perform thinning on the magnitude image.
RESTRICTIONS
The current implementation has a maximum filter lengthof 50, and a maximum input image width of 1024.
Only UNS_BYTE pixels are supported
REFERENCE
John Canny: A computational Approach to Edge Detection.IEEE Transactions on Pattern analysis and Machine Int.Vol. PAMI-8 No 6 Nov. 1986
EXAMPLES
canny mona.img edge.img
canny -m -s 5 -t mona.img - | threshold - - 50 | xshow
SEE ALSO
canny(3)
AUTHOR
Paul Kloschinsky
Modified for XITE by Otto Milvang and Svein Bøe
ID
$Id: canny.c,v 1.24 1997/02/25 15:28:47 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- RESTRICTIONS
- REFERENCE
- EXAMPLES
- SEE ALSO
- AUTHOR
- ID
This document was created byman2html,using the manual pages.