MAN page from Mandrake Other XITE-3.3-3.i386.rpm
NEGATE
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
negate - negate a band
SYNTAX
#include <
xite/negate.h>
int negate( IBAND b1, IBAND b2 );
DESCRIPTION
Negates b1 into b2. Only largest common rectangleis negated. Accepts all pixel types. For pixeltypes including negative values, the result is
output = -input
For pixel types NOT including negative values,the result is
output = MAX - input
where MAX is the largest value of the actual pixeltype. Both bands must have the same pixel type.Identical in- and out- parameters are legal.
RETURN VALUE
0 => ok
1 => Bands have unknown pixel type
2 => Bands have different pixel types
AUTHOR
Tor L|nnestad, BLAB, IfI, UiO
ID
$Id: negate.c,v 1.26 1997/01/29 10:43:50 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RETURN VALUE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.