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

This function performs a forward Fast Fourier Transform.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FIP_FFT_forward_from_image(
        HIGEAR hIGear, 
        LPHIGCOMPLEXOBJ lphIGComplexObj, 
        enumIGFFTScalingMethods nScalingMethod, 
        AT_BOOL bCenterTransform
);

Arguments:

Name Type Description
hIGear HIGEAR Handle of the image to be processed.
lphIGComplexObj 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:

Grayscale - 8, 16, 32 bpp.

Sample:

FreqIP

Example:

 
Copy Code
HIGEAR hIGear;                           /* Handle of input image */
HIGCOMPLEXOBJ hIGComplexObjOut; /* Handle of output data */
...
IG_FIP_FFT_forward_from_image(hIGear, &hIGComplexObjOut, IG_FFT_SCALING_SQRTN, TRUE);
...

Remarks:

The difference between this function and IG_FIP_FFT_forward() is that this function takes a HIGEAR as the input.

Is this page helpful?
Yes No
Thanks for your feedback.