BOWKMeansTrainer Constructor |
http://www.emgu.com
Create a new BOWKmeans trainer
Namespace: Emgu.CV.Features2DAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic BOWKMeansTrainer(
int clusterCount,
MCvTermCriteria termcrit,
int attempts,
KMeansInitType flags
)
Public Sub New (
clusterCount As Integer,
termcrit As MCvTermCriteria,
attempts As Integer,
flags As KMeansInitType
)
public:
BOWKMeansTrainer(
int clusterCount,
MCvTermCriteria termcrit,
int attempts,
KMeansInitType flags
)
new :
clusterCount : int *
termcrit : MCvTermCriteria *
attempts : int *
flags : KMeansInitType -> BOWKMeansTrainer
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
- Type: SystemInt32
The number of attemps. Use 3 for default - flags
- Type: Emgu.CV.CvEnumKMeansInitType
Kmeans initialization flag. Use PPCenters for default.
See Also