NAME

frq_filter -- perform multiplication of two complex images

PROTOTYPE

unitptr frq_filter( int iDx, int iDy, unitptr uHost)

ARGUMENTS

int iDx
Width of image data
int iDy
Height of image data
unitptr uHost
Host unit
A pointer to the created unit or NULL in the case of an error.

INTERFACE OF THE CREATED UNIT:

X_in[2*iDx*iDy]:
(packed input field 0) complex image No.1
Y_in[2*iDx*iDy]:
(packed input field 1) complex image No.2
X_\out[2*iDx*iDy]:
(packed output field 0) complex product of the two images

DESCRIPTION:

Performs elementwise multiplication of two complex images. Mainly intended to implement filtering of images in the frequency domain. For larger filter sizes this is considerably faster than a convolution in the spatial domain.

STATUS:

preliminary

FILE

nst_fft2d.cc