Auto-Segmentation

Calling the L_MrcSegmentBitmap function will perform automatic segmentation using the LEADTOOLS MRC engine. LEADTOOLS segments the bitmap, classifying the segments as background, text, grayscale or picture. Use the SEGMENTEXTOPTIONS structure to control the segmentation process.

To enumerate the segments, call the L_MrcEnumSegments function. This function provides the segment coordinates, types and their IDs. To modify a segment type or its coordinates, use the L_MrcSetSegmentData function. This function will update only one segments data each time it is called. To delete a segment, call the L_MrcDeleteSegment function. To combine two segments, call the L_MrcCombineSegments function. To copy the segmentation handle and data, call the L_MrcCopySegmentationHandle function.

Save the segmentation handle and data to a file by calling the L_MrcSaveSegmentation function. To load the saved segmentation handle and data from a file, call the L_MrcLoadSegmentation function.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Mixed Raster Content (MRC) C API Help