AutoSegmentExt method (ILEADRasterMrc)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AutoSegmentExt(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) Automatically 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 that the AutoSegment method does not. In addition, the AutoSegment method will be removed in the next major release of LEADTOOLS and this method will replace it.

Call this method to segment the bitmap automatically. LEAD will process the bitmap and break it into appropriate picture, grayscale, text and background segments.

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

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