L_MrcStopBitmapSegmentation

Summary

Ends the bitmap segmentation and frees all data variables and buffers allocated inside the segmentation handle.

Syntax

#include "ltsgm.h"

L_LTSGM_API L_INT L_MrcStopBitmapSegmentation(hSegment)

Parameters

HSEGMENTATION hSegment

Handle to an existing segmentation handle. This handle is obtained by calling the L_MrcStartBitmapSegmentation function.

Returns

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

Comments

This must be the last function the user calls to free any memory that is associated with the segmentation handle. For each call to L_MrcStartBitmapSegmentation, there must be a call to L_MrcStopBitmapSegmentation.

Once this function is called, the segmentation handle passed to this function is no longer valid. The user must call L_MrcStartBitmapSegmentation before using any of the bitmap segmentation functions.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_MrcSegmentBitmap.

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

LEADTOOLS Mixed Raster Content (MRC) C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.