ImageGear for C and C++ on Windows v20.0 - Updated
IG_FIP_FFT_forward
API Reference Guide > FreqIP Component API Reference > FreqIP Component Functions Reference > FFT Functions > IG_FIP_FFT_forward

This function performs a forward Fast Fourier Transform.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FIP_FFT_forward(
        HIGCOMPLEXOBJ hIGComplexObj, 
        LPHIGCOMPLEXOBJ lphIGComplexObjOut, 
        enumIGFFTScalingMethods nScalingMethod, 
        AT_BOOL bCenterTransform
);

Arguments:

Name Type Description
hIGComplexObj HIGCOMPLEXOBJ Handle of the input data.
lphIGComplexObjOut LPHIGCOMPLEXOBJ Handle of the result data.
nScalingMethod enumIGFFTScalingMethods Specifies the method of scaling the result data.
bCenterTransform AT_BOOL Flag to indicate whether to center the transform.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

All pixel formats supported by HIGCOMPLEXOBJ object. See IG_FIP_co_obj_create.

Sample:

FreqIP

Example:

 
Copy Code
HIGCOMPLEXOBJ hIGComplexObj;     /* Handle of input data */
HIGCOMPLEXOBJ hIGComplexObjOut; /* Handle of result data */
...
IG_FIP_FFT_forward(hIGComplexObj, &hIGComplexObjOut, IG_FFT_SCALING_SQRTN, TRUE);
...
Is this page helpful?
Yes No
Thanks for your feedback.