LSegment::MrcStartBitmapSegmentation

#include "ltwrappr.h"

L_INT LSegment::MrcStartBitmapSegmentation(pBitmap, clrBackground, clrForeground)

Initializes internal fields of the class object.

Parameters

LBitmapBase * pBitmap

Pointer to an LBitmapBase object that references the bitmap to be segmented.

COLORREF clrBackground

Default base background color for the MRC bitmap.

COLORREF clrForeground

Default base foreground color for the MRC bitmap.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

LSegment::MrcStartBitmapSegmentation must be called before calling any other LEADTOOLS segmentation functions.

When the class object of the segmentation is no longer needed, it should be freed by calling LSegment::MrcStopBitmapSegmentation. For every call to LSegment::MrcStartBitmapSegmentation there must be a call to LSegment::MrcStopBitmapSegmentation.

Required DLLs and Libraries

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS MRC C++ Class Library Help