General Segmentation
With LEADTOOLS it is easy to handle the segmentation process, whether performing segmentation automatically or manually. A segment is a rectangular area on the bitmap. A segment's type depends on the content of its area. The segmentation process classifies the segments of a bitmap as background, text, grayscale or picture. Call the LSegment::MrcStartBitmapSegmentation function to initialize the segmentation process, before calling any of the segmentation methods. When the LSegment class object is no longer needed, free it by calling the LSegment::MrcStopBitmapSegmentation function.
Each call to the LSegment::MrcStartBitmapSegmentation function requires a corresponding call to the LSegment::MrcStopBitmapSegmentation function.