L_ExtractObjects_CalcRegion (original) (raw)
Summary
Populates the region for each object using its outline points.
Syntax
#include "l_bitmap.h"
L_LTIMGCOR_API L_INT L_ExtractObjects_CalcRegion(pData, pObjectBuffer, uObjectCount, pOptions)
Parameters
pEXOBJ_DATA pData
Pointer to an EXOBJ_DATA structure representing the extracted object's information.
pEXOBJ_OBJECT *pObjectBuffer
The objects to process. This value cannot be null.
L_UINT uObjectCount
The length of pObjectBuffer
.
pEXOBJ_REGION_OPTIONS pOptions
Additional options. This value cannot be null.
Returns
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Comments
If pSiblings is updated for any of objects of _pObjectBuffer_, they will be considered when determining the region.
Required DLLs and Libraries
- LTIMGCOR
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application
Platforms
Win32, x64, Linux.
See Also
Functions
Example
For an example, refer to L_ExtractObjectsBitmap.
LEADTOOLS Raster Imaging C API Help