ImageGear Professional DLL v18.1 for Windows
IG_FIP_DCT_forward_from_image
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > FreqIP Component API Reference > FreqIP Component Functions Reference > DCT Functions > IG_FIP_DCT_forward_from_image

Glossary Item Box

This function computes the forward Discrete Cosine Transform (DCT) of the input image.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_FIP_DCT_forward_from_image(
        HIGEAR hIGear, 
        LPHIGCOMPLEXOBJ lphIGComplexObj
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of image to be processed.
lphIGComplexObj LPHIGCOMPLEXOBJ HIGCOMPLEXOBJ handle of result data.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

Grayscale - 8, 16, 32 bpp.

Sample:

FreqIP

Example:

  Copy Code
HIGEAR hIGear;                           /* HIGEAR handle of input image */
HIGCOMPLEXOBJ hIGComplexObjOut; /* HIGCOMPLEXOBJ handle of output data */
...
IG_FIP_DCT_forward_from_image(hIGear, &hIGComplexObjOut);
...

Remarks:

The difference between this function and IG_FIP_DCT_forward() is that this function takes a HIGEAR as the input.

©2014. Accusoft Corporation. All Rights Reserved.