Bsoft function

img_combined_bandpass_complex_product

Source:

src/img/img_complex.c

Description:

Calculates the complex conjugate product of a complex image resulting
from combining and Fourier transforming two real space images.

Algorithm:

	Requirement: Fourier transform of two images packed into one complex

data block with the function img_pack_two_in_complex and then
transformed with the function img_fft.
The Friedel relationships in transforms from real space images are
exploited to transform two images simultaneously and then extract
the individual transforms from the complex data set.
This function extracts the individual transforms and calculates the
complex conjugate product used in cross-correlation.
The result is scaled by the total power of the two transforms within
the resolution limits, yielding the correlation coefficient when
the product is backtransformed into the cross-correlation map.

Arguments:

Bimage* pimage (replaced by new image).
float hireshigh resolution limit.
float loreslow resolution limit.

Returns:

int error code.

Prototype:

int img_combined_bandpass_complex_product(Bimage* p, float hires, float lores)

Functions used:

balloc
bfree

Other objects included:

struct Bimage
struct Bmarker
class Complex
constant M_PI
class Matrix3


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


Back to the Bsoft home