LSegment::MrcLoadSegmentation

Summary

Loads segments from a file.

Syntax

#include "ltwrappr.h"

L_INT LSegment::MrcLoadSegmentation(pBitmap, pszFileName)

Parameters

LBitmapBase * pBitmap

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

L_TCHAR * pszFileName

Character string that contains the output file name.

Returns

Value Meaning
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

See Also

Elements

Topics

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; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS MRC C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.