EMTrain Method OpenCvSharp Class Library
Estimates Gaussian mixture parameters from the sample set

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

public virtual bool Train(
	InputArray samples,
	OutputArray logLikelihoods = null,
	OutputArray labels = null,
	OutputArray probs = null
)

Parameters

samples
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="samples"/> documentation for "M:OpenCvSharp.CPlusPlus.EM.Train(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray)"]

logLikelihoods (Optional)
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="logLikelihoods"/> documentation for "M:OpenCvSharp.CPlusPlus.EM.Train(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray)"]

labels (Optional)
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="labels"/> documentation for "M:OpenCvSharp.CPlusPlus.EM.Train(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray)"]

probs (Optional)
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="probs"/> documentation for "M:OpenCvSharp.CPlusPlus.EM.Train(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.EM.Train(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray)"]

See Also

Reference