LSegment::MrcStartBitmapSegmentation

Summary

Initializes internal fields of the class object.

Syntax

#include "ltwrappr.h"

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

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

See Also

Elements

Topics

Example

For an example, refer to LSegment::MrcSegmentBitmap.

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

LEADTOOLS MRC C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.