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

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

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FIP_DST_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_DST_forward_from_image(hIGear, &hIGComplexObjOut);
...

Remarks:

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