MAN page from Mandrake Other XITE-3.3-3.i386.rpm
LAPZEROCROSS
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
lapZeroCross - find zero crossing of lapacian
SYNTAX
lapZeroCross [<option>...] <inimage> <outimage>
DESCRIPTION
lapZeroCrossfinds the zero crossing of the laplacianof the input image. The program starts by performingthe laplace operator, followed by calling the crossingroutine.
The output is zero where the laplacian has no zerocrossing, and proportional to the edge strength wherethe laplacian has a zero crossing.
The whole algorithm is:
<Calculate laplacian>;
FOR <every pixel (x,y)>:
IF <in(x,y) have zero crossing>
out(x,y) = MAX(ABS(in(x,y)-in(x+1,y)), \
ABS(in(x,y)-in(x,y+1)))
ELSE
out(x,y) = 0
RESTRICTIONS
inimagemust have bands with pixel type unsigned byte.
OPTIONS
- -a a
- Laplace weight in 8-neighbors. Default 0.
- -b b
- Laplace weight in 4-neighbors. Default -1.
- -c c
- Laplace weight in center. Default 4.
- -scale s
- Laplace output scaling factor. Default 1.0.
- -offset o
- Laplace output offset and crossing level. Default 127.0.
SEE ALSO
lapZeroCross(3),
laplace(1),
gradient(1),
grad(1),
roberts(1),
sobel(1),
prewitt(1),
contour(1),
crossing(1)
RETURN VALUE
0 => ok
1 => bad number of arguments
2 => Can't open input file
3 => Can't open output file
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
EXAMPLES
lapZeroCross -a -1 -b -2 -c 12 -scale 0.5 mona.img monazc.img
ID
$Id: lapZeroCross.c,v 1.23 1997/01/16 15:53:29 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- OPTIONS
- SEE ALSO
- RETURN VALUE
- AUTHOR
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.