#include "ltsgm.h"
L_LTSGM_API L_INT L_MrcStopBitmapSegmentation(hSegment)
Ends the bitmap segmentation and frees all data variables and buffers allocated inside the segmentation handle.
Handle to an existing segmentation handle. This handle is obtained by calling the L_MrcStartBitmapSegmentation function.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
For an example, refer to L_MrcSegmentBitmap.