Emgu CV Library Documentation
Snake Method (contour, alpha, beta, gamma, windowSize, tc, storage)
NamespacesEmgu.CVImage<(Of <(TColor, TDepth>)>)Snake(Seq<(Of <(MCvPoint>)>), Single, Single, Single, Point2D<(Of <(Int32>)>), MCvTermCriteria, MemStorage)

Updates snake in order to minimize its total energy that is a sum of internal energy that depends on contour shape (the smoother contour is, the smaller internal energy is) and external energy that depends on the energy field and reaches minimum at the local energy extremums that correspond to the image edges in case of image gradient.
Declaration Syntax
C#Visual BasicVisual C++
public Seq<MCvPoint> Snake(
	Seq<MCvPoint> contour,
	float alpha,
	float beta,
	float gamma,
	Point2D<int> windowSize,
	MCvTermCriteria tc,
	MemStorage storage
Public Function Snake ( _
	contour As Seq(Of MCvPoint), _
	alpha As Single, _
	beta As Single, _
	gamma As Single, _
	windowSize As Point2D(Of Integer), _
	tc As MCvTermCriteria, _
	storage As MemStorage _
) As Seq(Of MCvPoint)
Seq<MCvPoint>^ Snake(
	Seq<MCvPoint>^ contour, 
	float alpha, 
	float beta, 
	float gamma, 
	Point2D<int>^ windowSize, 
	MCvTermCriteria tc, 
	MemStorage^ storage
contour (Seq<(Of <(MCvPoint>)>))
Some existing contour
alpha (Single)
Weight[s] of continuity energy, single float or array of length floats, one per each contour point
beta (Single)
Weight[s] of curvature energy, similar to alpha.
gamma (Single)
Weight[s] of image energy, similar to alpha.
windowSize (Point2D<(Of <(Int32>)>))
Size of neighborhood of every point used to search the minimum, both win.width and win.height must be odd
tc (MCvTermCriteria)
Termination criteria. The parameter criteria.epsilon is used to define the minimal number of points that must be moved during any iteration to keep the iteration process running. If at some iteration the number of moved points is less than criteria.epsilon or the function performed criteria.max_iter iterations, the function terminates.
storage (MemStorage)
The memory storage used by the resulting sequence
Return Value
The snake[d] contour

Assembly: Emgu.CV (Module: Emgu.CV) Version: (