ImageGear Professional v18.2 > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_FIP_FFT_forward_from_image( HIGEAR hIGear, LPHIGCOMPLEXOBJ lphIGComplexObj, enumIGFFTScalingMethods nScalingMethod, AT_BOOL bCenterTransform ); |
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. |
Returns the number of ImageGear errors that occurred during this function call.
Grayscale - 8, 16, 32 bpp.
FreqIP
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); ... |
The difference between this function and IG_FIP_FFT_forward() is that this function takes a HIGEAR as the input.