ImageGear23.Processing.Advanced Assembly > ImageGear.FreqIP Namespace > ImGearFrequencyProcessing Class : ForwardFFTFromImage Method |
'Declaration Public Shared Function ForwardFFTFromImage( _ ByVal page As ImGearPage, _ ByVal scalingMethod As ImGearFFTScalingMethods, _ ByVal useCenteredTransform As Boolean _ ) As ImGearComplexObject
'Usage Dim page As ImGearPage Dim scalingMethod As ImGearFFTScalingMethods Dim useCenteredTransform As Boolean Dim value As ImGearComplexObject value = ImGearFrequencyProcessing.ForwardFFTFromImage(page, scalingMethod, useCenteredTransform)
public static ImGearComplexObject ForwardFFTFromImage( ImGearPage page, ImGearFFTScalingMethods scalingMethod, bool useCenteredTransform )
public: static ImGearComplexObject* ForwardFFTFromImage( ImGearPage* page, ImGearFFTScalingMethods scalingMethod, bool useCenteredTransform )
public: static ImGearComplexObject^ ForwardFFTFromImage( ImGearPage^ page, ImGearFFTScalingMethods scalingMethod, bool useCenteredTransform )
Note that the user must keep track how the transform is centered in the forward FFT in order to know how to de-center it during the inverse FFT, same goes for the scaling method.
Before using this method, like other frequency processing methods, InitializeFFTW method must be called first to initialize the support for FFTW.
Can be applied only to 8, 16, or 32bit grayscale images with one channel.
ImGearFrequencyProcessingVerifier.CanApplyForwardFFTFromImage method can be called to check whether the operation can be performed or not.