Bsoft function

img_complex2signedamplitudes

Source:

src/img/img_complex.c

Description:

Converts a complex image to a signed amplitude image.

Algorithm:

	The new image contains the amplitudes of the complex image.

Signs are based on the phase: negative for phase<0, positive for phase>=0.

Arguments:

Bimage* pimage (replaced by new image).

Returns:

int error code.

Prototype:

int img_complex2signedamplitudes(Bimage* p)

Functions used:

balloc
bfree

Other objects included:

struct Bimage
struct Bmarker
class Complex
constant M_PI


Generated by bdoc.pl on Mon Jun 15 11:47:43 2009


Back to the Bsoft home