LSegment::MrcDeleteSegment

#include "ltwrappr.h"

L_INT LSegment::MrcDeleteSegment(nSegId)

L_INT nSegId;

/* segment identifier */

Deletes a segment.

Parameter

Description

nSegId

Segments ID to delete.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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

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

Elements:

LSegment::MrcStartBitmapSegmentation, LSegment::MrcStopBitmapSegmentation, LSegment::MrcSegmentBitmap, LSegment::MrcCreateNewSegment, LSegment::MrcEnumSegments, LSegment::MrcSetSegmentData, Class Members

Topics:

General Segmentation

 

Auto-Segmentation

 

Manual Segmentation

Example

For an example, refer to LSegment::MrcSetSegmentData.