This function creates a new object based on the given hIGearRe and hIGearIm.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_FIP_co_obj_create( HIGCOMPLEXOBJ* lphIGComplexObj, HIGEAR hIGearRe, HIGEAR hIGearIm ); |
Name | Type | Description |
---|---|---|
lphIGComplexObj | HIGCOMPLEXOBJ* | Handle to return the newly created object. |
hIGearRe | HIGEAR | Handle pointing to an image to be used as the real part of the newly created object. |
hIGearIm | HIGEAR | Handle pointing to an image to be used as the imaginary part of the newly created object. |
Returns the number of ImageGear errors that occurred during this function call.
Grayscale - 8, 16, 32 bpp.
The dimension of the newly created object is determined by the width and height of hIGearRe and hIGearIm. If hIGearIm is not NULL, this function requires hIGearRe and hIGearIm to have the same width and height; otherwise, the width and height of hIGearRe is used.
Data from hIGearRe and hIGearIm is then used respectively to populate the real and imaginary buffer in the newly created object.
hIGearRe and hIGearIm should only have one channel with bit depth being 8, 16, or 32.