CombineSegments method (ILEADRasterMrc)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short CombineSegments (long lSegId1, long lSegId2);

Overview

Refer to Working with the MRC Bitmap.

Remarks

(Document/Medical only) Combines two segments. Use this method to combine two specific segments. The two segments must be in the same row or column to be combined. Use the CombineFlags property and the CombineFactor property to determine which segments are combined and how those segments are combined.

This method is valid with both the automatic and the manual segmentation process.

Call the StartSegmentation method before using any of the segmentation functions. Call the StopSegmentation method to end the bitmap segmentation and free all data variables and buffers.

See Also

Elements

CombineFactor property, CombineFlags property, CreateNewSegment method, StartSegmentation method, StopSegmentation method, AutoSegment method, SetSegmentData method, EnumSegments method, LoadSegmentation method, CopySegmentationHandle method, AutoSegmentExt method

Topics

Raster Images: Manipulating Segments

 

Auto-Segmentation