ImageGear Professional v18.2 > API Reference Guide > FreqIP Component API Reference > FreqIP Component Functions Reference > DCT Functions > IG_FIP_DCT_forward_from_image |
This function computes the forward Discrete Cosine Transform (DCT) of the input image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_FIP_DCT_forward_from_image( HIGEAR hIGear, LPHIGCOMPLEXOBJ lphIGComplexObj ); |
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle of image to be processed. |
lphIGComplexObj | LPHIGCOMPLEXOBJ | HIGCOMPLEXOBJ handle of result data. |
Returns the number of ImageGear errors that occurred during this function call.
Grayscale - 8, 16, 32 bpp.
FreqIP
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of input image */ HIGCOMPLEXOBJ hIGComplexObjOut; /* HIGCOMPLEXOBJ handle of output data */ ... IG_FIP_DCT_forward_from_image(hIGear, &hIGComplexObjOut); ... |
The difference between this function and IG_FIP_DCT_forward() is that this function takes a HIGEAR as the input.