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 L_MrcStartBitmapSegmentation function to initialize the segmentation process, before calling any of the segmentation methods. When the handle to the segmentation is no longer needed, free it by calling the L_MrcStopBitmapSegmentation function.
Each call to the L_MrcStartBitmapSegmentation function requires a corresponding call to the L_MrcStopBitmapSegmentation function.