real

[ XITE Reference Manual | XITE home ]

Name

real, fftReal - extract real part of complex band

Syntax

 #include <xite/arithmetic.h>

 int real( IBAND input, IBAND output );

 #include <xite/fft.h>

 int fftReal( IC_BAND iband, IR_BAND oband );

Description

real extracts the real part of a complex input band.

fftReal is retained for compatibility with previous XITE versions. It is a macro call to real.

Restrictions

The input may be either complex or double complex, the output may be float or double.

See also

real(1), imag(3), power(3), phase(3), absValue(3), square(3), squareRoot(3), fftDisplay(3), convertBand(3)

Return value

 0 => ok
 1 => bad input pixel type
 2 => bad output pixel type

Author

Tor Lønnestad, BLAB, ifi, UiO

Id

$Id: real.c,v 1.30 1997/05/27 14:46:27 svein Exp $