Click or drag to resize

BOWKMeansTrainer Constructor

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

Namespace:  Emgu.CV.Features2D
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public BOWKMeansTrainer(
	int clusterCount,
	MCvTermCriteria termcrit,
	int attempts = 3,
	KMeansInitType flags = KMeansInitType.PPCenters
)

Parameters

clusterCount
Type: SystemInt32
Number of clusters to split the set by.
termcrit
Type: Emgu.CV.StructureMCvTermCriteria
Specifies maximum number of iterations and/or accuracy (distance the centers move by between the subsequent iterations). Use empty termcrit for default.
attempts (Optional)
Type: SystemInt32
The number of attempts. Use 3 for default
flags (Optional)
Type: Emgu.CV.CvEnumKMeansInitType
Kmeans initialization flag. Use PPCenters for default.
See Also