ImageGear .NET v25.1 - Updated
ForwardDCTFromImage Method




ImageGear.Processing.Advanced Assembly > ImageGear.FreqIP Namespace > ImGearFrequencyProcessing Class : ForwardDCTFromImage Method
An ImageGear.Core.ImGearPage class object to be transformed.
Computes the forward Discrete Cosine Transform (DCT) of the input image.
Syntax
'Declaration
 
Public Shared Function ForwardDCTFromImage( _
   ByVal page As ImGearPage _
) As ImGearComplexObject
'Usage
 
Dim page As ImGearPage
Dim value As ImGearComplexObject
 
value = ImGearFrequencyProcessing.ForwardDCTFromImage(page)
public static ImGearComplexObject ForwardDCTFromImage( 
   ImGearPage page
)
public: static ImGearComplexObject* ForwardDCTFromImage( 
   ImGearPage* page
) 
public:
static ImGearComplexObject^ ForwardDCTFromImage( 
   ImGearPage^ page
) 

Parameters

page
An ImageGear.Core.ImGearPage class object to be transformed.

Return Value

Remarks
This method computes the forward Discrete Cosine Transform (DCT) of the input image. The difference between this method and ForwardDCT method is that this one takes an ImageGear.Core.ImGearPage class as the input.

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.CanApplyForwardDCTFromImage 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