Bsoft function

img_complex_product

Source:

src/img/img_complex.c

Description:

Calculates the complex product of two complex images.

Algorithm:

	Complex product:

(a + ib)*(c + id) = (a*c - b*d) + i(b*c + a*d).
Requirement: The two images must be the same size.
No statistics are calculated.

Arguments:

Bimage* pfirst complex image (replaced by new image).
Bimage* p2second complex image.

Returns:

int error code.

Prototype:

int img_complex_product(Bimage* p, Bimage* p2)

Functions used:

bfree

Other objects included:

struct Bimage
struct Bmarker
class Complex


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


Back to the Bsoft home