Ends the bitmap segmentation and frees all data variables and buffers allocated inside the segmentation handle.
L_LTSGM_API L_INT L_MrcStopBitmapSegmentation(hSegment)
Handle to an existing segmentation handle. This handle is obtained by calling the L_MrcStartBitmapSegmentation function.
|The function was successful.
|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.
For an example, refer to L_MrcSegmentBitmap.