AutoSegmentExt method (ILEADRasterMrc)
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