http://www.emgu.com
Create an Expectation Maximization model

Namespace: Emgu.CV.ML
Assembly: Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public EM(
	int nclusters,
	EM_COVARIAN_MATRIX_TYPE covMatType,
	MCvTermCriteria termcrit
)
Visual Basic
Public Sub New ( _
	nclusters As Integer, _
	covMatType As EM_COVARIAN_MATRIX_TYPE, _
	termcrit As MCvTermCriteria _
)
Visual C++
public:
EM(
	int nclusters, 
	EM_COVARIAN_MATRIX_TYPE covMatType, 
	MCvTermCriteria termcrit
)

Parameters

nclusters
Type: System..::..Int32
The number of mixture components in the Gaussian mixture model. Use 5 for default.
covMatType
Type: Emgu.CV.ML.MlEnum..::..EM_COVARIAN_MATRIX_TYPE
Constraint on covariance matrices which defines type of matrices
termcrit
Type: Emgu.CV.Structure..::..MCvTermCriteria
The termination criteria of the EM algorithm. The EM algorithm can be terminated by the number of iterations termCrit.maxCount (number of M-steps) or when relative change of likelihood logarithm is less than termCrit.epsilon. Default maximum number of iterations is 100

See Also