L_MrcCopySegmentationHandle

Summary

Copies one segmentation handle to another.

Syntax

#include "ltsgm.h"

L_LTSGM_API L_INT L_MrcCopySegmentationHandle(phSegmentDst, hSegmentSrc)

Parameters

pHSEGMENTATION phSegmentDst

Pointer to the segmentation handle referencing the destination handle.

HSEGMENTATION hSegmentSrc

HSEGMENTATION structure that contains the source segmentation handle to copy.

Returns

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

See Also

Functions

Topics

Example

L_INT MrcCopySegmentationHandleExample(pHSEGMENTATION pSegDst, 
                                                      HSEGMENTATION  hSegSrc) 
{ 
   return L_MrcCopySegmentationHandle(pSegDst, hSegSrc); 
} 
Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Mixed Raster Content (MRC) C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.