Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.21
Auto-Segmentation

Calling MrcSegmenter.SegmentImage will perform automatic segmentation using the LEADTOOLS MRC engine. LEADTOOLS segments the image, classifying the segments as background, text, grayscale or picture. Use the MrcSegmentImageOptions class to control the segmentation process.

To enumerate the segments, call EnumerateSegments. This method provides the segment coordinates types and their IDs. To modify a segment type or its coordinates, use SetSegmentData. This method will update only one segment’s data each time it is called. To delete a segment, call DeleteSegment. To combine two segments, call CombineSegments. To copy the segmentation handle and data, call the Clone method.

To save the segmentation data to a file call the Save method. To create a MrcSegmenter object from the saved segmentation data from a file, use the MrcSegmenter (RasterImage,String) Constructor.