MAN page from Mandrake Other XITE-3.3-3.i386.rpm
CROSSING
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
crossing - find zero crossing or any other crossing
SYNTAX
#include <
xite/convolve.h>
int crossing( IBAND iband, IBAND oband, int t );
DESCRIPTION
Can be used to find zero crossing of second derivative,laplace. Can also be used to determine any other kindof crossing. Pixels below or equal to
tare set if the pixelto the right or below is above
t,pixels above
tareset if the pixel to the right or below is below or equal to
t.Pixels that are "set" are set to the maximum absolutedifference of the two neighbours, to indicate the strengthof the edge.
IF (crossing t)
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
Identical ibandand obandarguments are allowed.
RESTRICTIONS
ibandand
obandmust have pixel type unsigned byte.
RETURN VALUE
0 => ok
1 => bad pixel type input band
2 => bad pixel type output band
SEE ALSO
crossing(1),
contour(3)
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
ID
$Id: crossing.c,v 1.24 1997/01/16 15:53:28 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- RETURN VALUE
- SEE ALSO
- AUTHOR
- ID
This document was created byman2html,using the manual pages.