Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Mixed Raster Content (MRC) C DLL Help

L_MrcCopySegmentationHandle

Show in webframe

#include "ltsgm.h"

L_LTSGM_API L_INT L_MrcCopySegmentationHandle(phSegmentDst, hSegmentSrc)

pHSEGMENTATION phSegmentDst;

/* pointer to the destination segmentation handle */

HSEGMENTATION hSegmentSrc;

/* structure containing the source segmentation handle */

Copies one segmentation handle to another.

Parameter

Description

phSegmentDst

Pointer to the segmentation handle referencing the destination handle.

hSegmentSrc

HSEGMENTATION structure that contains the source segmentation handle to copy.

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 L_MrcStopBitmapSegmentation function to free the new segmentation handle.

Call the L_MrcStartBitmapSegmentation function before using any of the segmentation functions.

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_MrcSaveSegmentation, L_MrcSegmentBitmap

Topics:

Auto-Segmentation

 

Manual Segmentation

 

MRC Bitmap Functions: Manipulating Segments

Example

L_INT MrcCopySegmentationHandleExample(pHSEGMENTATION pSegDst,
                                                      HSEGMENTATION  hSegSrc)
{
   return L_MrcCopySegmentationHandle(pSegDst, hSegSrc);
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.