IplImageSnakeImage Method (CvPoint, Single, Single, Single, CvSize, CvTermCriteria) OpenCvSharp Class Library
Changes contour position to minimize its energy

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void SnakeImage(
	CvPoint[] points,
	float[] alpha,
	float[] beta,
	float[] gamma,
	CvSize win,
	CvTermCriteria criteria
)

Parameters

points
Type: OpenCvSharpCvPoint
Contour points (snake).
alpha
Type: SystemSingle
Weights of continuity energy, single float or array of length floats, one per each contour point.
beta
Type: SystemSingle
Weights of curvature energy, similar to alpha.
gamma
Type: SystemSingle
Weights of image energy, similar to alpha.
win
Type: OpenCvSharpCvSize
Size of neighborhood of every point used to search the minimum, both win.width and win.height must be odd.
criteria
Type: OpenCvSharpCvTermCriteria
Termination criteria.
See Also

Reference