L_MrcSaveSegmentation

#include "ltsgm.h"

L_LTSGM_API L_INT L_MrcSaveSegmentation(hSegment, pszFileName)

HSEGMENTATION hSegment;

segmentation handle

L_TCHAR * pszFileName;

output file name

Saves the segments to a file.

Parameter

Description

hSegment

An existing segmentation handle. This handle is obtained by calling the L_MrcStartBitmapSegmentation function.

pszFileName

Character string that contains the output file name.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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

LTSGM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_MrcCreateNewSegment, L_MrcStartBitmapSegmentation, L_MrcStopBitmapSegmentation, L_MrcSetSegmentData, L_MrcEnumSegments, L_MrcCombineSegments, L_MrcLoadSegmentation, L_MrcCopySegmentationHandle, L_MrcSegmentBitmap

Topics:

Auto-Segmentation

 

Manual Segmentation

 

MRC Bitmap Functions: Manipulating Segments

Example

L_INT MrcSaveSegmentationExample(HSEGMENTATION  hSegmentation, 
L_TCHAR*       pszFileName) 
{ 
   return L_MrcSaveSegmentation(hSegmentation, pszFileName); 
} 

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Mixed Raster Content (MRC) C API Help