ImageGear for C and C++ on Windows v19.2 - Updated
IG_FIP_DST_forward
API Reference Guide > FreqIP Component API Reference > FreqIP Component Functions Reference > DST Functions > IG_FIP_DST_forward

This function computes the forward Discrete Sine Transform (DST) of the input HIGCOMPLEXOBJ data.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FIP_DST_forward(
        HIGCOMPLEXOBJ hIGComplexObj, 
        LPHIGCOMPLEXOBJ lphIGComplexObjOut
);

Arguments:

Name Type Description
hIGComplexObj HIGCOMPLEXOBJ HIGCOMPLEXOBJ handle of data to be processed.
lphIGComplexObjOut LPHIGCOMPLEXOBJ HIGCOMPLEXOBJ handle of result data.

Return Value:

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

Supported Raster Image Formats:

All pixel formats supported by HIGCOMPLEXOBJ object. See IG_FIP_co_obj_create.

Example:

 
Copy Code
HIGCOMPLEXOBJ hIGComplexObj;     /* HIGCOMPLEXOBJ handle of input image */
HIGCOMPLEXOBJ hIGComplexObjOut; /* HIGCOMPLEXOBJ handle of output image */
...
IG_FIP_DST_forward(hIGComplexObj, &hIGComplexObjOut);
...

Sample:

FreqIP