Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS MRC C++ Class Library Help

LSegment::MrcLoadSegmentation

Show in webframe

#include "ltwrappr.h"

L_INT LSegment::MrcLoadSegmentation(pBitmap, pszFileName)

LBitmapBase * pBitmap;

/* pointer to an LBitmapBase object */

L_TCHAR * pszFileName;

/* output file name */

Loads segments from a file.

Parameter

Description

pBitmap

Pointer to the target LBitmapBase object that references the target bitmap.

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 loads the segments from a file to the segmentation handle.

Call LSegment::MrcEnumSegments to enumerate the segments.

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

Elements:

LSegment::MrcSaveSegmentation, Class Members

Topics:

General Segmentation

 

Manual Segmentation

Example

L_INT LSegment__MrcLoadSegmentationExample(LSegment Segment, L_TCHAR* pszFileName, LBitmapBase &Bitmap)
{
   L_INT nRet;
   nRet = Segment.MrcLoadSegmentation(&Bitmap, pszFileName);
   if(nRet != SUCCESS)
      return nRet;
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.