L_LTSGM_API L_INT L_MrcSaveSegmentation(hSegment, pszFileName)
Saves the segments to a file.
An existing segmentation handle. This handle is obtained by calling the L_MrcStartBitmapSegmentation function.
Character string that contains the output file name.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
This function is used to export the segments from the segmentation handle to the specified file in a binary file format.
Call the L_MrcStartBitmapSegmentation function before using any of the segmentation functions. When the handle to the segmentation is no longer needed, free it by calling the L_MrcStopBitmapSegmentation function.
Required DLLs and Libraries
L_INT MrcSaveSegmentationExample(HSEGMENTATION hSegmentation,
return L_MrcSaveSegmentation(hSegmentation, pszFileName);