LBitmap::ObjectCounterCallBack

#include "ltwrappr.h"

virtual L_INT LBitmap::ObjectCounterCallBack(rcRect, pObject)

L_RECT rcRect;

/* Lead rectangle */

L_INT * * pObject;

/* two dimensional array */

Handles each object found by LBitmap::ObjectCounter function.

Parameter

Description

rcRect

A rectangle structure used to specify the area where the object exists.

pObject

A two dimensional array represents the information about the object shape.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function is used to control a part of the image where the object was found.

LBitmap::ObjectCounter supports only 1-bit images. The callback should reflect that if there are any operations on the image itself.

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.

See Also

Functions:

LBitmap::DeleteObjectInfo, LBitmap::EndFastMagicWandEngine, LBitmap::ObjectCounter, LBitmap::StartFastMagicWandEngine, LBitmap::FastMagicWand, LBitmapRgn::SetRgnMagicWand

Topics:

Raster Image Functions: Image Analysis

 

Processing an Image

Example

For an example, refer to LBitmap::ObjectCounter.