DeleteSegment method (LEADMrc Control)

C++ Builder Example

Delphi Example

 

Builder Syntax

int DeleteSegment(int nSegId);

Delphi Syntax

Function DeleteSegment(nSegId: L_INT): L_INT;

Overview

Refer to Working with the LEADMrc Control.

Remarks

(Document/Medical only) Deletes a specific segment from the object. This method can be used when performing either automatic or manual segmentation.

When performing manual segmentation, use the CreateNewSegment method to obtain the segment IDs.

When performing automatic segmentation using the AutoSegment method, call the EnumSegments method to obtain segment information and associated IDs.

Call the StartSegmentation method before using any of the segmentation methods. When the LEADMrc object is no longer needed, free it by calling the StopSegmentation method.

See Also

Elements

BaseBackColor property, BaseForeColor property, CombineFactor property, CombineFlags property, Error property, ErrorMsg property, Grayscale2BitCoder property, Grayscale8BitCoder property, Grayscale8BitQFactor property, ImageType property, MaskCoder property, MRCPagesCount property, PictureCoder property, PictureQFactor property, Sensitivity property, Text2BitCoder property, AutoSegment method, CombineSegments method, CopySegmentationData method, CreateNewSegment method, EnumSegments method, GetPagesCount method, Load method, LoadSegmentation method, Save method, SaveSegmentation method, SaveT44 method, SetSegmentData method, StartSegmentation method, StopSegmentation method, OnEnumSegments event

Topics

MRC Bitmap Functions: Manipulating Segments