ImageGear for C and C++ on Windows v19.10 - Updated
IG_FIP_FFT_inverse_to_image
API Reference Guide > FreqIP Component API Reference > FreqIP Component Functions Reference > FFT Functions > IG_FIP_FFT_inverse_to_image

This function performs an inverse Fast Fourier Transform.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FIP_FFT_inverse_to_image(
        HIGCOMPLEXOBJ hIGComplexObj, 
        LPHIGEAR lphIGear, 
        enumIGFFTScalingMethods nScalingMethod, 
        AT_BOOL bCenterTransform
);

Arguments:

Name Type Description
hIGComplexObj HIGCOMPLEXOBJ Handle of the input data.
lphIGear LPHIGEAR Handle of the result image.
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.

Pixel format of the output image is Grayscale – 8 or 16 bpp.

Sample:

FreqIP

Example:

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

Remarks:

The difference between this function and IG_FIP_FFT_inverse() is that this function returns a HIGEAR as the result, using the default conversion type IG_FIPDATA_CONV_TYPE_REAL.