Bsoft function

img_pack_two_in_complex

Source:

src/img/img_complex.c

Description:

Packs two real images into one complex image.

Algorithm:

	Two real space images are packed into the real and imaginary parts

of a new data block with conversion from the original non-complex type.
The header values of the first image are adopted for the new image.
No statistics are calculated.

Arguments:

Bimage* p1first image.
Bimage* p2second image.

Returns:

Bimage* the new complex image, NULL on error.

Prototype:

Bimage* img_pack_two_in_complex(Bimage* p1, Bimage* p2)

Functions used:

balloc
bfree
copy_img_header
error_show

Other objects included:

struct Bimage
struct Bmarker
class Complex
constant M_PI
class Matrix3
struct Transform
constant VERB_


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


Back to the Bsoft home