FreqDIBFFT  Method

Description         This method uses the Fast Fourier Transform (FFT) algorithm. The returning DIB contains the Fourier spectrum of the source DIB. It works with 4, 8 or 24 bits/pixel. In case of 4 or 8 bits/pixel, the source DIB must contain grayscale images and the palette values in the source DIB must be monotone increasing. It makes no sense to use this function in case of 1 bits/pixel. If the source DIB size is not a power of two, zero padding is used.


Description: 3szog                                  Description: 3szogspektrum

Syntax                 lRet = [BIFilter.]FreqDIBFFT Dib bFFTMethod

Remarks             lRet                         LONGLONG Handle of the newly created DIB on success or 0 on failure.

                            Dib                          LONGLONG Source DIB.

                            bFFTMethod         BOOL             Fast Fourier Transform method

If bFFTMethod = TRUE, then the Fourier transformed of the image will be processed by Sin and Cos functions, if bFFTMethod = FALSE, then it will be processed by square root functions.

See Also