CvSnakeImage Method (IplImage, 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 static void SnakeImage(
	IplImage image,
	CvPoint[] points,
	float alpha,
	float beta,
	float gamma,
	CvSize win,
	CvTermCriteria criteria
)

Parameters

image
Type: OpenCvSharpIplImage
The source image or external energy field.
points
Type: OpenCvSharpCvPoint
Contour points (snake).
alpha
Type: SystemSingle
Weight of continuity energy, single float or array of length floats, one per each contour point.
beta
Type: SystemSingle
Weight of curvature energy, similar to alpha.
gamma
Type: SystemSingle
Weight 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