Available in LEADTOOLS Document and Medical Imaging toolkits.
MRC Bitmap Functions: Manipulating Segments
L_MrcCombineSegments
L_MrcCopySegmentationHandle
L_MrcDeleteSegment
L_MrcEnumSegments
L_MrcLoadSegmentation
L_MrcSaveSegmentation
L_MrcSetSegmentData
MRCENUMSEGMENTSPROC