Click or drag to resize

BOWKMeansTrainer Constructor

The constructor.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public BOWKMeansTrainer(
	int clusterCount,
	Nullable<TermCriteria> termcrit = null,
	int attempts = 3,
	KMeansFlags flags = KMeansFlags.PpCenters
)

Parameters

clusterCount
Type: SystemInt32

[Missing <param name="clusterCount"/> documentation for "M:OpenCvSharp.BOWKMeansTrainer.#ctor(System.Int32,System.Nullable{OpenCvSharp.TermCriteria},System.Int32,OpenCvSharp.KMeansFlags)"]

termcrit (Optional)
Type: SystemNullableTermCriteria

[Missing <param name="termcrit"/> documentation for "M:OpenCvSharp.BOWKMeansTrainer.#ctor(System.Int32,System.Nullable{OpenCvSharp.TermCriteria},System.Int32,OpenCvSharp.KMeansFlags)"]

attempts (Optional)
Type: SystemInt32

[Missing <param name="attempts"/> documentation for "M:OpenCvSharp.BOWKMeansTrainer.#ctor(System.Int32,System.Nullable{OpenCvSharp.TermCriteria},System.Int32,OpenCvSharp.KMeansFlags)"]

flags (Optional)
Type: OpenCvSharpKMeansFlags

[Missing <param name="flags"/> documentation for "M:OpenCvSharp.BOWKMeansTrainer.#ctor(System.Int32,System.Nullable{OpenCvSharp.TermCriteria},System.Int32,OpenCvSharp.KMeansFlags)"]

See Also