L_MrcStopBitmapSegmentation (original) (raw)
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
- LTSGM
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
See Also
Functions
- L_MrcCreateNewSegment
- L_MrcStartBitmapSegmentation
- L_MrcSetSegmentData
- L_MrcDeleteSegment
- L_MrcEnumSegments
- L_MrcCombineSegments
- L_MrcSaveSegmentation
- L_MrcLoadSegmentation
- L_MrcCopySegmentationHandle
- L_MrcSegmentBitmap
Topics
Example
For an example, refer to L_MrcSegmentBitmap.