Specifications

Linear Image Transforms
7-7
7
CcsFft2D
Computes the forward
or inverse 2D FFT of an
image in complex-
conjugate format.
void iplCcsFft2D(IplImage*
srcImage
, IplImage*
dstImage
,
int
flags
);
srcImage
The source image in RCPack2D format.
dstImage
The resultant image. This image must be a multi-channel
image containing the same number of channels as
srcImage
.
This image cannot be the same as the input image
srcImage
(that is, an in-place operation is not allowed).
flags
Specifies how to perform the FFT. This is an integer
whose bits can be assigned the following values using
bitwise logical
OR:
IPL_FFT_Forw Do forward transform.
IPL_FFT_Inv Do inverse transform.
IPL_FFT_NoScale Do inverse transform without
scaling.
IPL_FFT_UseInt Use only integer core.
IPL_FFT_UseFloat Use only float core.
IPL_FFT_Free Only free all working arrays and
exit.
Discussion
The function iplCcsFft2D() performs an FFT on each channel in the
specified rectangle ROI of the input image
srcImage
and writes the output
in
RCPack2D format to the image
dstImage
. The output data will be
clamped (saturated) to the limits
Min and Max that are determined by the
data type of the output image.