fhtPhase

[ XITE Reference Manual | XITE home ]

Name

fhtPhase - find Fourier transform phase from Hartley transform

Syntax

 #include <xite/fht.h>

 int fhtPhase( IR_BAND inband, IR_BAND outband );

Description

fhtPhase calculates the Fourier transform phase from a Hartley transform. The phase is identical to the phase calculated from the Fourier transform, and the Hartley transform is significantly faster. The phase values are in the interval 0..2PI.

Restrictions

Bands should have equal size. Currently, only single precision float values are accepted.

See also

fhtPhase(1), fht2d(3), fft2d(3), ft2ht(3), ht2ft(3), fhtPower(3)

Return value

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

Author

Tor Lønnestad, BLAB, Ifi, UiO

Id

$Id: fhtPhase.c,v 1.24 1997/04/29 15:17:48 svein Exp $