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::MrcCopySegmentationHandle

Show in webframe

#include "ltsgm.h"

L_INT LSegment::MrcCopySegmentationHandle( SegSrc)

LSegment& SegSrc;

/* reference to class that contains the source segmentation handle */

Copies one segmentation handle to another.

Parameter

Description

SegSrc

Reference to class that contains the source segmentation handle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function copies the segmentation handle and the segmentation data. Call the LSegment::MrcStopBitmapSegmentation function to free the new segmentation handle.

Call the LSegment::MrcStartBitmapSegmentation function before using any of the segmentation functions. When the class object of the segmentation is no longer needed, it should be freed by calling the LSegment::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

Elements:

LSegment::MrcSegmentBitmap, LSegment::MrcCreateNewSegment, LSegment::MrcStartBitmapSegmentation, LSegment::MrcStopBitmapSegmentation, LSegment::MrcSetSegmentData, LSegment::MrcEnumSegments, LSegment::MrcCombineSegments, LSegment::MrcSaveSegmentation, LSegment::MrcSegmentBitmap, Class Members

Topics:

General Segmentation

 

Manual Segmentation

Example

L_INT LSegment__MrcCopySegmentationHandleExample(LSegment& SegDst, LSegment& SegSrc)
{
   L_INT nRet;
   nRet = SegDst.MrcCopySegmentationHandle(SegSrc);
   if(nRet != SUCCESS)
      return nRet;
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.