Deletes a segment.
Segments ID to delete.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Use this function to delete a specific segment from the segmentation handle. This function is valid with both the automatic and the manual segmentation processes.
Call the LSegment::MrcStartBitmapSegmentation function before using any of the segmentation functions. When the class object of the segmentation is no longer needed, it should be freed by calling the LSegment::MrcStopBitmapSegmentation function.
Required DLLs and Libraries
For an example, refer to LSegment::MrcSetSegmentData.