ImageGear .NET v24.12 - Updated
ForwardFFTFromImage Method




ImageGear24.Processing.Advanced Assembly > ImageGear.FreqIP Namespace > ImGearFrequencyProcessing Class : ForwardFFTFromImage Method
ImageGear.Core.ImGearPage class object to be processed.
Specifies the method of scaling the result data.
Flag to indicate whether to use centered transform.
Performs a forward Fast Fourier Transform of the input image.
Syntax
'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
) 

Parameters

page
ImageGear.Core.ImGearPage class object to be processed.
scalingMethod
Specifies the method of scaling the result data.
useCenteredTransform
Flag to indicate whether to use centered transform.

Return Value

Remarks
This method performs a forward Fast Fourier Transform of the input image. The difference between this method and ForwardFFT method is that this one takes an ImageGear.Core.ImGearPage class as the input object.

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.

See Also

Reference

ImGearFrequencyProcessing Class
ImGearFrequencyProcessing Members
ImGearComplexObject Class
ImGearPage Class
ImGearFFTScalingMethods Enumeration