http://www.emgu.com
Create a new BOWKmeans trainer

Namespace: Emgu.CV.Features2D
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public BOWKMeansTrainer(
	int clusterCount,
	MCvTermCriteria termcrit,
	int attempts,
	KMeansInitType flags
)
Visual Basic
Public Sub New ( 
	clusterCount As Integer,
	termcrit As MCvTermCriteria,
	attempts As Integer,
	flags As KMeansInitType
)
Visual C++
public:
BOWKMeansTrainer(
	int clusterCount, 
	MCvTermCriteria termcrit, 
	int attempts, 
	KMeansInitType flags
)
F#
new : 
        clusterCount : int * 
        termcrit : MCvTermCriteria * 
        attempts : int * 
        flags : KMeansInitType -> BOWKMeansTrainer

Parameters

clusterCount
Type: System..::..Int32
Number of clusters to split the set by.
termcrit
Type: Emgu.CV.Structure..::..MCvTermCriteria
Specifies maximum number of iterations and/or accuracy (distance the centers move by between the subsequent iterations). Use empty termcrit for default.
attempts
Type: System..::..Int32
The number of attemps. Use 3 for default
flags
Type: Emgu.CV.CvEnum..::..KMeansInitType
Kmeans initialization flag. Use PPCenters for default.

See Also