MAN page from RedHat Other XITE-3.3-3.i386.rpm
ABSVALUE
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
absValue, fftAmp - take the absolute value of a band
SYNTAX
#include <
xite/negate.h>
int absValue( IBAND b1, IBAND b2 );
#include <xite/fft.h>
int fftAmp( IC_BAND in_band, IR_BAND out_band );
DESCRIPTION
absValuetakes the absolute value of b1 into b2. Only largestcommon rectangle is handled.
Accepts all pixel types. Both bands must have the same pixeltype, except that if b1is complex, then b2may be eithercomplex or real, and if b1is double complex, then b2may be either double complex or double.
Identical in- and out- parameters are legal.
Absolute value of a complex pixel is
sqrt(re * re + im * im)
fftAmpis retained for compatibility with previous XITEversions. It is a macro call to absValue.
RETURN VALUE
0 => ok
1 => Bands have unknown pixel type
2 => Illegal combination of pixel types
AUTHOR
Tor Lønnestad, BLAB, IfI, UiO
MODIFIED
Svein Bøe
ID
$Id: absValue.c,v 1.30 1997/01/29 10:43:47 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RETURN VALUE
- AUTHOR
- MODIFIED
- ID
This document was created byman2html,using the manual pages.