SegmentExt method (ILEADRasterMrc)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short SegmentExt(LPDISPATCH pRaster, long lCleanSize, long lSegmentQuality, long lColorThreshold, long lBackGroundThreshold, long lCombineThreshold, long lFlags);

Overview

Refer to Working with the MRC Bitmap.

Remarks

(Document/Medical only) Segments the specified bitmap, finding the best segment combination without specifying minimum segment dimensions.

Please note that this method handles background segments and certain text segments, like the AutoSegmentExt method, but the SegmentExt method applies manual segmetnation.

Call the StartSegmentation method before using the SegmentExt method.

Call the StopSegmentation method to end the bitmap segmentation and free all data variables and buffers.

Please note that the AutoSegment method will be removed in the next major release of LEADTOOLS. Either this method or the AutoSegmentExt method can be used to replace it.

See Also

Elements

StartSegmentation method, StopSegmentation method, SetSegmentData method, DeleteSegment method, CombineSegments method, EnumSegments method, SaveSegmentation method, LoadSegmentation method, CopySegmentationHandle method, AutoSegment method

Topics

Raster Images: Automatic Segmentation

 

Auto-Segmentation