fhtPhase

[ XITE Reference Manual | XITE home ]

Name

fhtPhase - find Fourier transform phase from Hartley transform

Syntax

fhtPhase [-t <title>] <inimage> <outimage>

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.

See also

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

Restrictions

Input must be a single precision Hartley transform.

Return value

 0 => ok
 1 => bad number of arguments
 2 => couldn't read input file
 3 => couldn't write output file

Author

Tor Lønnestad, BLAB, Ifi, UiO

Examples

fhtPhase monah.img monaf.img

Id

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