#include "ltwrappr.h"

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

Initializes internal fields of the class object.


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.


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


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 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS MRC C++ Class Library Help