L_GWireSetSeedPoint

#include "Ltimgcor.h"

L_LTIMGCOR_API L_INT L_GWireSetSeedPoint(hGWire, ptSeed)

GWIREHANDLE hGWire;

gwire handle

L_POINT ptSeed;

represents the starting point for the minimal path

Sets the seed point used when constructing the minimal paths for the edges.

Parameter

Description

hGWire

GWire handle.

ptSeed

Point value that represents the starting point for constructing the minimum paths in the image.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function should be called after L_GWireInit to set the seed point value. The hGWire handle is generated using the L_GWireInit function. The seed point should be within the image.

Required DLLs and Libraries

LTIMGCOR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

L_GWireInitL_GWireGetMinPathL_FreeGWirePath, L_DestroyGWireHandle

Topics:

 Raster Image Functions: Image Analysis

 

  Processing an Image

Example

For an example, refer to L_GWireGetMinPath.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help