imag

[ XITE Reference Manual | XITE home ]

Name

imag, fftImag - extract imaginary part of complex band

Syntax

 #include <xite/arithmetic.h>

 int imag( IBAND input, IBAND output );

 #include <xite/fft.h>

 int fftImag( IC_BAND input, IR_BAND output );

Description

imag extracts the imaginary part of a complex input band.

fftImag is retained for compatibility with previous XITE versions. It is a macro call to imag.

Restrictions

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

See also

imag(1), real(3), power(3), phase(3), square(3), squareRoot(3), absValue(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 (wrote fftImag)

Revised

Svein Bøe

Id

$Id: imag.c,v 1.32 1997/05/27 14:47:49 svein Exp $